@visulima/dev-toolbar 1.0.0-alpha.31 → 1.0.0-alpha.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/README.md +64 -17
- package/dist/apps/a11y/index.js +3 -3
- package/dist/apps/annotations/index.js +2 -2
- package/dist/apps/assets/index.js +2 -2
- package/dist/apps/inspector/index.js +11 -11
- package/dist/apps/module-graph/index.js +2 -2
- package/dist/apps/performance/index.js +2 -2
- package/dist/apps/seo/index.js +2 -2
- package/dist/apps/settings/index.js +2 -2
- package/dist/apps/tailwind/index.js +5 -5
- package/dist/apps/timeline/index.js +2 -2
- package/dist/apps/vite-config/index.js +2 -2
- package/dist/client/overlay.js +1 -1
- package/dist/index.d.ts +6 -16
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/packem_chunks/inject-source.js +9 -9
- package/dist/packem_shared/Alert-CZq7C43v.js +1 -0
- package/dist/packem_shared/Badge-PpblpNWg.js +1 -0
- package/dist/packem_shared/Button-CAKvtfij.js +1 -0
- package/dist/packem_shared/Card-BSy2oRiS.js +1 -0
- package/dist/packem_shared/Icon-0XYV-4AL.js +1 -0
- package/dist/packem_shared/{Input-Cs6aduTi.js → Input-Dc1WiT01.js} +1 -1
- package/dist/packem_shared/Label-BZh8XxUb.js +1 -0
- package/dist/packem_shared/Popover-DuiU8EPg.js +1 -0
- package/dist/packem_shared/Progress-C90LC--2.js +1 -0
- package/dist/packem_shared/Select-CwD-d0pi.js +1 -0
- package/dist/packem_shared/Separator-PSjfhX_W.js +1 -0
- package/dist/packem_shared/Skeleton-BAFrGUR1.js +1 -0
- package/dist/packem_shared/Switch-Wpsp5M3p.js +1 -0
- package/dist/packem_shared/Tabs-BdNFQd3c.js +1 -0
- package/dist/packem_shared/{Textarea-Yfg3dLZi.js → Textarea-DP9gpte-.js} +1 -1
- package/dist/packem_shared/Tooltip-DVeuszoY.js +1 -0
- package/dist/packem_shared/annotation-settings-DlLZO5Zp.js +1 -0
- package/dist/packem_shared/annotation-store-CXMIg0dM.js +1 -0
- package/dist/packem_shared/clsx-CtZWcPHt.js +1 -0
- package/dist/packem_shared/createClientRPCContext-80V9c3Qu.js +1 -0
- package/dist/packem_shared/createDevToolbarHook-CzejbqD2.js +1 -0
- package/dist/packem_shared/createServerRPCContext-C30tqEfQ.js +1 -0
- package/dist/packem_shared/getGlobalHook-GRSqUNJ3.js +1 -0
- package/dist/packem_shared/getTimelineStore-BT5sImVb.js +1 -0
- package/dist/packem_shared/{global-api.d-DG2WYakl.d.ts → global-api.d-DeaCvII9.d.ts} +3 -4
- package/dist/packem_shared/loadSettings-C0pUyx9j.js +1 -0
- package/dist/packem_shared/server.d-ZkcY0pge.d.ts +39 -0
- package/dist/packem_shared/sharedToolbarStylesheet-DNABzHAf.js +2 -0
- package/dist/packem_shared/store-Dqy0FbGw.js +1 -0
- package/dist/packem_shared/use-theme-DIqZkPAe.js +1 -0
- package/dist/toolbar/index.d.ts +1 -1
- package/dist/toolbar/index.js +3 -3
- package/dist/ui/index.js +1 -1
- package/dist/vite-plugin.d.ts +29 -1
- package/dist/vite-plugin.js +4 -4
- package/package.json +6 -6
- package/dist/packem_shared/Alert-D2CvX4fw.js +0 -1
- package/dist/packem_shared/Badge-BEgU04nl.js +0 -1
- package/dist/packem_shared/Button-Bkx66Co7.js +0 -1
- package/dist/packem_shared/Card-CJa4vHVc.js +0 -1
- package/dist/packem_shared/Icon-B6UHkC0o.js +0 -1
- package/dist/packem_shared/Label-DyCng4Cp.js +0 -1
- package/dist/packem_shared/Popover-BtFVaZYg.js +0 -1
- package/dist/packem_shared/Progress-DN6zn-0l.js +0 -1
- package/dist/packem_shared/Select-DgQ4ss-s.js +0 -1
- package/dist/packem_shared/Separator-D38mKeZv.js +0 -1
- package/dist/packem_shared/Skeleton-Dv-tcA1P.js +0 -1
- package/dist/packem_shared/Switch-C3NTpeoR.js +0 -1
- package/dist/packem_shared/Tabs-DKWMiawt.js +0 -1
- package/dist/packem_shared/Tooltip-CioncSXj.js +0 -1
- package/dist/packem_shared/annotation-settings-Bv0TH4WI.js +0 -1
- package/dist/packem_shared/annotation-store-bLQRYMaI.js +0 -1
- package/dist/packem_shared/clsx-wGlvpUfw.js +0 -1
- package/dist/packem_shared/createClientRPCContext-DgRxrllw.js +0 -1
- package/dist/packem_shared/createDevToolbarHook-4bZZiHPI.js +0 -1
- package/dist/packem_shared/createServerRPCContext-D-yZrEjs.js +0 -1
- package/dist/packem_shared/getTimelineStore-B1cfjWV8.js +0 -1
- package/dist/packem_shared/loadSettings-hvjR4fcS.js +0 -1
- package/dist/packem_shared/setupGlobalHook-CCf9Logv.js +0 -1
- package/dist/packem_shared/sharedToolbarStylesheet-pA-B0Jt2.js +0 -2
- package/dist/packem_shared/store-DaUtLjf3.js +0 -1
- package/dist/packem_shared/use-frame-state-CxrlPUM5.js +0 -1
- package/dist/packem_shared/use-theme-zpm4zmqP.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
${
|
|
3
|
-
`)}}return r(o,"captureShortStackTrace"),n(o,"captureShortStackTrace"),Di}r(vi,"requireDeprecationWarning");var zs;function ie(){if(zs)return E;zs=1;var T=Object.defineProperty,n=r((t,e)=>T(t,"name",{value:e,configurable:!0}),"r");Object.defineProperty(E,"__esModule",{value:!0}),E.isAccessor=Wa,E.isAnyTypeAnnotation=dt,E.isArgumentPlaceholder=qr,E.isArrayExpression=o,E.isArrayPattern=Ne,E.isArrayTypeAnnotation=yt,E.isArrowFunctionExpression=Le,E.isAssignmentExpression=a,E.isAssignmentPattern=he,E.isAwaitExpression=Ze,E.isBigIntLiteral=tt,E.isBinary=Sa,E.isBinaryExpression=d,E.isBindExpression=Vr,E.isBlock=va,E.isBlockParent=ba,E.isBlockStatement=g,E.isBooleanLiteral=oe,E.isBooleanLiteralTypeAnnotation=Tt,E.isBooleanTypeAnnotation=ft,E.isBreakStatement=I,E.isCallExpression=A,E.isCatchClause=D,E.isClass=Ya,E.isClassAccessorProperty=st,E.isClassBody=Ce,E.isClassDeclaration=Be,E.isClassExpression=_e,E.isClassImplements=St,E.isClassMethod=j,E.isClassPrivateMethod=lt,E.isClassPrivateProperty=ot,E.isClassProperty=it,E.isCompletionStatement=p,E.isConditional=c,E.isConditionalExpression=C,E.isContinueStatement=h,E.isDebuggerStatement=K,E.isDecimalLiteral=Gr,E.isDeclaration=Ca,E.isDeclareClass=Et,E.isDeclareExportAllDeclaration=Dt,E.isDeclareExportDeclaration=Ot,E.isDeclareFunction=bt,E.isDeclareInterface=vt,E.isDeclareModule=Pt,E.isDeclareModuleExports=At,E.isDeclareOpaqueType=gt,E.isDeclareTypeAlias=xt,E.isDeclareVariable=It,E.isDeclaredPredicate=ht,E.isDecorator=Xr,E.isDirective=x,E.isDirectiveLiteral=P,E.isDoExpression=Yr,E.isDoWhileStatement=N,E.isEmptyStatement=M,E.isEmptyTypeAnnotation=kt,E.isEnumBody=ei,E.isEnumBooleanBody=yr,E.isEnumBooleanMember=Sr,E.isEnumDeclaration=dr,E.isEnumDefaultedMember=vr,E.isEnumMember=ti,E.isEnumNumberBody=fr,E.isEnumNumberMember=Er,E.isEnumStringBody=Tr,E.isEnumStringMember=br,E.isEnumSymbolBody=mr,E.isExistsTypeAnnotation=Nt,E.isExportAllDeclaration=Me,E.isExportDeclaration=Ja,E.isExportDefaultDeclaration=je,E.isExportDefaultSpecifier=Jr,E.isExportNamedDeclaration=we,E.isExportNamespaceSpecifier=rt,E.isExportSpecifier=Fe,E.isExpression=ma,E.isExpressionStatement=_,E.isExpressionWrapper=O,E.isFile=B,E.isFlow=za,E.isFlowBaseAnnotation=$a,E.isFlowDeclaration=Ha,E.isFlowPredicate=Za,E.isFlowType=Qa,E.isFor=R,E.isForInStatement=F,E.isForOfStatement=Re,E.isForStatement=Y,E.isForXStatement=z,E.isFunction=ne,E.isFunctionDeclaration=H,E.isFunctionExpression=Z,E.isFunctionParameter=_a,E.isFunctionParent=ye,E.isFunctionTypeAnnotation=Lt,E.isFunctionTypeParam=Ct,E.isGenericTypeAnnotation=_t,E.isIdentifier=ee,E.isIfStatement=te,E.isImmutable=Fa,E.isImport=et,E.isImportAttribute=ct,E.isImportDeclaration=ke,E.isImportDefaultSpecifier=Ke,E.isImportExpression=Ve,E.isImportNamespaceSpecifier=qe,E.isImportOrExportDeclaration=Oa,E.isImportSpecifier=Se,E.isIndexedAccessType=Pr,E.isInferredPredicate=Bt,E.isInterfaceDeclaration=jt,E.isInterfaceExtends=Mt,E.isInterfaceTypeAnnotation=wt,E.isInterpreterDirective=f,E.isIntersectionTypeAnnotation=Ft,E.isJSX=ri,E.isJSXAttribute=xr,E.isJSXClosingElement=gr,E.isJSXClosingFragment=Fr,E.isJSXElement=Ir,E.isJSXEmptyExpression=Or,E.isJSXExpressionContainer=Dr,E.isJSXFragment=jr,E.isJSXIdentifier=Nr,E.isJSXMemberExpression=Lr,E.isJSXNamespacedName=Cr,E.isJSXOpeningElement=_r,E.isJSXOpeningFragment=wr,E.isJSXSpreadAttribute=Br,E.isJSXSpreadChild=hr,E.isJSXText=Mr,E.isLVal=Ma,E.isLabeledStatement=ue,E.isLiteral=wa,E.isLogicalExpression=ce,E.isLoop=m,E.isMemberExpression=w,E.isMetaProperty=Xe,E.isMethod=ka,E.isMiscellaneous=ni,E.isMixedTypeAnnotation=Rt,E.isModuleDeclaration=di,E.isModuleExpression=zr,E.isModuleSpecifier=Ua,E.isNewExpression=k,E.isNoop=Rr,E.isNullLiteral=de,E.isNullLiteralTypeAnnotation=mt,E.isNullableTypeAnnotation=Kt,E.isNumberLiteral=li,E.isNumberLiteralTypeAnnotation=qt,E.isNumberTypeAnnotation=Vt,E.isNumericLiteral=re,E.isObjectExpression=q,E.isObjectMember=Ka,E.isObjectMethod=J,E.isObjectPattern=Ye,E.isObjectProperty=$,E.isObjectTypeAnnotation=Xt,E.isObjectTypeCallProperty=Jt,E.isObjectTypeIndexer=Ut,E.isObjectTypeInternalSlot=Yt,E.isObjectTypeProperty=Wt,E.isObjectTypeSpreadProperty=Gt,E.isOpaqueType=zt,E.isOptionalCallExpression=at,E.isOptionalIndexedAccessType=Ar,E.isOptionalMemberExpression=nt,E.isParenthesizedExpression=le,E.isPattern=Xa,E.isPatternLike=Ba,E.isPipelineBareFunction=Hr,E.isPipelinePrimaryTopicReference=Zr,E.isPipelineTopicExpression=$r,E.isPlaceholder=kr,E.isPrivate=Ga,E.isPrivateName=pt,E.isProgram=V,E.isProperty=qa,E.isPureish=La,E.isQualifiedTypeIdentifier=Qt,E.isRecordExpression=Ur,E.isRegExpLiteral=fe,E.isRegexLiteral=pi,E.isRestElement=G,E.isRestProperty=ui,E.isReturnStatement=W,E.isScopable=Ea,E.isSequenceExpression=Q,E.isSpreadElement=Ge,E.isSpreadProperty=ci,E.isStandardized=Ta,E.isStatement=Pa,E.isStaticBlock=ut,E.isStringLiteral=ae,E.isStringLiteralTypeAnnotation=$t,E.isStringTypeAnnotation=Ht,E.isSuper=ze,E.isSwitchCase=pe,E.isSwitchStatement=be,E.isSymbolTypeAnnotation=Zt,E.isTSAnyKeyword=cn,E.isTSArrayType=Cn,E.isTSAsExpression=$n,E.isTSBaseType=oi,E.isTSBigIntKeyword=yn,E.isTSBooleanKeyword=dn,E.isTSCallSignatureDeclaration=sn,E.isTSConditionalType=Rn,E.isTSConstructSignatureDeclaration=on,E.isTSConstructorType=On,E.isTSDeclareFunction=rn,E.isTSDeclareMethod=nn,E.isTSEntityName=ja,E.isTSEnumBody=ea,E.isTSEnumDeclaration=ta,E.isTSEnumMember=ra,E.isTSExportAssignment=pa,E.isTSExpressionWithTypeArguments=Un,E.isTSExternalModuleReference=oa,E.isTSFunctionType=In,E.isTSImportEqualsDeclaration=sa,E.isTSImportType=ia,E.isTSIndexSignature=un,E.isTSIndexedAccessType=Vn,E.isTSInferType=kn,E.isTSInstantiationExpression=Qn,E.isTSInterfaceBody=Gn,E.isTSInterfaceDeclaration=Wn,E.isTSIntersectionType=Fn,E.isTSIntrinsicKeyword=fn,E.isTSLiteralType=Jn,E.isTSMappedType=Xn,E.isTSMethodSignature=pn,E.isTSModuleBlock=aa,E.isTSModuleDeclaration=na,E.isTSNamedTupleMember=jn,E.isTSNamespaceExportDeclaration=ua,E.isTSNeverKeyword=Tn,E.isTSNonNullExpression=la,E.isTSNullKeyword=mn,E.isTSNumberKeyword=Sn,E.isTSObjectKeyword=En,E.isTSOptionalType=Bn,E.isTSParameterProperty=tn,E.isTSParenthesizedType=Kn,E.isTSPropertySignature=ln,E.isTSQualifiedName=an,E.isTSRestType=Mn,E.isTSSatisfiesExpression=Hn,E.isTSStringKeyword=bn,E.isTSSymbolKeyword=vn,E.isTSTemplateLiteralType=Yn,E.isTSThisType=gn,E.isTSTupleType=_n,E.isTSType=si,E.isTSTypeAliasDeclaration=zn,E.isTSTypeAnnotation=ca,E.isTSTypeAssertion=Zn,E.isTSTypeElement=ii,E.isTSTypeLiteral=Ln,E.isTSTypeOperator=qn,E.isTSTypeParameter=fa,E.isTSTypeParameterDeclaration=ya,E.isTSTypeParameterInstantiation=da,E.isTSTypePredicate=hn,E.isTSTypeQuery=Nn,E.isTSTypeReference=Dn,E.isTSUndefinedKeyword=Pn,E.isTSUnionType=wn,E.isTSUnknownKeyword=An,E.isTSVoidKeyword=xn,E.isTaggedTemplateExpression=Qe,E.isTemplateElement=$e,E.isTemplateLiteral=Je,E.isTerminatorless=l,E.isThisExpression=ve,E.isThisTypeAnnotation=er,E.isThrowStatement=Pe,E.isTopicReference=Qr,E.isTryStatement=Te,E.isTupleExpression=Wr,E.isTupleTypeAnnotation=tr,E.isTypeAlias=nr,E.isTypeAnnotation=ar,E.isTypeCastExpression=ir,E.isTypeParameter=sr,E.isTypeParameterDeclaration=or,E.isTypeParameterInstantiation=lr,E.isTypeScript=ai,E.isTypeofTypeAnnotation=rr,E.isUnaryExpression=Ae,E.isUnaryLike=Va,E.isUnionTypeAnnotation=pr,E.isUpdateExpression=xe,E.isUserWhitespacable=Ra,E.isV8IntrinsicIdentifier=Kr,E.isVariableDeclaration=ge,E.isVariableDeclarator=Ie,E.isVariance=ur,E.isVoidPattern=en,E.isVoidTypeAnnotation=cr,E.isWhile=v,E.isWhileStatement=Oe,E.isWithStatement=De,E.isYieldExpression=He;var i=Fs(),s=vi();function o(t,e){return!t||t.type!=="ArrayExpression"?!1:e==null||(0,i.default)(t,e)}r(o,"isArrayExpression"),n(o,"isArrayExpression");function a(t,e){return!t||t.type!=="AssignmentExpression"?!1:e==null||(0,i.default)(t,e)}r(a,"isAssignmentExpression"),n(a,"isAssignmentExpression");function d(t,e){return!t||t.type!=="BinaryExpression"?!1:e==null||(0,i.default)(t,e)}r(d,"isBinaryExpression"),n(d,"isBinaryExpression");function f(t,e){return!t||t.type!=="InterpreterDirective"?!1:e==null||(0,i.default)(t,e)}r(f,"isInterpreterDirective"),n(f,"isInterpreterDirective");function x(t,e){return!t||t.type!=="Directive"?!1:e==null||(0,i.default)(t,e)}r(x,"isDirective"),n(x,"isDirective");function P(t,e){return!t||t.type!=="DirectiveLiteral"?!1:e==null||(0,i.default)(t,e)}r(P,"isDirectiveLiteral"),n(P,"isDirectiveLiteral");function g(t,e){return!t||t.type!=="BlockStatement"?!1:e==null||(0,i.default)(t,e)}r(g,"isBlockStatement"),n(g,"isBlockStatement");function I(t,e){return!t||t.type!=="BreakStatement"?!1:e==null||(0,i.default)(t,e)}r(I,"isBreakStatement"),n(I,"isBreakStatement");function A(t,e){return!t||t.type!=="CallExpression"?!1:e==null||(0,i.default)(t,e)}r(A,"isCallExpression"),n(A,"isCallExpression");function D(t,e){return!t||t.type!=="CatchClause"?!1:e==null||(0,i.default)(t,e)}r(D,"isCatchClause"),n(D,"isCatchClause");function C(t,e){return!t||t.type!=="ConditionalExpression"?!1:e==null||(0,i.default)(t,e)}r(C,"isConditionalExpression"),n(C,"isConditionalExpression");function h(t,e){return!t||t.type!=="ContinueStatement"?!1:e==null||(0,i.default)(t,e)}r(h,"isContinueStatement"),n(h,"isContinueStatement");function K(t,e){return!t||t.type!=="DebuggerStatement"?!1:e==null||(0,i.default)(t,e)}r(K,"isDebuggerStatement"),n(K,"isDebuggerStatement");function N(t,e){return!t||t.type!=="DoWhileStatement"?!1:e==null||(0,i.default)(t,e)}r(N,"isDoWhileStatement"),n(N,"isDoWhileStatement");function M(t,e){return!t||t.type!=="EmptyStatement"?!1:e==null||(0,i.default)(t,e)}r(M,"isEmptyStatement"),n(M,"isEmptyStatement");function _(t,e){return!t||t.type!=="ExpressionStatement"?!1:e==null||(0,i.default)(t,e)}r(_,"isExpressionStatement"),n(_,"isExpressionStatement");function B(t,e){return!t||t.type!=="File"?!1:e==null||(0,i.default)(t,e)}r(B,"isFile"),n(B,"isFile");function F(t,e){return!t||t.type!=="ForInStatement"?!1:e==null||(0,i.default)(t,e)}r(F,"isForInStatement"),n(F,"isForInStatement");function Y(t,e){return!t||t.type!=="ForStatement"?!1:e==null||(0,i.default)(t,e)}r(Y,"isForStatement"),n(Y,"isForStatement");function H(t,e){return!t||t.type!=="FunctionDeclaration"?!1:e==null||(0,i.default)(t,e)}r(H,"isFunctionDeclaration"),n(H,"isFunctionDeclaration");function Z(t,e){return!t||t.type!=="FunctionExpression"?!1:e==null||(0,i.default)(t,e)}r(Z,"isFunctionExpression"),n(Z,"isFunctionExpression");function ee(t,e){return!t||t.type!=="Identifier"?!1:e==null||(0,i.default)(t,e)}r(ee,"isIdentifier"),n(ee,"isIdentifier");function te(t,e){return!t||t.type!=="IfStatement"?!1:e==null||(0,i.default)(t,e)}r(te,"isIfStatement"),n(te,"isIfStatement");function ue(t,e){return!t||t.type!=="LabeledStatement"?!1:e==null||(0,i.default)(t,e)}r(ue,"isLabeledStatement"),n(ue,"isLabeledStatement");function ae(t,e){return!t||t.type!=="StringLiteral"?!1:e==null||(0,i.default)(t,e)}r(ae,"isStringLiteral"),n(ae,"isStringLiteral");function re(t,e){return!t||t.type!=="NumericLiteral"?!1:e==null||(0,i.default)(t,e)}r(re,"isNumericLiteral"),n(re,"isNumericLiteral");function de(t,e){return!t||t.type!=="NullLiteral"?!1:e==null||(0,i.default)(t,e)}r(de,"isNullLiteral"),n(de,"isNullLiteral");function oe(t,e){return!t||t.type!=="BooleanLiteral"?!1:e==null||(0,i.default)(t,e)}r(oe,"isBooleanLiteral"),n(oe,"isBooleanLiteral");function fe(t,e){return!t||t.type!=="RegExpLiteral"?!1:e==null||(0,i.default)(t,e)}r(fe,"isRegExpLiteral"),n(fe,"isRegExpLiteral");function ce(t,e){return!t||t.type!=="LogicalExpression"?!1:e==null||(0,i.default)(t,e)}r(ce,"isLogicalExpression"),n(ce,"isLogicalExpression");function w(t,e){return!t||t.type!=="MemberExpression"?!1:e==null||(0,i.default)(t,e)}r(w,"isMemberExpression"),n(w,"isMemberExpression");function k(t,e){return!t||t.type!=="NewExpression"?!1:e==null||(0,i.default)(t,e)}r(k,"isNewExpression"),n(k,"isNewExpression");function V(t,e){return!t||t.type!=="Program"?!1:e==null||(0,i.default)(t,e)}r(V,"isProgram"),n(V,"isProgram");function q(t,e){return!t||t.type!=="ObjectExpression"?!1:e==null||(0,i.default)(t,e)}r(q,"isObjectExpression"),n(q,"isObjectExpression");function J(t,e){return!t||t.type!=="ObjectMethod"?!1:e==null||(0,i.default)(t,e)}r(J,"isObjectMethod"),n(J,"isObjectMethod");function $(t,e){return!t||t.type!=="ObjectProperty"?!1:e==null||(0,i.default)(t,e)}r($,"isObjectProperty"),n($,"isObjectProperty");function G(t,e){return!t||t.type!=="RestElement"?!1:e==null||(0,i.default)(t,e)}r(G,"isRestElement"),n(G,"isRestElement");function W(t,e){return!t||t.type!=="ReturnStatement"?!1:e==null||(0,i.default)(t,e)}r(W,"isReturnStatement"),n(W,"isReturnStatement");function Q(t,e){return!t||t.type!=="SequenceExpression"?!1:e==null||(0,i.default)(t,e)}r(Q,"isSequenceExpression"),n(Q,"isSequenceExpression");function le(t,e){return!t||t.type!=="ParenthesizedExpression"?!1:e==null||(0,i.default)(t,e)}r(le,"isParenthesizedExpression"),n(le,"isParenthesizedExpression");function pe(t,e){return!t||t.type!=="SwitchCase"?!1:e==null||(0,i.default)(t,e)}r(pe,"isSwitchCase"),n(pe,"isSwitchCase");function be(t,e){return!t||t.type!=="SwitchStatement"?!1:e==null||(0,i.default)(t,e)}r(be,"isSwitchStatement"),n(be,"isSwitchStatement");function ve(t,e){return!t||t.type!=="ThisExpression"?!1:e==null||(0,i.default)(t,e)}r(ve,"isThisExpression"),n(ve,"isThisExpression");function Pe(t,e){return!t||t.type!=="ThrowStatement"?!1:e==null||(0,i.default)(t,e)}r(Pe,"isThrowStatement"),n(Pe,"isThrowStatement");function Te(t,e){return!t||t.type!=="TryStatement"?!1:e==null||(0,i.default)(t,e)}r(Te,"isTryStatement"),n(Te,"isTryStatement");function Ae(t,e){return!t||t.type!=="UnaryExpression"?!1:e==null||(0,i.default)(t,e)}r(Ae,"isUnaryExpression"),n(Ae,"isUnaryExpression");function xe(t,e){return!t||t.type!=="UpdateExpression"?!1:e==null||(0,i.default)(t,e)}r(xe,"isUpdateExpression"),n(xe,"isUpdateExpression");function ge(t,e){return!t||t.type!=="VariableDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ge,"isVariableDeclaration"),n(ge,"isVariableDeclaration");function Ie(t,e){return!t||t.type!=="VariableDeclarator"?!1:e==null||(0,i.default)(t,e)}r(Ie,"isVariableDeclarator"),n(Ie,"isVariableDeclarator");function Oe(t,e){return!t||t.type!=="WhileStatement"?!1:e==null||(0,i.default)(t,e)}r(Oe,"isWhileStatement"),n(Oe,"isWhileStatement");function De(t,e){return!t||t.type!=="WithStatement"?!1:e==null||(0,i.default)(t,e)}r(De,"isWithStatement"),n(De,"isWithStatement");function he(t,e){return!t||t.type!=="AssignmentPattern"?!1:e==null||(0,i.default)(t,e)}r(he,"isAssignmentPattern"),n(he,"isAssignmentPattern");function Ne(t,e){return!t||t.type!=="ArrayPattern"?!1:e==null||(0,i.default)(t,e)}r(Ne,"isArrayPattern"),n(Ne,"isArrayPattern");function Le(t,e){return!t||t.type!=="ArrowFunctionExpression"?!1:e==null||(0,i.default)(t,e)}r(Le,"isArrowFunctionExpression"),n(Le,"isArrowFunctionExpression");function Ce(t,e){return!t||t.type!=="ClassBody"?!1:e==null||(0,i.default)(t,e)}r(Ce,"isClassBody"),n(Ce,"isClassBody");function _e(t,e){return!t||t.type!=="ClassExpression"?!1:e==null||(0,i.default)(t,e)}r(_e,"isClassExpression"),n(_e,"isClassExpression");function Be(t,e){return!t||t.type!=="ClassDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Be,"isClassDeclaration"),n(Be,"isClassDeclaration");function Me(t,e){return!t||t.type!=="ExportAllDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Me,"isExportAllDeclaration"),n(Me,"isExportAllDeclaration");function je(t,e){return!t||t.type!=="ExportDefaultDeclaration"?!1:e==null||(0,i.default)(t,e)}r(je,"isExportDefaultDeclaration"),n(je,"isExportDefaultDeclaration");function we(t,e){return!t||t.type!=="ExportNamedDeclaration"?!1:e==null||(0,i.default)(t,e)}r(we,"isExportNamedDeclaration"),n(we,"isExportNamedDeclaration");function Fe(t,e){return!t||t.type!=="ExportSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Fe,"isExportSpecifier"),n(Fe,"isExportSpecifier");function Re(t,e){return!t||t.type!=="ForOfStatement"?!1:e==null||(0,i.default)(t,e)}r(Re,"isForOfStatement"),n(Re,"isForOfStatement");function ke(t,e){return!t||t.type!=="ImportDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ke,"isImportDeclaration"),n(ke,"isImportDeclaration");function Ke(t,e){return!t||t.type!=="ImportDefaultSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Ke,"isImportDefaultSpecifier"),n(Ke,"isImportDefaultSpecifier");function qe(t,e){return!t||t.type!=="ImportNamespaceSpecifier"?!1:e==null||(0,i.default)(t,e)}r(qe,"isImportNamespaceSpecifier"),n(qe,"isImportNamespaceSpecifier");function Se(t,e){return!t||t.type!=="ImportSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Se,"isImportSpecifier"),n(Se,"isImportSpecifier");function Ve(t,e){return!t||t.type!=="ImportExpression"?!1:e==null||(0,i.default)(t,e)}r(Ve,"isImportExpression"),n(Ve,"isImportExpression");function Xe(t,e){return!t||t.type!=="MetaProperty"?!1:e==null||(0,i.default)(t,e)}r(Xe,"isMetaProperty"),n(Xe,"isMetaProperty");function j(t,e){return!t||t.type!=="ClassMethod"?!1:e==null||(0,i.default)(t,e)}r(j,"isClassMethod"),n(j,"isClassMethod");function Ye(t,e){return!t||t.type!=="ObjectPattern"?!1:e==null||(0,i.default)(t,e)}r(Ye,"isObjectPattern"),n(Ye,"isObjectPattern");function Ge(t,e){return!t||t.type!=="SpreadElement"?!1:e==null||(0,i.default)(t,e)}r(Ge,"isSpreadElement"),n(Ge,"isSpreadElement");function ze(t,e){return!t||t.type!=="Super"?!1:e==null||(0,i.default)(t,e)}r(ze,"isSuper"),n(ze,"isSuper");function Qe(t,e){return!t||t.type!=="TaggedTemplateExpression"?!1:e==null||(0,i.default)(t,e)}r(Qe,"isTaggedTemplateExpression"),n(Qe,"isTaggedTemplateExpression");function $e(t,e){return!t||t.type!=="TemplateElement"?!1:e==null||(0,i.default)(t,e)}r($e,"isTemplateElement"),n($e,"isTemplateElement");function Je(t,e){return!t||t.type!=="TemplateLiteral"?!1:e==null||(0,i.default)(t,e)}r(Je,"isTemplateLiteral"),n(Je,"isTemplateLiteral");function He(t,e){return!t||t.type!=="YieldExpression"?!1:e==null||(0,i.default)(t,e)}r(He,"isYieldExpression"),n(He,"isYieldExpression");function Ze(t,e){return!t||t.type!=="AwaitExpression"?!1:e==null||(0,i.default)(t,e)}r(Ze,"isAwaitExpression"),n(Ze,"isAwaitExpression");function et(t,e){return!t||t.type!=="Import"?!1:e==null||(0,i.default)(t,e)}r(et,"isImport"),n(et,"isImport");function tt(t,e){return!t||t.type!=="BigIntLiteral"?!1:e==null||(0,i.default)(t,e)}r(tt,"isBigIntLiteral"),n(tt,"isBigIntLiteral");function rt(t,e){return!t||t.type!=="ExportNamespaceSpecifier"?!1:e==null||(0,i.default)(t,e)}r(rt,"isExportNamespaceSpecifier"),n(rt,"isExportNamespaceSpecifier");function nt(t,e){return!t||t.type!=="OptionalMemberExpression"?!1:e==null||(0,i.default)(t,e)}r(nt,"isOptionalMemberExpression"),n(nt,"isOptionalMemberExpression");function at(t,e){return!t||t.type!=="OptionalCallExpression"?!1:e==null||(0,i.default)(t,e)}r(at,"isOptionalCallExpression"),n(at,"isOptionalCallExpression");function it(t,e){return!t||t.type!=="ClassProperty"?!1:e==null||(0,i.default)(t,e)}r(it,"isClassProperty"),n(it,"isClassProperty");function st(t,e){return!t||t.type!=="ClassAccessorProperty"?!1:e==null||(0,i.default)(t,e)}r(st,"isClassAccessorProperty"),n(st,"isClassAccessorProperty");function ot(t,e){return!t||t.type!=="ClassPrivateProperty"?!1:e==null||(0,i.default)(t,e)}r(ot,"isClassPrivateProperty"),n(ot,"isClassPrivateProperty");function lt(t,e){return!t||t.type!=="ClassPrivateMethod"?!1:e==null||(0,i.default)(t,e)}r(lt,"isClassPrivateMethod"),n(lt,"isClassPrivateMethod");function pt(t,e){return!t||t.type!=="PrivateName"?!1:e==null||(0,i.default)(t,e)}r(pt,"isPrivateName"),n(pt,"isPrivateName");function ut(t,e){return!t||t.type!=="StaticBlock"?!1:e==null||(0,i.default)(t,e)}r(ut,"isStaticBlock"),n(ut,"isStaticBlock");function ct(t,e){return!t||t.type!=="ImportAttribute"?!1:e==null||(0,i.default)(t,e)}r(ct,"isImportAttribute"),n(ct,"isImportAttribute");function dt(t,e){return!t||t.type!=="AnyTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(dt,"isAnyTypeAnnotation"),n(dt,"isAnyTypeAnnotation");function yt(t,e){return!t||t.type!=="ArrayTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(yt,"isArrayTypeAnnotation"),n(yt,"isArrayTypeAnnotation");function ft(t,e){return!t||t.type!=="BooleanTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(ft,"isBooleanTypeAnnotation"),n(ft,"isBooleanTypeAnnotation");function Tt(t,e){return!t||t.type!=="BooleanLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Tt,"isBooleanLiteralTypeAnnotation"),n(Tt,"isBooleanLiteralTypeAnnotation");function mt(t,e){return!t||t.type!=="NullLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(mt,"isNullLiteralTypeAnnotation"),n(mt,"isNullLiteralTypeAnnotation");function St(t,e){return!t||t.type!=="ClassImplements"?!1:e==null||(0,i.default)(t,e)}r(St,"isClassImplements"),n(St,"isClassImplements");function Et(t,e){return!t||t.type!=="DeclareClass"?!1:e==null||(0,i.default)(t,e)}r(Et,"isDeclareClass"),n(Et,"isDeclareClass");function bt(t,e){return!t||t.type!=="DeclareFunction"?!1:e==null||(0,i.default)(t,e)}r(bt,"isDeclareFunction"),n(bt,"isDeclareFunction");function vt(t,e){return!t||t.type!=="DeclareInterface"?!1:e==null||(0,i.default)(t,e)}r(vt,"isDeclareInterface"),n(vt,"isDeclareInterface");function Pt(t,e){return!t||t.type!=="DeclareModule"?!1:e==null||(0,i.default)(t,e)}r(Pt,"isDeclareModule"),n(Pt,"isDeclareModule");function At(t,e){return!t||t.type!=="DeclareModuleExports"?!1:e==null||(0,i.default)(t,e)}r(At,"isDeclareModuleExports"),n(At,"isDeclareModuleExports");function xt(t,e){return!t||t.type!=="DeclareTypeAlias"?!1:e==null||(0,i.default)(t,e)}r(xt,"isDeclareTypeAlias"),n(xt,"isDeclareTypeAlias");function gt(t,e){return!t||t.type!=="DeclareOpaqueType"?!1:e==null||(0,i.default)(t,e)}r(gt,"isDeclareOpaqueType"),n(gt,"isDeclareOpaqueType");function It(t,e){return!t||t.type!=="DeclareVariable"?!1:e==null||(0,i.default)(t,e)}r(It,"isDeclareVariable"),n(It,"isDeclareVariable");function Ot(t,e){return!t||t.type!=="DeclareExportDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Ot,"isDeclareExportDeclaration"),n(Ot,"isDeclareExportDeclaration");function Dt(t,e){return!t||t.type!=="DeclareExportAllDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Dt,"isDeclareExportAllDeclaration"),n(Dt,"isDeclareExportAllDeclaration");function ht(t,e){return!t||t.type!=="DeclaredPredicate"?!1:e==null||(0,i.default)(t,e)}r(ht,"isDeclaredPredicate"),n(ht,"isDeclaredPredicate");function Nt(t,e){return!t||t.type!=="ExistsTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Nt,"isExistsTypeAnnotation"),n(Nt,"isExistsTypeAnnotation");function Lt(t,e){return!t||t.type!=="FunctionTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Lt,"isFunctionTypeAnnotation"),n(Lt,"isFunctionTypeAnnotation");function Ct(t,e){return!t||t.type!=="FunctionTypeParam"?!1:e==null||(0,i.default)(t,e)}r(Ct,"isFunctionTypeParam"),n(Ct,"isFunctionTypeParam");function _t(t,e){return!t||t.type!=="GenericTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(_t,"isGenericTypeAnnotation"),n(_t,"isGenericTypeAnnotation");function Bt(t,e){return!t||t.type!=="InferredPredicate"?!1:e==null||(0,i.default)(t,e)}r(Bt,"isInferredPredicate"),n(Bt,"isInferredPredicate");function Mt(t,e){return!t||t.type!=="InterfaceExtends"?!1:e==null||(0,i.default)(t,e)}r(Mt,"isInterfaceExtends"),n(Mt,"isInterfaceExtends");function jt(t,e){return!t||t.type!=="InterfaceDeclaration"?!1:e==null||(0,i.default)(t,e)}r(jt,"isInterfaceDeclaration"),n(jt,"isInterfaceDeclaration");function wt(t,e){return!t||t.type!=="InterfaceTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(wt,"isInterfaceTypeAnnotation"),n(wt,"isInterfaceTypeAnnotation");function Ft(t,e){return!t||t.type!=="IntersectionTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Ft,"isIntersectionTypeAnnotation"),n(Ft,"isIntersectionTypeAnnotation");function Rt(t,e){return!t||t.type!=="MixedTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Rt,"isMixedTypeAnnotation"),n(Rt,"isMixedTypeAnnotation");function kt(t,e){return!t||t.type!=="EmptyTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(kt,"isEmptyTypeAnnotation"),n(kt,"isEmptyTypeAnnotation");function Kt(t,e){return!t||t.type!=="NullableTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Kt,"isNullableTypeAnnotation"),n(Kt,"isNullableTypeAnnotation");function qt(t,e){return!t||t.type!=="NumberLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(qt,"isNumberLiteralTypeAnnotation"),n(qt,"isNumberLiteralTypeAnnotation");function Vt(t,e){return!t||t.type!=="NumberTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Vt,"isNumberTypeAnnotation"),n(Vt,"isNumberTypeAnnotation");function Xt(t,e){return!t||t.type!=="ObjectTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Xt,"isObjectTypeAnnotation"),n(Xt,"isObjectTypeAnnotation");function Yt(t,e){return!t||t.type!=="ObjectTypeInternalSlot"?!1:e==null||(0,i.default)(t,e)}r(Yt,"isObjectTypeInternalSlot"),n(Yt,"isObjectTypeInternalSlot");function Jt(t,e){return!t||t.type!=="ObjectTypeCallProperty"?!1:e==null||(0,i.default)(t,e)}r(Jt,"isObjectTypeCallProperty"),n(Jt,"isObjectTypeCallProperty");function Ut(t,e){return!t||t.type!=="ObjectTypeIndexer"?!1:e==null||(0,i.default)(t,e)}r(Ut,"isObjectTypeIndexer"),n(Ut,"isObjectTypeIndexer");function Wt(t,e){return!t||t.type!=="ObjectTypeProperty"?!1:e==null||(0,i.default)(t,e)}r(Wt,"isObjectTypeProperty"),n(Wt,"isObjectTypeProperty");function Gt(t,e){return!t||t.type!=="ObjectTypeSpreadProperty"?!1:e==null||(0,i.default)(t,e)}r(Gt,"isObjectTypeSpreadProperty"),n(Gt,"isObjectTypeSpreadProperty");function zt(t,e){return!t||t.type!=="OpaqueType"?!1:e==null||(0,i.default)(t,e)}r(zt,"isOpaqueType"),n(zt,"isOpaqueType");function Qt(t,e){return!t||t.type!=="QualifiedTypeIdentifier"?!1:e==null||(0,i.default)(t,e)}r(Qt,"isQualifiedTypeIdentifier"),n(Qt,"isQualifiedTypeIdentifier");function $t(t,e){return!t||t.type!=="StringLiteralTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r($t,"isStringLiteralTypeAnnotation"),n($t,"isStringLiteralTypeAnnotation");function Ht(t,e){return!t||t.type!=="StringTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Ht,"isStringTypeAnnotation"),n(Ht,"isStringTypeAnnotation");function Zt(t,e){return!t||t.type!=="SymbolTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(Zt,"isSymbolTypeAnnotation"),n(Zt,"isSymbolTypeAnnotation");function er(t,e){return!t||t.type!=="ThisTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(er,"isThisTypeAnnotation"),n(er,"isThisTypeAnnotation");function tr(t,e){return!t||t.type!=="TupleTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(tr,"isTupleTypeAnnotation"),n(tr,"isTupleTypeAnnotation");function rr(t,e){return!t||t.type!=="TypeofTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(rr,"isTypeofTypeAnnotation"),n(rr,"isTypeofTypeAnnotation");function nr(t,e){return!t||t.type!=="TypeAlias"?!1:e==null||(0,i.default)(t,e)}r(nr,"isTypeAlias"),n(nr,"isTypeAlias");function ar(t,e){return!t||t.type!=="TypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(ar,"isTypeAnnotation"),n(ar,"isTypeAnnotation");function ir(t,e){return!t||t.type!=="TypeCastExpression"?!1:e==null||(0,i.default)(t,e)}r(ir,"isTypeCastExpression"),n(ir,"isTypeCastExpression");function sr(t,e){return!t||t.type!=="TypeParameter"?!1:e==null||(0,i.default)(t,e)}r(sr,"isTypeParameter"),n(sr,"isTypeParameter");function or(t,e){return!t||t.type!=="TypeParameterDeclaration"?!1:e==null||(0,i.default)(t,e)}r(or,"isTypeParameterDeclaration"),n(or,"isTypeParameterDeclaration");function lr(t,e){return!t||t.type!=="TypeParameterInstantiation"?!1:e==null||(0,i.default)(t,e)}r(lr,"isTypeParameterInstantiation"),n(lr,"isTypeParameterInstantiation");function pr(t,e){return!t||t.type!=="UnionTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(pr,"isUnionTypeAnnotation"),n(pr,"isUnionTypeAnnotation");function ur(t,e){return!t||t.type!=="Variance"?!1:e==null||(0,i.default)(t,e)}r(ur,"isVariance"),n(ur,"isVariance");function cr(t,e){return!t||t.type!=="VoidTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(cr,"isVoidTypeAnnotation"),n(cr,"isVoidTypeAnnotation");function dr(t,e){return!t||t.type!=="EnumDeclaration"?!1:e==null||(0,i.default)(t,e)}r(dr,"isEnumDeclaration"),n(dr,"isEnumDeclaration");function yr(t,e){return!t||t.type!=="EnumBooleanBody"?!1:e==null||(0,i.default)(t,e)}r(yr,"isEnumBooleanBody"),n(yr,"isEnumBooleanBody");function fr(t,e){return!t||t.type!=="EnumNumberBody"?!1:e==null||(0,i.default)(t,e)}r(fr,"isEnumNumberBody"),n(fr,"isEnumNumberBody");function Tr(t,e){return!t||t.type!=="EnumStringBody"?!1:e==null||(0,i.default)(t,e)}r(Tr,"isEnumStringBody"),n(Tr,"isEnumStringBody");function mr(t,e){return!t||t.type!=="EnumSymbolBody"?!1:e==null||(0,i.default)(t,e)}r(mr,"isEnumSymbolBody"),n(mr,"isEnumSymbolBody");function Sr(t,e){return!t||t.type!=="EnumBooleanMember"?!1:e==null||(0,i.default)(t,e)}r(Sr,"isEnumBooleanMember"),n(Sr,"isEnumBooleanMember");function Er(t,e){return!t||t.type!=="EnumNumberMember"?!1:e==null||(0,i.default)(t,e)}r(Er,"isEnumNumberMember"),n(Er,"isEnumNumberMember");function br(t,e){return!t||t.type!=="EnumStringMember"?!1:e==null||(0,i.default)(t,e)}r(br,"isEnumStringMember"),n(br,"isEnumStringMember");function vr(t,e){return!t||t.type!=="EnumDefaultedMember"?!1:e==null||(0,i.default)(t,e)}r(vr,"isEnumDefaultedMember"),n(vr,"isEnumDefaultedMember");function Pr(t,e){return!t||t.type!=="IndexedAccessType"?!1:e==null||(0,i.default)(t,e)}r(Pr,"isIndexedAccessType"),n(Pr,"isIndexedAccessType");function Ar(t,e){return!t||t.type!=="OptionalIndexedAccessType"?!1:e==null||(0,i.default)(t,e)}r(Ar,"isOptionalIndexedAccessType"),n(Ar,"isOptionalIndexedAccessType");function xr(t,e){return!t||t.type!=="JSXAttribute"?!1:e==null||(0,i.default)(t,e)}r(xr,"isJSXAttribute"),n(xr,"isJSXAttribute");function gr(t,e){return!t||t.type!=="JSXClosingElement"?!1:e==null||(0,i.default)(t,e)}r(gr,"isJSXClosingElement"),n(gr,"isJSXClosingElement");function Ir(t,e){return!t||t.type!=="JSXElement"?!1:e==null||(0,i.default)(t,e)}r(Ir,"isJSXElement"),n(Ir,"isJSXElement");function Or(t,e){return!t||t.type!=="JSXEmptyExpression"?!1:e==null||(0,i.default)(t,e)}r(Or,"isJSXEmptyExpression"),n(Or,"isJSXEmptyExpression");function Dr(t,e){return!t||t.type!=="JSXExpressionContainer"?!1:e==null||(0,i.default)(t,e)}r(Dr,"isJSXExpressionContainer"),n(Dr,"isJSXExpressionContainer");function hr(t,e){return!t||t.type!=="JSXSpreadChild"?!1:e==null||(0,i.default)(t,e)}r(hr,"isJSXSpreadChild"),n(hr,"isJSXSpreadChild");function Nr(t,e){return!t||t.type!=="JSXIdentifier"?!1:e==null||(0,i.default)(t,e)}r(Nr,"isJSXIdentifier"),n(Nr,"isJSXIdentifier");function Lr(t,e){return!t||t.type!=="JSXMemberExpression"?!1:e==null||(0,i.default)(t,e)}r(Lr,"isJSXMemberExpression"),n(Lr,"isJSXMemberExpression");function Cr(t,e){return!t||t.type!=="JSXNamespacedName"?!1:e==null||(0,i.default)(t,e)}r(Cr,"isJSXNamespacedName"),n(Cr,"isJSXNamespacedName");function _r(t,e){return!t||t.type!=="JSXOpeningElement"?!1:e==null||(0,i.default)(t,e)}r(_r,"isJSXOpeningElement"),n(_r,"isJSXOpeningElement");function Br(t,e){return!t||t.type!=="JSXSpreadAttribute"?!1:e==null||(0,i.default)(t,e)}r(Br,"isJSXSpreadAttribute"),n(Br,"isJSXSpreadAttribute");function Mr(t,e){return!t||t.type!=="JSXText"?!1:e==null||(0,i.default)(t,e)}r(Mr,"isJSXText"),n(Mr,"isJSXText");function jr(t,e){return!t||t.type!=="JSXFragment"?!1:e==null||(0,i.default)(t,e)}r(jr,"isJSXFragment"),n(jr,"isJSXFragment");function wr(t,e){return!t||t.type!=="JSXOpeningFragment"?!1:e==null||(0,i.default)(t,e)}r(wr,"isJSXOpeningFragment"),n(wr,"isJSXOpeningFragment");function Fr(t,e){return!t||t.type!=="JSXClosingFragment"?!1:e==null||(0,i.default)(t,e)}r(Fr,"isJSXClosingFragment"),n(Fr,"isJSXClosingFragment");function Rr(t,e){return!t||t.type!=="Noop"?!1:e==null||(0,i.default)(t,e)}r(Rr,"isNoop"),n(Rr,"isNoop");function kr(t,e){return!t||t.type!=="Placeholder"?!1:e==null||(0,i.default)(t,e)}r(kr,"isPlaceholder"),n(kr,"isPlaceholder");function Kr(t,e){return!t||t.type!=="V8IntrinsicIdentifier"?!1:e==null||(0,i.default)(t,e)}r(Kr,"isV8IntrinsicIdentifier"),n(Kr,"isV8IntrinsicIdentifier");function qr(t,e){return!t||t.type!=="ArgumentPlaceholder"?!1:e==null||(0,i.default)(t,e)}r(qr,"isArgumentPlaceholder"),n(qr,"isArgumentPlaceholder");function Vr(t,e){return!t||t.type!=="BindExpression"?!1:e==null||(0,i.default)(t,e)}r(Vr,"isBindExpression"),n(Vr,"isBindExpression");function Xr(t,e){return!t||t.type!=="Decorator"?!1:e==null||(0,i.default)(t,e)}r(Xr,"isDecorator"),n(Xr,"isDecorator");function Yr(t,e){return!t||t.type!=="DoExpression"?!1:e==null||(0,i.default)(t,e)}r(Yr,"isDoExpression"),n(Yr,"isDoExpression");function Jr(t,e){return!t||t.type!=="ExportDefaultSpecifier"?!1:e==null||(0,i.default)(t,e)}r(Jr,"isExportDefaultSpecifier"),n(Jr,"isExportDefaultSpecifier");function Ur(t,e){return!t||t.type!=="RecordExpression"?!1:e==null||(0,i.default)(t,e)}r(Ur,"isRecordExpression"),n(Ur,"isRecordExpression");function Wr(t,e){return!t||t.type!=="TupleExpression"?!1:e==null||(0,i.default)(t,e)}r(Wr,"isTupleExpression"),n(Wr,"isTupleExpression");function Gr(t,e){return!t||t.type!=="DecimalLiteral"?!1:e==null||(0,i.default)(t,e)}r(Gr,"isDecimalLiteral"),n(Gr,"isDecimalLiteral");function zr(t,e){return!t||t.type!=="ModuleExpression"?!1:e==null||(0,i.default)(t,e)}r(zr,"isModuleExpression"),n(zr,"isModuleExpression");function Qr(t,e){return!t||t.type!=="TopicReference"?!1:e==null||(0,i.default)(t,e)}r(Qr,"isTopicReference"),n(Qr,"isTopicReference");function $r(t,e){return!t||t.type!=="PipelineTopicExpression"?!1:e==null||(0,i.default)(t,e)}r($r,"isPipelineTopicExpression"),n($r,"isPipelineTopicExpression");function Hr(t,e){return!t||t.type!=="PipelineBareFunction"?!1:e==null||(0,i.default)(t,e)}r(Hr,"isPipelineBareFunction"),n(Hr,"isPipelineBareFunction");function Zr(t,e){return!t||t.type!=="PipelinePrimaryTopicReference"?!1:e==null||(0,i.default)(t,e)}r(Zr,"isPipelinePrimaryTopicReference"),n(Zr,"isPipelinePrimaryTopicReference");function en(t,e){return!t||t.type!=="VoidPattern"?!1:e==null||(0,i.default)(t,e)}r(en,"isVoidPattern"),n(en,"isVoidPattern");function tn(t,e){return!t||t.type!=="TSParameterProperty"?!1:e==null||(0,i.default)(t,e)}r(tn,"isTSParameterProperty"),n(tn,"isTSParameterProperty");function rn(t,e){return!t||t.type!=="TSDeclareFunction"?!1:e==null||(0,i.default)(t,e)}r(rn,"isTSDeclareFunction"),n(rn,"isTSDeclareFunction");function nn(t,e){return!t||t.type!=="TSDeclareMethod"?!1:e==null||(0,i.default)(t,e)}r(nn,"isTSDeclareMethod"),n(nn,"isTSDeclareMethod");function an(t,e){return!t||t.type!=="TSQualifiedName"?!1:e==null||(0,i.default)(t,e)}r(an,"isTSQualifiedName"),n(an,"isTSQualifiedName");function sn(t,e){return!t||t.type!=="TSCallSignatureDeclaration"?!1:e==null||(0,i.default)(t,e)}r(sn,"isTSCallSignatureDeclaration"),n(sn,"isTSCallSignatureDeclaration");function on(t,e){return!t||t.type!=="TSConstructSignatureDeclaration"?!1:e==null||(0,i.default)(t,e)}r(on,"isTSConstructSignatureDeclaration"),n(on,"isTSConstructSignatureDeclaration");function ln(t,e){return!t||t.type!=="TSPropertySignature"?!1:e==null||(0,i.default)(t,e)}r(ln,"isTSPropertySignature"),n(ln,"isTSPropertySignature");function pn(t,e){return!t||t.type!=="TSMethodSignature"?!1:e==null||(0,i.default)(t,e)}r(pn,"isTSMethodSignature"),n(pn,"isTSMethodSignature");function un(t,e){return!t||t.type!=="TSIndexSignature"?!1:e==null||(0,i.default)(t,e)}r(un,"isTSIndexSignature"),n(un,"isTSIndexSignature");function cn(t,e){return!t||t.type!=="TSAnyKeyword"?!1:e==null||(0,i.default)(t,e)}r(cn,"isTSAnyKeyword"),n(cn,"isTSAnyKeyword");function dn(t,e){return!t||t.type!=="TSBooleanKeyword"?!1:e==null||(0,i.default)(t,e)}r(dn,"isTSBooleanKeyword"),n(dn,"isTSBooleanKeyword");function yn(t,e){return!t||t.type!=="TSBigIntKeyword"?!1:e==null||(0,i.default)(t,e)}r(yn,"isTSBigIntKeyword"),n(yn,"isTSBigIntKeyword");function fn(t,e){return!t||t.type!=="TSIntrinsicKeyword"?!1:e==null||(0,i.default)(t,e)}r(fn,"isTSIntrinsicKeyword"),n(fn,"isTSIntrinsicKeyword");function Tn(t,e){return!t||t.type!=="TSNeverKeyword"?!1:e==null||(0,i.default)(t,e)}r(Tn,"isTSNeverKeyword"),n(Tn,"isTSNeverKeyword");function mn(t,e){return!t||t.type!=="TSNullKeyword"?!1:e==null||(0,i.default)(t,e)}r(mn,"isTSNullKeyword"),n(mn,"isTSNullKeyword");function Sn(t,e){return!t||t.type!=="TSNumberKeyword"?!1:e==null||(0,i.default)(t,e)}r(Sn,"isTSNumberKeyword"),n(Sn,"isTSNumberKeyword");function En(t,e){return!t||t.type!=="TSObjectKeyword"?!1:e==null||(0,i.default)(t,e)}r(En,"isTSObjectKeyword"),n(En,"isTSObjectKeyword");function bn(t,e){return!t||t.type!=="TSStringKeyword"?!1:e==null||(0,i.default)(t,e)}r(bn,"isTSStringKeyword"),n(bn,"isTSStringKeyword");function vn(t,e){return!t||t.type!=="TSSymbolKeyword"?!1:e==null||(0,i.default)(t,e)}r(vn,"isTSSymbolKeyword"),n(vn,"isTSSymbolKeyword");function Pn(t,e){return!t||t.type!=="TSUndefinedKeyword"?!1:e==null||(0,i.default)(t,e)}r(Pn,"isTSUndefinedKeyword"),n(Pn,"isTSUndefinedKeyword");function An(t,e){return!t||t.type!=="TSUnknownKeyword"?!1:e==null||(0,i.default)(t,e)}r(An,"isTSUnknownKeyword"),n(An,"isTSUnknownKeyword");function xn(t,e){return!t||t.type!=="TSVoidKeyword"?!1:e==null||(0,i.default)(t,e)}r(xn,"isTSVoidKeyword"),n(xn,"isTSVoidKeyword");function gn(t,e){return!t||t.type!=="TSThisType"?!1:e==null||(0,i.default)(t,e)}r(gn,"isTSThisType"),n(gn,"isTSThisType");function In(t,e){return!t||t.type!=="TSFunctionType"?!1:e==null||(0,i.default)(t,e)}r(In,"isTSFunctionType"),n(In,"isTSFunctionType");function On(t,e){return!t||t.type!=="TSConstructorType"?!1:e==null||(0,i.default)(t,e)}r(On,"isTSConstructorType"),n(On,"isTSConstructorType");function Dn(t,e){return!t||t.type!=="TSTypeReference"?!1:e==null||(0,i.default)(t,e)}r(Dn,"isTSTypeReference"),n(Dn,"isTSTypeReference");function hn(t,e){return!t||t.type!=="TSTypePredicate"?!1:e==null||(0,i.default)(t,e)}r(hn,"isTSTypePredicate"),n(hn,"isTSTypePredicate");function Nn(t,e){return!t||t.type!=="TSTypeQuery"?!1:e==null||(0,i.default)(t,e)}r(Nn,"isTSTypeQuery"),n(Nn,"isTSTypeQuery");function Ln(t,e){return!t||t.type!=="TSTypeLiteral"?!1:e==null||(0,i.default)(t,e)}r(Ln,"isTSTypeLiteral"),n(Ln,"isTSTypeLiteral");function Cn(t,e){return!t||t.type!=="TSArrayType"?!1:e==null||(0,i.default)(t,e)}r(Cn,"isTSArrayType"),n(Cn,"isTSArrayType");function _n(t,e){return!t||t.type!=="TSTupleType"?!1:e==null||(0,i.default)(t,e)}r(_n,"isTSTupleType"),n(_n,"isTSTupleType");function Bn(t,e){return!t||t.type!=="TSOptionalType"?!1:e==null||(0,i.default)(t,e)}r(Bn,"isTSOptionalType"),n(Bn,"isTSOptionalType");function Mn(t,e){return!t||t.type!=="TSRestType"?!1:e==null||(0,i.default)(t,e)}r(Mn,"isTSRestType"),n(Mn,"isTSRestType");function jn(t,e){return!t||t.type!=="TSNamedTupleMember"?!1:e==null||(0,i.default)(t,e)}r(jn,"isTSNamedTupleMember"),n(jn,"isTSNamedTupleMember");function wn(t,e){return!t||t.type!=="TSUnionType"?!1:e==null||(0,i.default)(t,e)}r(wn,"isTSUnionType"),n(wn,"isTSUnionType");function Fn(t,e){return!t||t.type!=="TSIntersectionType"?!1:e==null||(0,i.default)(t,e)}r(Fn,"isTSIntersectionType"),n(Fn,"isTSIntersectionType");function Rn(t,e){return!t||t.type!=="TSConditionalType"?!1:e==null||(0,i.default)(t,e)}r(Rn,"isTSConditionalType"),n(Rn,"isTSConditionalType");function kn(t,e){return!t||t.type!=="TSInferType"?!1:e==null||(0,i.default)(t,e)}r(kn,"isTSInferType"),n(kn,"isTSInferType");function Kn(t,e){return!t||t.type!=="TSParenthesizedType"?!1:e==null||(0,i.default)(t,e)}r(Kn,"isTSParenthesizedType"),n(Kn,"isTSParenthesizedType");function qn(t,e){return!t||t.type!=="TSTypeOperator"?!1:e==null||(0,i.default)(t,e)}r(qn,"isTSTypeOperator"),n(qn,"isTSTypeOperator");function Vn(t,e){return!t||t.type!=="TSIndexedAccessType"?!1:e==null||(0,i.default)(t,e)}r(Vn,"isTSIndexedAccessType"),n(Vn,"isTSIndexedAccessType");function Xn(t,e){return!t||t.type!=="TSMappedType"?!1:e==null||(0,i.default)(t,e)}r(Xn,"isTSMappedType"),n(Xn,"isTSMappedType");function Yn(t,e){return!t||t.type!=="TSTemplateLiteralType"?!1:e==null||(0,i.default)(t,e)}r(Yn,"isTSTemplateLiteralType"),n(Yn,"isTSTemplateLiteralType");function Jn(t,e){return!t||t.type!=="TSLiteralType"?!1:e==null||(0,i.default)(t,e)}r(Jn,"isTSLiteralType"),n(Jn,"isTSLiteralType");function Un(t,e){return!t||t.type!=="TSExpressionWithTypeArguments"?!1:e==null||(0,i.default)(t,e)}r(Un,"isTSExpressionWithTypeArguments"),n(Un,"isTSExpressionWithTypeArguments");function Wn(t,e){return!t||t.type!=="TSInterfaceDeclaration"?!1:e==null||(0,i.default)(t,e)}r(Wn,"isTSInterfaceDeclaration"),n(Wn,"isTSInterfaceDeclaration");function Gn(t,e){return!t||t.type!=="TSInterfaceBody"?!1:e==null||(0,i.default)(t,e)}r(Gn,"isTSInterfaceBody"),n(Gn,"isTSInterfaceBody");function zn(t,e){return!t||t.type!=="TSTypeAliasDeclaration"?!1:e==null||(0,i.default)(t,e)}r(zn,"isTSTypeAliasDeclaration"),n(zn,"isTSTypeAliasDeclaration");function Qn(t,e){return!t||t.type!=="TSInstantiationExpression"?!1:e==null||(0,i.default)(t,e)}r(Qn,"isTSInstantiationExpression"),n(Qn,"isTSInstantiationExpression");function $n(t,e){return!t||t.type!=="TSAsExpression"?!1:e==null||(0,i.default)(t,e)}r($n,"isTSAsExpression"),n($n,"isTSAsExpression");function Hn(t,e){return!t||t.type!=="TSSatisfiesExpression"?!1:e==null||(0,i.default)(t,e)}r(Hn,"isTSSatisfiesExpression"),n(Hn,"isTSSatisfiesExpression");function Zn(t,e){return!t||t.type!=="TSTypeAssertion"?!1:e==null||(0,i.default)(t,e)}r(Zn,"isTSTypeAssertion"),n(Zn,"isTSTypeAssertion");function ea(t,e){return!t||t.type!=="TSEnumBody"?!1:e==null||(0,i.default)(t,e)}r(ea,"isTSEnumBody"),n(ea,"isTSEnumBody");function ta(t,e){return!t||t.type!=="TSEnumDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ta,"isTSEnumDeclaration"),n(ta,"isTSEnumDeclaration");function ra(t,e){return!t||t.type!=="TSEnumMember"?!1:e==null||(0,i.default)(t,e)}r(ra,"isTSEnumMember"),n(ra,"isTSEnumMember");function na(t,e){return!t||t.type!=="TSModuleDeclaration"?!1:e==null||(0,i.default)(t,e)}r(na,"isTSModuleDeclaration"),n(na,"isTSModuleDeclaration");function aa(t,e){return!t||t.type!=="TSModuleBlock"?!1:e==null||(0,i.default)(t,e)}r(aa,"isTSModuleBlock"),n(aa,"isTSModuleBlock");function ia(t,e){return!t||t.type!=="TSImportType"?!1:e==null||(0,i.default)(t,e)}r(ia,"isTSImportType"),n(ia,"isTSImportType");function sa(t,e){return!t||t.type!=="TSImportEqualsDeclaration"?!1:e==null||(0,i.default)(t,e)}r(sa,"isTSImportEqualsDeclaration"),n(sa,"isTSImportEqualsDeclaration");function oa(t,e){return!t||t.type!=="TSExternalModuleReference"?!1:e==null||(0,i.default)(t,e)}r(oa,"isTSExternalModuleReference"),n(oa,"isTSExternalModuleReference");function la(t,e){return!t||t.type!=="TSNonNullExpression"?!1:e==null||(0,i.default)(t,e)}r(la,"isTSNonNullExpression"),n(la,"isTSNonNullExpression");function pa(t,e){return!t||t.type!=="TSExportAssignment"?!1:e==null||(0,i.default)(t,e)}r(pa,"isTSExportAssignment"),n(pa,"isTSExportAssignment");function ua(t,e){return!t||t.type!=="TSNamespaceExportDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ua,"isTSNamespaceExportDeclaration"),n(ua,"isTSNamespaceExportDeclaration");function ca(t,e){return!t||t.type!=="TSTypeAnnotation"?!1:e==null||(0,i.default)(t,e)}r(ca,"isTSTypeAnnotation"),n(ca,"isTSTypeAnnotation");function da(t,e){return!t||t.type!=="TSTypeParameterInstantiation"?!1:e==null||(0,i.default)(t,e)}r(da,"isTSTypeParameterInstantiation"),n(da,"isTSTypeParameterInstantiation");function ya(t,e){return!t||t.type!=="TSTypeParameterDeclaration"?!1:e==null||(0,i.default)(t,e)}r(ya,"isTSTypeParameterDeclaration"),n(ya,"isTSTypeParameterDeclaration");function fa(t,e){return!t||t.type!=="TSTypeParameter"?!1:e==null||(0,i.default)(t,e)}r(fa,"isTSTypeParameter"),n(fa,"isTSTypeParameter");function Ta(t,e){if(!t)return!1;switch(t.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":case"ImportAttribute":break;case"Placeholder":switch(t.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ta,"isStandardized"),n(Ta,"isStandardized");function ma(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(ma,"isExpression"),n(ma,"isExpression");function Sa(t,e){if(!t)return!1;switch(t.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Sa,"isBinary"),n(Sa,"isBinary");function Ea(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ea,"isScopable"),n(Ea,"isScopable");function ba(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,i.default)(t,e)}r(ba,"isBlockParent"),n(ba,"isBlockParent");function va(t,e){if(!t)return!1;switch(t.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,i.default)(t,e)}r(va,"isBlock"),n(va,"isBlock");function Pa(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Pa,"isStatement"),n(Pa,"isStatement");function l(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return e==null||(0,i.default)(t,e)}r(l,"isTerminatorless"),n(l,"isTerminatorless");function p(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(p,"isCompletionStatement"),n(p,"isCompletionStatement");function c(t,e){if(!t)return!1;switch(t.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(c,"isConditional"),n(c,"isConditional");function m(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(m,"isLoop"),n(m,"isLoop");function v(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(v,"isWhile"),n(v,"isWhile");function O(t,e){if(!t)return!1;switch(t.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return e==null||(0,i.default)(t,e)}r(O,"isExpressionWrapper"),n(O,"isExpressionWrapper");function R(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(R,"isFor"),n(R,"isFor");function z(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(z,"isForXStatement"),n(z,"isForXStatement");function ne(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ne,"isFunction"),n(ne,"isFunction");function ye(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ye,"isFunctionParent"),n(ye,"isFunctionParent");function La(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,i.default)(t,e)}r(La,"isPureish"),n(La,"isPureish");function Ca(t,e){if(!t)return!1;switch(t.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":case"TSImportEqualsDeclaration":break;case"Placeholder":if(t.expectedNode==="Declaration")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ca,"isDeclaration"),n(Ca,"isDeclaration");function _a(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,i.default)(t,e)}r(_a,"isFunctionParameter"),n(_a,"isFunctionParameter");function Ba(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ba,"isPatternLike"),n(Ba,"isPatternLike");function Ma(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ma,"isLVal"),n(Ma,"isLVal");function ja(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,i.default)(t,e)}r(ja,"isTSEntityName"),n(ja,"isTSEntityName");function wa(t,e){if(!t)return!1;switch(t.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,i.default)(t,e)}r(wa,"isLiteral"),n(wa,"isLiteral");function Fa(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Fa,"isImmutable"),n(Fa,"isImmutable");function Ra(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ra,"isUserWhitespacable"),n(Ra,"isUserWhitespacable");function ka(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ka,"isMethod"),n(ka,"isMethod");function Ka(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ka,"isObjectMember"),n(Ka,"isObjectMember");function qa(t,e){if(!t)return!1;switch(t.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return e==null||(0,i.default)(t,e)}r(qa,"isProperty"),n(qa,"isProperty");function Va(t,e){if(!t)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Va,"isUnaryLike"),n(Va,"isUnaryLike");function Xa(t,e){if(!t)return!1;switch(t.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Pattern")break;default:return!1}return e==null||(0,i.default)(t,e)}r(Xa,"isPattern"),n(Xa,"isPattern");function Ya(t,e){if(!t)return!1;switch(t.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ya,"isClass"),n(Ya,"isClass");function Oa(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Oa,"isImportOrExportDeclaration"),n(Oa,"isImportOrExportDeclaration");function Ja(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ja,"isExportDeclaration"),n(Ja,"isExportDeclaration");function Ua(t,e){if(!t)return!1;switch(t.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ua,"isModuleSpecifier"),n(Ua,"isModuleSpecifier");function Wa(t,e){return!t||t.type!=="ClassAccessorProperty"?!1:e==null||(0,i.default)(t,e)}r(Wa,"isAccessor"),n(Wa,"isAccessor");function Ga(t,e){if(!t)return!1;switch(t.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Ga,"isPrivate"),n(Ga,"isPrivate");function za(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(za,"isFlow"),n(za,"isFlow");function Qa(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(Qa,"isFlowType"),n(Qa,"isFlowType");function $a(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r($a,"isFlowBaseAnnotation"),n($a,"isFlowBaseAnnotation");function Ha(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(Ha,"isFlowDeclaration"),n(Ha,"isFlowDeclaration");function Za(t,e){if(!t)return!1;switch(t.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return e==null||(0,i.default)(t,e)}r(Za,"isFlowPredicate"),n(Za,"isFlowPredicate");function ei(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ei,"isEnumBody"),n(ei,"isEnumBody");function ti(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ti,"isEnumMember"),n(ti,"isEnumMember");function ri(t,e){if(!t)return!1;switch(t.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 e==null||(0,i.default)(t,e)}r(ri,"isJSX"),n(ri,"isJSX");function ni(t,e){if(!t)return!1;switch(t.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ni,"isMiscellaneous"),n(ni,"isMiscellaneous");function ai(t,e){if(!t)return!1;switch(t.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"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ai,"isTypeScript"),n(ai,"isTypeScript");function ii(t,e){if(!t)return!1;switch(t.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return e==null||(0,i.default)(t,e)}r(ii,"isTSTypeElement"),n(ii,"isTSTypeElement");function si(t,e){if(!t)return!1;switch(t.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"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return e==null||(0,i.default)(t,e)}r(si,"isTSType"),n(si,"isTSType");function oi(t,e){if(!t)return!1;switch(t.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"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return e==null||(0,i.default)(t,e)}r(oi,"isTSBaseType"),n(oi,"isTSBaseType");function li(t,e){return(0,s.default)("isNumberLiteral","isNumericLiteral"),!t||t.type!=="NumberLiteral"?!1:e==null||(0,i.default)(t,e)}r(li,"isNumberLiteral"),n(li,"isNumberLiteral");function pi(t,e){return(0,s.default)("isRegexLiteral","isRegExpLiteral"),!t||t.type!=="RegexLiteral"?!1:e==null||(0,i.default)(t,e)}r(pi,"isRegexLiteral"),n(pi,"isRegexLiteral");function ui(t,e){return(0,s.default)("isRestProperty","isRestElement"),!t||t.type!=="RestProperty"?!1:e==null||(0,i.default)(t,e)}r(ui,"isRestProperty"),n(ui,"isRestProperty");function ci(t,e){return(0,s.default)("isSpreadProperty","isSpreadElement"),!t||t.type!=="SpreadProperty"?!1:e==null||(0,i.default)(t,e)}r(ci,"isSpreadProperty"),n(ci,"isSpreadProperty");function di(t,e){return(0,s.default)("isModuleDeclaration","isImportOrExportDeclaration"),Oa(t,e)}return r(di,"isModuleDeclaration"),n(di,"isModuleDeclaration"),E}r(ie,"requireGenerated$3");var Qs;function jl(){if(Qs)return Ii;Qs=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"a");Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.default=o;var i=ie();function s(a){return(0,i.isMemberExpression)(a)||(0,i.isMetaProperty)(a)}r(s,"isMemberExpressionLike"),n(s,"isMemberExpressionLike");function o(a,d,f){if(!s(a))return!1;const x=Array.isArray(d)?d:d.split("."),P=[];let g;for(g=a;s(g);g=(I=g.object)!=null?I:g.meta){var I;P.push(g.property)}if(P.push(g),P.length<x.length||!f&&P.length>x.length)return!1;for(let A=0,D=P.length-1;A<x.length;A++,D--){const C=P[D];let h;if((0,i.isIdentifier)(C))h=C.name;else if((0,i.isStringLiteral)(C))h=C.value;else if((0,i.isThisExpression)(C))h="this";else if((0,i.isSuper)(C))h="super";else if((0,i.isPrivateName)(C))h="#"+C.id.name;else return!1;if(x[A]!==h)return!1}return!0}return r(o,"matchesPattern$1"),n(o,"matchesPattern"),Ii}r(jl,"requireMatchesPattern");var $s;function wl(){if($s)return gi;$s=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"r");Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=s;var i=jl();function s(o,a){const d=o.split(".");return f=>(0,i.default)(f,d,a)}return r(s,"buildMatchMemberExpression$1"),n(s,"buildMatchMemberExpression"),gi}r(wl,"requireBuildMatchMemberExpression");var Hs;function pp(){if(Hs)return yi;Hs=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.default=void 0;var T=wl();const n=(0,T.default)("React.Component");return yi.default=n,yi}r(pp,"requireIsReactComponent");var hi={},Zs;function up(){if(Zs)return hi;Zs=1;var T=Object.defineProperty,n=r((s,o)=>T(s,"name",{value:o,configurable:!0}),"t");Object.defineProperty(hi,"__esModule",{value:!0}),hi.default=i;function i(s){return!!s&&/^[a-z]/.test(s)}return r(i,"isCompatTag$1"),n(i,"isCompatTag"),hi}r(up,"requireIsCompatTag");var Ni={},Li={},Bs={},S={},ga={},Ms={},se={},Ci={},_i={},eo;function Rs(){if(eo)return _i;eo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"i");Object.defineProperty(_i,"__esModule",{value:!0}),_i.default=s;var i=Ee();function s(o,a){if(o===a)return!0;if(o==null||i.ALIAS_KEYS[a])return!1;const d=i.FLIPPED_ALIAS_KEYS[a];return!!(d!=null&&d.includes(o))}return r(s,"isType$1"),n(s,"isType"),_i}r(Rs,"requireIsType");var Bi={},to;function Fl(){if(to)return Bi;to=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.default=s;var i=Ee();function s(o,a){if(o===a)return!0;const d=i.PLACEHOLDERS_ALIAS[o];return!!(d!=null&&d.includes(a))}return r(s,"isPlaceholderType$1"),n(s,"isPlaceholderType"),Bi}r(Fl,"requireIsPlaceholderType");var ro;function Pi(){if(ro)return Ci;ro=1;var T=Object.defineProperty,n=r((f,x)=>T(f,"name",{value:x,configurable:!0}),"u");Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.default=d;var i=Fs(),s=Rs(),o=Fl(),a=Ee();function d(f,x,P){return x?(0,s.default)(x.type,f)?P===void 0?!0:(0,i.default)(x,P):!P&&x.type==="Placeholder"&&f in a.FLIPPED_ALIAS_KEYS?(0,o.default)(x.expectedNode,f):!1:!1}return r(d,"is$1"),n(d,"is"),Ci}r(Pi,"requireIs");var Mi={},js={},Da={},no;function cp(){if(no)return Da;no=1;var T=Object.defineProperty,n=r((A,D)=>T(A,"name",{value:D,configurable:!0}),"b");Object.defineProperty(Da,"__esModule",{value:!0}),Da.isIdentifierChar=g,Da.isIdentifierName=I,Da.isIdentifierStart=P;let i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",s="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const o=new RegExp("["+i+"]"),a=new RegExp("["+i+s+"]");i=s=null;const d=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],f=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function x(A,D){let C=65536;for(let h=0,K=D.length;h<K;h+=2){if(C+=D[h],C>A)return!1;if(C+=D[h+1],C>=A)return!0}return!1}r(x,"isInAstralSet"),n(x,"isInAstralSet");function P(A){return A<65?A===36:A<=90?!0:A<97?A===95:A<=122?!0:A<=65535?A>=170&&o.test(String.fromCharCode(A)):x(A,d)}r(P,"isIdentifierStart"),n(P,"isIdentifierStart");function g(A){return A<48?A===36:A<58?!0:A<65?!1:A<=90?!0:A<97?A===95:A<=122?!0:A<=65535?A>=170&&a.test(String.fromCharCode(A)):x(A,d)||x(A,f)}r(g,"isIdentifierChar"),n(g,"isIdentifierChar");function I(A){let D=!0;for(let C=0;C<A.length;C++){let h=A.charCodeAt(C);if((h&64512)===55296&&C+1<A.length){const K=A.charCodeAt(++C);(K&64512)===56320&&(h=65536+((h&1023)<<10)+(K&1023))}if(D){if(D=!1,!P(h))return!1}else if(!g(h))return!1}return!D}return r(I,"isIdentifierName"),n(I,"isIdentifierName"),Da}r(cp,"requireIdentifier");var Aa={},ao;function dp(){if(ao)return Aa;ao=1;var T=Object.defineProperty,n=r((I,A)=>T(I,"name",{value:A,configurable:!0}),"r");Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.isKeyword=g,Aa.isReservedWord=d,Aa.isStrictBindOnlyReservedWord=x,Aa.isStrictBindReservedWord=P,Aa.isStrictReservedWord=f;const i={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},s=new Set(i.keyword),o=new Set(i.strict),a=new Set(i.strictBind);function d(I,A){return A&&I==="await"||I==="enum"}r(d,"isReservedWord"),n(d,"isReservedWord");function f(I,A){return d(I,A)||o.has(I)}r(f,"isStrictReservedWord"),n(f,"isStrictReservedWord");function x(I){return a.has(I)}r(x,"isStrictBindOnlyReservedWord"),n(x,"isStrictBindOnlyReservedWord");function P(I,A){return f(I,A)||x(I)}r(P,"isStrictBindReservedWord"),n(P,"isStrictBindReservedWord");function g(I){return s.has(I)}return r(g,"isKeyword"),n(g,"isKeyword"),Aa}r(dp,"requireKeyword");var io;function ks(){return io||(io=1,(function(T){var n=Object.defineProperty,i=r((a,d)=>n(a,"name",{value:d,configurable:!0}),"e");Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"isIdentifierChar",{enumerable:!0,get:i(function(){return s.isIdentifierChar},"get")}),Object.defineProperty(T,"isIdentifierName",{enumerable:!0,get:i(function(){return s.isIdentifierName},"get")}),Object.defineProperty(T,"isIdentifierStart",{enumerable:!0,get:i(function(){return s.isIdentifierStart},"get")}),Object.defineProperty(T,"isKeyword",{enumerable:!0,get:i(function(){return o.isKeyword},"get")}),Object.defineProperty(T,"isReservedWord",{enumerable:!0,get:i(function(){return o.isReservedWord},"get")}),Object.defineProperty(T,"isStrictBindOnlyReservedWord",{enumerable:!0,get:i(function(){return o.isStrictBindOnlyReservedWord},"get")}),Object.defineProperty(T,"isStrictBindReservedWord",{enumerable:!0,get:i(function(){return o.isStrictBindReservedWord},"get")}),Object.defineProperty(T,"isStrictReservedWord",{enumerable:!0,get:i(function(){return o.isStrictReservedWord},"get")});var s=cp(),o=dp()})(js)),js}r(ks,"requireLib$2");var so;function Ai(){if(so)return Mi;so=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"i");Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.default=s;var i=ks();function s(o,a=!0){return typeof o!="string"||a&&((0,i.isKeyword)(o)||(0,i.isStrictReservedWord)(o,!0))?!1:(0,i.isIdentifierName)(o)}return r(s,"isValidIdentifier$1"),n(s,"isValidIdentifier"),Mi}r(Ai,"requireIsValidIdentifier");var ha={},oo;function yp(){if(oo)return ha;oo=1;var T=Object.defineProperty,n=r((I,A)=>T(I,"name",{value:A,configurable:!0}),"s");Object.defineProperty(ha,"__esModule",{value:!0}),ha.readCodePoint=g,ha.readInt=P,ha.readStringContents=a;var i=n(function(I){return I>=48&&I<=57},"isDigit");const s={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},o={bin:n(I=>I===48||I===49,"bin"),oct:n(I=>I>=48&&I<=55,"oct"),dec:n(I=>I>=48&&I<=57,"dec"),hex:n(I=>I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102,"hex")};function a(I,A,D,C,h,K){const N=D,M=C,_=h;let B="",F=null,Y=D;const{length:H}=A;for(;;){if(D>=H){K.unterminated(N,M,_),B+=A.slice(Y,D);break}const Z=A.charCodeAt(D);if(d(I,Z,A,D)){B+=A.slice(Y,D);break}if(Z===92){B+=A.slice(Y,D);const ee=f(A,D,C,h,I==="template",K);ee.ch===null&&!F?F={pos:D,lineStart:C,curLine:h}:B+=ee.ch,{pos:D,lineStart:C,curLine:h}=ee,Y=D}else Z===8232||Z===8233?(++D,++h,C=D):Z===10||Z===13?I==="template"?(B+=A.slice(Y,D)+`
|
|
4
|
-
`,++
|
|
5
|
-
`);case 114:return
|
|
6
|
-
${
|
|
7
|
-
`)}`)}return r(V,"n"),n(V,"validate"),V.shapeOf=w,V}r(te,"assertShape"),n(te,"assertShape");function ue(){function w(k){var V;let q=k;for(;k;){const{type:J}=q;if(J==="OptionalCallExpression"){if(q.optional)return;q=q.callee;continue}if(J==="OptionalMemberExpression"){if(q.optional)return;q=q.object;continue}break}throw new TypeError(`Non-optional ${k.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(V=q)==null?void 0:V.type}`)}return r(w,"e"),n(w,"validate"),w}r(ue,"assertOptionalChainStart"),n(ue,"assertOptionalChainStart");function ae(...w){function k(...V){for(const q of w)q(...V)}if(r(k,"t"),n(k,"validate"),k.chainOf=w,w.length>=2&&"type"in w[0]&&w[0].type==="array"&&!("each"in w[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return k}r(ae,"chain"),n(ae,"chain");const re=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate","unionShape"]),de=new Set(["default","optional","deprecated","validate"]),oe={};function fe(...w){return(k,V={})=>{let q=V.aliases;if(!q){var J;V.inherits&&(q=(J=oe[V.inherits].aliases)==null?void 0:J.slice()),q??(q=[]),V.aliases=q}const $=w.filter(G=>!q.includes(G));q.unshift(...$),ce(k,V)}}r(fe,"defineAliasedType"),n(fe,"defineAliasedType");function ce(w,k={}){const V=k.inherits&&oe[k.inherits]||{};let q=k.fields;if(!q&&(q={},V.fields)){const W=Object.getOwnPropertyNames(V.fields);for(const Q of W){const le=V.fields[Q],pe=le.default;if(Array.isArray(pe)?pe.length>0:pe&&typeof pe=="object")throw new Error("field defaults can only be primitives or empty arrays currently");q[Q]={default:Array.isArray(pe)?[]:pe,optional:le.optional,deprecated:le.deprecated,validate:le.validate}}}const J=k.visitor||V.visitor||[],$=k.aliases||V.aliases||[],G=k.builder||V.builder||k.visitor||[];for(const W of Object.keys(k))if(!re.has(W))throw new Error(`Unknown type option "${W}" on ${w}`);k.deprecatedAlias&&(P[k.deprecatedAlias]=w);for(const W of J.concat(G))q[W]=q[W]||{};for(const W of Object.keys(q)){const Q=q[W];Q.default!==void 0&&!G.includes(W)&&(Q.optional=!0),Q.default===void 0?Q.default=null:!Q.validate&&Q.default!=null&&(Q.validate=ee(A(Q.default)));for(const le of Object.keys(Q))if(!de.has(le))throw new Error(`Unknown field key "${le}" on ${w}.${W}`)}o[w]=k.visitor=J,x[w]=k.builder=G,f[w]=k.fields=q,a[w]=k.aliases=$,$.forEach(W=>{d[W]=d[W]||[],d[W].push(w)}),k.validate&&(g[w]=k.validate),k.unionShape&&(I[w]=k.unionShape),oe[w]=k}return r(ce,"defineType"),n(ce,"defineType"),U}r(We,"requireUtils");var uo;function Ls(){if(uo)return se;uo=1;var T=Object.defineProperty,n=r((N,M)=>T(N,"name",{value:M,configurable:!0}),"o");Object.defineProperty(se,"__esModule",{value:!0}),se.patternLikeCommon=se.importAttributes=se.functionTypeAnnotationCommon=se.functionDeclarationCommon=se.functionCommon=se.classMethodOrPropertyUnionShapeCommon=se.classMethodOrPropertyCommon=se.classMethodOrDeclareMethodCommon=void 0;var i=Pi(),s=Ai(),o=ks(),a=yp(),d=xi(),f=We();const x=n((N=!1)=>({unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,f.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:N?(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"):(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral")}}}]}}),"classMethodOrPropertyUnionShapeCommon");se.classMethodOrPropertyUnionShapeCommon=x;const P=(0,f.defineAliasedType)("Standardized");P("ArrayExpression",{fields:{elements:{validate:(0,f.arrayOf)((0,f.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),P("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(){const N=(0,f.assertOneOf)(...d.ASSIGNMENT_OPERATORS),M=(0,f.assertOneOf)("=");return function(_,B,F){((0,i.default)("Pattern",_.left)?M:N)(_,B,F)}})(),{oneOf:d.ASSIGNMENT_OPERATORS}):(0,f.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,f.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),P("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,f.assertOneOf)(...d.BINARY_OPERATORS)},left:{validate:(function(){const N=(0,f.assertNodeType)("Expression"),M=(0,f.assertNodeType)("Expression","PrivateName");return Object.assign(function(_,B,F){(_.operator==="in"?M:N)(_,B,F)},{oneOfNodeTypes:["Expression","PrivateName"]})})()},right:{validate:(0,f.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),P("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}}}),P("Directive",{visitor:["value"],fields:{value:{validate:(0,f.assertNodeType)("DirectiveLiteral")}}}),P("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}}}),P("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,f.arrayOfType)("Directive"),default:[]},body:(0,f.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),P("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),P("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,f.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,f.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,f.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),P("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),P("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},consequent:{validate:(0,f.assertNodeType)("Expression")},alternate:{validate:(0,f.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),P("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),P("DebuggerStatement",{aliases:["Statement"]}),P("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),P("EmptyStatement",{aliases:["Statement"]}),P("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,f.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),P("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,f.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertEach)((0,f.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,f.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),P("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,f.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,f.assertNodeType)("Expression"),optional:!0},update:{validate:(0,f.assertNodeType)("Expression"),optional:!0},body:{validate:(0,f.assertNodeType)("Statement")}}});const g=n(()=>({params:(0,f.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}}),"functionCommon");se.functionCommon=g;const I=n(()=>({returnType:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}}),"functionTypeAnnotationCommon");se.functionTypeAnnotationCommon=I;const A=n(()=>Object.assign({},g(),{declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}}),"functionDeclarationCommon");se.functionDeclarationCommon=A,P("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},A(),I(),{body:{validate:(0,f.assertNodeType)("BlockStatement")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const N=(0,f.assertNodeType)("Identifier");return function(M,_,B){(0,i.default)("ExportDefaultDeclaration",M)||N(B,"id",B.id)}})():void 0}),P("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},g(),I(),{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});const D=n(()=>({typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}}),"patternLikeCommon");se.patternLikeCommon=D,P("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},D(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("string"),Object.assign(function(N,M,_){if(!(0,s.default)(_,!1))throw new TypeError(`"${_}" is not a valid identifier name`)},{type:"string"})):(0,f.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(N,M,_){const B=/\.(\w+)$/.exec(M.toString());if(!B)return;const[,F]=B,Y={computed:!1};if(F==="property"){if((0,i.default)("MemberExpression",N,Y)||(0,i.default)("OptionalMemberExpression",N,Y))return}else if(F==="key"){if((0,i.default)("Property",N,Y)||(0,i.default)("Method",N,Y))return}else if(F==="exported"){if((0,i.default)("ExportSpecifier",N))return}else if(F==="imported"){if((0,i.default)("ImportSpecifier",N,{imported:_}))return}else if(F==="meta"&&(0,i.default)("MetaProperty",N,{meta:_}))return;if(((0,o.isKeyword)(_.name)||(0,o.isReservedWord)(_.name,!1))&&_.name!=="this")throw new TypeError(`"${_.name}" is not a valid identifier`)}:void 0}),P("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},consequent:{validate:(0,f.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,f.assertNodeType)("Statement")}}}),P("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,f.assertNodeType)("Identifier")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("StringLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,f.chain)((0,f.assertValueType)("number"),Object.assign(function(N,M,_){},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),P("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,f.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("string"),Object.assign(function(N,M,_){const B=/[^dgimsuvy]/.exec(_);if(B)throw new TypeError(`"${B[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,f.assertValueType)("string"),default:""}}}),P("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,f.assertOneOf)(...d.LOGICAL_OPERATORS)},left:{validate:(0,f.assertNodeType)("Expression")},right:{validate:(0,f.assertNodeType)("Expression")}}}),P("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{property:{validate:(0,f.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{property:{validate:(0,f.assertNodeType)("Identifier","PrivateName")}}}]},fields:Object.assign({object:{validate:(0,f.assertNodeType)("Expression","Super")},property:{validate:(function(){const N=(0,f.assertNodeType)("Identifier","PrivateName"),M=(0,f.assertNodeType)("Expression"),_=n(function(B,F,Y){(B.computed?M:N)(B,F,Y)},"validator");return _.oneOfNodeTypes=["Expression","Identifier","PrivateName"],_})()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,f.assertValueType)("boolean"),optional:!0}})}),P("NewExpression",{inherits:"CallExpression"}),P("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,f.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,f.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,f.arrayOfType)("Directive"),default:[]},body:(0,f.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),P("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,f.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),P("ObjectMethod",Object.assign({builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},x(),{fields:Object.assign({},g(),I(),{kind:Object.assign({validate:(0,f.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),M=(0,f.assertNodeType)("Expression"),_=n(function(B,F,Y){(B.computed?M:N)(B,F,Y)},"validator");return _.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],_})()},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]})),P("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,f.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName")}}}]},fields:{computed:{default:!1},key:{validate:(function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),M=(0,f.assertNodeType)("Expression");return Object.assign(function(_,B,F){(_.computed?M:N)(_,B,F)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})})()},value:{validate:(0,f.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),Object.assign(function(N,M,_){if(_){if(N.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,i.default)("Identifier",N.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,f.assertValueType)("boolean"),default:!1},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const N=(0,f.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),M=(0,f.assertNodeType)("Expression");return function(_,B,F){((0,i.default)("ObjectPattern",_)?N:M)(F,"value",F.value)}})():void 0}),P("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},D(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(N,M){const _=/(\w+)\[(\d+)\]/.exec(M.toString());if(!_)throw new Error("Internal Babel error: malformed key.");const[,B,F]=_;if(N[B].length>+F+1)throw new TypeError(`RestElement must be last element of ${B}`)}:void 0}),P("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,f.assertNodeType)("Expression"),optional:!0}}}),P("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,f.validateArrayOfType)("Expression")},aliases:["Expression"]}),P("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,f.assertNodeType)("Expression")}}}),P("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,f.assertNodeType)("Expression"),optional:!0},consequent:(0,f.validateArrayOfType)("Statement")}}),P("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,f.assertNodeType)("Expression")},cases:(0,f.validateArrayOfType)("SwitchCase")}}),P("ThisExpression",{aliases:["Expression"]}),P("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),P("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertNodeType)("BlockStatement"),Object.assign(function(N){if(!N.handler&&!N.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,f.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,f.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,f.assertNodeType)("BlockStatement")}}}),P("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,f.assertNodeType)("Expression")},operator:{validate:(0,f.assertOneOf)(...d.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),P("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","MemberExpression"):(0,f.assertNodeType)("Expression")},operator:{validate:(0,f.assertOneOf)(...d.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),P("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},kind:{validate:(0,f.assertOneOf)("var","let","const","using","await using")},declarations:(0,f.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{const N=(0,f.assertNodeType)("Identifier","Placeholder"),M=(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),_=(0,f.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(B,F,Y){const{kind:H,declarations:Z}=Y,ee=(0,i.default)("ForXStatement",B,{left:Y});if(ee&&Z.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${B.type}`);for(const te of Z)H==="const"||H==="let"||H==="var"?!ee&&!te.init?N(te,"id",te.id):M(te,"id",te.id):_(te,"id",te.id)}})():void 0}),P("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,f.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,f.assertValueType)("boolean")},init:{optional:!0,validate:(0,f.assertNodeType)("Expression")}}}),P("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),P("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},D(),{left:{validate:(0,f.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,f.assertNodeType)("Expression")},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}})}),P("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},D(),{elements:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeOrValueType)("null","PatternLike")))}})}),P("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},g(),I(),{expression:{validate:(0,f.assertValueType)("boolean")},body:{validate:(0,f.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),P("ClassBody",{visitor:["body"],fields:{body:(0,f.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),P("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,f.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,f.assertNodeType)("Expression")},superTypeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,f.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,f.assertNodeType)("InterfaceExtends"),optional:!0}}}),P("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,f.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,f.assertNodeType)("Expression")},superTypeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,f.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,f.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,f.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const N=(0,f.assertNodeType)("Identifier");return function(M,_,B){(0,i.default)("ExportDefaultDeclaration",M)||N(B,"id",B.id)}})():void 0});const C=se.importAttributes={attributes:{optional:!0,validate:(0,f.arrayOfType)("ImportAttribute")}};C.assertions={deprecated:!0,optional:!0,validate:(0,f.arrayOfType)("ImportAttribute")},P("ExportAllDeclaration",{builder:["source","attributes"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,f.assertNodeType)("StringLiteral")},exportKind:(0,f.validateOptional)((0,f.assertOneOf)("type","value"))},C)}),P("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,f.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,f.validateOptional)((0,f.assertOneOf)("value"))}}),P("ExportNamedDeclaration",{builder:["declaration","specifiers","source","attributes"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertNodeType)("Declaration"),Object.assign(function(N,M,_){if(_&&N.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(_&&N.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,f.assertNodeType)("Declaration")}},C,{specifiers:{default:[],validate:(0,f.arrayOf)((function(){const N=(0,f.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),M=(0,f.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(_,B,F){(_.source?N:M)(_,B,F)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):N})())},source:{validate:(0,f.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,f.validateOptional)((0,f.assertOneOf)("type","value"))})}),P("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")},exported:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,f.assertOneOf)("type","value"),optional:!0}}}),P("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,f.assertNodeType)("VariableDeclaration","LVal");const N=(0,f.assertNodeType)("VariableDeclaration"),M=(0,f.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(_,B,F){(0,i.default)("VariableDeclaration",F)?N(_,B,F):M(_,B,F)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})})()},right:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")},await:{default:!1}}}),P("ImportDeclaration",{builder:["specifiers","source","attributes"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},C,{module:{optional:!0,validate:(0,f.assertValueType)("boolean")},phase:{default:null,validate:(0,f.assertOneOf)("source","defer")},specifiers:(0,f.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,f.assertNodeType)("StringLiteral")},importKind:{validate:(0,f.assertOneOf)("type","typeof","value"),optional:!0}})}),P("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")}}}),P("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")}}}),P("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")},imported:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,f.assertOneOf)("type","typeof","value"),optional:!0}}}),P("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,f.assertOneOf)("source","defer")},source:{validate:(0,f.assertNodeType)("Expression")},options:{validate:(0,f.assertNodeType)("Expression"),optional:!0}}}),P("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertNodeType)("Identifier"),Object.assign(function(N,M,_){let B;switch(_.name){case"function":B="sent";break;case"new":B="target";break;case"import":B="meta";break}if(!(0,i.default)("Identifier",N.property,{name:B}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,f.assertNodeType)("Identifier")},property:{validate:(0,f.assertNodeType)("Identifier")}}});const h=n(()=>({abstract:{validate:(0,f.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,f.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},key:{validate:(0,f.chain)((function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),M=(0,f.assertNodeType)("Expression");return function(_,B,F){(_.computed?M:N)(_,B,F)}})(),(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}),"classMethodOrPropertyCommon");se.classMethodOrPropertyCommon=h;const K=n(()=>Object.assign({},g(),h(),{params:(0,f.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,f.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,f.chain)((0,f.assertValueType)("string"),(0,f.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0}}),"classMethodOrDeclareMethodCommon");return se.classMethodOrDeclareMethodCommon=K,P("ClassMethod",Object.assign({aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},x(),{fields:Object.assign({},K(),I(),{body:{validate:(0,f.assertNodeType)("BlockStatement")}})})),P("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},D(),{properties:(0,f.validateArrayOfType)("RestElement","ObjectProperty")})}),P("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),P("Super",{aliases:["Expression"]}),P("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,f.assertNodeType)("Expression")},quasi:{validate:(0,f.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),P("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,f.chain)((0,f.assertShape)({raw:{validate:(0,f.assertValueType)("string")},cooked:{validate:(0,f.assertValueType)("string"),optional:!0}}),n(function(N){const M=N.value.raw;let _=!1;const B=n(()=>{throw new Error("Internal @babel/types error.")},"error"),{str:F,firstInvalidLoc:Y}=(0,a.readStringContents)("template",M,0,0,0,{unterminated(){_=!0},strictNumericEscape:B,invalidEscapeSequence:B,numericSeparatorInEscapeSequence:B,unexpectedNumericSeparator:B,invalidDigit:B,invalidCodePoint:B});if(!_)throw new Error("Invalid raw");N.value.cooked=Y?null:F},"templateElementCookedValidator"))},tail:{default:!1}}}),P("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,f.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Expression","TSType")),function(N,M,_){if(N.quasis.length!==_.length+1)throw new TypeError(`Number of ${N.type} quasis should be exactly one more than the number of expressions.
|
|
8
|
-
Expected ${_.length+1} quasis but got ${N.quasis.length}`)})}}}),P("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),Object.assign(function(N,M,_){if(_&&!N.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,f.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,f.assertNodeType)("Expression")}}}),P("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),P("Import",{aliases:["Expression"]}),P("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),P("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,f.assertNodeType)("Identifier")}}}),P("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,f.assertNodeType)("Expression")},property:{validate:(function(){const N=(0,f.assertNodeType)("Identifier"),M=(0,f.assertNodeType)("Expression");return Object.assign(function(_,B,F){(_.computed?M:N)(_,B,F)},{oneOfNodeTypes:["Expression","Identifier"]})})()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),(0,f.assertOptionalChainStart)()):(0,f.assertValueType)("boolean")}}}),P("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,f.assertNodeType)("Expression")},arguments:(0,f.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),(0,f.assertOptionalChainStart)()):(0,f.assertValueType)("boolean")},typeArguments:{validate:(0,f.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,f.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),P("ClassProperty",Object.assign({visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"]},x(),{fields:Object.assign({},h(),{value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}})})),P("ClassAccessorProperty",Object.assign({visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"]},x(!0),{fields:Object.assign({},h(),{key:{validate:(0,f.chain)((function(){const N=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),M=(0,f.assertNodeType)("Expression");return function(_,B,F){(_.computed?M:N)(_,B,F)}})(),(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}})})),P("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,f.assertNodeType)("PrivateName")},value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,f.assertValueType)("boolean"),default:!1},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}}}),P("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},K(),I(),{kind:{validate:(0,f.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,f.assertNodeType)("PrivateName")},body:{validate:(0,f.assertNodeType)("BlockStatement")}})}),P("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,f.assertNodeType)("Identifier")}}}),P("StaticBlock",{visitor:["body"],fields:{body:(0,f.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),P("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,f.assertNodeType)("StringLiteral")}}}),se}r(Ls,"requireCore");var co={},yo;function fp(){if(yo)return co;yo=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"i"),i=Ls(),s=We();const o=(0,s.defineAliasedType)("Flow"),a=n(d=>{const f=d==="DeclareClass";o(d,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...f?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends"))},f?{mixins:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),implements:(0,s.validateOptional)((0,s.arrayOfType)("ClassImplements"))}:{},{body:(0,s.validateType)("ObjectTypeAnnotation")})})},"defineInterfaceishType");return o("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,s.validateType)("FlowType")}}),o("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),a("DeclareClass"),o("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),predicate:(0,s.validateOptionalType)("DeclaredPredicate")}}),a("DeclareInterface"),o("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier","StringLiteral"),body:(0,s.validateType)("BlockStatement"),kind:(0,s.validateOptional)((0,s.assertOneOf)("CommonJS","ES"))}}),o("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,s.validateType)("TypeAnnotation")}}),o("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}}),o("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateOptionalType)("FlowType")}}),o("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier")}}),o("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,s.validateOptionalType)("Flow"),specifiers:(0,s.validateOptional)((0,s.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,s.validateOptionalType)("StringLiteral"),default:(0,s.validateOptional)((0,s.assertValueType)("boolean"))},i.importAttributes)}),o("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,s.validateType)("StringLiteral"),exportKind:(0,s.validateOptional)((0,s.assertOneOf)("type","value"))},i.importAttributes)}),o("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,s.validateType)("Flow")}}),o("ExistsTypeAnnotation",{aliases:["FlowType"]}),o("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),params:(0,s.validateArrayOfType)("FunctionTypeParam"),rest:(0,s.validateOptionalType)("FunctionTypeParam"),this:(0,s.validateOptionalType)("FunctionTypeParam"),returnType:(0,s.validateType)("FlowType")}}),o("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,s.validateOptionalType)("Identifier"),typeAnnotation:(0,s.validateType)("FlowType"),optional:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),o("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,s.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),o("InferredPredicate",{aliases:["FlowPredicate"]}),o("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}}),a("InterfaceDeclaration"),o("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),body:(0,s.validateType)("ObjectTypeAnnotation")}}),o("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),o("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}}),o("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("number"))}}),o("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,s.validate)((0,s.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,s.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,s.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,s.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,s.assertValueType)("boolean"),default:!1},inexact:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}}),o("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateType)("Identifier"),value:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean")),static:(0,s.validate)((0,s.assertValueType)("boolean")),method:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateOptionalType)("Identifier"),key:(0,s.validateType)("FlowType"),value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance")}}),o("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,s.validateType)("Identifier","StringLiteral"),value:(0,s.validateType)("FlowType"),kind:(0,s.validate)((0,s.assertOneOf)("init","get","set")),static:(0,s.validate)((0,s.assertValueType)("boolean")),proto:(0,s.validate)((0,s.assertValueType)("boolean")),optional:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance"),method:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,s.validateType)("FlowType")}}),o("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateType)("FlowType")}}),o("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,s.validateType)("Identifier"),qualification:(0,s.validateType)("Identifier","QualifiedTypeIdentifier")}}),o("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("string"))}}),o("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),o("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,s.validateType)("FlowType")}}),o("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}}),o("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}}),o("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TypeAnnotation")}}),o("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,s.validate)((0,s.assertValueType)("string")),bound:(0,s.validateOptionalType)("TypeAnnotation"),default:(0,s.validateOptionalType)("FlowType"),variance:(0,s.validateOptionalType)("Variance")}}),o("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("TypeParameter"))}}),o("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),o("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}}),o("Variance",{builder:["kind"],fields:{kind:(0,s.validate)((0,s.assertOneOf)("minus","plus"))}}),o("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),o("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,s.validateType)("Identifier"),body:(0,s.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),o("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}}),o("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("BooleanLiteral")}}),o("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("NumericLiteral")}}),o("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("StringLiteral")}}),o("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}}),o("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType")}}),o("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean"))}}),co}r(fp,"requireFlow");var fo={},To;function Tp(){if(To)return fo;To=1;var T=We();const n=(0,T.defineAliasedType)("JSX");return n("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,T.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,T.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),n("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,T.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),n("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,T.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,T.assertNodeType)("JSXClosingElement")},children:(0,T.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,T.assertValueType)("boolean"),optional:!0}})}),n("JSXEmptyExpression",{}),n("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,T.assertNodeType)("Expression","JSXEmptyExpression")}}}),n("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,T.assertNodeType)("Expression")}}}),n("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,T.assertValueType)("string")}}}),n("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,T.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,T.assertNodeType)("JSXIdentifier")}}}),n("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,T.assertNodeType)("JSXIdentifier")},name:{validate:(0,T.assertNodeType)("JSXIdentifier")}}}),n("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,T.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,T.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,T.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,T.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),n("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,T.assertNodeType)("Expression")}}}),n("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,T.assertValueType)("string")}}}),n("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,T.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,T.assertNodeType)("JSXClosingFragment")},children:(0,T.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),n("JSXOpeningFragment",{aliases:["Immutable"]}),n("JSXClosingFragment",{aliases:["Immutable"]}),fo}r(Tp,"requireJsx");var mo={},Ue={},So;function Rl(){if(So)return Ue;So=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.PLACEHOLDERS_FLIPPED_ALIAS=Ue.PLACEHOLDERS_ALIAS=Ue.PLACEHOLDERS=void 0;var T=We();const n=Ue.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],i=Ue.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(const o of n){const a=T.ALIAS_KEYS[o];a!=null&&a.length&&(i[o]=a)}const s=Ue.PLACEHOLDERS_FLIPPED_ALIAS={};return Object.keys(i).forEach(o=>{i[o].forEach(a=>{hasOwnProperty.call(s,a)||(s[a]=[]),s[a].push(o)})}),Ue}r(Rl,"requirePlaceholders");var Eo;function mp(){if(Eo)return mo;Eo=1;var T=We(),n=Rl(),i=Ls();const s=(0,T.defineAliasedType)("Miscellaneous");return s("Noop",{visitor:[]}),s("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,T.assertNodeType)("Identifier")},expectedNode:{validate:(0,T.assertOneOf)(...n.PLACEHOLDERS)}},(0,i.patternLikeCommon)())}),s("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,T.assertValueType)("string")}}}),mo}r(mp,"requireMisc");var bo={},vo;function Sp(){if(vo)return bo;vo=1;var T=We();return(0,T.default)("ArgumentPlaceholder",{}),(0,T.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,T.assertNodeType)("Expression")},callee:{validate:(0,T.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,T.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,T.assertNodeType)("Expression")}}}),(0,T.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,T.assertNodeType)("BlockStatement")},async:{validate:(0,T.assertValueType)("boolean"),default:!1}}}),(0,T.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,T.assertNodeType)("Identifier")}}}),(0,T.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,T.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,T.default)("TupleExpression",{fields:{elements:{validate:(0,T.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,T.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,T.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,T.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,T.assertNodeType)("Program")}},aliases:["Expression"]}),(0,T.default)("TopicReference",{aliases:["Expression"]}),(0,T.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,T.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,T.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,T.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,T.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,T.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]}),bo}r(Sp,"requireExperimental");var Po={},Ao;function Ep(){if(Ao)return Po;Ao=1;var T=Object.defineProperty,n=r((h,K)=>T(h,"name",{value:K,configurable:!0}),"t"),i=We(),s=Ls(),o=Pi();const a=(0,i.defineAliasedType)("TypeScript"),d=(0,i.assertValueType)("boolean"),f=n(()=>({returnType:{validate:(0,i.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,i.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}}),"tSFunctionTypeAnnotationCommon");a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,i.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,i.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,i.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,i.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,i.arrayOfType)("Decorator"),optional:!0}}}),a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,s.functionDeclarationCommon)(),f())}),a("TSDeclareMethod",Object.assign({visitor:["decorators","key","typeParameters","params","returnType"]},(0,s.classMethodOrPropertyUnionShapeCommon)(),{fields:Object.assign({},(0,s.classMethodOrDeclareMethodCommon)(),f())})),a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,i.validateType)("TSEntityName"),right:(0,i.validateType)("Identifier")}});const x=n(()=>({typeParameters:(0,i.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,i.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation")}),"signatureDeclarationCommon"),P={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:x()};a("TSCallSignatureDeclaration",P),a("TSConstructSignatureDeclaration",P);const g=n(()=>({key:(0,i.validateType)("Expression"),computed:{default:!1},optional:(0,i.validateOptional)(d)}),"namedTypeElementCommon");a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},g(),{readonly:(0,i.validateOptional)(d),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,i.assertOneOf)("get","set")}})}),a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},x(),g(),{kind:{validate:(0,i.assertOneOf)("method","get","set")}})}),a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,i.validateOptional)(d),static:(0,i.validateOptional)(d),parameters:(0,i.validateArrayOfType)("Identifier"),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation")}});const I=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const h of I)a(h,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const A={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},A,{fields:x()})),a("TSConstructorType",Object.assign({},A,{fields:Object.assign({},x(),{abstract:(0,i.validateOptional)(d)})})),a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,i.validateType)("TSEntityName"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,i.validateType)("Identifier","TSThisType"),typeAnnotation:(0,i.validateOptionalType)("TSTypeAnnotation"),asserts:(0,i.validateOptional)(d)}}),a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,i.validateType)("TSEntityName","TSImportType"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,i.validateArrayOfType)("TSTypeElement")}}),a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,i.validateType)("TSType")}}),a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,i.validateArrayOfType)("TSType","TSNamedTupleMember")}}),a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("TSType")}}),a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("TSType")}}),a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,i.validateType)("Identifier"),optional:{validate:d,default:!1},elementType:(0,i.validateType)("TSType")}});const D={aliases:["TSType"],visitor:["types"],fields:{types:(0,i.validateArrayOfType)("TSType")}};a("TSUnionType",D),a("TSIntersectionType",D),a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,i.validateType)("TSType"),extendsType:(0,i.validateType)("TSType"),trueType:(0,i.validateType)("TSType"),falseType:(0,i.validateType)("TSType")}}),a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,i.validateType)("TSTypeParameter")}}),a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("TSType")}}),a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,i.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,i.validateType)("TSType")}}),a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,i.validateType)("TSType"),indexType:(0,i.validateType)("TSType")}}),a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,i.validateType)("TSTypeParameter")},{readonly:(0,i.validateOptional)((0,i.assertOneOf)(!0,!1,"+","-")),optional:(0,i.validateOptional)((0,i.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,i.validateOptionalType)("TSType"),nameType:(0,i.validateOptionalType)("TSType")})}),a("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,i.validateArrayOfType)("TemplateElement"),types:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("TSType")),function(h,K,N){if(h.quasis.length!==N.length+1)throw new TypeError(`Number of ${h.type} quasis should be exactly one more than the number of types.
|
|
9
|
-
Expected ${N.length+1} quasis but got ${h.quasis.length}`)})}}}),a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(function(){const h=(0,i.assertNodeType)("NumericLiteral","BigIntLiteral"),K=(0,i.assertOneOf)("-"),N=(0,i.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral"),M=n(function(_,B,F){(0,o.default)("UnaryExpression",F)?(K(F,"operator",F.operator),h(F,"argument",F.argument)):N(_,B,F)},"validator");return M.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],M})()}}}),a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,i.validateType)("TSEntityName"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,i.validateOptional)(d),id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,i.validateOptional)((0,i.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,i.validateType)("TSInterfaceBody")}}),a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,i.validateArrayOfType)("TSTypeElement")}}),a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,i.validateOptional)(d),id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,i.validateType)("TSType")}}),a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,i.validateType)("Expression"),typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")}});const C={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,i.validateType)("Expression"),typeAnnotation:(0,i.validateType)("TSType")}};return a("TSAsExpression",C),a("TSSatisfiesExpression",C),a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,i.validateType)("TSType"),expression:(0,i.validateType)("Expression")}}),a("TSEnumBody",{visitor:["members"],fields:{members:(0,i.validateArrayOfType)("TSEnumMember")}}),a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,i.validateOptional)(d),const:(0,i.validateOptional)(d),id:(0,i.validateType)("Identifier"),members:(0,i.validateArrayOfType)("TSEnumMember"),initializer:(0,i.validateOptionalType)("Expression"),body:(0,i.validateOptionalType)("TSEnumBody")}}),a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,i.validateType)("Identifier","StringLiteral"),initializer:(0,i.validateOptionalType)("Expression")}}),a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,i.assertOneOf)("global","module","namespace")},declare:(0,i.validateOptional)(d)},{global:(0,i.validateOptional)(d)},{id:(0,i.validateType)("Identifier","StringLiteral"),body:(0,i.validateType)("TSModuleBlock","TSModuleDeclaration")})}),a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,i.validateArrayOfType)("Statement")}}),a("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:Object.assign({},{argument:(0,i.validateType)("StringLiteral")},{qualifier:(0,i.validateOptionalType)("TSEntityName")},{typeParameters:(0,i.validateOptionalType)("TSTypeParameterInstantiation")},{options:{validate:(0,i.assertNodeType)("ObjectExpression"),optional:!0}})}),a("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,i.validate)(d)},{id:(0,i.validateType)("Identifier"),moduleReference:(0,i.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,i.assertOneOf)("type","value"),optional:!0}})}),a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,i.validateType)("StringLiteral")}}),a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,i.validateType)("Expression")}}),a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,i.validateType)("Expression")}}),a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,i.validateType)("Identifier")}}),a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,i.assertNodeType)("TSType")}}}),a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,i.validateArrayOfType)("TSType")}}),a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,i.validateArrayOfType)("TSTypeParameter")}}),a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,i.assertValueType)("string")},in:{validate:(0,i.assertValueType)("boolean"),optional:!0},out:{validate:(0,i.assertValueType)("boolean"),optional:!0},const:{validate:(0,i.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,i.assertNodeType)("TSType"),optional:!0},default:{validate:(0,i.assertNodeType)("TSType"),optional:!0}}}),Po}r(Ep,"requireTypescript");var fi={},xo;function bp(){return xo||(xo=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.DEPRECATED_ALIASES=void 0,fi.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}),fi}r(bp,"requireDeprecatedAliases");var go;function Ee(){return go||(go=1,(function(T){var n=Object.defineProperty,i=r((d,f)=>n(d,"name",{value:f,configurable:!0}),"e");Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"ALIAS_KEYS",{enumerable:!0,get:i(function(){return s.ALIAS_KEYS},"get")}),Object.defineProperty(T,"BUILDER_KEYS",{enumerable:!0,get:i(function(){return s.BUILDER_KEYS},"get")}),Object.defineProperty(T,"DEPRECATED_ALIASES",{enumerable:!0,get:i(function(){return a.DEPRECATED_ALIASES},"get")}),Object.defineProperty(T,"DEPRECATED_KEYS",{enumerable:!0,get:i(function(){return s.DEPRECATED_KEYS},"get")}),Object.defineProperty(T,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:i(function(){return s.FLIPPED_ALIAS_KEYS},"get")}),Object.defineProperty(T,"NODE_FIELDS",{enumerable:!0,get:i(function(){return s.NODE_FIELDS},"get")}),Object.defineProperty(T,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:i(function(){return s.NODE_PARENT_VALIDATIONS},"get")}),Object.defineProperty(T,"NODE_UNION_SHAPES__PRIVATE",{enumerable:!0,get:i(function(){return s.NODE_UNION_SHAPES__PRIVATE},"get")}),Object.defineProperty(T,"PLACEHOLDERS",{enumerable:!0,get:i(function(){return o.PLACEHOLDERS},"get")}),Object.defineProperty(T,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:i(function(){return o.PLACEHOLDERS_ALIAS},"get")}),Object.defineProperty(T,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:i(function(){return o.PLACEHOLDERS_FLIPPED_ALIAS},"get")}),T.TYPES=void 0,Object.defineProperty(T,"VISITOR_KEYS",{enumerable:!0,get:i(function(){return s.VISITOR_KEYS},"get")}),Ls(),fp(),Tp(),mp(),Sp(),Ep();var s=We(),o=Rl(),a=bp();Object.keys(a.DEPRECATED_ALIASES).forEach(d=>{s.FLIPPED_ALIAS_KEYS[d]=s.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[d]]});for(const{types:d,set:f}of s.allExpandedTypes)for(const x of d){const P=s.FLIPPED_ALIAS_KEYS[x];P?P.forEach(f.add,f):f.add(x)}T.TYPES=[].concat(Object.keys(s.VISITOR_KEYS),Object.keys(s.FLIPPED_ALIAS_KEYS),Object.keys(s.DEPRECATED_KEYS))})(Ms)),Ms}r(Ee,"requireDefinitions");var Io;function Ks(){if(Io)return ga;Io=1;var T=Object.defineProperty,n=r((f,x)=>T(f,"name",{value:x,configurable:!0}),"r");Object.defineProperty(ga,"__esModule",{value:!0}),ga.default=s,ga.validateChild=d,ga.validateField=a,ga.validateInternal=o;var i=Ee();function s(f,x,P){if(!f)return;const g=i.NODE_FIELDS[f.type];if(!g)return;const I=g[x];a(f,x,P,I),d(f,x,P)}r(s,"validate$1"),n(s,"validate");function o(f,x,P,g,I){if(f!=null&&f.validate&&!(f.optional&&g==null)&&(f.validate(x,P,g),I)){var A;const D=g.type;if(D==null)return;(A=i.NODE_PARENT_VALIDATIONS[D])==null||A.call(i.NODE_PARENT_VALIDATIONS,x,P,g)}}r(o,"validateInternal"),n(o,"validateInternal");function a(f,x,P,g){g!=null&&g.validate&&(g.optional&&P==null||g.validate(f,x,P))}r(a,"validateField"),n(a,"validateField");function d(f,x,P){var g;const I=P?.type;I!=null&&((g=i.NODE_PARENT_VALIDATIONS[I])==null||g.call(i.NODE_PARENT_VALIDATIONS,f,x,P))}return r(d,"validateChild"),n(d,"validateChild"),ga}r(Ks,"requireValidate");var Oo;function kl(){if(Oo)return S;Oo=1;var T=Object.defineProperty,n=r((l,p)=>T(l,"name",{value:p,configurable:!0}),"s");Object.defineProperty(S,"__esModule",{value:!0}),S.anyTypeAnnotation=Tt,S.argumentPlaceholder=Yr,S.arrayExpression=x,S.arrayPattern=Be,S.arrayTypeAnnotation=mt,S.arrowFunctionExpression=Me,S.assignmentExpression=P,S.assignmentPattern=_e,S.awaitExpression=nt,S.bigIntLiteral=f,S.binaryExpression=g,S.bindExpression=Jr,S.blockStatement=C,S.booleanLiteral=k,S.booleanLiteralTypeAnnotation=Et,S.booleanTypeAnnotation=St,S.breakStatement=h,S.callExpression=K,S.catchClause=N,S.classAccessorProperty=pt,S.classBody=je,S.classDeclaration=Fe,S.classExpression=we,S.classImplements=vt,S.classMethod=Qe,S.classPrivateMethod=ct,S.classPrivateProperty=ut,S.classProperty=lt,S.conditionalExpression=M,S.continueStatement=_,S.debuggerStatement=B,S.decimalLiteral=$r,S.declareClass=Pt,S.declareExportAllDeclaration=Lt,S.declareExportDeclaration=Nt,S.declareFunction=At,S.declareInterface=xt,S.declareModule=gt,S.declareModuleExports=It,S.declareOpaqueType=Dt,S.declareTypeAlias=Ot,S.declareVariable=ht,S.declaredPredicate=Ct,S.decorator=Ur,S.directive=A,S.directiveLiteral=D,S.doExpression=Wr,S.doWhileStatement=F,S.emptyStatement=Y,S.emptyTypeAnnotation=Vt,S.enumBooleanBody=mr,S.enumBooleanMember=vr,S.enumDeclaration=Tr,S.enumDefaultedMember=xr,S.enumNumberBody=Sr,S.enumNumberMember=Pr,S.enumStringBody=Er,S.enumStringMember=Ar,S.enumSymbolBody=br,S.existsTypeAnnotation=_t,S.exportAllDeclaration=Re,S.exportDefaultDeclaration=ke,S.exportDefaultSpecifier=Gr,S.exportNamedDeclaration=Ke,S.exportNamespaceSpecifier=it,S.exportSpecifier=qe,S.expressionStatement=H,S.file=Z,S.forInStatement=ee,S.forOfStatement=Se,S.forStatement=te,S.functionDeclaration=ue,S.functionExpression=ae,S.functionTypeAnnotation=Bt,S.functionTypeParam=Mt,S.genericTypeAnnotation=jt,S.identifier=re,S.ifStatement=de,S.import=at,S.importAttribute=ft,S.importDeclaration=Ve,S.importDefaultSpecifier=Xe,S.importExpression=Ge,S.importNamespaceSpecifier=j,S.importSpecifier=Ye,S.indexedAccessType=gr,S.inferredPredicate=wt,S.interfaceDeclaration=Rt,S.interfaceExtends=Ft,S.interfaceTypeAnnotation=kt,S.interpreterDirective=I,S.intersectionTypeAnnotation=Kt,S.jSXAttribute=S.jsxAttribute=Or,S.jSXClosingElement=S.jsxClosingElement=Dr,S.jSXClosingFragment=S.jsxClosingFragment=Kr,S.jSXElement=S.jsxElement=hr,S.jSXEmptyExpression=S.jsxEmptyExpression=Nr,S.jSXExpressionContainer=S.jsxExpressionContainer=Lr,S.jSXFragment=S.jsxFragment=Rr,S.jSXIdentifier=S.jsxIdentifier=_r,S.jSXMemberExpression=S.jsxMemberExpression=Br,S.jSXNamespacedName=S.jsxNamespacedName=Mr,S.jSXOpeningElement=S.jsxOpeningElement=jr,S.jSXOpeningFragment=S.jsxOpeningFragment=kr,S.jSXSpreadAttribute=S.jsxSpreadAttribute=wr,S.jSXSpreadChild=S.jsxSpreadChild=Cr,S.jSXText=S.jsxText=Fr,S.labeledStatement=oe,S.logicalExpression=q,S.memberExpression=J,S.metaProperty=ze,S.mixedTypeAnnotation=qt,S.moduleExpression=Hr,S.newExpression=$,S.noop=qr,S.nullLiteral=w,S.nullLiteralTypeAnnotation=bt,S.nullableTypeAnnotation=Xt,S.numberLiteral=Ea,S.numberLiteralTypeAnnotation=Yt,S.numberTypeAnnotation=Jt,S.numericLiteral=ce,S.objectExpression=W,S.objectMethod=Q,S.objectPattern=$e,S.objectProperty=le,S.objectTypeAnnotation=Ut,S.objectTypeCallProperty=Gt,S.objectTypeIndexer=zt,S.objectTypeInternalSlot=Wt,S.objectTypeProperty=Qt,S.objectTypeSpreadProperty=$t,S.opaqueType=Ht,S.optionalCallExpression=ot,S.optionalIndexedAccessType=Ir,S.optionalMemberExpression=st,S.parenthesizedExpression=Pe,S.pipelineBareFunction=tn,S.pipelinePrimaryTopicReference=rn,S.pipelineTopicExpression=en,S.placeholder=Vr,S.privateName=dt,S.program=G,S.qualifiedTypeIdentifier=Zt,S.recordExpression=zr,S.regExpLiteral=V,S.regexLiteral=ba,S.restElement=pe,S.restProperty=va,S.returnStatement=be,S.sequenceExpression=ve,S.spreadElement=Je,S.spreadProperty=Pa,S.staticBlock=yt,S.stringLiteral=fe,S.stringLiteralTypeAnnotation=er,S.stringTypeAnnotation=tr,S.super=He,S.switchCase=Te,S.switchStatement=Ae,S.symbolTypeAnnotation=rr,S.taggedTemplateExpression=Ze,S.templateElement=et,S.templateLiteral=tt,S.thisExpression=xe,S.thisTypeAnnotation=nr,S.throwStatement=ge,S.topicReference=Zr,S.tryStatement=Ie,S.tSAnyKeyword=S.tsAnyKeyword=fn,S.tSArrayType=S.tsArrayType=Mn,S.tSAsExpression=S.tsAsExpression=ea,S.tSBigIntKeyword=S.tsBigIntKeyword=mn,S.tSBooleanKeyword=S.tsBooleanKeyword=Tn,S.tSCallSignatureDeclaration=S.tsCallSignatureDeclaration=pn,S.tSConditionalType=S.tsConditionalType=qn,S.tSConstructSignatureDeclaration=S.tsConstructSignatureDeclaration=un,S.tSConstructorType=S.tsConstructorType=Nn,S.tSDeclareFunction=S.tsDeclareFunction=sn,S.tSDeclareMethod=S.tsDeclareMethod=on,S.tSEnumBody=S.tsEnumBody=na,S.tSEnumDeclaration=S.tsEnumDeclaration=aa,S.tSEnumMember=S.tsEnumMember=ia,S.tSExportAssignment=S.tsExportAssignment=da,S.tSExpressionWithTypeArguments=S.tsExpressionWithTypeArguments=zn,S.tSExternalModuleReference=S.tsExternalModuleReference=ua,S.tSFunctionType=S.tsFunctionType=hn,S.tSImportEqualsDeclaration=S.tsImportEqualsDeclaration=pa,S.tSImportType=S.tsImportType=la,S.tSIndexSignature=S.tsIndexSignature=yn,S.tSIndexedAccessType=S.tsIndexedAccessType=Jn,S.tSInferType=S.tsInferType=Vn,S.tSInstantiationExpression=S.tsInstantiationExpression=Zn,S.tSInterfaceBody=S.tsInterfaceBody=$n,S.tSInterfaceDeclaration=S.tsInterfaceDeclaration=Qn,S.tSIntersectionType=S.tsIntersectionType=Kn,S.tSIntrinsicKeyword=S.tsIntrinsicKeyword=Sn,S.tSLiteralType=S.tsLiteralType=Gn,S.tSMappedType=S.tsMappedType=Un,S.tSMethodSignature=S.tsMethodSignature=dn,S.tSModuleBlock=S.tsModuleBlock=oa,S.tSModuleDeclaration=S.tsModuleDeclaration=sa,S.tSNamedTupleMember=S.tsNamedTupleMember=Rn,S.tSNamespaceExportDeclaration=S.tsNamespaceExportDeclaration=ya,S.tSNeverKeyword=S.tsNeverKeyword=En,S.tSNonNullExpression=S.tsNonNullExpression=ca,S.tSNullKeyword=S.tsNullKeyword=bn,S.tSNumberKeyword=S.tsNumberKeyword=vn,S.tSObjectKeyword=S.tsObjectKeyword=Pn,S.tSOptionalType=S.tsOptionalType=wn,S.tSParameterProperty=S.tsParameterProperty=an,S.tSParenthesizedType=S.tsParenthesizedType=Xn,S.tSPropertySignature=S.tsPropertySignature=cn,S.tSQualifiedName=S.tsQualifiedName=ln,S.tSRestType=S.tsRestType=Fn,S.tSSatisfiesExpression=S.tsSatisfiesExpression=ta,S.tSStringKeyword=S.tsStringKeyword=An,S.tSSymbolKeyword=S.tsSymbolKeyword=xn,S.tSTemplateLiteralType=S.tsTemplateLiteralType=Wn,S.tSThisType=S.tsThisType=Dn,S.tSTupleType=S.tsTupleType=jn,S.tSTypeAliasDeclaration=S.tsTypeAliasDeclaration=Hn,S.tSTypeAnnotation=S.tsTypeAnnotation=fa,S.tSTypeAssertion=S.tsTypeAssertion=ra,S.tSTypeLiteral=S.tsTypeLiteral=Bn,S.tSTypeOperator=S.tsTypeOperator=Yn,S.tSTypeParameter=S.tsTypeParameter=Sa,S.tSTypeParameterDeclaration=S.tsTypeParameterDeclaration=ma,S.tSTypeParameterInstantiation=S.tsTypeParameterInstantiation=Ta,S.tSTypePredicate=S.tsTypePredicate=Cn,S.tSTypeQuery=S.tsTypeQuery=_n,S.tSTypeReference=S.tsTypeReference=Ln,S.tSUndefinedKeyword=S.tsUndefinedKeyword=gn,S.tSUnionType=S.tsUnionType=kn,S.tSUnknownKeyword=S.tsUnknownKeyword=In,S.tSVoidKeyword=S.tsVoidKeyword=On,S.tupleExpression=Qr,S.tupleTypeAnnotation=ar,S.typeAlias=sr,S.typeAnnotation=or,S.typeCastExpression=lr,S.typeParameter=pr,S.typeParameterDeclaration=ur,S.typeParameterInstantiation=cr,S.typeofTypeAnnotation=ir,S.unaryExpression=Oe,S.unionTypeAnnotation=dr,S.updateExpression=De,S.v8IntrinsicIdentifier=Xr,S.variableDeclaration=he,S.variableDeclarator=Ne,S.variance=yr,S.voidPattern=nn,S.voidTypeAnnotation=fr,S.whileStatement=Le,S.withStatement=Ce,S.yieldExpression=rt;var i=Ks(),s=vi(),o=We();const{validateInternal:a}=i,{NODE_FIELDS:d}=o;function f(l){typeof l=="bigint"&&(l=l.toString());const p={type:"BigIntLiteral",value:l},c=d.BigIntLiteral;return a(c.value,p,"value",l),p}r(f,"bigIntLiteral"),n(f,"bigIntLiteral");function x(l=[]){const p={type:"ArrayExpression",elements:l},c=d.ArrayExpression;return a(c.elements,p,"elements",l,1),p}r(x,"arrayExpression"),n(x,"arrayExpression");function P(l,p,c){const m={type:"AssignmentExpression",operator:l,left:p,right:c},v=d.AssignmentExpression;return a(v.operator,m,"operator",l),a(v.left,m,"left",p,1),a(v.right,m,"right",c,1),m}r(P,"assignmentExpression"),n(P,"assignmentExpression");function g(l,p,c){const m={type:"BinaryExpression",operator:l,left:p,right:c},v=d.BinaryExpression;return a(v.operator,m,"operator",l),a(v.left,m,"left",p,1),a(v.right,m,"right",c,1),m}r(g,"binaryExpression"),n(g,"binaryExpression");function I(l){const p={type:"InterpreterDirective",value:l},c=d.InterpreterDirective;return a(c.value,p,"value",l),p}r(I,"interpreterDirective"),n(I,"interpreterDirective");function A(l){const p={type:"Directive",value:l},c=d.Directive;return a(c.value,p,"value",l,1),p}r(A,"directive"),n(A,"directive");function D(l){const p={type:"DirectiveLiteral",value:l},c=d.DirectiveLiteral;return a(c.value,p,"value",l),p}r(D,"directiveLiteral"),n(D,"directiveLiteral");function C(l,p=[]){const c={type:"BlockStatement",body:l,directives:p},m=d.BlockStatement;return a(m.body,c,"body",l,1),a(m.directives,c,"directives",p,1),c}r(C,"blockStatement"),n(C,"blockStatement");function h(l=null){const p={type:"BreakStatement",label:l},c=d.BreakStatement;return a(c.label,p,"label",l,1),p}r(h,"breakStatement"),n(h,"breakStatement");function K(l,p){const c={type:"CallExpression",callee:l,arguments:p},m=d.CallExpression;return a(m.callee,c,"callee",l,1),a(m.arguments,c,"arguments",p,1),c}r(K,"callExpression"),n(K,"callExpression");function N(l=null,p){const c={type:"CatchClause",param:l,body:p},m=d.CatchClause;return a(m.param,c,"param",l,1),a(m.body,c,"body",p,1),c}r(N,"catchClause"),n(N,"catchClause");function M(l,p,c){const m={type:"ConditionalExpression",test:l,consequent:p,alternate:c},v=d.ConditionalExpression;return a(v.test,m,"test",l,1),a(v.consequent,m,"consequent",p,1),a(v.alternate,m,"alternate",c,1),m}r(M,"conditionalExpression"),n(M,"conditionalExpression");function _(l=null){const p={type:"ContinueStatement",label:l},c=d.ContinueStatement;return a(c.label,p,"label",l,1),p}r(_,"continueStatement"),n(_,"continueStatement");function B(){return{type:"DebuggerStatement"}}r(B,"debuggerStatement"),n(B,"debuggerStatement");function F(l,p){const c={type:"DoWhileStatement",test:l,body:p},m=d.DoWhileStatement;return a(m.test,c,"test",l,1),a(m.body,c,"body",p,1),c}r(F,"doWhileStatement"),n(F,"doWhileStatement");function Y(){return{type:"EmptyStatement"}}r(Y,"emptyStatement"),n(Y,"emptyStatement");function H(l){const p={type:"ExpressionStatement",expression:l},c=d.ExpressionStatement;return a(c.expression,p,"expression",l,1),p}r(H,"expressionStatement"),n(H,"expressionStatement");function Z(l,p=null,c=null){const m={type:"File",program:l,comments:p,tokens:c},v=d.File;return a(v.program,m,"program",l,1),a(v.comments,m,"comments",p,1),a(v.tokens,m,"tokens",c),m}r(Z,"file"),n(Z,"file");function ee(l,p,c){const m={type:"ForInStatement",left:l,right:p,body:c},v=d.ForInStatement;return a(v.left,m,"left",l,1),a(v.right,m,"right",p,1),a(v.body,m,"body",c,1),m}r(ee,"forInStatement"),n(ee,"forInStatement");function te(l=null,p=null,c=null,m){const v={type:"ForStatement",init:l,test:p,update:c,body:m},O=d.ForStatement;return a(O.init,v,"init",l,1),a(O.test,v,"test",p,1),a(O.update,v,"update",c,1),a(O.body,v,"body",m,1),v}r(te,"forStatement"),n(te,"forStatement");function ue(l=null,p,c,m=!1,v=!1){const O={type:"FunctionDeclaration",id:l,params:p,body:c,generator:m,async:v},R=d.FunctionDeclaration;return a(R.id,O,"id",l,1),a(R.params,O,"params",p,1),a(R.body,O,"body",c,1),a(R.generator,O,"generator",m),a(R.async,O,"async",v),O}r(ue,"functionDeclaration"),n(ue,"functionDeclaration");function ae(l=null,p,c,m=!1,v=!1){const O={type:"FunctionExpression",id:l,params:p,body:c,generator:m,async:v},R=d.FunctionExpression;return a(R.id,O,"id",l,1),a(R.params,O,"params",p,1),a(R.body,O,"body",c,1),a(R.generator,O,"generator",m),a(R.async,O,"async",v),O}r(ae,"functionExpression"),n(ae,"functionExpression");function re(l){const p={type:"Identifier",name:l},c=d.Identifier;return a(c.name,p,"name",l),p}r(re,"identifier"),n(re,"identifier");function de(l,p,c=null){const m={type:"IfStatement",test:l,consequent:p,alternate:c},v=d.IfStatement;return a(v.test,m,"test",l,1),a(v.consequent,m,"consequent",p,1),a(v.alternate,m,"alternate",c,1),m}r(de,"ifStatement"),n(de,"ifStatement");function oe(l,p){const c={type:"LabeledStatement",label:l,body:p},m=d.LabeledStatement;return a(m.label,c,"label",l,1),a(m.body,c,"body",p,1),c}r(oe,"labeledStatement"),n(oe,"labeledStatement");function fe(l){const p={type:"StringLiteral",value:l},c=d.StringLiteral;return a(c.value,p,"value",l),p}r(fe,"stringLiteral"),n(fe,"stringLiteral");function ce(l){const p={type:"NumericLiteral",value:l},c=d.NumericLiteral;return a(c.value,p,"value",l),p}r(ce,"numericLiteral"),n(ce,"numericLiteral");function w(){return{type:"NullLiteral"}}r(w,"nullLiteral"),n(w,"nullLiteral");function k(l){const p={type:"BooleanLiteral",value:l},c=d.BooleanLiteral;return a(c.value,p,"value",l),p}r(k,"booleanLiteral"),n(k,"booleanLiteral");function V(l,p=""){const c={type:"RegExpLiteral",pattern:l,flags:p},m=d.RegExpLiteral;return a(m.pattern,c,"pattern",l),a(m.flags,c,"flags",p),c}r(V,"regExpLiteral"),n(V,"regExpLiteral");function q(l,p,c){const m={type:"LogicalExpression",operator:l,left:p,right:c},v=d.LogicalExpression;return a(v.operator,m,"operator",l),a(v.left,m,"left",p,1),a(v.right,m,"right",c,1),m}r(q,"logicalExpression"),n(q,"logicalExpression");function J(l,p,c=!1,m=null){const v={type:"MemberExpression",object:l,property:p,computed:c,optional:m},O=d.MemberExpression;return a(O.object,v,"object",l,1),a(O.property,v,"property",p,1),a(O.computed,v,"computed",c),a(O.optional,v,"optional",m),v}r(J,"memberExpression"),n(J,"memberExpression");function $(l,p){const c={type:"NewExpression",callee:l,arguments:p},m=d.NewExpression;return a(m.callee,c,"callee",l,1),a(m.arguments,c,"arguments",p,1),c}r($,"newExpression"),n($,"newExpression");function G(l,p=[],c="script",m=null){const v={type:"Program",body:l,directives:p,sourceType:c,interpreter:m},O=d.Program;return a(O.body,v,"body",l,1),a(O.directives,v,"directives",p,1),a(O.sourceType,v,"sourceType",c),a(O.interpreter,v,"interpreter",m,1),v}r(G,"program"),n(G,"program");function W(l){const p={type:"ObjectExpression",properties:l},c=d.ObjectExpression;return a(c.properties,p,"properties",l,1),p}r(W,"objectExpression"),n(W,"objectExpression");function Q(l="method",p,c,m,v=!1,O=!1,R=!1){const z={type:"ObjectMethod",kind:l,key:p,params:c,body:m,computed:v,generator:O,async:R},ne=d.ObjectMethod;return a(ne.kind,z,"kind",l),a(ne.key,z,"key",p,1),a(ne.params,z,"params",c,1),a(ne.body,z,"body",m,1),a(ne.computed,z,"computed",v),a(ne.generator,z,"generator",O),a(ne.async,z,"async",R),z}r(Q,"objectMethod"),n(Q,"objectMethod");function le(l,p,c=!1,m=!1,v=null){const O={type:"ObjectProperty",key:l,value:p,computed:c,shorthand:m,decorators:v},R=d.ObjectProperty;return a(R.key,O,"key",l,1),a(R.value,O,"value",p,1),a(R.computed,O,"computed",c),a(R.shorthand,O,"shorthand",m),a(R.decorators,O,"decorators",v,1),O}r(le,"objectProperty"),n(le,"objectProperty");function pe(l){const p={type:"RestElement",argument:l},c=d.RestElement;return a(c.argument,p,"argument",l,1),p}r(pe,"restElement"),n(pe,"restElement");function be(l=null){const p={type:"ReturnStatement",argument:l},c=d.ReturnStatement;return a(c.argument,p,"argument",l,1),p}r(be,"returnStatement"),n(be,"returnStatement");function ve(l){const p={type:"SequenceExpression",expressions:l},c=d.SequenceExpression;return a(c.expressions,p,"expressions",l,1),p}r(ve,"sequenceExpression"),n(ve,"sequenceExpression");function Pe(l){const p={type:"ParenthesizedExpression",expression:l},c=d.ParenthesizedExpression;return a(c.expression,p,"expression",l,1),p}r(Pe,"parenthesizedExpression"),n(Pe,"parenthesizedExpression");function Te(l=null,p){const c={type:"SwitchCase",test:l,consequent:p},m=d.SwitchCase;return a(m.test,c,"test",l,1),a(m.consequent,c,"consequent",p,1),c}r(Te,"switchCase"),n(Te,"switchCase");function Ae(l,p){const c={type:"SwitchStatement",discriminant:l,cases:p},m=d.SwitchStatement;return a(m.discriminant,c,"discriminant",l,1),a(m.cases,c,"cases",p,1),c}r(Ae,"switchStatement"),n(Ae,"switchStatement");function xe(){return{type:"ThisExpression"}}r(xe,"thisExpression"),n(xe,"thisExpression");function ge(l){const p={type:"ThrowStatement",argument:l},c=d.ThrowStatement;return a(c.argument,p,"argument",l,1),p}r(ge,"throwStatement"),n(ge,"throwStatement");function Ie(l,p=null,c=null){const m={type:"TryStatement",block:l,handler:p,finalizer:c},v=d.TryStatement;return a(v.block,m,"block",l,1),a(v.handler,m,"handler",p,1),a(v.finalizer,m,"finalizer",c,1),m}r(Ie,"tryStatement"),n(Ie,"tryStatement");function Oe(l,p,c=!0){const m={type:"UnaryExpression",operator:l,argument:p,prefix:c},v=d.UnaryExpression;return a(v.operator,m,"operator",l),a(v.argument,m,"argument",p,1),a(v.prefix,m,"prefix",c),m}r(Oe,"unaryExpression"),n(Oe,"unaryExpression");function De(l,p,c=!1){const m={type:"UpdateExpression",operator:l,argument:p,prefix:c},v=d.UpdateExpression;return a(v.operator,m,"operator",l),a(v.argument,m,"argument",p,1),a(v.prefix,m,"prefix",c),m}r(De,"updateExpression"),n(De,"updateExpression");function he(l,p){const c={type:"VariableDeclaration",kind:l,declarations:p},m=d.VariableDeclaration;return a(m.kind,c,"kind",l),a(m.declarations,c,"declarations",p,1),c}r(he,"variableDeclaration"),n(he,"variableDeclaration");function Ne(l,p=null){const c={type:"VariableDeclarator",id:l,init:p},m=d.VariableDeclarator;return a(m.id,c,"id",l,1),a(m.init,c,"init",p,1),c}r(Ne,"variableDeclarator"),n(Ne,"variableDeclarator");function Le(l,p){const c={type:"WhileStatement",test:l,body:p},m=d.WhileStatement;return a(m.test,c,"test",l,1),a(m.body,c,"body",p,1),c}r(Le,"whileStatement"),n(Le,"whileStatement");function Ce(l,p){const c={type:"WithStatement",object:l,body:p},m=d.WithStatement;return a(m.object,c,"object",l,1),a(m.body,c,"body",p,1),c}r(Ce,"withStatement"),n(Ce,"withStatement");function _e(l,p){const c={type:"AssignmentPattern",left:l,right:p},m=d.AssignmentPattern;return a(m.left,c,"left",l,1),a(m.right,c,"right",p,1),c}r(_e,"assignmentPattern"),n(_e,"assignmentPattern");function Be(l){const p={type:"ArrayPattern",elements:l},c=d.ArrayPattern;return a(c.elements,p,"elements",l,1),p}r(Be,"arrayPattern"),n(Be,"arrayPattern");function Me(l,p,c=!1){const m={type:"ArrowFunctionExpression",params:l,body:p,async:c,expression:null},v=d.ArrowFunctionExpression;return a(v.params,m,"params",l,1),a(v.body,m,"body",p,1),a(v.async,m,"async",c),m}r(Me,"arrowFunctionExpression"),n(Me,"arrowFunctionExpression");function je(l){const p={type:"ClassBody",body:l},c=d.ClassBody;return a(c.body,p,"body",l,1),p}r(je,"classBody"),n(je,"classBody");function we(l=null,p=null,c,m=null){const v={type:"ClassExpression",id:l,superClass:p,body:c,decorators:m},O=d.ClassExpression;return a(O.id,v,"id",l,1),a(O.superClass,v,"superClass",p,1),a(O.body,v,"body",c,1),a(O.decorators,v,"decorators",m,1),v}r(we,"classExpression"),n(we,"classExpression");function Fe(l=null,p=null,c,m=null){const v={type:"ClassDeclaration",id:l,superClass:p,body:c,decorators:m},O=d.ClassDeclaration;return a(O.id,v,"id",l,1),a(O.superClass,v,"superClass",p,1),a(O.body,v,"body",c,1),a(O.decorators,v,"decorators",m,1),v}r(Fe,"classDeclaration"),n(Fe,"classDeclaration");function Re(l,p=null){const c={type:"ExportAllDeclaration",source:l,attributes:p},m=d.ExportAllDeclaration;return a(m.source,c,"source",l,1),a(m.attributes,c,"attributes",p,1),c}r(Re,"exportAllDeclaration"),n(Re,"exportAllDeclaration");function ke(l){const p={type:"ExportDefaultDeclaration",declaration:l},c=d.ExportDefaultDeclaration;return a(c.declaration,p,"declaration",l,1),p}r(ke,"exportDefaultDeclaration"),n(ke,"exportDefaultDeclaration");function Ke(l=null,p=[],c=null,m=null){const v={type:"ExportNamedDeclaration",declaration:l,specifiers:p,source:c,attributes:m},O=d.ExportNamedDeclaration;return a(O.declaration,v,"declaration",l,1),a(O.specifiers,v,"specifiers",p,1),a(O.source,v,"source",c,1),a(O.attributes,v,"attributes",m,1),v}r(Ke,"exportNamedDeclaration"),n(Ke,"exportNamedDeclaration");function qe(l,p){const c={type:"ExportSpecifier",local:l,exported:p},m=d.ExportSpecifier;return a(m.local,c,"local",l,1),a(m.exported,c,"exported",p,1),c}r(qe,"exportSpecifier"),n(qe,"exportSpecifier");function Se(l,p,c,m=!1){const v={type:"ForOfStatement",left:l,right:p,body:c,await:m},O=d.ForOfStatement;return a(O.left,v,"left",l,1),a(O.right,v,"right",p,1),a(O.body,v,"body",c,1),a(O.await,v,"await",m),v}r(Se,"forOfStatement"),n(Se,"forOfStatement");function Ve(l,p,c=null){const m={type:"ImportDeclaration",specifiers:l,source:p,attributes:c},v=d.ImportDeclaration;return a(v.specifiers,m,"specifiers",l,1),a(v.source,m,"source",p,1),a(v.attributes,m,"attributes",c,1),m}r(Ve,"importDeclaration"),n(Ve,"importDeclaration");function Xe(l){const p={type:"ImportDefaultSpecifier",local:l},c=d.ImportDefaultSpecifier;return a(c.local,p,"local",l,1),p}r(Xe,"importDefaultSpecifier"),n(Xe,"importDefaultSpecifier");function j(l){const p={type:"ImportNamespaceSpecifier",local:l},c=d.ImportNamespaceSpecifier;return a(c.local,p,"local",l,1),p}r(j,"importNamespaceSpecifier"),n(j,"importNamespaceSpecifier");function Ye(l,p){const c={type:"ImportSpecifier",local:l,imported:p},m=d.ImportSpecifier;return a(m.local,c,"local",l,1),a(m.imported,c,"imported",p,1),c}r(Ye,"importSpecifier"),n(Ye,"importSpecifier");function Ge(l,p=null){const c={type:"ImportExpression",source:l,options:p},m=d.ImportExpression;return a(m.source,c,"source",l,1),a(m.options,c,"options",p,1),c}r(Ge,"importExpression"),n(Ge,"importExpression");function ze(l,p){const c={type:"MetaProperty",meta:l,property:p},m=d.MetaProperty;return a(m.meta,c,"meta",l,1),a(m.property,c,"property",p,1),c}r(ze,"metaProperty"),n(ze,"metaProperty");function Qe(l="method",p,c,m,v=!1,O=!1,R=!1,z=!1){const ne={type:"ClassMethod",kind:l,key:p,params:c,body:m,computed:v,static:O,generator:R,async:z},ye=d.ClassMethod;return a(ye.kind,ne,"kind",l),a(ye.key,ne,"key",p,1),a(ye.params,ne,"params",c,1),a(ye.body,ne,"body",m,1),a(ye.computed,ne,"computed",v),a(ye.static,ne,"static",O),a(ye.generator,ne,"generator",R),a(ye.async,ne,"async",z),ne}r(Qe,"classMethod"),n(Qe,"classMethod");function $e(l){const p={type:"ObjectPattern",properties:l},c=d.ObjectPattern;return a(c.properties,p,"properties",l,1),p}r($e,"objectPattern"),n($e,"objectPattern");function Je(l){const p={type:"SpreadElement",argument:l},c=d.SpreadElement;return a(c.argument,p,"argument",l,1),p}r(Je,"spreadElement"),n(Je,"spreadElement");function He(){return{type:"Super"}}r(He,"_super"),n(He,"_super");function Ze(l,p){const c={type:"TaggedTemplateExpression",tag:l,quasi:p},m=d.TaggedTemplateExpression;return a(m.tag,c,"tag",l,1),a(m.quasi,c,"quasi",p,1),c}r(Ze,"taggedTemplateExpression"),n(Ze,"taggedTemplateExpression");function et(l,p=!1){const c={type:"TemplateElement",value:l,tail:p},m=d.TemplateElement;return a(m.value,c,"value",l),a(m.tail,c,"tail",p),c}r(et,"templateElement"),n(et,"templateElement");function tt(l,p){const c={type:"TemplateLiteral",quasis:l,expressions:p},m=d.TemplateLiteral;return a(m.quasis,c,"quasis",l,1),a(m.expressions,c,"expressions",p,1),c}r(tt,"templateLiteral"),n(tt,"templateLiteral");function rt(l=null,p=!1){const c={type:"YieldExpression",argument:l,delegate:p},m=d.YieldExpression;return a(m.argument,c,"argument",l,1),a(m.delegate,c,"delegate",p),c}r(rt,"yieldExpression"),n(rt,"yieldExpression");function nt(l){const p={type:"AwaitExpression",argument:l},c=d.AwaitExpression;return a(c.argument,p,"argument",l,1),p}r(nt,"awaitExpression"),n(nt,"awaitExpression");function at(){return{type:"Import"}}r(at,"_import"),n(at,"_import");function it(l){const p={type:"ExportNamespaceSpecifier",exported:l},c=d.ExportNamespaceSpecifier;return a(c.exported,p,"exported",l,1),p}r(it,"exportNamespaceSpecifier"),n(it,"exportNamespaceSpecifier");function st(l,p,c=!1,m){const v={type:"OptionalMemberExpression",object:l,property:p,computed:c,optional:m},O=d.OptionalMemberExpression;return a(O.object,v,"object",l,1),a(O.property,v,"property",p,1),a(O.computed,v,"computed",c),a(O.optional,v,"optional",m),v}r(st,"optionalMemberExpression"),n(st,"optionalMemberExpression");function ot(l,p,c){const m={type:"OptionalCallExpression",callee:l,arguments:p,optional:c},v=d.OptionalCallExpression;return a(v.callee,m,"callee",l,1),a(v.arguments,m,"arguments",p,1),a(v.optional,m,"optional",c),m}r(ot,"optionalCallExpression"),n(ot,"optionalCallExpression");function lt(l,p=null,c=null,m=null,v=!1,O=!1){const R={type:"ClassProperty",key:l,value:p,typeAnnotation:c,decorators:m,computed:v,static:O},z=d.ClassProperty;return a(z.key,R,"key",l,1),a(z.value,R,"value",p,1),a(z.typeAnnotation,R,"typeAnnotation",c,1),a(z.decorators,R,"decorators",m,1),a(z.computed,R,"computed",v),a(z.static,R,"static",O),R}r(lt,"classProperty"),n(lt,"classProperty");function pt(l,p=null,c=null,m=null,v=!1,O=!1){const R={type:"ClassAccessorProperty",key:l,value:p,typeAnnotation:c,decorators:m,computed:v,static:O},z=d.ClassAccessorProperty;return a(z.key,R,"key",l,1),a(z.value,R,"value",p,1),a(z.typeAnnotation,R,"typeAnnotation",c,1),a(z.decorators,R,"decorators",m,1),a(z.computed,R,"computed",v),a(z.static,R,"static",O),R}r(pt,"classAccessorProperty"),n(pt,"classAccessorProperty");function ut(l,p=null,c=null,m=!1){const v={type:"ClassPrivateProperty",key:l,value:p,decorators:c,static:m},O=d.ClassPrivateProperty;return a(O.key,v,"key",l,1),a(O.value,v,"value",p,1),a(O.decorators,v,"decorators",c,1),a(O.static,v,"static",m),v}r(ut,"classPrivateProperty"),n(ut,"classPrivateProperty");function ct(l="method",p,c,m,v=!1){const O={type:"ClassPrivateMethod",kind:l,key:p,params:c,body:m,static:v},R=d.ClassPrivateMethod;return a(R.kind,O,"kind",l),a(R.key,O,"key",p,1),a(R.params,O,"params",c,1),a(R.body,O,"body",m,1),a(R.static,O,"static",v),O}r(ct,"classPrivateMethod"),n(ct,"classPrivateMethod");function dt(l){const p={type:"PrivateName",id:l},c=d.PrivateName;return a(c.id,p,"id",l,1),p}r(dt,"privateName"),n(dt,"privateName");function yt(l){const p={type:"StaticBlock",body:l},c=d.StaticBlock;return a(c.body,p,"body",l,1),p}r(yt,"staticBlock"),n(yt,"staticBlock");function ft(l,p){const c={type:"ImportAttribute",key:l,value:p},m=d.ImportAttribute;return a(m.key,c,"key",l,1),a(m.value,c,"value",p,1),c}r(ft,"importAttribute"),n(ft,"importAttribute");function Tt(){return{type:"AnyTypeAnnotation"}}r(Tt,"anyTypeAnnotation"),n(Tt,"anyTypeAnnotation");function mt(l){const p={type:"ArrayTypeAnnotation",elementType:l},c=d.ArrayTypeAnnotation;return a(c.elementType,p,"elementType",l,1),p}r(mt,"arrayTypeAnnotation"),n(mt,"arrayTypeAnnotation");function St(){return{type:"BooleanTypeAnnotation"}}r(St,"booleanTypeAnnotation"),n(St,"booleanTypeAnnotation");function Et(l){const p={type:"BooleanLiteralTypeAnnotation",value:l},c=d.BooleanLiteralTypeAnnotation;return a(c.value,p,"value",l),p}r(Et,"booleanLiteralTypeAnnotation"),n(Et,"booleanLiteralTypeAnnotation");function bt(){return{type:"NullLiteralTypeAnnotation"}}r(bt,"nullLiteralTypeAnnotation"),n(bt,"nullLiteralTypeAnnotation");function vt(l,p=null){const c={type:"ClassImplements",id:l,typeParameters:p},m=d.ClassImplements;return a(m.id,c,"id",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(vt,"classImplements"),n(vt,"classImplements");function Pt(l,p=null,c=null,m){const v={type:"DeclareClass",id:l,typeParameters:p,extends:c,body:m},O=d.DeclareClass;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(Pt,"declareClass"),n(Pt,"declareClass");function At(l){const p={type:"DeclareFunction",id:l},c=d.DeclareFunction;return a(c.id,p,"id",l,1),p}r(At,"declareFunction"),n(At,"declareFunction");function xt(l,p=null,c=null,m){const v={type:"DeclareInterface",id:l,typeParameters:p,extends:c,body:m},O=d.DeclareInterface;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(xt,"declareInterface"),n(xt,"declareInterface");function gt(l,p,c=null){const m={type:"DeclareModule",id:l,body:p,kind:c},v=d.DeclareModule;return a(v.id,m,"id",l,1),a(v.body,m,"body",p,1),a(v.kind,m,"kind",c),m}r(gt,"declareModule"),n(gt,"declareModule");function It(l){const p={type:"DeclareModuleExports",typeAnnotation:l},c=d.DeclareModuleExports;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(It,"declareModuleExports"),n(It,"declareModuleExports");function Ot(l,p=null,c){const m={type:"DeclareTypeAlias",id:l,typeParameters:p,right:c},v=d.DeclareTypeAlias;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.right,m,"right",c,1),m}r(Ot,"declareTypeAlias"),n(Ot,"declareTypeAlias");function Dt(l,p=null,c=null){const m={type:"DeclareOpaqueType",id:l,typeParameters:p,supertype:c},v=d.DeclareOpaqueType;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.supertype,m,"supertype",c,1),m}r(Dt,"declareOpaqueType"),n(Dt,"declareOpaqueType");function ht(l){const p={type:"DeclareVariable",id:l},c=d.DeclareVariable;return a(c.id,p,"id",l,1),p}r(ht,"declareVariable"),n(ht,"declareVariable");function Nt(l=null,p=null,c=null,m=null){const v={type:"DeclareExportDeclaration",declaration:l,specifiers:p,source:c,attributes:m},O=d.DeclareExportDeclaration;return a(O.declaration,v,"declaration",l,1),a(O.specifiers,v,"specifiers",p,1),a(O.source,v,"source",c,1),a(O.attributes,v,"attributes",m,1),v}r(Nt,"declareExportDeclaration"),n(Nt,"declareExportDeclaration");function Lt(l,p=null){const c={type:"DeclareExportAllDeclaration",source:l,attributes:p},m=d.DeclareExportAllDeclaration;return a(m.source,c,"source",l,1),a(m.attributes,c,"attributes",p,1),c}r(Lt,"declareExportAllDeclaration"),n(Lt,"declareExportAllDeclaration");function Ct(l){const p={type:"DeclaredPredicate",value:l},c=d.DeclaredPredicate;return a(c.value,p,"value",l,1),p}r(Ct,"declaredPredicate"),n(Ct,"declaredPredicate");function _t(){return{type:"ExistsTypeAnnotation"}}r(_t,"existsTypeAnnotation"),n(_t,"existsTypeAnnotation");function Bt(l=null,p,c=null,m){const v={type:"FunctionTypeAnnotation",typeParameters:l,params:p,rest:c,returnType:m},O=d.FunctionTypeAnnotation;return a(O.typeParameters,v,"typeParameters",l,1),a(O.params,v,"params",p,1),a(O.rest,v,"rest",c,1),a(O.returnType,v,"returnType",m,1),v}r(Bt,"functionTypeAnnotation"),n(Bt,"functionTypeAnnotation");function Mt(l=null,p){const c={type:"FunctionTypeParam",name:l,typeAnnotation:p},m=d.FunctionTypeParam;return a(m.name,c,"name",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(Mt,"functionTypeParam"),n(Mt,"functionTypeParam");function jt(l,p=null){const c={type:"GenericTypeAnnotation",id:l,typeParameters:p},m=d.GenericTypeAnnotation;return a(m.id,c,"id",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(jt,"genericTypeAnnotation"),n(jt,"genericTypeAnnotation");function wt(){return{type:"InferredPredicate"}}r(wt,"inferredPredicate"),n(wt,"inferredPredicate");function Ft(l,p=null){const c={type:"InterfaceExtends",id:l,typeParameters:p},m=d.InterfaceExtends;return a(m.id,c,"id",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(Ft,"interfaceExtends"),n(Ft,"interfaceExtends");function Rt(l,p=null,c=null,m){const v={type:"InterfaceDeclaration",id:l,typeParameters:p,extends:c,body:m},O=d.InterfaceDeclaration;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(Rt,"interfaceDeclaration"),n(Rt,"interfaceDeclaration");function kt(l=null,p){const c={type:"InterfaceTypeAnnotation",extends:l,body:p},m=d.InterfaceTypeAnnotation;return a(m.extends,c,"extends",l,1),a(m.body,c,"body",p,1),c}r(kt,"interfaceTypeAnnotation"),n(kt,"interfaceTypeAnnotation");function Kt(l){const p={type:"IntersectionTypeAnnotation",types:l},c=d.IntersectionTypeAnnotation;return a(c.types,p,"types",l,1),p}r(Kt,"intersectionTypeAnnotation"),n(Kt,"intersectionTypeAnnotation");function qt(){return{type:"MixedTypeAnnotation"}}r(qt,"mixedTypeAnnotation"),n(qt,"mixedTypeAnnotation");function Vt(){return{type:"EmptyTypeAnnotation"}}r(Vt,"emptyTypeAnnotation"),n(Vt,"emptyTypeAnnotation");function Xt(l){const p={type:"NullableTypeAnnotation",typeAnnotation:l},c=d.NullableTypeAnnotation;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(Xt,"nullableTypeAnnotation"),n(Xt,"nullableTypeAnnotation");function Yt(l){const p={type:"NumberLiteralTypeAnnotation",value:l},c=d.NumberLiteralTypeAnnotation;return a(c.value,p,"value",l),p}r(Yt,"numberLiteralTypeAnnotation"),n(Yt,"numberLiteralTypeAnnotation");function Jt(){return{type:"NumberTypeAnnotation"}}r(Jt,"numberTypeAnnotation"),n(Jt,"numberTypeAnnotation");function Ut(l,p=[],c=[],m=[],v=!1){const O={type:"ObjectTypeAnnotation",properties:l,indexers:p,callProperties:c,internalSlots:m,exact:v},R=d.ObjectTypeAnnotation;return a(R.properties,O,"properties",l,1),a(R.indexers,O,"indexers",p,1),a(R.callProperties,O,"callProperties",c,1),a(R.internalSlots,O,"internalSlots",m,1),a(R.exact,O,"exact",v),O}r(Ut,"objectTypeAnnotation"),n(Ut,"objectTypeAnnotation");function Wt(l,p,c,m,v){const O={type:"ObjectTypeInternalSlot",id:l,value:p,optional:c,static:m,method:v},R=d.ObjectTypeInternalSlot;return a(R.id,O,"id",l,1),a(R.value,O,"value",p,1),a(R.optional,O,"optional",c),a(R.static,O,"static",m),a(R.method,O,"method",v),O}r(Wt,"objectTypeInternalSlot"),n(Wt,"objectTypeInternalSlot");function Gt(l){const p={type:"ObjectTypeCallProperty",value:l,static:null},c=d.ObjectTypeCallProperty;return a(c.value,p,"value",l,1),p}r(Gt,"objectTypeCallProperty"),n(Gt,"objectTypeCallProperty");function zt(l=null,p,c,m=null){const v={type:"ObjectTypeIndexer",id:l,key:p,value:c,variance:m,static:null},O=d.ObjectTypeIndexer;return a(O.id,v,"id",l,1),a(O.key,v,"key",p,1),a(O.value,v,"value",c,1),a(O.variance,v,"variance",m,1),v}r(zt,"objectTypeIndexer"),n(zt,"objectTypeIndexer");function Qt(l,p,c=null){const m={type:"ObjectTypeProperty",key:l,value:p,variance:c,kind:null,method:null,optional:null,proto:null,static:null},v=d.ObjectTypeProperty;return a(v.key,m,"key",l,1),a(v.value,m,"value",p,1),a(v.variance,m,"variance",c,1),m}r(Qt,"objectTypeProperty"),n(Qt,"objectTypeProperty");function $t(l){const p={type:"ObjectTypeSpreadProperty",argument:l},c=d.ObjectTypeSpreadProperty;return a(c.argument,p,"argument",l,1),p}r($t,"objectTypeSpreadProperty"),n($t,"objectTypeSpreadProperty");function Ht(l,p=null,c=null,m){const v={type:"OpaqueType",id:l,typeParameters:p,supertype:c,impltype:m},O=d.OpaqueType;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.supertype,v,"supertype",c,1),a(O.impltype,v,"impltype",m,1),v}r(Ht,"opaqueType"),n(Ht,"opaqueType");function Zt(l,p){const c={type:"QualifiedTypeIdentifier",id:l,qualification:p},m=d.QualifiedTypeIdentifier;return a(m.id,c,"id",l,1),a(m.qualification,c,"qualification",p,1),c}r(Zt,"qualifiedTypeIdentifier"),n(Zt,"qualifiedTypeIdentifier");function er(l){const p={type:"StringLiteralTypeAnnotation",value:l},c=d.StringLiteralTypeAnnotation;return a(c.value,p,"value",l),p}r(er,"stringLiteralTypeAnnotation"),n(er,"stringLiteralTypeAnnotation");function tr(){return{type:"StringTypeAnnotation"}}r(tr,"stringTypeAnnotation"),n(tr,"stringTypeAnnotation");function rr(){return{type:"SymbolTypeAnnotation"}}r(rr,"symbolTypeAnnotation"),n(rr,"symbolTypeAnnotation");function nr(){return{type:"ThisTypeAnnotation"}}r(nr,"thisTypeAnnotation"),n(nr,"thisTypeAnnotation");function ar(l){const p={type:"TupleTypeAnnotation",types:l},c=d.TupleTypeAnnotation;return a(c.types,p,"types",l,1),p}r(ar,"tupleTypeAnnotation"),n(ar,"tupleTypeAnnotation");function ir(l){const p={type:"TypeofTypeAnnotation",argument:l},c=d.TypeofTypeAnnotation;return a(c.argument,p,"argument",l,1),p}r(ir,"typeofTypeAnnotation"),n(ir,"typeofTypeAnnotation");function sr(l,p=null,c){const m={type:"TypeAlias",id:l,typeParameters:p,right:c},v=d.TypeAlias;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.right,m,"right",c,1),m}r(sr,"typeAlias"),n(sr,"typeAlias");function or(l){const p={type:"TypeAnnotation",typeAnnotation:l},c=d.TypeAnnotation;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(or,"typeAnnotation"),n(or,"typeAnnotation");function lr(l,p){const c={type:"TypeCastExpression",expression:l,typeAnnotation:p},m=d.TypeCastExpression;return a(m.expression,c,"expression",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(lr,"typeCastExpression"),n(lr,"typeCastExpression");function pr(l=null,p=null,c=null){const m={type:"TypeParameter",bound:l,default:p,variance:c,name:null},v=d.TypeParameter;return a(v.bound,m,"bound",l,1),a(v.default,m,"default",p,1),a(v.variance,m,"variance",c,1),m}r(pr,"typeParameter"),n(pr,"typeParameter");function ur(l){const p={type:"TypeParameterDeclaration",params:l},c=d.TypeParameterDeclaration;return a(c.params,p,"params",l,1),p}r(ur,"typeParameterDeclaration"),n(ur,"typeParameterDeclaration");function cr(l){const p={type:"TypeParameterInstantiation",params:l},c=d.TypeParameterInstantiation;return a(c.params,p,"params",l,1),p}r(cr,"typeParameterInstantiation"),n(cr,"typeParameterInstantiation");function dr(l){const p={type:"UnionTypeAnnotation",types:l},c=d.UnionTypeAnnotation;return a(c.types,p,"types",l,1),p}r(dr,"unionTypeAnnotation"),n(dr,"unionTypeAnnotation");function yr(l){const p={type:"Variance",kind:l},c=d.Variance;return a(c.kind,p,"kind",l),p}r(yr,"variance"),n(yr,"variance");function fr(){return{type:"VoidTypeAnnotation"}}r(fr,"voidTypeAnnotation"),n(fr,"voidTypeAnnotation");function Tr(l,p){const c={type:"EnumDeclaration",id:l,body:p},m=d.EnumDeclaration;return a(m.id,c,"id",l,1),a(m.body,c,"body",p,1),c}r(Tr,"enumDeclaration"),n(Tr,"enumDeclaration");function mr(l){const p={type:"EnumBooleanBody",members:l,explicitType:null,hasUnknownMembers:null},c=d.EnumBooleanBody;return a(c.members,p,"members",l,1),p}r(mr,"enumBooleanBody"),n(mr,"enumBooleanBody");function Sr(l){const p={type:"EnumNumberBody",members:l,explicitType:null,hasUnknownMembers:null},c=d.EnumNumberBody;return a(c.members,p,"members",l,1),p}r(Sr,"enumNumberBody"),n(Sr,"enumNumberBody");function Er(l){const p={type:"EnumStringBody",members:l,explicitType:null,hasUnknownMembers:null},c=d.EnumStringBody;return a(c.members,p,"members",l,1),p}r(Er,"enumStringBody"),n(Er,"enumStringBody");function br(l){const p={type:"EnumSymbolBody",members:l,hasUnknownMembers:null},c=d.EnumSymbolBody;return a(c.members,p,"members",l,1),p}r(br,"enumSymbolBody"),n(br,"enumSymbolBody");function vr(l){const p={type:"EnumBooleanMember",id:l,init:null},c=d.EnumBooleanMember;return a(c.id,p,"id",l,1),p}r(vr,"enumBooleanMember"),n(vr,"enumBooleanMember");function Pr(l,p){const c={type:"EnumNumberMember",id:l,init:p},m=d.EnumNumberMember;return a(m.id,c,"id",l,1),a(m.init,c,"init",p,1),c}r(Pr,"enumNumberMember"),n(Pr,"enumNumberMember");function Ar(l,p){const c={type:"EnumStringMember",id:l,init:p},m=d.EnumStringMember;return a(m.id,c,"id",l,1),a(m.init,c,"init",p,1),c}r(Ar,"enumStringMember"),n(Ar,"enumStringMember");function xr(l){const p={type:"EnumDefaultedMember",id:l},c=d.EnumDefaultedMember;return a(c.id,p,"id",l,1),p}r(xr,"enumDefaultedMember"),n(xr,"enumDefaultedMember");function gr(l,p){const c={type:"IndexedAccessType",objectType:l,indexType:p},m=d.IndexedAccessType;return a(m.objectType,c,"objectType",l,1),a(m.indexType,c,"indexType",p,1),c}r(gr,"indexedAccessType"),n(gr,"indexedAccessType");function Ir(l,p){const c={type:"OptionalIndexedAccessType",objectType:l,indexType:p,optional:null},m=d.OptionalIndexedAccessType;return a(m.objectType,c,"objectType",l,1),a(m.indexType,c,"indexType",p,1),c}r(Ir,"optionalIndexedAccessType"),n(Ir,"optionalIndexedAccessType");function Or(l,p=null){const c={type:"JSXAttribute",name:l,value:p},m=d.JSXAttribute;return a(m.name,c,"name",l,1),a(m.value,c,"value",p,1),c}r(Or,"jsxAttribute"),n(Or,"jsxAttribute");function Dr(l){const p={type:"JSXClosingElement",name:l},c=d.JSXClosingElement;return a(c.name,p,"name",l,1),p}r(Dr,"jsxClosingElement"),n(Dr,"jsxClosingElement");function hr(l,p=null,c,m=null){const v={type:"JSXElement",openingElement:l,closingElement:p,children:c,selfClosing:m},O=d.JSXElement;return a(O.openingElement,v,"openingElement",l,1),a(O.closingElement,v,"closingElement",p,1),a(O.children,v,"children",c,1),a(O.selfClosing,v,"selfClosing",m),v}r(hr,"jsxElement"),n(hr,"jsxElement");function Nr(){return{type:"JSXEmptyExpression"}}r(Nr,"jsxEmptyExpression"),n(Nr,"jsxEmptyExpression");function Lr(l){const p={type:"JSXExpressionContainer",expression:l},c=d.JSXExpressionContainer;return a(c.expression,p,"expression",l,1),p}r(Lr,"jsxExpressionContainer"),n(Lr,"jsxExpressionContainer");function Cr(l){const p={type:"JSXSpreadChild",expression:l},c=d.JSXSpreadChild;return a(c.expression,p,"expression",l,1),p}r(Cr,"jsxSpreadChild"),n(Cr,"jsxSpreadChild");function _r(l){const p={type:"JSXIdentifier",name:l},c=d.JSXIdentifier;return a(c.name,p,"name",l),p}r(_r,"jsxIdentifier"),n(_r,"jsxIdentifier");function Br(l,p){const c={type:"JSXMemberExpression",object:l,property:p},m=d.JSXMemberExpression;return a(m.object,c,"object",l,1),a(m.property,c,"property",p,1),c}r(Br,"jsxMemberExpression"),n(Br,"jsxMemberExpression");function Mr(l,p){const c={type:"JSXNamespacedName",namespace:l,name:p},m=d.JSXNamespacedName;return a(m.namespace,c,"namespace",l,1),a(m.name,c,"name",p,1),c}r(Mr,"jsxNamespacedName"),n(Mr,"jsxNamespacedName");function jr(l,p,c=!1){const m={type:"JSXOpeningElement",name:l,attributes:p,selfClosing:c},v=d.JSXOpeningElement;return a(v.name,m,"name",l,1),a(v.attributes,m,"attributes",p,1),a(v.selfClosing,m,"selfClosing",c),m}r(jr,"jsxOpeningElement"),n(jr,"jsxOpeningElement");function wr(l){const p={type:"JSXSpreadAttribute",argument:l},c=d.JSXSpreadAttribute;return a(c.argument,p,"argument",l,1),p}r(wr,"jsxSpreadAttribute"),n(wr,"jsxSpreadAttribute");function Fr(l){const p={type:"JSXText",value:l},c=d.JSXText;return a(c.value,p,"value",l),p}r(Fr,"jsxText"),n(Fr,"jsxText");function Rr(l,p,c){const m={type:"JSXFragment",openingFragment:l,closingFragment:p,children:c},v=d.JSXFragment;return a(v.openingFragment,m,"openingFragment",l,1),a(v.closingFragment,m,"closingFragment",p,1),a(v.children,m,"children",c,1),m}r(Rr,"jsxFragment"),n(Rr,"jsxFragment");function kr(){return{type:"JSXOpeningFragment"}}r(kr,"jsxOpeningFragment"),n(kr,"jsxOpeningFragment");function Kr(){return{type:"JSXClosingFragment"}}r(Kr,"jsxClosingFragment"),n(Kr,"jsxClosingFragment");function qr(){return{type:"Noop"}}r(qr,"noop"),n(qr,"noop");function Vr(l,p){const c={type:"Placeholder",expectedNode:l,name:p},m=d.Placeholder;return a(m.expectedNode,c,"expectedNode",l),a(m.name,c,"name",p,1),c}r(Vr,"placeholder"),n(Vr,"placeholder");function Xr(l){const p={type:"V8IntrinsicIdentifier",name:l},c=d.V8IntrinsicIdentifier;return a(c.name,p,"name",l),p}r(Xr,"v8IntrinsicIdentifier"),n(Xr,"v8IntrinsicIdentifier");function Yr(){return{type:"ArgumentPlaceholder"}}r(Yr,"argumentPlaceholder"),n(Yr,"argumentPlaceholder");function Jr(l,p){const c={type:"BindExpression",object:l,callee:p},m=d.BindExpression;return a(m.object,c,"object",l,1),a(m.callee,c,"callee",p,1),c}r(Jr,"bindExpression"),n(Jr,"bindExpression");function Ur(l){const p={type:"Decorator",expression:l},c=d.Decorator;return a(c.expression,p,"expression",l,1),p}r(Ur,"decorator"),n(Ur,"decorator");function Wr(l,p=!1){const c={type:"DoExpression",body:l,async:p},m=d.DoExpression;return a(m.body,c,"body",l,1),a(m.async,c,"async",p),c}r(Wr,"doExpression"),n(Wr,"doExpression");function Gr(l){const p={type:"ExportDefaultSpecifier",exported:l},c=d.ExportDefaultSpecifier;return a(c.exported,p,"exported",l,1),p}r(Gr,"exportDefaultSpecifier"),n(Gr,"exportDefaultSpecifier");function zr(l){const p={type:"RecordExpression",properties:l},c=d.RecordExpression;return a(c.properties,p,"properties",l,1),p}r(zr,"recordExpression"),n(zr,"recordExpression");function Qr(l=[]){const p={type:"TupleExpression",elements:l},c=d.TupleExpression;return a(c.elements,p,"elements",l,1),p}r(Qr,"tupleExpression"),n(Qr,"tupleExpression");function $r(l){const p={type:"DecimalLiteral",value:l},c=d.DecimalLiteral;return a(c.value,p,"value",l),p}r($r,"decimalLiteral"),n($r,"decimalLiteral");function Hr(l){const p={type:"ModuleExpression",body:l},c=d.ModuleExpression;return a(c.body,p,"body",l,1),p}r(Hr,"moduleExpression"),n(Hr,"moduleExpression");function Zr(){return{type:"TopicReference"}}r(Zr,"topicReference"),n(Zr,"topicReference");function en(l){const p={type:"PipelineTopicExpression",expression:l},c=d.PipelineTopicExpression;return a(c.expression,p,"expression",l,1),p}r(en,"pipelineTopicExpression"),n(en,"pipelineTopicExpression");function tn(l){const p={type:"PipelineBareFunction",callee:l},c=d.PipelineBareFunction;return a(c.callee,p,"callee",l,1),p}r(tn,"pipelineBareFunction"),n(tn,"pipelineBareFunction");function rn(){return{type:"PipelinePrimaryTopicReference"}}r(rn,"pipelinePrimaryTopicReference"),n(rn,"pipelinePrimaryTopicReference");function nn(){return{type:"VoidPattern"}}r(nn,"voidPattern"),n(nn,"voidPattern");function an(l){const p={type:"TSParameterProperty",parameter:l},c=d.TSParameterProperty;return a(c.parameter,p,"parameter",l,1),p}r(an,"tsParameterProperty"),n(an,"tsParameterProperty");function sn(l=null,p=null,c,m=null){const v={type:"TSDeclareFunction",id:l,typeParameters:p,params:c,returnType:m},O=d.TSDeclareFunction;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.params,v,"params",c,1),a(O.returnType,v,"returnType",m,1),v}r(sn,"tsDeclareFunction"),n(sn,"tsDeclareFunction");function on(l=null,p,c=null,m,v=null){const O={type:"TSDeclareMethod",decorators:l,key:p,typeParameters:c,params:m,returnType:v},R=d.TSDeclareMethod;return a(R.decorators,O,"decorators",l,1),a(R.key,O,"key",p,1),a(R.typeParameters,O,"typeParameters",c,1),a(R.params,O,"params",m,1),a(R.returnType,O,"returnType",v,1),O}r(on,"tsDeclareMethod"),n(on,"tsDeclareMethod");function ln(l,p){const c={type:"TSQualifiedName",left:l,right:p},m=d.TSQualifiedName;return a(m.left,c,"left",l,1),a(m.right,c,"right",p,1),c}r(ln,"tsQualifiedName"),n(ln,"tsQualifiedName");function pn(l=null,p,c=null){const m={type:"TSCallSignatureDeclaration",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSCallSignatureDeclaration;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(pn,"tsCallSignatureDeclaration"),n(pn,"tsCallSignatureDeclaration");function un(l=null,p,c=null){const m={type:"TSConstructSignatureDeclaration",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSConstructSignatureDeclaration;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(un,"tsConstructSignatureDeclaration"),n(un,"tsConstructSignatureDeclaration");function cn(l,p=null){const c={type:"TSPropertySignature",key:l,typeAnnotation:p},m=d.TSPropertySignature;return a(m.key,c,"key",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(cn,"tsPropertySignature"),n(cn,"tsPropertySignature");function dn(l,p=null,c,m=null){const v={type:"TSMethodSignature",key:l,typeParameters:p,parameters:c,typeAnnotation:m,kind:null},O=d.TSMethodSignature;return a(O.key,v,"key",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.parameters,v,"parameters",c,1),a(O.typeAnnotation,v,"typeAnnotation",m,1),v}r(dn,"tsMethodSignature"),n(dn,"tsMethodSignature");function yn(l,p=null){const c={type:"TSIndexSignature",parameters:l,typeAnnotation:p},m=d.TSIndexSignature;return a(m.parameters,c,"parameters",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(yn,"tsIndexSignature"),n(yn,"tsIndexSignature");function fn(){return{type:"TSAnyKeyword"}}r(fn,"tsAnyKeyword"),n(fn,"tsAnyKeyword");function Tn(){return{type:"TSBooleanKeyword"}}r(Tn,"tsBooleanKeyword"),n(Tn,"tsBooleanKeyword");function mn(){return{type:"TSBigIntKeyword"}}r(mn,"tsBigIntKeyword"),n(mn,"tsBigIntKeyword");function Sn(){return{type:"TSIntrinsicKeyword"}}r(Sn,"tsIntrinsicKeyword"),n(Sn,"tsIntrinsicKeyword");function En(){return{type:"TSNeverKeyword"}}r(En,"tsNeverKeyword"),n(En,"tsNeverKeyword");function bn(){return{type:"TSNullKeyword"}}r(bn,"tsNullKeyword"),n(bn,"tsNullKeyword");function vn(){return{type:"TSNumberKeyword"}}r(vn,"tsNumberKeyword"),n(vn,"tsNumberKeyword");function Pn(){return{type:"TSObjectKeyword"}}r(Pn,"tsObjectKeyword"),n(Pn,"tsObjectKeyword");function An(){return{type:"TSStringKeyword"}}r(An,"tsStringKeyword"),n(An,"tsStringKeyword");function xn(){return{type:"TSSymbolKeyword"}}r(xn,"tsSymbolKeyword"),n(xn,"tsSymbolKeyword");function gn(){return{type:"TSUndefinedKeyword"}}r(gn,"tsUndefinedKeyword"),n(gn,"tsUndefinedKeyword");function In(){return{type:"TSUnknownKeyword"}}r(In,"tsUnknownKeyword"),n(In,"tsUnknownKeyword");function On(){return{type:"TSVoidKeyword"}}r(On,"tsVoidKeyword"),n(On,"tsVoidKeyword");function Dn(){return{type:"TSThisType"}}r(Dn,"tsThisType"),n(Dn,"tsThisType");function hn(l=null,p,c=null){const m={type:"TSFunctionType",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSFunctionType;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(hn,"tsFunctionType"),n(hn,"tsFunctionType");function Nn(l=null,p,c=null){const m={type:"TSConstructorType",typeParameters:l,parameters:p,typeAnnotation:c},v=d.TSConstructorType;return a(v.typeParameters,m,"typeParameters",l,1),a(v.parameters,m,"parameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(Nn,"tsConstructorType"),n(Nn,"tsConstructorType");function Ln(l,p=null){const c={type:"TSTypeReference",typeName:l,typeParameters:p},m=d.TSTypeReference;return a(m.typeName,c,"typeName",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(Ln,"tsTypeReference"),n(Ln,"tsTypeReference");function Cn(l,p=null,c=null){const m={type:"TSTypePredicate",parameterName:l,typeAnnotation:p,asserts:c},v=d.TSTypePredicate;return a(v.parameterName,m,"parameterName",l,1),a(v.typeAnnotation,m,"typeAnnotation",p,1),a(v.asserts,m,"asserts",c),m}r(Cn,"tsTypePredicate"),n(Cn,"tsTypePredicate");function _n(l,p=null){const c={type:"TSTypeQuery",exprName:l,typeParameters:p},m=d.TSTypeQuery;return a(m.exprName,c,"exprName",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(_n,"tsTypeQuery"),n(_n,"tsTypeQuery");function Bn(l){const p={type:"TSTypeLiteral",members:l},c=d.TSTypeLiteral;return a(c.members,p,"members",l,1),p}r(Bn,"tsTypeLiteral"),n(Bn,"tsTypeLiteral");function Mn(l){const p={type:"TSArrayType",elementType:l},c=d.TSArrayType;return a(c.elementType,p,"elementType",l,1),p}r(Mn,"tsArrayType"),n(Mn,"tsArrayType");function jn(l){const p={type:"TSTupleType",elementTypes:l},c=d.TSTupleType;return a(c.elementTypes,p,"elementTypes",l,1),p}r(jn,"tsTupleType"),n(jn,"tsTupleType");function wn(l){const p={type:"TSOptionalType",typeAnnotation:l},c=d.TSOptionalType;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(wn,"tsOptionalType"),n(wn,"tsOptionalType");function Fn(l){const p={type:"TSRestType",typeAnnotation:l},c=d.TSRestType;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(Fn,"tsRestType"),n(Fn,"tsRestType");function Rn(l,p,c=!1){const m={type:"TSNamedTupleMember",label:l,elementType:p,optional:c},v=d.TSNamedTupleMember;return a(v.label,m,"label",l,1),a(v.elementType,m,"elementType",p,1),a(v.optional,m,"optional",c),m}r(Rn,"tsNamedTupleMember"),n(Rn,"tsNamedTupleMember");function kn(l){const p={type:"TSUnionType",types:l},c=d.TSUnionType;return a(c.types,p,"types",l,1),p}r(kn,"tsUnionType"),n(kn,"tsUnionType");function Kn(l){const p={type:"TSIntersectionType",types:l},c=d.TSIntersectionType;return a(c.types,p,"types",l,1),p}r(Kn,"tsIntersectionType"),n(Kn,"tsIntersectionType");function qn(l,p,c,m){const v={type:"TSConditionalType",checkType:l,extendsType:p,trueType:c,falseType:m},O=d.TSConditionalType;return a(O.checkType,v,"checkType",l,1),a(O.extendsType,v,"extendsType",p,1),a(O.trueType,v,"trueType",c,1),a(O.falseType,v,"falseType",m,1),v}r(qn,"tsConditionalType"),n(qn,"tsConditionalType");function Vn(l){const p={type:"TSInferType",typeParameter:l},c=d.TSInferType;return a(c.typeParameter,p,"typeParameter",l,1),p}r(Vn,"tsInferType"),n(Vn,"tsInferType");function Xn(l){const p={type:"TSParenthesizedType",typeAnnotation:l},c=d.TSParenthesizedType;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(Xn,"tsParenthesizedType"),n(Xn,"tsParenthesizedType");function Yn(l,p="keyof"){const c={type:"TSTypeOperator",typeAnnotation:l,operator:p},m=d.TSTypeOperator;return a(m.typeAnnotation,c,"typeAnnotation",l,1),a(m.operator,c,"operator",p),c}r(Yn,"tsTypeOperator"),n(Yn,"tsTypeOperator");function Jn(l,p){const c={type:"TSIndexedAccessType",objectType:l,indexType:p},m=d.TSIndexedAccessType;return a(m.objectType,c,"objectType",l,1),a(m.indexType,c,"indexType",p,1),c}r(Jn,"tsIndexedAccessType"),n(Jn,"tsIndexedAccessType");function Un(l,p=null,c=null){const m={type:"TSMappedType",typeParameter:l,typeAnnotation:p,nameType:c},v=d.TSMappedType;return a(v.typeParameter,m,"typeParameter",l,1),a(v.typeAnnotation,m,"typeAnnotation",p,1),a(v.nameType,m,"nameType",c,1),m}r(Un,"tsMappedType"),n(Un,"tsMappedType");function Wn(l,p){const c={type:"TSTemplateLiteralType",quasis:l,types:p},m=d.TSTemplateLiteralType;return a(m.quasis,c,"quasis",l,1),a(m.types,c,"types",p,1),c}r(Wn,"tsTemplateLiteralType"),n(Wn,"tsTemplateLiteralType");function Gn(l){const p={type:"TSLiteralType",literal:l},c=d.TSLiteralType;return a(c.literal,p,"literal",l,1),p}r(Gn,"tsLiteralType"),n(Gn,"tsLiteralType");function zn(l,p=null){const c={type:"TSExpressionWithTypeArguments",expression:l,typeParameters:p},m=d.TSExpressionWithTypeArguments;return a(m.expression,c,"expression",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(zn,"tsExpressionWithTypeArguments"),n(zn,"tsExpressionWithTypeArguments");function Qn(l,p=null,c=null,m){const v={type:"TSInterfaceDeclaration",id:l,typeParameters:p,extends:c,body:m},O=d.TSInterfaceDeclaration;return a(O.id,v,"id",l,1),a(O.typeParameters,v,"typeParameters",p,1),a(O.extends,v,"extends",c,1),a(O.body,v,"body",m,1),v}r(Qn,"tsInterfaceDeclaration"),n(Qn,"tsInterfaceDeclaration");function $n(l){const p={type:"TSInterfaceBody",body:l},c=d.TSInterfaceBody;return a(c.body,p,"body",l,1),p}r($n,"tsInterfaceBody"),n($n,"tsInterfaceBody");function Hn(l,p=null,c){const m={type:"TSTypeAliasDeclaration",id:l,typeParameters:p,typeAnnotation:c},v=d.TSTypeAliasDeclaration;return a(v.id,m,"id",l,1),a(v.typeParameters,m,"typeParameters",p,1),a(v.typeAnnotation,m,"typeAnnotation",c,1),m}r(Hn,"tsTypeAliasDeclaration"),n(Hn,"tsTypeAliasDeclaration");function Zn(l,p=null){const c={type:"TSInstantiationExpression",expression:l,typeParameters:p},m=d.TSInstantiationExpression;return a(m.expression,c,"expression",l,1),a(m.typeParameters,c,"typeParameters",p,1),c}r(Zn,"tsInstantiationExpression"),n(Zn,"tsInstantiationExpression");function ea(l,p){const c={type:"TSAsExpression",expression:l,typeAnnotation:p},m=d.TSAsExpression;return a(m.expression,c,"expression",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(ea,"tsAsExpression"),n(ea,"tsAsExpression");function ta(l,p){const c={type:"TSSatisfiesExpression",expression:l,typeAnnotation:p},m=d.TSSatisfiesExpression;return a(m.expression,c,"expression",l,1),a(m.typeAnnotation,c,"typeAnnotation",p,1),c}r(ta,"tsSatisfiesExpression"),n(ta,"tsSatisfiesExpression");function ra(l,p){const c={type:"TSTypeAssertion",typeAnnotation:l,expression:p},m=d.TSTypeAssertion;return a(m.typeAnnotation,c,"typeAnnotation",l,1),a(m.expression,c,"expression",p,1),c}r(ra,"tsTypeAssertion"),n(ra,"tsTypeAssertion");function na(l){const p={type:"TSEnumBody",members:l},c=d.TSEnumBody;return a(c.members,p,"members",l,1),p}r(na,"tsEnumBody"),n(na,"tsEnumBody");function aa(l,p){const c={type:"TSEnumDeclaration",id:l,members:p},m=d.TSEnumDeclaration;return a(m.id,c,"id",l,1),a(m.members,c,"members",p,1),c}r(aa,"tsEnumDeclaration"),n(aa,"tsEnumDeclaration");function ia(l,p=null){const c={type:"TSEnumMember",id:l,initializer:p},m=d.TSEnumMember;return a(m.id,c,"id",l,1),a(m.initializer,c,"initializer",p,1),c}r(ia,"tsEnumMember"),n(ia,"tsEnumMember");function sa(l,p){const c={type:"TSModuleDeclaration",id:l,body:p,kind:null},m=d.TSModuleDeclaration;return a(m.id,c,"id",l,1),a(m.body,c,"body",p,1),c}r(sa,"tsModuleDeclaration"),n(sa,"tsModuleDeclaration");function oa(l){const p={type:"TSModuleBlock",body:l},c=d.TSModuleBlock;return a(c.body,p,"body",l,1),p}r(oa,"tsModuleBlock"),n(oa,"tsModuleBlock");function la(l,p=null,c=null){const m={type:"TSImportType",argument:l,qualifier:p,typeParameters:c},v=d.TSImportType;return a(v.argument,m,"argument",l,1),a(v.qualifier,m,"qualifier",p,1),a(v.typeParameters,m,"typeParameters",c,1),m}r(la,"tsImportType"),n(la,"tsImportType");function pa(l,p){const c={type:"TSImportEqualsDeclaration",id:l,moduleReference:p,isExport:null},m=d.TSImportEqualsDeclaration;return a(m.id,c,"id",l,1),a(m.moduleReference,c,"moduleReference",p,1),c}r(pa,"tsImportEqualsDeclaration"),n(pa,"tsImportEqualsDeclaration");function ua(l){const p={type:"TSExternalModuleReference",expression:l},c=d.TSExternalModuleReference;return a(c.expression,p,"expression",l,1),p}r(ua,"tsExternalModuleReference"),n(ua,"tsExternalModuleReference");function ca(l){const p={type:"TSNonNullExpression",expression:l},c=d.TSNonNullExpression;return a(c.expression,p,"expression",l,1),p}r(ca,"tsNonNullExpression"),n(ca,"tsNonNullExpression");function da(l){const p={type:"TSExportAssignment",expression:l},c=d.TSExportAssignment;return a(c.expression,p,"expression",l,1),p}r(da,"tsExportAssignment"),n(da,"tsExportAssignment");function ya(l){const p={type:"TSNamespaceExportDeclaration",id:l},c=d.TSNamespaceExportDeclaration;return a(c.id,p,"id",l,1),p}r(ya,"tsNamespaceExportDeclaration"),n(ya,"tsNamespaceExportDeclaration");function fa(l){const p={type:"TSTypeAnnotation",typeAnnotation:l},c=d.TSTypeAnnotation;return a(c.typeAnnotation,p,"typeAnnotation",l,1),p}r(fa,"tsTypeAnnotation"),n(fa,"tsTypeAnnotation");function Ta(l){const p={type:"TSTypeParameterInstantiation",params:l},c=d.TSTypeParameterInstantiation;return a(c.params,p,"params",l,1),p}r(Ta,"tsTypeParameterInstantiation"),n(Ta,"tsTypeParameterInstantiation");function ma(l){const p={type:"TSTypeParameterDeclaration",params:l},c=d.TSTypeParameterDeclaration;return a(c.params,p,"params",l,1),p}r(ma,"tsTypeParameterDeclaration"),n(ma,"tsTypeParameterDeclaration");function Sa(l=null,p=null,c){const m={type:"TSTypeParameter",constraint:l,default:p,name:c},v=d.TSTypeParameter;return a(v.constraint,m,"constraint",l,1),a(v.default,m,"default",p,1),a(v.name,m,"name",c),m}r(Sa,"tsTypeParameter"),n(Sa,"tsTypeParameter");function Ea(l){return(0,s.default)("NumberLiteral","NumericLiteral","The node type "),ce(l)}r(Ea,"NumberLiteral"),n(Ea,"NumberLiteral");function ba(l,p=""){return(0,s.default)("RegexLiteral","RegExpLiteral","The node type "),V(l,p)}r(ba,"RegexLiteral"),n(ba,"RegexLiteral");function va(l){return(0,s.default)("RestProperty","RestElement","The node type "),pe(l)}r(va,"RestProperty"),n(va,"RestProperty");function Pa(l){return(0,s.default)("SpreadProperty","SpreadElement","The node type "),Je(l)}return r(Pa,"SpreadProperty"),n(Pa,"SpreadProperty"),S}r(kl,"requireLowercase");var y={},Do;function vp(){if(Do)return y;Do=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(y,"__esModule",{value:!0}),y.JSXIdentifier=y.JSXFragment=y.JSXExpressionContainer=y.JSXEmptyExpression=y.JSXElement=y.JSXClosingFragment=y.JSXClosingElement=y.JSXAttribute=y.IntersectionTypeAnnotation=y.InterpreterDirective=y.InterfaceTypeAnnotation=y.InterfaceExtends=y.InterfaceDeclaration=y.InferredPredicate=y.IndexedAccessType=y.ImportSpecifier=y.ImportNamespaceSpecifier=y.ImportExpression=y.ImportDefaultSpecifier=y.ImportDeclaration=y.ImportAttribute=y.Import=y.IfStatement=y.Identifier=y.GenericTypeAnnotation=y.FunctionTypeParam=y.FunctionTypeAnnotation=y.FunctionExpression=y.FunctionDeclaration=y.ForStatement=y.ForOfStatement=y.ForInStatement=y.File=y.ExpressionStatement=y.ExportSpecifier=y.ExportNamespaceSpecifier=y.ExportNamedDeclaration=y.ExportDefaultSpecifier=y.ExportDefaultDeclaration=y.ExportAllDeclaration=y.ExistsTypeAnnotation=y.EnumSymbolBody=y.EnumStringMember=y.EnumStringBody=y.EnumNumberMember=y.EnumNumberBody=y.EnumDefaultedMember=y.EnumDeclaration=y.EnumBooleanMember=y.EnumBooleanBody=y.EmptyTypeAnnotation=y.EmptyStatement=y.DoWhileStatement=y.DoExpression=y.DirectiveLiteral=y.Directive=y.Decorator=y.DeclaredPredicate=y.DeclareVariable=y.DeclareTypeAlias=y.DeclareOpaqueType=y.DeclareModuleExports=y.DeclareModule=y.DeclareInterface=y.DeclareFunction=y.DeclareExportDeclaration=y.DeclareExportAllDeclaration=y.DeclareClass=y.DecimalLiteral=y.DebuggerStatement=y.ContinueStatement=y.ConditionalExpression=y.ClassProperty=y.ClassPrivateProperty=y.ClassPrivateMethod=y.ClassMethod=y.ClassImplements=y.ClassExpression=y.ClassDeclaration=y.ClassBody=y.ClassAccessorProperty=y.CatchClause=y.CallExpression=y.BreakStatement=y.BooleanTypeAnnotation=y.BooleanLiteralTypeAnnotation=y.BooleanLiteral=y.BlockStatement=y.BindExpression=y.BinaryExpression=y.BigIntLiteral=y.AwaitExpression=y.AssignmentPattern=y.AssignmentExpression=y.ArrowFunctionExpression=y.ArrayTypeAnnotation=y.ArrayPattern=y.ArrayExpression=y.ArgumentPlaceholder=y.AnyTypeAnnotation=void 0,y.TSNumberKeyword=y.TSNullKeyword=y.TSNonNullExpression=y.TSNeverKeyword=y.TSNamespaceExportDeclaration=y.TSNamedTupleMember=y.TSModuleDeclaration=y.TSModuleBlock=y.TSMethodSignature=y.TSMappedType=y.TSLiteralType=y.TSIntrinsicKeyword=y.TSIntersectionType=y.TSInterfaceDeclaration=y.TSInterfaceBody=y.TSInstantiationExpression=y.TSInferType=y.TSIndexedAccessType=y.TSIndexSignature=y.TSImportType=y.TSImportEqualsDeclaration=y.TSFunctionType=y.TSExternalModuleReference=y.TSExpressionWithTypeArguments=y.TSExportAssignment=y.TSEnumMember=y.TSEnumDeclaration=y.TSEnumBody=y.TSDeclareMethod=y.TSDeclareFunction=y.TSConstructorType=y.TSConstructSignatureDeclaration=y.TSConditionalType=y.TSCallSignatureDeclaration=y.TSBooleanKeyword=y.TSBigIntKeyword=y.TSAsExpression=y.TSArrayType=y.TSAnyKeyword=y.SymbolTypeAnnotation=y.SwitchStatement=y.SwitchCase=y.Super=y.StringTypeAnnotation=y.StringLiteralTypeAnnotation=y.StringLiteral=y.StaticBlock=y.SpreadProperty=y.SpreadElement=y.SequenceExpression=y.ReturnStatement=y.RestProperty=y.RestElement=y.RegexLiteral=y.RegExpLiteral=y.RecordExpression=y.QualifiedTypeIdentifier=y.Program=y.PrivateName=y.Placeholder=y.PipelineTopicExpression=y.PipelinePrimaryTopicReference=y.PipelineBareFunction=y.ParenthesizedExpression=y.OptionalMemberExpression=y.OptionalIndexedAccessType=y.OptionalCallExpression=y.OpaqueType=y.ObjectTypeSpreadProperty=y.ObjectTypeProperty=y.ObjectTypeInternalSlot=y.ObjectTypeIndexer=y.ObjectTypeCallProperty=y.ObjectTypeAnnotation=y.ObjectProperty=y.ObjectPattern=y.ObjectMethod=y.ObjectExpression=y.NumericLiteral=y.NumberTypeAnnotation=y.NumberLiteralTypeAnnotation=y.NumberLiteral=y.NullableTypeAnnotation=y.NullLiteralTypeAnnotation=y.NullLiteral=y.Noop=y.NewExpression=y.ModuleExpression=y.MixedTypeAnnotation=y.MetaProperty=y.MemberExpression=y.LogicalExpression=y.LabeledStatement=y.JSXText=y.JSXSpreadChild=y.JSXSpreadAttribute=y.JSXOpeningFragment=y.JSXOpeningElement=y.JSXNamespacedName=y.JSXMemberExpression=void 0,y.YieldExpression=y.WithStatement=y.WhileStatement=y.VoidTypeAnnotation=y.VoidPattern=y.Variance=y.VariableDeclarator=y.VariableDeclaration=y.V8IntrinsicIdentifier=y.UpdateExpression=y.UnionTypeAnnotation=y.UnaryExpression=y.TypeofTypeAnnotation=y.TypeParameterInstantiation=y.TypeParameterDeclaration=y.TypeParameter=y.TypeCastExpression=y.TypeAnnotation=y.TypeAlias=y.TupleTypeAnnotation=y.TupleExpression=y.TryStatement=y.TopicReference=y.ThrowStatement=y.ThisTypeAnnotation=y.ThisExpression=y.TemplateLiteral=y.TemplateElement=y.TaggedTemplateExpression=y.TSVoidKeyword=y.TSUnknownKeyword=y.TSUnionType=y.TSUndefinedKeyword=y.TSTypeReference=y.TSTypeQuery=y.TSTypePredicate=y.TSTypeParameterInstantiation=y.TSTypeParameterDeclaration=y.TSTypeParameter=y.TSTypeOperator=y.TSTypeLiteral=y.TSTypeAssertion=y.TSTypeAnnotation=y.TSTypeAliasDeclaration=y.TSTupleType=y.TSThisType=y.TSTemplateLiteralType=y.TSSymbolKeyword=y.TSStringKeyword=y.TSSatisfiesExpression=y.TSRestType=y.TSQualifiedName=y.TSPropertySignature=y.TSParenthesizedType=y.TSParameterProperty=y.TSOptionalType=y.TSObjectKeyword=void 0;var i=kl();vi();function s(o){return i[o]}return r(s,"alias"),n(s,"alias"),y.ArrayExpression=s("arrayExpression"),y.AssignmentExpression=s("assignmentExpression"),y.BinaryExpression=s("binaryExpression"),y.InterpreterDirective=s("interpreterDirective"),y.Directive=s("directive"),y.DirectiveLiteral=s("directiveLiteral"),y.BlockStatement=s("blockStatement"),y.BreakStatement=s("breakStatement"),y.CallExpression=s("callExpression"),y.CatchClause=s("catchClause"),y.ConditionalExpression=s("conditionalExpression"),y.ContinueStatement=s("continueStatement"),y.DebuggerStatement=s("debuggerStatement"),y.DoWhileStatement=s("doWhileStatement"),y.EmptyStatement=s("emptyStatement"),y.ExpressionStatement=s("expressionStatement"),y.File=s("file"),y.ForInStatement=s("forInStatement"),y.ForStatement=s("forStatement"),y.FunctionDeclaration=s("functionDeclaration"),y.FunctionExpression=s("functionExpression"),y.Identifier=s("identifier"),y.IfStatement=s("ifStatement"),y.LabeledStatement=s("labeledStatement"),y.StringLiteral=s("stringLiteral"),y.NumericLiteral=s("numericLiteral"),y.NullLiteral=s("nullLiteral"),y.BooleanLiteral=s("booleanLiteral"),y.RegExpLiteral=s("regExpLiteral"),y.LogicalExpression=s("logicalExpression"),y.MemberExpression=s("memberExpression"),y.NewExpression=s("newExpression"),y.Program=s("program"),y.ObjectExpression=s("objectExpression"),y.ObjectMethod=s("objectMethod"),y.ObjectProperty=s("objectProperty"),y.RestElement=s("restElement"),y.ReturnStatement=s("returnStatement"),y.SequenceExpression=s("sequenceExpression"),y.ParenthesizedExpression=s("parenthesizedExpression"),y.SwitchCase=s("switchCase"),y.SwitchStatement=s("switchStatement"),y.ThisExpression=s("thisExpression"),y.ThrowStatement=s("throwStatement"),y.TryStatement=s("tryStatement"),y.UnaryExpression=s("unaryExpression"),y.UpdateExpression=s("updateExpression"),y.VariableDeclaration=s("variableDeclaration"),y.VariableDeclarator=s("variableDeclarator"),y.WhileStatement=s("whileStatement"),y.WithStatement=s("withStatement"),y.AssignmentPattern=s("assignmentPattern"),y.ArrayPattern=s("arrayPattern"),y.ArrowFunctionExpression=s("arrowFunctionExpression"),y.ClassBody=s("classBody"),y.ClassExpression=s("classExpression"),y.ClassDeclaration=s("classDeclaration"),y.ExportAllDeclaration=s("exportAllDeclaration"),y.ExportDefaultDeclaration=s("exportDefaultDeclaration"),y.ExportNamedDeclaration=s("exportNamedDeclaration"),y.ExportSpecifier=s("exportSpecifier"),y.ForOfStatement=s("forOfStatement"),y.ImportDeclaration=s("importDeclaration"),y.ImportDefaultSpecifier=s("importDefaultSpecifier"),y.ImportNamespaceSpecifier=s("importNamespaceSpecifier"),y.ImportSpecifier=s("importSpecifier"),y.ImportExpression=s("importExpression"),y.MetaProperty=s("metaProperty"),y.ClassMethod=s("classMethod"),y.ObjectPattern=s("objectPattern"),y.SpreadElement=s("spreadElement"),y.Super=s("super"),y.TaggedTemplateExpression=s("taggedTemplateExpression"),y.TemplateElement=s("templateElement"),y.TemplateLiteral=s("templateLiteral"),y.YieldExpression=s("yieldExpression"),y.AwaitExpression=s("awaitExpression"),y.Import=s("import"),y.BigIntLiteral=s("bigIntLiteral"),y.ExportNamespaceSpecifier=s("exportNamespaceSpecifier"),y.OptionalMemberExpression=s("optionalMemberExpression"),y.OptionalCallExpression=s("optionalCallExpression"),y.ClassProperty=s("classProperty"),y.ClassAccessorProperty=s("classAccessorProperty"),y.ClassPrivateProperty=s("classPrivateProperty"),y.ClassPrivateMethod=s("classPrivateMethod"),y.PrivateName=s("privateName"),y.StaticBlock=s("staticBlock"),y.ImportAttribute=s("importAttribute"),y.AnyTypeAnnotation=s("anyTypeAnnotation"),y.ArrayTypeAnnotation=s("arrayTypeAnnotation"),y.BooleanTypeAnnotation=s("booleanTypeAnnotation"),y.BooleanLiteralTypeAnnotation=s("booleanLiteralTypeAnnotation"),y.NullLiteralTypeAnnotation=s("nullLiteralTypeAnnotation"),y.ClassImplements=s("classImplements"),y.DeclareClass=s("declareClass"),y.DeclareFunction=s("declareFunction"),y.DeclareInterface=s("declareInterface"),y.DeclareModule=s("declareModule"),y.DeclareModuleExports=s("declareModuleExports"),y.DeclareTypeAlias=s("declareTypeAlias"),y.DeclareOpaqueType=s("declareOpaqueType"),y.DeclareVariable=s("declareVariable"),y.DeclareExportDeclaration=s("declareExportDeclaration"),y.DeclareExportAllDeclaration=s("declareExportAllDeclaration"),y.DeclaredPredicate=s("declaredPredicate"),y.ExistsTypeAnnotation=s("existsTypeAnnotation"),y.FunctionTypeAnnotation=s("functionTypeAnnotation"),y.FunctionTypeParam=s("functionTypeParam"),y.GenericTypeAnnotation=s("genericTypeAnnotation"),y.InferredPredicate=s("inferredPredicate"),y.InterfaceExtends=s("interfaceExtends"),y.InterfaceDeclaration=s("interfaceDeclaration"),y.InterfaceTypeAnnotation=s("interfaceTypeAnnotation"),y.IntersectionTypeAnnotation=s("intersectionTypeAnnotation"),y.MixedTypeAnnotation=s("mixedTypeAnnotation"),y.EmptyTypeAnnotation=s("emptyTypeAnnotation"),y.NullableTypeAnnotation=s("nullableTypeAnnotation"),y.NumberLiteralTypeAnnotation=s("numberLiteralTypeAnnotation"),y.NumberTypeAnnotation=s("numberTypeAnnotation"),y.ObjectTypeAnnotation=s("objectTypeAnnotation"),y.ObjectTypeInternalSlot=s("objectTypeInternalSlot"),y.ObjectTypeCallProperty=s("objectTypeCallProperty"),y.ObjectTypeIndexer=s("objectTypeIndexer"),y.ObjectTypeProperty=s("objectTypeProperty"),y.ObjectTypeSpreadProperty=s("objectTypeSpreadProperty"),y.OpaqueType=s("opaqueType"),y.QualifiedTypeIdentifier=s("qualifiedTypeIdentifier"),y.StringLiteralTypeAnnotation=s("stringLiteralTypeAnnotation"),y.StringTypeAnnotation=s("stringTypeAnnotation"),y.SymbolTypeAnnotation=s("symbolTypeAnnotation"),y.ThisTypeAnnotation=s("thisTypeAnnotation"),y.TupleTypeAnnotation=s("tupleTypeAnnotation"),y.TypeofTypeAnnotation=s("typeofTypeAnnotation"),y.TypeAlias=s("typeAlias"),y.TypeAnnotation=s("typeAnnotation"),y.TypeCastExpression=s("typeCastExpression"),y.TypeParameter=s("typeParameter"),y.TypeParameterDeclaration=s("typeParameterDeclaration"),y.TypeParameterInstantiation=s("typeParameterInstantiation"),y.UnionTypeAnnotation=s("unionTypeAnnotation"),y.Variance=s("variance"),y.VoidTypeAnnotation=s("voidTypeAnnotation"),y.EnumDeclaration=s("enumDeclaration"),y.EnumBooleanBody=s("enumBooleanBody"),y.EnumNumberBody=s("enumNumberBody"),y.EnumStringBody=s("enumStringBody"),y.EnumSymbolBody=s("enumSymbolBody"),y.EnumBooleanMember=s("enumBooleanMember"),y.EnumNumberMember=s("enumNumberMember"),y.EnumStringMember=s("enumStringMember"),y.EnumDefaultedMember=s("enumDefaultedMember"),y.IndexedAccessType=s("indexedAccessType"),y.OptionalIndexedAccessType=s("optionalIndexedAccessType"),y.JSXAttribute=s("jsxAttribute"),y.JSXClosingElement=s("jsxClosingElement"),y.JSXElement=s("jsxElement"),y.JSXEmptyExpression=s("jsxEmptyExpression"),y.JSXExpressionContainer=s("jsxExpressionContainer"),y.JSXSpreadChild=s("jsxSpreadChild"),y.JSXIdentifier=s("jsxIdentifier"),y.JSXMemberExpression=s("jsxMemberExpression"),y.JSXNamespacedName=s("jsxNamespacedName"),y.JSXOpeningElement=s("jsxOpeningElement"),y.JSXSpreadAttribute=s("jsxSpreadAttribute"),y.JSXText=s("jsxText"),y.JSXFragment=s("jsxFragment"),y.JSXOpeningFragment=s("jsxOpeningFragment"),y.JSXClosingFragment=s("jsxClosingFragment"),y.Noop=s("noop"),y.Placeholder=s("placeholder"),y.V8IntrinsicIdentifier=s("v8IntrinsicIdentifier"),y.ArgumentPlaceholder=s("argumentPlaceholder"),y.BindExpression=s("bindExpression"),y.Decorator=s("decorator"),y.DoExpression=s("doExpression"),y.ExportDefaultSpecifier=s("exportDefaultSpecifier"),y.RecordExpression=s("recordExpression"),y.TupleExpression=s("tupleExpression"),y.DecimalLiteral=s("decimalLiteral"),y.ModuleExpression=s("moduleExpression"),y.TopicReference=s("topicReference"),y.PipelineTopicExpression=s("pipelineTopicExpression"),y.PipelineBareFunction=s("pipelineBareFunction"),y.PipelinePrimaryTopicReference=s("pipelinePrimaryTopicReference"),y.VoidPattern=s("voidPattern"),y.TSParameterProperty=s("tsParameterProperty"),y.TSDeclareFunction=s("tsDeclareFunction"),y.TSDeclareMethod=s("tsDeclareMethod"),y.TSQualifiedName=s("tsQualifiedName"),y.TSCallSignatureDeclaration=s("tsCallSignatureDeclaration"),y.TSConstructSignatureDeclaration=s("tsConstructSignatureDeclaration"),y.TSPropertySignature=s("tsPropertySignature"),y.TSMethodSignature=s("tsMethodSignature"),y.TSIndexSignature=s("tsIndexSignature"),y.TSAnyKeyword=s("tsAnyKeyword"),y.TSBooleanKeyword=s("tsBooleanKeyword"),y.TSBigIntKeyword=s("tsBigIntKeyword"),y.TSIntrinsicKeyword=s("tsIntrinsicKeyword"),y.TSNeverKeyword=s("tsNeverKeyword"),y.TSNullKeyword=s("tsNullKeyword"),y.TSNumberKeyword=s("tsNumberKeyword"),y.TSObjectKeyword=s("tsObjectKeyword"),y.TSStringKeyword=s("tsStringKeyword"),y.TSSymbolKeyword=s("tsSymbolKeyword"),y.TSUndefinedKeyword=s("tsUndefinedKeyword"),y.TSUnknownKeyword=s("tsUnknownKeyword"),y.TSVoidKeyword=s("tsVoidKeyword"),y.TSThisType=s("tsThisType"),y.TSFunctionType=s("tsFunctionType"),y.TSConstructorType=s("tsConstructorType"),y.TSTypeReference=s("tsTypeReference"),y.TSTypePredicate=s("tsTypePredicate"),y.TSTypeQuery=s("tsTypeQuery"),y.TSTypeLiteral=s("tsTypeLiteral"),y.TSArrayType=s("tsArrayType"),y.TSTupleType=s("tsTupleType"),y.TSOptionalType=s("tsOptionalType"),y.TSRestType=s("tsRestType"),y.TSNamedTupleMember=s("tsNamedTupleMember"),y.TSUnionType=s("tsUnionType"),y.TSIntersectionType=s("tsIntersectionType"),y.TSConditionalType=s("tsConditionalType"),y.TSInferType=s("tsInferType"),y.TSParenthesizedType=s("tsParenthesizedType"),y.TSTypeOperator=s("tsTypeOperator"),y.TSIndexedAccessType=s("tsIndexedAccessType"),y.TSMappedType=s("tsMappedType"),y.TSTemplateLiteralType=s("tsTemplateLiteralType"),y.TSLiteralType=s("tsLiteralType"),y.TSExpressionWithTypeArguments=s("tsExpressionWithTypeArguments"),y.TSInterfaceDeclaration=s("tsInterfaceDeclaration"),y.TSInterfaceBody=s("tsInterfaceBody"),y.TSTypeAliasDeclaration=s("tsTypeAliasDeclaration"),y.TSInstantiationExpression=s("tsInstantiationExpression"),y.TSAsExpression=s("tsAsExpression"),y.TSSatisfiesExpression=s("tsSatisfiesExpression"),y.TSTypeAssertion=s("tsTypeAssertion"),y.TSEnumBody=s("tsEnumBody"),y.TSEnumDeclaration=s("tsEnumDeclaration"),y.TSEnumMember=s("tsEnumMember"),y.TSModuleDeclaration=s("tsModuleDeclaration"),y.TSModuleBlock=s("tsModuleBlock"),y.TSImportType=s("tsImportType"),y.TSImportEqualsDeclaration=s("tsImportEqualsDeclaration"),y.TSExternalModuleReference=s("tsExternalModuleReference"),y.TSNonNullExpression=s("tsNonNullExpression"),y.TSExportAssignment=s("tsExportAssignment"),y.TSNamespaceExportDeclaration=s("tsNamespaceExportDeclaration"),y.TSTypeAnnotation=s("tsTypeAnnotation"),y.TSTypeParameterInstantiation=s("tsTypeParameterInstantiation"),y.TSTypeParameterDeclaration=s("tsTypeParameterDeclaration"),y.TSTypeParameter=s("tsTypeParameter"),y.NumberLiteral=i.numberLiteral,y.RegexLiteral=i.regexLiteral,y.RestProperty=i.restProperty,y.SpreadProperty=i.spreadProperty,y}r(vp,"requireUppercase");var ho;function me(){return ho||(ho=1,(function(T){var n=Object.defineProperty,i=r((a,d)=>n(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(T,"__esModule",{value:!0});var s=kl();Object.keys(s).forEach(function(a){a==="default"||a==="__esModule"||a in T&&T[a]===s[a]||Object.defineProperty(T,a,{enumerable:!0,get:i(function(){return s[a]},"get")})});var o=vp();Object.keys(o).forEach(function(a){a==="default"||a==="__esModule"||a in T&&T[a]===o[a]||Object.defineProperty(T,a,{enumerable:!0,get:i(function(){return o[a]},"get")})})})(Bs)),Bs}r(me,"requireGenerated$2");var No;function Pp(){if(No)return Li;No=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"a");Object.defineProperty(Li,"__esModule",{value:!0}),Li.default=o;var i=me(),s=Vs();function o(a,d){const f=a.value.split(/\r\n|\n|\r/);let x=0;for(let g=0;g<f.length;g++)/[^ \t]/.exec(f[g])&&(x=g);let P="";for(let g=0;g<f.length;g++){const I=f[g],A=g===0,D=g===f.length-1,C=g===x;let h=I.replace(/\t/g," ");A||(h=h.replace(/^ +/,"")),D||(h=h.replace(/ +$/,"")),h&&(C||(h+=" "),P+=h)}P&&d.push((0,s.inherits)((0,i.stringLiteral)(P),a))}return r(o,"cleanJSXElementLiteralChild$1"),n(o,"cleanJSXElementLiteralChild"),Li}r(Pp,"requireCleanJSXElementLiteralChild");var Lo;function Ap(){if(Lo)return Ni;Lo=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"n");Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.default=o;var i=ie(),s=Pp();function o(a){const d=[];for(let f=0;f<a.children.length;f++){let x=a.children[f];if((0,i.isJSXText)(x)){(0,s.default)(x,d);continue}(0,i.isJSXExpressionContainer)(x)&&(x=x.expression),!(0,i.isJSXEmptyExpression)(x)&&d.push(x)}return d}return r(o,"buildChildren$1"),n(o,"buildChildren"),Ni}r(Ap,"requireBuildChildren");var ji={},wi={},Co;function Kl(){if(Co)return wi;Co=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(wi,"__esModule",{value:!0}),wi.default=s;var i=Ee();function s(o){return!!(o&&i.VISITOR_KEYS[o.type])}return r(s,"isNode$1"),n(s,"isNode"),wi}r(Kl,"requireIsNode");var _o;function xp(){if(_o)return ji;_o=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"r");Object.defineProperty(ji,"__esModule",{value:!0}),ji.default=s;var i=Kl();function s(o){if(!(0,i.default)(o)){var a;const d=(a=o?.type)!=null?a:JSON.stringify(o);throw new TypeError(`Not a valid node of type "${d}"`)}}return r(s,"assertNode$1"),n(s,"assertNode"),ji}r(xp,"requireAssertNode");var b={},Bo;function gp(){if(Bo)return b;Bo=1;var T=Object.defineProperty,n=r((e,u)=>T(e,"name",{value:u,configurable:!0}),"s");Object.defineProperty(b,"__esModule",{value:!0}),b.assertAccessor=Ga,b.assertAnyTypeAnnotation=yt,b.assertArgumentPlaceholder=Vr,b.assertArrayExpression=a,b.assertArrayPattern=Le,b.assertArrayTypeAnnotation=ft,b.assertArrowFunctionExpression=Ce,b.assertAssignmentExpression=d,b.assertAssignmentPattern=Ne,b.assertAwaitExpression=et,b.assertBigIntLiteral=rt,b.assertBinary=Ea,b.assertBinaryExpression=f,b.assertBindExpression=Xr,b.assertBlock=Pa,b.assertBlockParent=va,b.assertBlockStatement=I,b.assertBooleanLiteral=fe,b.assertBooleanLiteralTypeAnnotation=mt,b.assertBooleanTypeAnnotation=Tt,b.assertBreakStatement=A,b.assertCallExpression=D,b.assertCatchClause=C,b.assertClass=Oa,b.assertClassAccessorProperty=ot,b.assertClassBody=_e,b.assertClassDeclaration=Me,b.assertClassExpression=Be,b.assertClassImplements=Et,b.assertClassMethod=Ye,b.assertClassPrivateMethod=pt,b.assertClassPrivateProperty=lt,b.assertClassProperty=st,b.assertCompletionStatement=c,b.assertConditional=m,b.assertConditionalExpression=h,b.assertContinueStatement=K,b.assertDebuggerStatement=N,b.assertDecimalLiteral=zr,b.assertDeclaration=_a,b.assertDeclareClass=bt,b.assertDeclareExportAllDeclaration=ht,b.assertDeclareExportDeclaration=Dt,b.assertDeclareFunction=vt,b.assertDeclareInterface=Pt,b.assertDeclareModule=At,b.assertDeclareModuleExports=xt,b.assertDeclareOpaqueType=It,b.assertDeclareTypeAlias=gt,b.assertDeclareVariable=Ot,b.assertDeclaredPredicate=Nt,b.assertDecorator=Yr,b.assertDirective=P,b.assertDirectiveLiteral=g,b.assertDoExpression=Jr,b.assertDoWhileStatement=M,b.assertEmptyStatement=_,b.assertEmptyTypeAnnotation=Kt,b.assertEnumBody=ti,b.assertEnumBooleanBody=fr,b.assertEnumBooleanMember=Er,b.assertEnumDeclaration=yr,b.assertEnumDefaultedMember=Pr,b.assertEnumMember=ri,b.assertEnumNumberBody=Tr,b.assertEnumNumberMember=br,b.assertEnumStringBody=mr,b.assertEnumStringMember=vr,b.assertEnumSymbolBody=Sr,b.assertExistsTypeAnnotation=Lt,b.assertExportAllDeclaration=je,b.assertExportDeclaration=Ua,b.assertExportDefaultDeclaration=we,b.assertExportDefaultSpecifier=Ur,b.assertExportNamedDeclaration=Fe,b.assertExportNamespaceSpecifier=nt,b.assertExportSpecifier=Re,b.assertExpression=Sa,b.assertExpressionStatement=B,b.assertExpressionWrapper=R,b.assertFile=F,b.assertFlow=Qa,b.assertFlowBaseAnnotation=Ha,b.assertFlowDeclaration=Za,b.assertFlowPredicate=ei,b.assertFlowType=$a,b.assertFor=z,b.assertForInStatement=Y,b.assertForOfStatement=ke,b.assertForStatement=H,b.assertForXStatement=ne,b.assertFunction=ye,b.assertFunctionDeclaration=Z,b.assertFunctionExpression=ee,b.assertFunctionParameter=Ba,b.assertFunctionParent=La,b.assertFunctionTypeAnnotation=Ct,b.assertFunctionTypeParam=_t,b.assertGenericTypeAnnotation=Bt,b.assertIdentifier=te,b.assertIfStatement=ue,b.assertImmutable=Ra,b.assertImport=tt,b.assertImportAttribute=dt,b.assertImportDeclaration=Ke,b.assertImportDefaultSpecifier=qe,b.assertImportExpression=Xe,b.assertImportNamespaceSpecifier=Se,b.assertImportOrExportDeclaration=Ja,b.assertImportSpecifier=Ve,b.assertIndexedAccessType=Ar,b.assertInferredPredicate=Mt,b.assertInterfaceDeclaration=wt,b.assertInterfaceExtends=jt,b.assertInterfaceTypeAnnotation=Ft,b.assertInterpreterDirective=x,b.assertIntersectionTypeAnnotation=Rt,b.assertJSX=ni,b.assertJSXAttribute=gr,b.assertJSXClosingElement=Ir,b.assertJSXClosingFragment=Rr,b.assertJSXElement=Or,b.assertJSXEmptyExpression=Dr,b.assertJSXExpressionContainer=hr,b.assertJSXFragment=wr,b.assertJSXIdentifier=Lr,b.assertJSXMemberExpression=Cr,b.assertJSXNamespacedName=_r,b.assertJSXOpeningElement=Br,b.assertJSXOpeningFragment=Fr,b.assertJSXSpreadAttribute=Mr,b.assertJSXSpreadChild=Nr,b.assertJSXText=jr,b.assertLVal=ja,b.assertLabeledStatement=ae,b.assertLiteral=Fa,b.assertLogicalExpression=w,b.assertLoop=v,b.assertMemberExpression=k,b.assertMetaProperty=j,b.assertMethod=Ka,b.assertMiscellaneous=ai,b.assertMixedTypeAnnotation=kt,b.assertModuleDeclaration=t,b.assertModuleExpression=Qr,b.assertModuleSpecifier=Wa,b.assertNewExpression=V,b.assertNoop=kr,b.assertNullLiteral=oe,b.assertNullLiteralTypeAnnotation=St,b.assertNullableTypeAnnotation=qt,b.assertNumberLiteral=pi,b.assertNumberLiteralTypeAnnotation=Vt,b.assertNumberTypeAnnotation=Xt,b.assertNumericLiteral=de,b.assertObjectExpression=J,b.assertObjectMember=qa,b.assertObjectMethod=$,b.assertObjectPattern=Ge,b.assertObjectProperty=G,b.assertObjectTypeAnnotation=Yt,b.assertObjectTypeCallProperty=Ut,b.assertObjectTypeIndexer=Wt,b.assertObjectTypeInternalSlot=Jt,b.assertObjectTypeProperty=Gt,b.assertObjectTypeSpreadProperty=zt,b.assertOpaqueType=Qt,b.assertOptionalCallExpression=it,b.assertOptionalIndexedAccessType=xr,b.assertOptionalMemberExpression=at,b.assertParenthesizedExpression=pe,b.assertPattern=Ya,b.assertPatternLike=Ma,b.assertPipelineBareFunction=Zr,b.assertPipelinePrimaryTopicReference=en,b.assertPipelineTopicExpression=Hr,b.assertPlaceholder=Kr,b.assertPrivate=za,b.assertPrivateName=ut,b.assertProgram=q,b.assertProperty=Va,b.assertPureish=Ca,b.assertQualifiedTypeIdentifier=$t,b.assertRecordExpression=Wr,b.assertRegExpLiteral=ce,b.assertRegexLiteral=ui,b.assertRestElement=W,b.assertRestProperty=ci,b.assertReturnStatement=Q,b.assertScopable=ba,b.assertSequenceExpression=le,b.assertSpreadElement=ze,b.assertSpreadProperty=di,b.assertStandardized=ma,b.assertStatement=l,b.assertStaticBlock=ct,b.assertStringLiteral=re,b.assertStringLiteralTypeAnnotation=Ht,b.assertStringTypeAnnotation=Zt,b.assertSuper=Qe,b.assertSwitchCase=be,b.assertSwitchStatement=ve,b.assertSymbolTypeAnnotation=er,b.assertTSAnyKeyword=dn,b.assertTSArrayType=_n,b.assertTSAsExpression=Hn,b.assertTSBaseType=li,b.assertTSBigIntKeyword=fn,b.assertTSBooleanKeyword=yn,b.assertTSCallSignatureDeclaration=on,b.assertTSConditionalType=kn,b.assertTSConstructSignatureDeclaration=ln,b.assertTSConstructorType=Dn,b.assertTSDeclareFunction=nn,b.assertTSDeclareMethod=an,b.assertTSEntityName=wa,b.assertTSEnumBody=ta,b.assertTSEnumDeclaration=ra,b.assertTSEnumMember=na,b.assertTSExportAssignment=ua,b.assertTSExpressionWithTypeArguments=Wn,b.assertTSExternalModuleReference=la,b.assertTSFunctionType=On,b.assertTSImportEqualsDeclaration=oa,b.assertTSImportType=sa,b.assertTSIndexSignature=cn,b.assertTSIndexedAccessType=Xn,b.assertTSInferType=Kn,b.assertTSInstantiationExpression=$n,b.assertTSInterfaceBody=zn,b.assertTSInterfaceDeclaration=Gn,b.assertTSIntersectionType=Rn,b.assertTSIntrinsicKeyword=Tn,b.assertTSLiteralType=Un,b.assertTSMappedType=Yn,b.assertTSMethodSignature=un,b.assertTSModuleBlock=ia,b.assertTSModuleDeclaration=aa,b.assertTSNamedTupleMember=wn,b.assertTSNamespaceExportDeclaration=ca,b.assertTSNeverKeyword=mn,b.assertTSNonNullExpression=pa,b.assertTSNullKeyword=Sn,b.assertTSNumberKeyword=En,b.assertTSObjectKeyword=bn,b.assertTSOptionalType=Mn,b.assertTSParameterProperty=rn,b.assertTSParenthesizedType=qn,b.assertTSPropertySignature=pn,b.assertTSQualifiedName=sn,b.assertTSRestType=jn,b.assertTSSatisfiesExpression=Zn,b.assertTSStringKeyword=vn,b.assertTSSymbolKeyword=Pn,b.assertTSTemplateLiteralType=Jn,b.assertTSThisType=In,b.assertTSTupleType=Bn,b.assertTSType=oi,b.assertTSTypeAliasDeclaration=Qn,b.assertTSTypeAnnotation=da,b.assertTSTypeAssertion=ea,b.assertTSTypeElement=si,b.assertTSTypeLiteral=Cn,b.assertTSTypeOperator=Vn,b.assertTSTypeParameter=Ta,b.assertTSTypeParameterDeclaration=fa,b.assertTSTypeParameterInstantiation=ya,b.assertTSTypePredicate=Nn,b.assertTSTypeQuery=Ln,b.assertTSTypeReference=hn,b.assertTSUndefinedKeyword=An,b.assertTSUnionType=Fn,b.assertTSUnknownKeyword=xn,b.assertTSVoidKeyword=gn,b.assertTaggedTemplateExpression=$e,b.assertTemplateElement=Je,b.assertTemplateLiteral=He,b.assertTerminatorless=p,b.assertThisExpression=Pe,b.assertThisTypeAnnotation=tr,b.assertThrowStatement=Te,b.assertTopicReference=$r,b.assertTryStatement=Ae,b.assertTupleExpression=Gr,b.assertTupleTypeAnnotation=rr,b.assertTypeAlias=ar,b.assertTypeAnnotation=ir,b.assertTypeCastExpression=sr,b.assertTypeParameter=or,b.assertTypeParameterDeclaration=lr,b.assertTypeParameterInstantiation=pr,b.assertTypeScript=ii,b.assertTypeofTypeAnnotation=nr,b.assertUnaryExpression=xe,b.assertUnaryLike=Xa,b.assertUnionTypeAnnotation=ur,b.assertUpdateExpression=ge,b.assertUserWhitespacable=ka,b.assertV8IntrinsicIdentifier=qr,b.assertVariableDeclaration=Ie,b.assertVariableDeclarator=Oe,b.assertVariance=cr,b.assertVoidPattern=tn,b.assertVoidTypeAnnotation=dr,b.assertWhile=O,b.assertWhileStatement=De,b.assertWithStatement=he,b.assertYieldExpression=Ze;var i=Pi(),s=vi();function o(e,u,Ys){if(!(0,i.default)(e,u,Ys))throw new Error(`Expected type "${e}" with option ${JSON.stringify(Ys)}, but instead got "${u.type}".`)}r(o,"assert"),n(o,"assert");function a(e,u){o("ArrayExpression",e,u)}r(a,"assertArrayExpression"),n(a,"assertArrayExpression");function d(e,u){o("AssignmentExpression",e,u)}r(d,"assertAssignmentExpression"),n(d,"assertAssignmentExpression");function f(e,u){o("BinaryExpression",e,u)}r(f,"assertBinaryExpression"),n(f,"assertBinaryExpression");function x(e,u){o("InterpreterDirective",e,u)}r(x,"assertInterpreterDirective"),n(x,"assertInterpreterDirective");function P(e,u){o("Directive",e,u)}r(P,"assertDirective"),n(P,"assertDirective");function g(e,u){o("DirectiveLiteral",e,u)}r(g,"assertDirectiveLiteral"),n(g,"assertDirectiveLiteral");function I(e,u){o("BlockStatement",e,u)}r(I,"assertBlockStatement"),n(I,"assertBlockStatement");function A(e,u){o("BreakStatement",e,u)}r(A,"assertBreakStatement"),n(A,"assertBreakStatement");function D(e,u){o("CallExpression",e,u)}r(D,"assertCallExpression"),n(D,"assertCallExpression");function C(e,u){o("CatchClause",e,u)}r(C,"assertCatchClause"),n(C,"assertCatchClause");function h(e,u){o("ConditionalExpression",e,u)}r(h,"assertConditionalExpression"),n(h,"assertConditionalExpression");function K(e,u){o("ContinueStatement",e,u)}r(K,"assertContinueStatement"),n(K,"assertContinueStatement");function N(e,u){o("DebuggerStatement",e,u)}r(N,"assertDebuggerStatement"),n(N,"assertDebuggerStatement");function M(e,u){o("DoWhileStatement",e,u)}r(M,"assertDoWhileStatement"),n(M,"assertDoWhileStatement");function _(e,u){o("EmptyStatement",e,u)}r(_,"assertEmptyStatement"),n(_,"assertEmptyStatement");function B(e,u){o("ExpressionStatement",e,u)}r(B,"assertExpressionStatement"),n(B,"assertExpressionStatement");function F(e,u){o("File",e,u)}r(F,"assertFile"),n(F,"assertFile");function Y(e,u){o("ForInStatement",e,u)}r(Y,"assertForInStatement"),n(Y,"assertForInStatement");function H(e,u){o("ForStatement",e,u)}r(H,"assertForStatement"),n(H,"assertForStatement");function Z(e,u){o("FunctionDeclaration",e,u)}r(Z,"assertFunctionDeclaration"),n(Z,"assertFunctionDeclaration");function ee(e,u){o("FunctionExpression",e,u)}r(ee,"assertFunctionExpression"),n(ee,"assertFunctionExpression");function te(e,u){o("Identifier",e,u)}r(te,"assertIdentifier"),n(te,"assertIdentifier");function ue(e,u){o("IfStatement",e,u)}r(ue,"assertIfStatement"),n(ue,"assertIfStatement");function ae(e,u){o("LabeledStatement",e,u)}r(ae,"assertLabeledStatement"),n(ae,"assertLabeledStatement");function re(e,u){o("StringLiteral",e,u)}r(re,"assertStringLiteral"),n(re,"assertStringLiteral");function de(e,u){o("NumericLiteral",e,u)}r(de,"assertNumericLiteral"),n(de,"assertNumericLiteral");function oe(e,u){o("NullLiteral",e,u)}r(oe,"assertNullLiteral"),n(oe,"assertNullLiteral");function fe(e,u){o("BooleanLiteral",e,u)}r(fe,"assertBooleanLiteral"),n(fe,"assertBooleanLiteral");function ce(e,u){o("RegExpLiteral",e,u)}r(ce,"assertRegExpLiteral"),n(ce,"assertRegExpLiteral");function w(e,u){o("LogicalExpression",e,u)}r(w,"assertLogicalExpression"),n(w,"assertLogicalExpression");function k(e,u){o("MemberExpression",e,u)}r(k,"assertMemberExpression"),n(k,"assertMemberExpression");function V(e,u){o("NewExpression",e,u)}r(V,"assertNewExpression"),n(V,"assertNewExpression");function q(e,u){o("Program",e,u)}r(q,"assertProgram"),n(q,"assertProgram");function J(e,u){o("ObjectExpression",e,u)}r(J,"assertObjectExpression"),n(J,"assertObjectExpression");function $(e,u){o("ObjectMethod",e,u)}r($,"assertObjectMethod"),n($,"assertObjectMethod");function G(e,u){o("ObjectProperty",e,u)}r(G,"assertObjectProperty"),n(G,"assertObjectProperty");function W(e,u){o("RestElement",e,u)}r(W,"assertRestElement"),n(W,"assertRestElement");function Q(e,u){o("ReturnStatement",e,u)}r(Q,"assertReturnStatement"),n(Q,"assertReturnStatement");function le(e,u){o("SequenceExpression",e,u)}r(le,"assertSequenceExpression"),n(le,"assertSequenceExpression");function pe(e,u){o("ParenthesizedExpression",e,u)}r(pe,"assertParenthesizedExpression"),n(pe,"assertParenthesizedExpression");function be(e,u){o("SwitchCase",e,u)}r(be,"assertSwitchCase"),n(be,"assertSwitchCase");function ve(e,u){o("SwitchStatement",e,u)}r(ve,"assertSwitchStatement"),n(ve,"assertSwitchStatement");function Pe(e,u){o("ThisExpression",e,u)}r(Pe,"assertThisExpression"),n(Pe,"assertThisExpression");function Te(e,u){o("ThrowStatement",e,u)}r(Te,"assertThrowStatement"),n(Te,"assertThrowStatement");function Ae(e,u){o("TryStatement",e,u)}r(Ae,"assertTryStatement"),n(Ae,"assertTryStatement");function xe(e,u){o("UnaryExpression",e,u)}r(xe,"assertUnaryExpression"),n(xe,"assertUnaryExpression");function ge(e,u){o("UpdateExpression",e,u)}r(ge,"assertUpdateExpression"),n(ge,"assertUpdateExpression");function Ie(e,u){o("VariableDeclaration",e,u)}r(Ie,"assertVariableDeclaration"),n(Ie,"assertVariableDeclaration");function Oe(e,u){o("VariableDeclarator",e,u)}r(Oe,"assertVariableDeclarator"),n(Oe,"assertVariableDeclarator");function De(e,u){o("WhileStatement",e,u)}r(De,"assertWhileStatement"),n(De,"assertWhileStatement");function he(e,u){o("WithStatement",e,u)}r(he,"assertWithStatement"),n(he,"assertWithStatement");function Ne(e,u){o("AssignmentPattern",e,u)}r(Ne,"assertAssignmentPattern"),n(Ne,"assertAssignmentPattern");function Le(e,u){o("ArrayPattern",e,u)}r(Le,"assertArrayPattern"),n(Le,"assertArrayPattern");function Ce(e,u){o("ArrowFunctionExpression",e,u)}r(Ce,"assertArrowFunctionExpression"),n(Ce,"assertArrowFunctionExpression");function _e(e,u){o("ClassBody",e,u)}r(_e,"assertClassBody"),n(_e,"assertClassBody");function Be(e,u){o("ClassExpression",e,u)}r(Be,"assertClassExpression"),n(Be,"assertClassExpression");function Me(e,u){o("ClassDeclaration",e,u)}r(Me,"assertClassDeclaration"),n(Me,"assertClassDeclaration");function je(e,u){o("ExportAllDeclaration",e,u)}r(je,"assertExportAllDeclaration"),n(je,"assertExportAllDeclaration");function we(e,u){o("ExportDefaultDeclaration",e,u)}r(we,"assertExportDefaultDeclaration"),n(we,"assertExportDefaultDeclaration");function Fe(e,u){o("ExportNamedDeclaration",e,u)}r(Fe,"assertExportNamedDeclaration"),n(Fe,"assertExportNamedDeclaration");function Re(e,u){o("ExportSpecifier",e,u)}r(Re,"assertExportSpecifier"),n(Re,"assertExportSpecifier");function ke(e,u){o("ForOfStatement",e,u)}r(ke,"assertForOfStatement"),n(ke,"assertForOfStatement");function Ke(e,u){o("ImportDeclaration",e,u)}r(Ke,"assertImportDeclaration"),n(Ke,"assertImportDeclaration");function qe(e,u){o("ImportDefaultSpecifier",e,u)}r(qe,"assertImportDefaultSpecifier"),n(qe,"assertImportDefaultSpecifier");function Se(e,u){o("ImportNamespaceSpecifier",e,u)}r(Se,"assertImportNamespaceSpecifier"),n(Se,"assertImportNamespaceSpecifier");function Ve(e,u){o("ImportSpecifier",e,u)}r(Ve,"assertImportSpecifier"),n(Ve,"assertImportSpecifier");function Xe(e,u){o("ImportExpression",e,u)}r(Xe,"assertImportExpression"),n(Xe,"assertImportExpression");function j(e,u){o("MetaProperty",e,u)}r(j,"assertMetaProperty"),n(j,"assertMetaProperty");function Ye(e,u){o("ClassMethod",e,u)}r(Ye,"assertClassMethod"),n(Ye,"assertClassMethod");function Ge(e,u){o("ObjectPattern",e,u)}r(Ge,"assertObjectPattern"),n(Ge,"assertObjectPattern");function ze(e,u){o("SpreadElement",e,u)}r(ze,"assertSpreadElement"),n(ze,"assertSpreadElement");function Qe(e,u){o("Super",e,u)}r(Qe,"assertSuper"),n(Qe,"assertSuper");function $e(e,u){o("TaggedTemplateExpression",e,u)}r($e,"assertTaggedTemplateExpression"),n($e,"assertTaggedTemplateExpression");function Je(e,u){o("TemplateElement",e,u)}r(Je,"assertTemplateElement"),n(Je,"assertTemplateElement");function He(e,u){o("TemplateLiteral",e,u)}r(He,"assertTemplateLiteral"),n(He,"assertTemplateLiteral");function Ze(e,u){o("YieldExpression",e,u)}r(Ze,"assertYieldExpression"),n(Ze,"assertYieldExpression");function et(e,u){o("AwaitExpression",e,u)}r(et,"assertAwaitExpression"),n(et,"assertAwaitExpression");function tt(e,u){o("Import",e,u)}r(tt,"assertImport"),n(tt,"assertImport");function rt(e,u){o("BigIntLiteral",e,u)}r(rt,"assertBigIntLiteral"),n(rt,"assertBigIntLiteral");function nt(e,u){o("ExportNamespaceSpecifier",e,u)}r(nt,"assertExportNamespaceSpecifier"),n(nt,"assertExportNamespaceSpecifier");function at(e,u){o("OptionalMemberExpression",e,u)}r(at,"assertOptionalMemberExpression"),n(at,"assertOptionalMemberExpression");function it(e,u){o("OptionalCallExpression",e,u)}r(it,"assertOptionalCallExpression"),n(it,"assertOptionalCallExpression");function st(e,u){o("ClassProperty",e,u)}r(st,"assertClassProperty"),n(st,"assertClassProperty");function ot(e,u){o("ClassAccessorProperty",e,u)}r(ot,"assertClassAccessorProperty"),n(ot,"assertClassAccessorProperty");function lt(e,u){o("ClassPrivateProperty",e,u)}r(lt,"assertClassPrivateProperty"),n(lt,"assertClassPrivateProperty");function pt(e,u){o("ClassPrivateMethod",e,u)}r(pt,"assertClassPrivateMethod"),n(pt,"assertClassPrivateMethod");function ut(e,u){o("PrivateName",e,u)}r(ut,"assertPrivateName"),n(ut,"assertPrivateName");function ct(e,u){o("StaticBlock",e,u)}r(ct,"assertStaticBlock"),n(ct,"assertStaticBlock");function dt(e,u){o("ImportAttribute",e,u)}r(dt,"assertImportAttribute"),n(dt,"assertImportAttribute");function yt(e,u){o("AnyTypeAnnotation",e,u)}r(yt,"assertAnyTypeAnnotation"),n(yt,"assertAnyTypeAnnotation");function ft(e,u){o("ArrayTypeAnnotation",e,u)}r(ft,"assertArrayTypeAnnotation"),n(ft,"assertArrayTypeAnnotation");function Tt(e,u){o("BooleanTypeAnnotation",e,u)}r(Tt,"assertBooleanTypeAnnotation"),n(Tt,"assertBooleanTypeAnnotation");function mt(e,u){o("BooleanLiteralTypeAnnotation",e,u)}r(mt,"assertBooleanLiteralTypeAnnotation"),n(mt,"assertBooleanLiteralTypeAnnotation");function St(e,u){o("NullLiteralTypeAnnotation",e,u)}r(St,"assertNullLiteralTypeAnnotation"),n(St,"assertNullLiteralTypeAnnotation");function Et(e,u){o("ClassImplements",e,u)}r(Et,"assertClassImplements"),n(Et,"assertClassImplements");function bt(e,u){o("DeclareClass",e,u)}r(bt,"assertDeclareClass"),n(bt,"assertDeclareClass");function vt(e,u){o("DeclareFunction",e,u)}r(vt,"assertDeclareFunction"),n(vt,"assertDeclareFunction");function Pt(e,u){o("DeclareInterface",e,u)}r(Pt,"assertDeclareInterface"),n(Pt,"assertDeclareInterface");function At(e,u){o("DeclareModule",e,u)}r(At,"assertDeclareModule"),n(At,"assertDeclareModule");function xt(e,u){o("DeclareModuleExports",e,u)}r(xt,"assertDeclareModuleExports"),n(xt,"assertDeclareModuleExports");function gt(e,u){o("DeclareTypeAlias",e,u)}r(gt,"assertDeclareTypeAlias"),n(gt,"assertDeclareTypeAlias");function It(e,u){o("DeclareOpaqueType",e,u)}r(It,"assertDeclareOpaqueType"),n(It,"assertDeclareOpaqueType");function Ot(e,u){o("DeclareVariable",e,u)}r(Ot,"assertDeclareVariable"),n(Ot,"assertDeclareVariable");function Dt(e,u){o("DeclareExportDeclaration",e,u)}r(Dt,"assertDeclareExportDeclaration"),n(Dt,"assertDeclareExportDeclaration");function ht(e,u){o("DeclareExportAllDeclaration",e,u)}r(ht,"assertDeclareExportAllDeclaration"),n(ht,"assertDeclareExportAllDeclaration");function Nt(e,u){o("DeclaredPredicate",e,u)}r(Nt,"assertDeclaredPredicate"),n(Nt,"assertDeclaredPredicate");function Lt(e,u){o("ExistsTypeAnnotation",e,u)}r(Lt,"assertExistsTypeAnnotation"),n(Lt,"assertExistsTypeAnnotation");function Ct(e,u){o("FunctionTypeAnnotation",e,u)}r(Ct,"assertFunctionTypeAnnotation"),n(Ct,"assertFunctionTypeAnnotation");function _t(e,u){o("FunctionTypeParam",e,u)}r(_t,"assertFunctionTypeParam"),n(_t,"assertFunctionTypeParam");function Bt(e,u){o("GenericTypeAnnotation",e,u)}r(Bt,"assertGenericTypeAnnotation"),n(Bt,"assertGenericTypeAnnotation");function Mt(e,u){o("InferredPredicate",e,u)}r(Mt,"assertInferredPredicate"),n(Mt,"assertInferredPredicate");function jt(e,u){o("InterfaceExtends",e,u)}r(jt,"assertInterfaceExtends"),n(jt,"assertInterfaceExtends");function wt(e,u){o("InterfaceDeclaration",e,u)}r(wt,"assertInterfaceDeclaration"),n(wt,"assertInterfaceDeclaration");function Ft(e,u){o("InterfaceTypeAnnotation",e,u)}r(Ft,"assertInterfaceTypeAnnotation"),n(Ft,"assertInterfaceTypeAnnotation");function Rt(e,u){o("IntersectionTypeAnnotation",e,u)}r(Rt,"assertIntersectionTypeAnnotation"),n(Rt,"assertIntersectionTypeAnnotation");function kt(e,u){o("MixedTypeAnnotation",e,u)}r(kt,"assertMixedTypeAnnotation"),n(kt,"assertMixedTypeAnnotation");function Kt(e,u){o("EmptyTypeAnnotation",e,u)}r(Kt,"assertEmptyTypeAnnotation"),n(Kt,"assertEmptyTypeAnnotation");function qt(e,u){o("NullableTypeAnnotation",e,u)}r(qt,"assertNullableTypeAnnotation"),n(qt,"assertNullableTypeAnnotation");function Vt(e,u){o("NumberLiteralTypeAnnotation",e,u)}r(Vt,"assertNumberLiteralTypeAnnotation"),n(Vt,"assertNumberLiteralTypeAnnotation");function Xt(e,u){o("NumberTypeAnnotation",e,u)}r(Xt,"assertNumberTypeAnnotation"),n(Xt,"assertNumberTypeAnnotation");function Yt(e,u){o("ObjectTypeAnnotation",e,u)}r(Yt,"assertObjectTypeAnnotation"),n(Yt,"assertObjectTypeAnnotation");function Jt(e,u){o("ObjectTypeInternalSlot",e,u)}r(Jt,"assertObjectTypeInternalSlot"),n(Jt,"assertObjectTypeInternalSlot");function Ut(e,u){o("ObjectTypeCallProperty",e,u)}r(Ut,"assertObjectTypeCallProperty"),n(Ut,"assertObjectTypeCallProperty");function Wt(e,u){o("ObjectTypeIndexer",e,u)}r(Wt,"assertObjectTypeIndexer"),n(Wt,"assertObjectTypeIndexer");function Gt(e,u){o("ObjectTypeProperty",e,u)}r(Gt,"assertObjectTypeProperty"),n(Gt,"assertObjectTypeProperty");function zt(e,u){o("ObjectTypeSpreadProperty",e,u)}r(zt,"assertObjectTypeSpreadProperty"),n(zt,"assertObjectTypeSpreadProperty");function Qt(e,u){o("OpaqueType",e,u)}r(Qt,"assertOpaqueType"),n(Qt,"assertOpaqueType");function $t(e,u){o("QualifiedTypeIdentifier",e,u)}r($t,"assertQualifiedTypeIdentifier"),n($t,"assertQualifiedTypeIdentifier");function Ht(e,u){o("StringLiteralTypeAnnotation",e,u)}r(Ht,"assertStringLiteralTypeAnnotation"),n(Ht,"assertStringLiteralTypeAnnotation");function Zt(e,u){o("StringTypeAnnotation",e,u)}r(Zt,"assertStringTypeAnnotation"),n(Zt,"assertStringTypeAnnotation");function er(e,u){o("SymbolTypeAnnotation",e,u)}r(er,"assertSymbolTypeAnnotation"),n(er,"assertSymbolTypeAnnotation");function tr(e,u){o("ThisTypeAnnotation",e,u)}r(tr,"assertThisTypeAnnotation"),n(tr,"assertThisTypeAnnotation");function rr(e,u){o("TupleTypeAnnotation",e,u)}r(rr,"assertTupleTypeAnnotation"),n(rr,"assertTupleTypeAnnotation");function nr(e,u){o("TypeofTypeAnnotation",e,u)}r(nr,"assertTypeofTypeAnnotation"),n(nr,"assertTypeofTypeAnnotation");function ar(e,u){o("TypeAlias",e,u)}r(ar,"assertTypeAlias"),n(ar,"assertTypeAlias");function ir(e,u){o("TypeAnnotation",e,u)}r(ir,"assertTypeAnnotation"),n(ir,"assertTypeAnnotation");function sr(e,u){o("TypeCastExpression",e,u)}r(sr,"assertTypeCastExpression"),n(sr,"assertTypeCastExpression");function or(e,u){o("TypeParameter",e,u)}r(or,"assertTypeParameter"),n(or,"assertTypeParameter");function lr(e,u){o("TypeParameterDeclaration",e,u)}r(lr,"assertTypeParameterDeclaration"),n(lr,"assertTypeParameterDeclaration");function pr(e,u){o("TypeParameterInstantiation",e,u)}r(pr,"assertTypeParameterInstantiation"),n(pr,"assertTypeParameterInstantiation");function ur(e,u){o("UnionTypeAnnotation",e,u)}r(ur,"assertUnionTypeAnnotation"),n(ur,"assertUnionTypeAnnotation");function cr(e,u){o("Variance",e,u)}r(cr,"assertVariance"),n(cr,"assertVariance");function dr(e,u){o("VoidTypeAnnotation",e,u)}r(dr,"assertVoidTypeAnnotation"),n(dr,"assertVoidTypeAnnotation");function yr(e,u){o("EnumDeclaration",e,u)}r(yr,"assertEnumDeclaration"),n(yr,"assertEnumDeclaration");function fr(e,u){o("EnumBooleanBody",e,u)}r(fr,"assertEnumBooleanBody"),n(fr,"assertEnumBooleanBody");function Tr(e,u){o("EnumNumberBody",e,u)}r(Tr,"assertEnumNumberBody"),n(Tr,"assertEnumNumberBody");function mr(e,u){o("EnumStringBody",e,u)}r(mr,"assertEnumStringBody"),n(mr,"assertEnumStringBody");function Sr(e,u){o("EnumSymbolBody",e,u)}r(Sr,"assertEnumSymbolBody"),n(Sr,"assertEnumSymbolBody");function Er(e,u){o("EnumBooleanMember",e,u)}r(Er,"assertEnumBooleanMember"),n(Er,"assertEnumBooleanMember");function br(e,u){o("EnumNumberMember",e,u)}r(br,"assertEnumNumberMember"),n(br,"assertEnumNumberMember");function vr(e,u){o("EnumStringMember",e,u)}r(vr,"assertEnumStringMember"),n(vr,"assertEnumStringMember");function Pr(e,u){o("EnumDefaultedMember",e,u)}r(Pr,"assertEnumDefaultedMember"),n(Pr,"assertEnumDefaultedMember");function Ar(e,u){o("IndexedAccessType",e,u)}r(Ar,"assertIndexedAccessType"),n(Ar,"assertIndexedAccessType");function xr(e,u){o("OptionalIndexedAccessType",e,u)}r(xr,"assertOptionalIndexedAccessType"),n(xr,"assertOptionalIndexedAccessType");function gr(e,u){o("JSXAttribute",e,u)}r(gr,"assertJSXAttribute"),n(gr,"assertJSXAttribute");function Ir(e,u){o("JSXClosingElement",e,u)}r(Ir,"assertJSXClosingElement"),n(Ir,"assertJSXClosingElement");function Or(e,u){o("JSXElement",e,u)}r(Or,"assertJSXElement"),n(Or,"assertJSXElement");function Dr(e,u){o("JSXEmptyExpression",e,u)}r(Dr,"assertJSXEmptyExpression"),n(Dr,"assertJSXEmptyExpression");function hr(e,u){o("JSXExpressionContainer",e,u)}r(hr,"assertJSXExpressionContainer"),n(hr,"assertJSXExpressionContainer");function Nr(e,u){o("JSXSpreadChild",e,u)}r(Nr,"assertJSXSpreadChild"),n(Nr,"assertJSXSpreadChild");function Lr(e,u){o("JSXIdentifier",e,u)}r(Lr,"assertJSXIdentifier"),n(Lr,"assertJSXIdentifier");function Cr(e,u){o("JSXMemberExpression",e,u)}r(Cr,"assertJSXMemberExpression"),n(Cr,"assertJSXMemberExpression");function _r(e,u){o("JSXNamespacedName",e,u)}r(_r,"assertJSXNamespacedName"),n(_r,"assertJSXNamespacedName");function Br(e,u){o("JSXOpeningElement",e,u)}r(Br,"assertJSXOpeningElement"),n(Br,"assertJSXOpeningElement");function Mr(e,u){o("JSXSpreadAttribute",e,u)}r(Mr,"assertJSXSpreadAttribute"),n(Mr,"assertJSXSpreadAttribute");function jr(e,u){o("JSXText",e,u)}r(jr,"assertJSXText"),n(jr,"assertJSXText");function wr(e,u){o("JSXFragment",e,u)}r(wr,"assertJSXFragment"),n(wr,"assertJSXFragment");function Fr(e,u){o("JSXOpeningFragment",e,u)}r(Fr,"assertJSXOpeningFragment"),n(Fr,"assertJSXOpeningFragment");function Rr(e,u){o("JSXClosingFragment",e,u)}r(Rr,"assertJSXClosingFragment"),n(Rr,"assertJSXClosingFragment");function kr(e,u){o("Noop",e,u)}r(kr,"assertNoop"),n(kr,"assertNoop");function Kr(e,u){o("Placeholder",e,u)}r(Kr,"assertPlaceholder"),n(Kr,"assertPlaceholder");function qr(e,u){o("V8IntrinsicIdentifier",e,u)}r(qr,"assertV8IntrinsicIdentifier"),n(qr,"assertV8IntrinsicIdentifier");function Vr(e,u){o("ArgumentPlaceholder",e,u)}r(Vr,"assertArgumentPlaceholder"),n(Vr,"assertArgumentPlaceholder");function Xr(e,u){o("BindExpression",e,u)}r(Xr,"assertBindExpression"),n(Xr,"assertBindExpression");function Yr(e,u){o("Decorator",e,u)}r(Yr,"assertDecorator"),n(Yr,"assertDecorator");function Jr(e,u){o("DoExpression",e,u)}r(Jr,"assertDoExpression"),n(Jr,"assertDoExpression");function Ur(e,u){o("ExportDefaultSpecifier",e,u)}r(Ur,"assertExportDefaultSpecifier"),n(Ur,"assertExportDefaultSpecifier");function Wr(e,u){o("RecordExpression",e,u)}r(Wr,"assertRecordExpression"),n(Wr,"assertRecordExpression");function Gr(e,u){o("TupleExpression",e,u)}r(Gr,"assertTupleExpression"),n(Gr,"assertTupleExpression");function zr(e,u){o("DecimalLiteral",e,u)}r(zr,"assertDecimalLiteral"),n(zr,"assertDecimalLiteral");function Qr(e,u){o("ModuleExpression",e,u)}r(Qr,"assertModuleExpression"),n(Qr,"assertModuleExpression");function $r(e,u){o("TopicReference",e,u)}r($r,"assertTopicReference"),n($r,"assertTopicReference");function Hr(e,u){o("PipelineTopicExpression",e,u)}r(Hr,"assertPipelineTopicExpression"),n(Hr,"assertPipelineTopicExpression");function Zr(e,u){o("PipelineBareFunction",e,u)}r(Zr,"assertPipelineBareFunction"),n(Zr,"assertPipelineBareFunction");function en(e,u){o("PipelinePrimaryTopicReference",e,u)}r(en,"assertPipelinePrimaryTopicReference"),n(en,"assertPipelinePrimaryTopicReference");function tn(e,u){o("VoidPattern",e,u)}r(tn,"assertVoidPattern"),n(tn,"assertVoidPattern");function rn(e,u){o("TSParameterProperty",e,u)}r(rn,"assertTSParameterProperty"),n(rn,"assertTSParameterProperty");function nn(e,u){o("TSDeclareFunction",e,u)}r(nn,"assertTSDeclareFunction"),n(nn,"assertTSDeclareFunction");function an(e,u){o("TSDeclareMethod",e,u)}r(an,"assertTSDeclareMethod"),n(an,"assertTSDeclareMethod");function sn(e,u){o("TSQualifiedName",e,u)}r(sn,"assertTSQualifiedName"),n(sn,"assertTSQualifiedName");function on(e,u){o("TSCallSignatureDeclaration",e,u)}r(on,"assertTSCallSignatureDeclaration"),n(on,"assertTSCallSignatureDeclaration");function ln(e,u){o("TSConstructSignatureDeclaration",e,u)}r(ln,"assertTSConstructSignatureDeclaration"),n(ln,"assertTSConstructSignatureDeclaration");function pn(e,u){o("TSPropertySignature",e,u)}r(pn,"assertTSPropertySignature"),n(pn,"assertTSPropertySignature");function un(e,u){o("TSMethodSignature",e,u)}r(un,"assertTSMethodSignature"),n(un,"assertTSMethodSignature");function cn(e,u){o("TSIndexSignature",e,u)}r(cn,"assertTSIndexSignature"),n(cn,"assertTSIndexSignature");function dn(e,u){o("TSAnyKeyword",e,u)}r(dn,"assertTSAnyKeyword"),n(dn,"assertTSAnyKeyword");function yn(e,u){o("TSBooleanKeyword",e,u)}r(yn,"assertTSBooleanKeyword"),n(yn,"assertTSBooleanKeyword");function fn(e,u){o("TSBigIntKeyword",e,u)}r(fn,"assertTSBigIntKeyword"),n(fn,"assertTSBigIntKeyword");function Tn(e,u){o("TSIntrinsicKeyword",e,u)}r(Tn,"assertTSIntrinsicKeyword"),n(Tn,"assertTSIntrinsicKeyword");function mn(e,u){o("TSNeverKeyword",e,u)}r(mn,"assertTSNeverKeyword"),n(mn,"assertTSNeverKeyword");function Sn(e,u){o("TSNullKeyword",e,u)}r(Sn,"assertTSNullKeyword"),n(Sn,"assertTSNullKeyword");function En(e,u){o("TSNumberKeyword",e,u)}r(En,"assertTSNumberKeyword"),n(En,"assertTSNumberKeyword");function bn(e,u){o("TSObjectKeyword",e,u)}r(bn,"assertTSObjectKeyword"),n(bn,"assertTSObjectKeyword");function vn(e,u){o("TSStringKeyword",e,u)}r(vn,"assertTSStringKeyword"),n(vn,"assertTSStringKeyword");function Pn(e,u){o("TSSymbolKeyword",e,u)}r(Pn,"assertTSSymbolKeyword"),n(Pn,"assertTSSymbolKeyword");function An(e,u){o("TSUndefinedKeyword",e,u)}r(An,"assertTSUndefinedKeyword"),n(An,"assertTSUndefinedKeyword");function xn(e,u){o("TSUnknownKeyword",e,u)}r(xn,"assertTSUnknownKeyword"),n(xn,"assertTSUnknownKeyword");function gn(e,u){o("TSVoidKeyword",e,u)}r(gn,"assertTSVoidKeyword"),n(gn,"assertTSVoidKeyword");function In(e,u){o("TSThisType",e,u)}r(In,"assertTSThisType"),n(In,"assertTSThisType");function On(e,u){o("TSFunctionType",e,u)}r(On,"assertTSFunctionType"),n(On,"assertTSFunctionType");function Dn(e,u){o("TSConstructorType",e,u)}r(Dn,"assertTSConstructorType"),n(Dn,"assertTSConstructorType");function hn(e,u){o("TSTypeReference",e,u)}r(hn,"assertTSTypeReference"),n(hn,"assertTSTypeReference");function Nn(e,u){o("TSTypePredicate",e,u)}r(Nn,"assertTSTypePredicate"),n(Nn,"assertTSTypePredicate");function Ln(e,u){o("TSTypeQuery",e,u)}r(Ln,"assertTSTypeQuery"),n(Ln,"assertTSTypeQuery");function Cn(e,u){o("TSTypeLiteral",e,u)}r(Cn,"assertTSTypeLiteral"),n(Cn,"assertTSTypeLiteral");function _n(e,u){o("TSArrayType",e,u)}r(_n,"assertTSArrayType"),n(_n,"assertTSArrayType");function Bn(e,u){o("TSTupleType",e,u)}r(Bn,"assertTSTupleType"),n(Bn,"assertTSTupleType");function Mn(e,u){o("TSOptionalType",e,u)}r(Mn,"assertTSOptionalType"),n(Mn,"assertTSOptionalType");function jn(e,u){o("TSRestType",e,u)}r(jn,"assertTSRestType"),n(jn,"assertTSRestType");function wn(e,u){o("TSNamedTupleMember",e,u)}r(wn,"assertTSNamedTupleMember"),n(wn,"assertTSNamedTupleMember");function Fn(e,u){o("TSUnionType",e,u)}r(Fn,"assertTSUnionType"),n(Fn,"assertTSUnionType");function Rn(e,u){o("TSIntersectionType",e,u)}r(Rn,"assertTSIntersectionType"),n(Rn,"assertTSIntersectionType");function kn(e,u){o("TSConditionalType",e,u)}r(kn,"assertTSConditionalType"),n(kn,"assertTSConditionalType");function Kn(e,u){o("TSInferType",e,u)}r(Kn,"assertTSInferType"),n(Kn,"assertTSInferType");function qn(e,u){o("TSParenthesizedType",e,u)}r(qn,"assertTSParenthesizedType"),n(qn,"assertTSParenthesizedType");function Vn(e,u){o("TSTypeOperator",e,u)}r(Vn,"assertTSTypeOperator"),n(Vn,"assertTSTypeOperator");function Xn(e,u){o("TSIndexedAccessType",e,u)}r(Xn,"assertTSIndexedAccessType"),n(Xn,"assertTSIndexedAccessType");function Yn(e,u){o("TSMappedType",e,u)}r(Yn,"assertTSMappedType"),n(Yn,"assertTSMappedType");function Jn(e,u){o("TSTemplateLiteralType",e,u)}r(Jn,"assertTSTemplateLiteralType"),n(Jn,"assertTSTemplateLiteralType");function Un(e,u){o("TSLiteralType",e,u)}r(Un,"assertTSLiteralType"),n(Un,"assertTSLiteralType");function Wn(e,u){o("TSExpressionWithTypeArguments",e,u)}r(Wn,"assertTSExpressionWithTypeArguments"),n(Wn,"assertTSExpressionWithTypeArguments");function Gn(e,u){o("TSInterfaceDeclaration",e,u)}r(Gn,"assertTSInterfaceDeclaration"),n(Gn,"assertTSInterfaceDeclaration");function zn(e,u){o("TSInterfaceBody",e,u)}r(zn,"assertTSInterfaceBody"),n(zn,"assertTSInterfaceBody");function Qn(e,u){o("TSTypeAliasDeclaration",e,u)}r(Qn,"assertTSTypeAliasDeclaration"),n(Qn,"assertTSTypeAliasDeclaration");function $n(e,u){o("TSInstantiationExpression",e,u)}r($n,"assertTSInstantiationExpression"),n($n,"assertTSInstantiationExpression");function Hn(e,u){o("TSAsExpression",e,u)}r(Hn,"assertTSAsExpression"),n(Hn,"assertTSAsExpression");function Zn(e,u){o("TSSatisfiesExpression",e,u)}r(Zn,"assertTSSatisfiesExpression"),n(Zn,"assertTSSatisfiesExpression");function ea(e,u){o("TSTypeAssertion",e,u)}r(ea,"assertTSTypeAssertion"),n(ea,"assertTSTypeAssertion");function ta(e,u){o("TSEnumBody",e,u)}r(ta,"assertTSEnumBody"),n(ta,"assertTSEnumBody");function ra(e,u){o("TSEnumDeclaration",e,u)}r(ra,"assertTSEnumDeclaration"),n(ra,"assertTSEnumDeclaration");function na(e,u){o("TSEnumMember",e,u)}r(na,"assertTSEnumMember"),n(na,"assertTSEnumMember");function aa(e,u){o("TSModuleDeclaration",e,u)}r(aa,"assertTSModuleDeclaration"),n(aa,"assertTSModuleDeclaration");function ia(e,u){o("TSModuleBlock",e,u)}r(ia,"assertTSModuleBlock"),n(ia,"assertTSModuleBlock");function sa(e,u){o("TSImportType",e,u)}r(sa,"assertTSImportType"),n(sa,"assertTSImportType");function oa(e,u){o("TSImportEqualsDeclaration",e,u)}r(oa,"assertTSImportEqualsDeclaration"),n(oa,"assertTSImportEqualsDeclaration");function la(e,u){o("TSExternalModuleReference",e,u)}r(la,"assertTSExternalModuleReference"),n(la,"assertTSExternalModuleReference");function pa(e,u){o("TSNonNullExpression",e,u)}r(pa,"assertTSNonNullExpression"),n(pa,"assertTSNonNullExpression");function ua(e,u){o("TSExportAssignment",e,u)}r(ua,"assertTSExportAssignment"),n(ua,"assertTSExportAssignment");function ca(e,u){o("TSNamespaceExportDeclaration",e,u)}r(ca,"assertTSNamespaceExportDeclaration"),n(ca,"assertTSNamespaceExportDeclaration");function da(e,u){o("TSTypeAnnotation",e,u)}r(da,"assertTSTypeAnnotation"),n(da,"assertTSTypeAnnotation");function ya(e,u){o("TSTypeParameterInstantiation",e,u)}r(ya,"assertTSTypeParameterInstantiation"),n(ya,"assertTSTypeParameterInstantiation");function fa(e,u){o("TSTypeParameterDeclaration",e,u)}r(fa,"assertTSTypeParameterDeclaration"),n(fa,"assertTSTypeParameterDeclaration");function Ta(e,u){o("TSTypeParameter",e,u)}r(Ta,"assertTSTypeParameter"),n(Ta,"assertTSTypeParameter");function ma(e,u){o("Standardized",e,u)}r(ma,"assertStandardized"),n(ma,"assertStandardized");function Sa(e,u){o("Expression",e,u)}r(Sa,"assertExpression"),n(Sa,"assertExpression");function Ea(e,u){o("Binary",e,u)}r(Ea,"assertBinary"),n(Ea,"assertBinary");function ba(e,u){o("Scopable",e,u)}r(ba,"assertScopable"),n(ba,"assertScopable");function va(e,u){o("BlockParent",e,u)}r(va,"assertBlockParent"),n(va,"assertBlockParent");function Pa(e,u){o("Block",e,u)}r(Pa,"assertBlock"),n(Pa,"assertBlock");function l(e,u){o("Statement",e,u)}r(l,"assertStatement"),n(l,"assertStatement");function p(e,u){o("Terminatorless",e,u)}r(p,"assertTerminatorless"),n(p,"assertTerminatorless");function c(e,u){o("CompletionStatement",e,u)}r(c,"assertCompletionStatement"),n(c,"assertCompletionStatement");function m(e,u){o("Conditional",e,u)}r(m,"assertConditional"),n(m,"assertConditional");function v(e,u){o("Loop",e,u)}r(v,"assertLoop"),n(v,"assertLoop");function O(e,u){o("While",e,u)}r(O,"assertWhile"),n(O,"assertWhile");function R(e,u){o("ExpressionWrapper",e,u)}r(R,"assertExpressionWrapper"),n(R,"assertExpressionWrapper");function z(e,u){o("For",e,u)}r(z,"assertFor"),n(z,"assertFor");function ne(e,u){o("ForXStatement",e,u)}r(ne,"assertForXStatement"),n(ne,"assertForXStatement");function ye(e,u){o("Function",e,u)}r(ye,"assertFunction"),n(ye,"assertFunction");function La(e,u){o("FunctionParent",e,u)}r(La,"assertFunctionParent"),n(La,"assertFunctionParent");function Ca(e,u){o("Pureish",e,u)}r(Ca,"assertPureish"),n(Ca,"assertPureish");function _a(e,u){o("Declaration",e,u)}r(_a,"assertDeclaration"),n(_a,"assertDeclaration");function Ba(e,u){o("FunctionParameter",e,u)}r(Ba,"assertFunctionParameter"),n(Ba,"assertFunctionParameter");function Ma(e,u){o("PatternLike",e,u)}r(Ma,"assertPatternLike"),n(Ma,"assertPatternLike");function ja(e,u){o("LVal",e,u)}r(ja,"assertLVal"),n(ja,"assertLVal");function wa(e,u){o("TSEntityName",e,u)}r(wa,"assertTSEntityName"),n(wa,"assertTSEntityName");function Fa(e,u){o("Literal",e,u)}r(Fa,"assertLiteral"),n(Fa,"assertLiteral");function Ra(e,u){o("Immutable",e,u)}r(Ra,"assertImmutable"),n(Ra,"assertImmutable");function ka(e,u){o("UserWhitespacable",e,u)}r(ka,"assertUserWhitespacable"),n(ka,"assertUserWhitespacable");function Ka(e,u){o("Method",e,u)}r(Ka,"assertMethod"),n(Ka,"assertMethod");function qa(e,u){o("ObjectMember",e,u)}r(qa,"assertObjectMember"),n(qa,"assertObjectMember");function Va(e,u){o("Property",e,u)}r(Va,"assertProperty"),n(Va,"assertProperty");function Xa(e,u){o("UnaryLike",e,u)}r(Xa,"assertUnaryLike"),n(Xa,"assertUnaryLike");function Ya(e,u){o("Pattern",e,u)}r(Ya,"assertPattern"),n(Ya,"assertPattern");function Oa(e,u){o("Class",e,u)}r(Oa,"assertClass"),n(Oa,"assertClass");function Ja(e,u){o("ImportOrExportDeclaration",e,u)}r(Ja,"assertImportOrExportDeclaration"),n(Ja,"assertImportOrExportDeclaration");function Ua(e,u){o("ExportDeclaration",e,u)}r(Ua,"assertExportDeclaration"),n(Ua,"assertExportDeclaration");function Wa(e,u){o("ModuleSpecifier",e,u)}r(Wa,"assertModuleSpecifier"),n(Wa,"assertModuleSpecifier");function Ga(e,u){o("Accessor",e,u)}r(Ga,"assertAccessor"),n(Ga,"assertAccessor");function za(e,u){o("Private",e,u)}r(za,"assertPrivate"),n(za,"assertPrivate");function Qa(e,u){o("Flow",e,u)}r(Qa,"assertFlow"),n(Qa,"assertFlow");function $a(e,u){o("FlowType",e,u)}r($a,"assertFlowType"),n($a,"assertFlowType");function Ha(e,u){o("FlowBaseAnnotation",e,u)}r(Ha,"assertFlowBaseAnnotation"),n(Ha,"assertFlowBaseAnnotation");function Za(e,u){o("FlowDeclaration",e,u)}r(Za,"assertFlowDeclaration"),n(Za,"assertFlowDeclaration");function ei(e,u){o("FlowPredicate",e,u)}r(ei,"assertFlowPredicate"),n(ei,"assertFlowPredicate");function ti(e,u){o("EnumBody",e,u)}r(ti,"assertEnumBody"),n(ti,"assertEnumBody");function ri(e,u){o("EnumMember",e,u)}r(ri,"assertEnumMember"),n(ri,"assertEnumMember");function ni(e,u){o("JSX",e,u)}r(ni,"assertJSX"),n(ni,"assertJSX");function ai(e,u){o("Miscellaneous",e,u)}r(ai,"assertMiscellaneous"),n(ai,"assertMiscellaneous");function ii(e,u){o("TypeScript",e,u)}r(ii,"assertTypeScript"),n(ii,"assertTypeScript");function si(e,u){o("TSTypeElement",e,u)}r(si,"assertTSTypeElement"),n(si,"assertTSTypeElement");function oi(e,u){o("TSType",e,u)}r(oi,"assertTSType"),n(oi,"assertTSType");function li(e,u){o("TSBaseType",e,u)}r(li,"assertTSBaseType"),n(li,"assertTSBaseType");function pi(e,u){(0,s.default)("assertNumberLiteral","assertNumericLiteral"),o("NumberLiteral",e,u)}r(pi,"assertNumberLiteral"),n(pi,"assertNumberLiteral");function ui(e,u){(0,s.default)("assertRegexLiteral","assertRegExpLiteral"),o("RegexLiteral",e,u)}r(ui,"assertRegexLiteral"),n(ui,"assertRegexLiteral");function ci(e,u){(0,s.default)("assertRestProperty","assertRestElement"),o("RestProperty",e,u)}r(ci,"assertRestProperty"),n(ci,"assertRestProperty");function di(e,u){(0,s.default)("assertSpreadProperty","assertSpreadElement"),o("SpreadProperty",e,u)}r(di,"assertSpreadProperty"),n(di,"assertSpreadProperty");function t(e,u){(0,s.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),o("ModuleDeclaration",e,u)}return r(t,"assertModuleDeclaration"),n(t,"assertModuleDeclaration"),b}r(gp,"requireGenerated$1");var Ti={},Mo;function Ip(){if(Mo)return Ti;Mo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"n");Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.default=void 0;var i=me();Ti.default=s;function s(o){switch(o){case"string":return(0,i.stringTypeAnnotation)();case"number":return(0,i.numberTypeAnnotation)();case"undefined":return(0,i.voidTypeAnnotation)();case"boolean":return(0,i.booleanTypeAnnotation)();case"function":return(0,i.genericTypeAnnotation)((0,i.identifier)("Function"));case"object":return(0,i.genericTypeAnnotation)((0,i.identifier)("Object"));case"symbol":return(0,i.genericTypeAnnotation)((0,i.identifier)("Symbol"));case"bigint":return(0,i.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+o)}return r(s,"createTypeAnnotationBasedOnTypeof$1"),n(s,"createTypeAnnotationBasedOnTypeof"),Ti}r(Ip,"requireCreateTypeAnnotationBasedOnTypeof");var Fi={},Ri={},jo;function ql(){if(jo)return Ri;jo=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"p");Object.defineProperty(Ri,"__esModule",{value:!0}),Ri.default=o;var i=ie();function s(a){return(0,i.isIdentifier)(a)?a.name:`${a.id.name}.${s(a.qualification)}`}r(s,"getQualifiedName"),n(s,"getQualifiedName");function o(a){const d=Array.from(a),f=new Map,x=new Map,P=new Set,g=[];for(let I=0;I<d.length;I++){const A=d[I];if(A&&!g.includes(A)){if((0,i.isAnyTypeAnnotation)(A))return[A];if((0,i.isFlowBaseAnnotation)(A)){x.set(A.type,A);continue}if((0,i.isUnionTypeAnnotation)(A)){P.has(A.types)||(d.push(...A.types),P.add(A.types));continue}if((0,i.isGenericTypeAnnotation)(A)){const D=s(A.id);if(f.has(D)){let C=f.get(D);C.typeParameters?A.typeParameters&&(C.typeParameters.params.push(...A.typeParameters.params),C.typeParameters.params=o(C.typeParameters.params)):C=A.typeParameters}else f.set(D,A);continue}g.push(A)}}for(const[,I]of x)g.push(I);for(const[,I]of f)g.push(I);return g}return r(o,"removeTypeDuplicates"),n(o,"removeTypeDuplicates"),Ri}r(ql,"requireRemoveTypeDuplicates$1");var wo;function Op(){if(wo)return Fi;wo=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=o;var i=me(),s=ql();function o(a){const d=(0,s.default)(a);return d.length===1?d[0]:(0,i.unionTypeAnnotation)(d)}return r(o,"createFlowUnionType$1"),n(o,"createFlowUnionType"),Fi}r(Op,"requireCreateFlowUnionType");var ki={},Ki={},Fo;function Dp(){if(Fo)return Ki;Fo=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"u");Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.default=o;var i=ie();function s(a){return(0,i.isIdentifier)(a)?a.name:(0,i.isThisExpression)(a)?"this":`${a.right.name}.${s(a.left)}`}r(s,"getQualifiedName"),n(s,"getQualifiedName");function o(a){const d=Array.from(a),f=new Map,x=new Map,P=new Set,g=[];for(let I=0;I<d.length;I++){const A=d[I];if(!A||g.includes(A))continue;if((0,i.isTSAnyKeyword)(A))return[A];if((0,i.isTSBaseType)(A)){x.set(A.type,A);continue}if((0,i.isTSUnionType)(A)){P.has(A.types)||(d.push(...A.types),P.add(A.types));continue}const D="typeParameters";if((0,i.isTSTypeReference)(A)&&A[D]){const C=A[D],h=s(A.typeName);if(f.has(h)){let K=f.get(h);const N=K[D];N?(N.params.push(...C.params),N.params=o(N.params)):K=C}else f.set(h,A);continue}g.push(A)}for(const[,I]of x)g.push(I);for(const[,I]of f)g.push(I);return g}return r(o,"removeTypeDuplicates$1"),n(o,"removeTypeDuplicates"),Ki}r(Dp,"requireRemoveTypeDuplicates");var Ro;function hp(){if(Ro)return ki;Ro=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"i");Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=a;var i=me(),s=Dp(),o=ie();function a(d){const f=d.map(P=>(0,o.isTSTypeAnnotation)(P)?P.typeAnnotation:P),x=(0,s.default)(f);return x.length===1?x[0]:(0,i.tsUnionType)(x)}return r(a,"createTSUnionType$1"),n(a,"createTSUnionType"),ki}r(hp,"requireCreateTSUnionType");var qi={},ko;function Vl(){if(ko)return qi;ko=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"e");Object.defineProperty(qi,"__esModule",{value:!0}),qi.buildUndefinedNode=s;var i=me();function s(){return(0,i.unaryExpression)("void",(0,i.numericLiteral)(0),!0)}return r(s,"buildUndefinedNode"),n(s,"buildUndefinedNode"),qi}r(Vl,"requireProductions");var Vi={},Ko;function Ia(){if(Ko)return Vi;Ko=1;var T=Object.defineProperty,n=r((g,I)=>T(g,"name",{value:I,configurable:!0}),"s");Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.default=f;var i=Ee(),s=ie();const{hasOwn:o}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function a(g,I,A,D){return g&&typeof g.type=="string"?x(g,I,A,D):g}r(a,"cloneIfNode"),n(a,"cloneIfNode");function d(g,I,A,D){return Array.isArray(g)?g.map(C=>a(C,I,A,D)):a(g,I,A,D)}r(d,"cloneIfNodeOrArray"),n(d,"cloneIfNodeOrArray");function f(g,I=!0,A=!1){return x(g,I,A,new Map)}r(f,"cloneNode$1"),n(f,"cloneNode");function x(g,I=!0,A=!1,D){if(!g)return g;const{type:C}=g,h={type:g.type};if((0,s.isIdentifier)(g))h.name=g.name,o(g,"optional")&&typeof g.optional=="boolean"&&(h.optional=g.optional),o(g,"typeAnnotation")&&(h.typeAnnotation=I?d(g.typeAnnotation,!0,A,D):g.typeAnnotation),o(g,"decorators")&&(h.decorators=I?d(g.decorators,!0,A,D):g.decorators);else if(o(i.NODE_FIELDS,C))for(const K of Object.keys(i.NODE_FIELDS[C]))o(g,K)&&(I?h[K]=(0,s.isFile)(g)&&K==="comments"?P(g.comments,I,A,D):d(g[K],!0,A,D):h[K]=g[K]);else throw new Error(`Unknown node type: "${C}"`);return o(g,"loc")&&(A?h.loc=null:h.loc=g.loc),o(g,"leadingComments")&&(h.leadingComments=P(g.leadingComments,I,A,D)),o(g,"innerComments")&&(h.innerComments=P(g.innerComments,I,A,D)),o(g,"trailingComments")&&(h.trailingComments=P(g.trailingComments,I,A,D)),o(g,"extra")&&(h.extra=Object.assign({},g.extra)),h}r(x,"cloneNodeInternal"),n(x,"cloneNodeInternal");function P(g,I,A,D){return!g||!I?g:g.map(C=>{const h=D.get(C);if(h)return h;const{type:K,value:N,loc:M}=C,_={type:K,value:N,loc:M};return A&&(_.loc=null),D.set(C,_),_})}return r(P,"maybeCloneComments"),n(P,"maybeCloneComments"),Vi}r(Ia,"requireCloneNode");var Xi={},qo;function Np(){if(qo)return Xi;qo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"r");Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.default=s;var i=Ia();function s(o){return(0,i.default)(o,!1)}return r(s,"clone$1"),n(s,"clone"),Xi}r(Np,"requireClone");var Yi={},Vo;function Lp(){if(Vo)return Yi;Vo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"r");Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.default=s;var i=Ia();function s(o){return(0,i.default)(o)}return r(s,"cloneDeep$1"),n(s,"cloneDeep"),Yi}r(Lp,"requireCloneDeep");var Ji={},Xo;function Cp(){if(Xo)return Ji;Xo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.default=s;var i=Ia();function s(o){return(0,i.default)(o,!0,!0)}return r(s,"cloneDeepWithoutLoc$1"),n(s,"cloneDeepWithoutLoc"),Ji}r(Cp,"requireCloneDeepWithoutLoc");var Ui={},Yo;function _p(){if(Yo)return Ui;Yo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.default=s;var i=Ia();function s(o){return(0,i.default)(o,!1,!0)}return r(s,"cloneWithoutLoc$1"),n(s,"cloneWithoutLoc"),Ui}r(_p,"requireCloneWithoutLoc");var Wi={},Gi={},Jo;function Xl(){if(Jo)return Gi;Jo=1;var T=Object.defineProperty,n=r((s,o)=>T(s,"name",{value:o,configurable:!0}),"s");Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.default=i;function i(s,o,a){if(!a||!s)return s;const d=`${o}Comments`;return s[d]?o==="leading"?s[d]=a.concat(s[d]):s[d].push(...a):s[d]=a,s}return r(i,"addComments$1"),n(i,"addComments"),Gi}r(Xl,"requireAddComments");var Uo;function Bp(){if(Uo)return Wi;Uo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"o");Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.default=s;var i=Xl();function s(o,a,d,f){return(0,i.default)(o,a,[{type:f?"CommentLine":"CommentBlock",value:d}])}return r(s,"addComment$1"),n(s,"addComment"),Wi}r(Bp,"requireAddComment");var zi={},Qi={},Wo;function qs(){if(Wo)return Qi;Wo=1;var T=Object.defineProperty,n=r((s,o)=>T(s,"name",{value:o,configurable:!0}),"o");Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.default=i;function i(s,o,a){o&&a&&(o[s]=Array.from(new Set([].concat(o[s],a[s]).filter(Boolean))))}return r(i,"inherit$1"),n(i,"inherit"),Qi}r(qs,"requireInherit");var Go;function Yl(){if(Go)return zi;Go=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"r");Object.defineProperty(zi,"__esModule",{value:!0}),zi.default=s;var i=qs();function s(o,a){(0,i.default)("innerComments",o,a)}return r(s,"inheritInnerComments$1"),n(s,"inheritInnerComments"),zi}r(Yl,"requireInheritInnerComments");var $i={},zo;function Jl(){if(zo)return $i;zo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"i");Object.defineProperty($i,"__esModule",{value:!0}),$i.default=s;var i=qs();function s(o,a){(0,i.default)("leadingComments",o,a)}return r(s,"inheritLeadingComments$1"),n(s,"inheritLeadingComments"),$i}r(Jl,"requireInheritLeadingComments");var Hi={},Zi={},Qo;function Ul(){if(Qo)return Zi;Qo=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"i");Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.default=s;var i=qs();function s(o,a){(0,i.default)("trailingComments",o,a)}return r(s,"inheritTrailingComments$1"),n(s,"inheritTrailingComments"),Zi}r(Ul,"requireInheritTrailingComments");var $o;function Wl(){if($o)return Hi;$o=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"t");Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.default=a;var i=Ul(),s=Jl(),o=Yl();function a(d,f){return(0,i.default)(d,f),(0,s.default)(d,f),(0,o.default)(d,f),d}return r(a,"inheritsComments$1"),n(a,"inheritsComments"),Hi}r(Wl,"requireInheritsComments");var es={},Ho;function Mp(){if(Ho)return es;Ho=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(es,"__esModule",{value:!0}),es.default=s;var i=xi();function s(o){return i.COMMENT_KEYS.forEach(a=>{o[a]=null}),o}return r(s,"removeComments$1"),n(s,"removeComments"),es}r(Mp,"requireRemoveComments");var L={},Zo;function jp(){if(Zo)return L;Zo=1,Object.defineProperty(L,"__esModule",{value:!0}),L.WHILE_TYPES=L.USERWHITESPACABLE_TYPES=L.UNARYLIKE_TYPES=L.TYPESCRIPT_TYPES=L.TSTYPE_TYPES=L.TSTYPEELEMENT_TYPES=L.TSENTITYNAME_TYPES=L.TSBASETYPE_TYPES=L.TERMINATORLESS_TYPES=L.STATEMENT_TYPES=L.STANDARDIZED_TYPES=L.SCOPABLE_TYPES=L.PUREISH_TYPES=L.PROPERTY_TYPES=L.PRIVATE_TYPES=L.PATTERN_TYPES=L.PATTERNLIKE_TYPES=L.OBJECTMEMBER_TYPES=L.MODULESPECIFIER_TYPES=L.MODULEDECLARATION_TYPES=L.MISCELLANEOUS_TYPES=L.METHOD_TYPES=L.LVAL_TYPES=L.LOOP_TYPES=L.LITERAL_TYPES=L.JSX_TYPES=L.IMPORTOREXPORTDECLARATION_TYPES=L.IMMUTABLE_TYPES=L.FUNCTION_TYPES=L.FUNCTIONPARENT_TYPES=L.FUNCTIONPARAMETER_TYPES=L.FOR_TYPES=L.FORXSTATEMENT_TYPES=L.FLOW_TYPES=L.FLOWTYPE_TYPES=L.FLOWPREDICATE_TYPES=L.FLOWDECLARATION_TYPES=L.FLOWBASEANNOTATION_TYPES=L.EXPRESSION_TYPES=L.EXPRESSIONWRAPPER_TYPES=L.EXPORTDECLARATION_TYPES=L.ENUMMEMBER_TYPES=L.ENUMBODY_TYPES=L.DECLARATION_TYPES=L.CONDITIONAL_TYPES=L.COMPLETIONSTATEMENT_TYPES=L.CLASS_TYPES=L.BLOCK_TYPES=L.BLOCKPARENT_TYPES=L.BINARY_TYPES=L.ACCESSOR_TYPES=void 0;var T=Ee();L.STANDARDIZED_TYPES=T.FLIPPED_ALIAS_KEYS.Standardized,L.EXPRESSION_TYPES=T.FLIPPED_ALIAS_KEYS.Expression,L.BINARY_TYPES=T.FLIPPED_ALIAS_KEYS.Binary,L.SCOPABLE_TYPES=T.FLIPPED_ALIAS_KEYS.Scopable,L.BLOCKPARENT_TYPES=T.FLIPPED_ALIAS_KEYS.BlockParent,L.BLOCK_TYPES=T.FLIPPED_ALIAS_KEYS.Block,L.STATEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.Statement,L.TERMINATORLESS_TYPES=T.FLIPPED_ALIAS_KEYS.Terminatorless,L.COMPLETIONSTATEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.CompletionStatement,L.CONDITIONAL_TYPES=T.FLIPPED_ALIAS_KEYS.Conditional,L.LOOP_TYPES=T.FLIPPED_ALIAS_KEYS.Loop,L.WHILE_TYPES=T.FLIPPED_ALIAS_KEYS.While,L.EXPRESSIONWRAPPER_TYPES=T.FLIPPED_ALIAS_KEYS.ExpressionWrapper,L.FOR_TYPES=T.FLIPPED_ALIAS_KEYS.For,L.FORXSTATEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.ForXStatement,L.FUNCTION_TYPES=T.FLIPPED_ALIAS_KEYS.Function,L.FUNCTIONPARENT_TYPES=T.FLIPPED_ALIAS_KEYS.FunctionParent,L.PUREISH_TYPES=T.FLIPPED_ALIAS_KEYS.Pureish,L.DECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.Declaration,L.FUNCTIONPARAMETER_TYPES=T.FLIPPED_ALIAS_KEYS.FunctionParameter,L.PATTERNLIKE_TYPES=T.FLIPPED_ALIAS_KEYS.PatternLike,L.LVAL_TYPES=T.FLIPPED_ALIAS_KEYS.LVal,L.TSENTITYNAME_TYPES=T.FLIPPED_ALIAS_KEYS.TSEntityName,L.LITERAL_TYPES=T.FLIPPED_ALIAS_KEYS.Literal,L.IMMUTABLE_TYPES=T.FLIPPED_ALIAS_KEYS.Immutable,L.USERWHITESPACABLE_TYPES=T.FLIPPED_ALIAS_KEYS.UserWhitespacable,L.METHOD_TYPES=T.FLIPPED_ALIAS_KEYS.Method,L.OBJECTMEMBER_TYPES=T.FLIPPED_ALIAS_KEYS.ObjectMember,L.PROPERTY_TYPES=T.FLIPPED_ALIAS_KEYS.Property,L.UNARYLIKE_TYPES=T.FLIPPED_ALIAS_KEYS.UnaryLike,L.PATTERN_TYPES=T.FLIPPED_ALIAS_KEYS.Pattern,L.CLASS_TYPES=T.FLIPPED_ALIAS_KEYS.Class;const n=L.IMPORTOREXPORTDECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;return L.EXPORTDECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.ExportDeclaration,L.MODULESPECIFIER_TYPES=T.FLIPPED_ALIAS_KEYS.ModuleSpecifier,L.ACCESSOR_TYPES=T.FLIPPED_ALIAS_KEYS.Accessor,L.PRIVATE_TYPES=T.FLIPPED_ALIAS_KEYS.Private,L.FLOW_TYPES=T.FLIPPED_ALIAS_KEYS.Flow,L.FLOWTYPE_TYPES=T.FLIPPED_ALIAS_KEYS.FlowType,L.FLOWBASEANNOTATION_TYPES=T.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,L.FLOWDECLARATION_TYPES=T.FLIPPED_ALIAS_KEYS.FlowDeclaration,L.FLOWPREDICATE_TYPES=T.FLIPPED_ALIAS_KEYS.FlowPredicate,L.ENUMBODY_TYPES=T.FLIPPED_ALIAS_KEYS.EnumBody,L.ENUMMEMBER_TYPES=T.FLIPPED_ALIAS_KEYS.EnumMember,L.JSX_TYPES=T.FLIPPED_ALIAS_KEYS.JSX,L.MISCELLANEOUS_TYPES=T.FLIPPED_ALIAS_KEYS.Miscellaneous,L.TYPESCRIPT_TYPES=T.FLIPPED_ALIAS_KEYS.TypeScript,L.TSTYPEELEMENT_TYPES=T.FLIPPED_ALIAS_KEYS.TSTypeElement,L.TSTYPE_TYPES=T.FLIPPED_ALIAS_KEYS.TSType,L.TSBASETYPE_TYPES=T.FLIPPED_ALIAS_KEYS.TSBaseType,L.MODULEDECLARATION_TYPES=n,L}r(jp,"requireGenerated");var ts={},rs={},el;function Gl(){if(el)return rs;el=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"i");Object.defineProperty(rs,"__esModule",{value:!0}),rs.default=o;var i=ie(),s=me();function o(a,d){if((0,i.isBlockStatement)(a))return a;let f=[];return(0,i.isEmptyStatement)(a)?f=[]:((0,i.isStatement)(a)||((0,i.isFunction)(d)?a=(0,s.returnStatement)(a):a=(0,s.expressionStatement)(a)),f=[a]),(0,s.blockStatement)(f)}return r(o,"toBlock$1"),n(o,"toBlock"),rs}r(Gl,"requireToBlock");var tl;function wp(){if(tl)return ts;tl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"u");Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=s;var i=Gl();function s(o,a="body"){const d=(0,i.default)(o[a],o);return o[a]=d,d}return r(s,"ensureBlock$1"),n(s,"ensureBlock"),ts}r(wp,"requireEnsureBlock");var ns={},as={},rl;function zl(){if(rl)return as;rl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"a");Object.defineProperty(as,"__esModule",{value:!0}),as.default=o;var i=Ai(),s=ks();function o(a){a=a+"";let d="";for(const f of a)d+=(0,s.isIdentifierChar)(f.codePointAt(0))?f:"-";return d=d.replace(/^[-0-9]+/,""),d=d.replace(/[-\s]+(.)?/g,function(f,x){return x?x.toUpperCase():""}),(0,i.default)(d)||(d=`_${d}`),d||"_"}return r(o,"toIdentifier$1"),n(o,"toIdentifier"),as}r(zl,"requireToIdentifier");var nl;function Fp(){if(nl)return ns;nl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(ns,"__esModule",{value:!0}),ns.default=s;var i=zl();function s(o){return o=(0,i.default)(o),(o==="eval"||o==="arguments")&&(o="_"+o),o}return r(s,"toBindingIdentifierName$1"),n(s,"toBindingIdentifierName"),ns}r(Fp,"requireToBindingIdentifierName");var is={},al;function Rp(){if(al)return is;al=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"t");Object.defineProperty(is,"__esModule",{value:!0}),is.default=o;var i=ie(),s=me();function o(a,d=a.key||a.property){return!a.computed&&(0,i.isIdentifier)(d)&&(d=(0,s.stringLiteral)(d.name)),d}return r(o,"toComputedKey$1"),n(o,"toComputedKey"),is}r(Rp,"requireToComputedKey");var mi={},il;function kp(){if(il)return mi;il=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"e");Object.defineProperty(mi,"__esModule",{value:!0}),mi.default=void 0;var i=ie();mi.default=s;function s(o){if((0,i.isExpressionStatement)(o)&&(o=o.expression),(0,i.isExpression)(o))return o;if((0,i.isClass)(o)?(o.type="ClassExpression",o.abstract=!1):(0,i.isFunction)(o)&&(o.type="FunctionExpression"),!(0,i.isExpression)(o))throw new Error(`cannot turn ${o.type} to an expression`);return o}return r(s,"toExpression$1"),n(s,"toExpression"),mi}r(kp,"requireToExpression");var ss={},os={},ls={},sl;function Ql(){if(sl)return ls;sl=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"f");Object.defineProperty(ls,"__esModule",{value:!0}),ls.default=a;var i=Ee();const s=Symbol(),o=Symbol();function a(d,f,x){if(!d)return!1;const P=i.VISITOR_KEYS[d.type];if(!P)return!1;x=x||{};const g=f(d,x);if(g!==void 0)switch(g){case s:return!1;case o:return!0}for(const I of P){const A=d[I];if(A){if(Array.isArray(A)){for(const D of A)if(a(D,f,x))return!0}else if(a(A,f,x))return!0}}return!1}return r(a,"traverseFast$1"),n(a,"traverseFast"),a.skip=s,a.stop=o,ls}r(Ql,"requireTraverseFast");var ps={},ol;function $l(){if(ol)return ps;ol=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"r");Object.defineProperty(ps,"__esModule",{value:!0}),ps.default=a;var i=xi();const s=["tokens","start","end","loc","raw","rawValue"],o=[...i.COMMENT_KEYS,"comments",...s];function a(d,f={}){const x=f.preserveComments?s:o;for(const g of x)d[g]!=null&&(d[g]=void 0);for(const g of Object.keys(d))g.startsWith("_")&&d[g]!=null&&(d[g]=void 0);const P=Object.getOwnPropertySymbols(d);for(const g of P)d[g]=null}return r(a,"removeProperties$1"),n(a,"removeProperties"),ps}r($l,"requireRemoveProperties");var ll;function Hl(){if(ll)return os;ll=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"t");Object.defineProperty(os,"__esModule",{value:!0}),os.default=o;var i=Ql(),s=$l();function o(a,d){return(0,i.default)(a,s.default,d),a}return r(o,"removePropertiesDeep$1"),n(o,"removePropertiesDeep"),os}r(Hl,"requireRemovePropertiesDeep");var pl;function Kp(){if(pl)return ss;pl=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"t");Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=a;var i=ie(),s=Ia(),o=Hl();function a(d,f=d.key){let x;return d.kind==="method"?a.increment()+"":((0,i.isIdentifier)(f)?x=f.name:(0,i.isStringLiteral)(f)?x=JSON.stringify(f.value):x=JSON.stringify((0,o.default)((0,s.default)(f))),d.computed&&(x=`[${x}]`),d.static&&(x=`static:${x}`),x)}return r(a,"toKeyAlias$1"),n(a,"toKeyAlias"),a.uid=0,a.increment=function(){return a.uid>=Number.MAX_SAFE_INTEGER?a.uid=0:a.uid++},ss}r(Kp,"requireToKeyAlias");var Si={},ul;function qp(){if(ul)return Si;ul=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"i");Object.defineProperty(Si,"__esModule",{value:!0}),Si.default=void 0;var i=ie(),s=me();Si.default=o;function o(a,d){if((0,i.isStatement)(a))return a;let f=!1,x;if((0,i.isClass)(a))f=!0,x="ClassDeclaration";else if((0,i.isFunction)(a))f=!0,x="FunctionDeclaration";else if((0,i.isAssignmentExpression)(a))return(0,s.expressionStatement)(a);if(f&&!a.id&&(x=!1),!x){if(d)return!1;throw new Error(`cannot turn ${a.type} to a statement`)}return a.type=x,a}return r(o,"toStatement$1"),n(o,"toStatement"),Si}r(qp,"requireToStatement");var Ei={},cl;function Vp(){if(cl)return Ei;cl=1;var T=Object.defineProperty,n=r((x,P)=>T(x,"name",{value:P,configurable:!0}),"n");Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.default=void 0;var i=Ai(),s=me();Ei.default=f;const o=Function.call.bind(Object.prototype.toString);function a(x){return o(x)==="[object RegExp]"}r(a,"isRegExp"),n(a,"isRegExp");function d(x){if(typeof x!="object"||x===null||Object.prototype.toString.call(x)!=="[object Object]")return!1;const P=Object.getPrototypeOf(x);return P===null||Object.getPrototypeOf(P)===null}r(d,"isPlainObject"),n(d,"isPlainObject");function f(x){if(x===void 0)return(0,s.identifier)("undefined");if(x===!0||x===!1)return(0,s.booleanLiteral)(x);if(x===null)return(0,s.nullLiteral)();if(typeof x=="string")return(0,s.stringLiteral)(x);if(typeof x=="number"){let P;if(Number.isFinite(x))P=(0,s.numericLiteral)(Math.abs(x));else{let g;Number.isNaN(x)?g=(0,s.numericLiteral)(0):g=(0,s.numericLiteral)(1),P=(0,s.binaryExpression)("/",g,(0,s.numericLiteral)(0))}return(x<0||Object.is(x,-0))&&(P=(0,s.unaryExpression)("-",P)),P}if(typeof x=="bigint")return x<0?(0,s.unaryExpression)("-",(0,s.bigIntLiteral)(-x)):(0,s.bigIntLiteral)(x);if(a(x)){const P=x.source,g=/\/([a-z]*)$/.exec(x.toString())[1];return(0,s.regExpLiteral)(P,g)}if(Array.isArray(x))return(0,s.arrayExpression)(x.map(f));if(d(x)){const P=[];for(const g of Object.keys(x)){let I,A=!1;(0,i.default)(g)?g==="__proto__"?(A=!0,I=(0,s.stringLiteral)(g)):I=(0,s.identifier)(g):I=(0,s.stringLiteral)(g),P.push((0,s.objectProperty)(I,f(x[g]),A))}return(0,s.objectExpression)(P)}throw new Error("don't know how to turn this value into a node")}return r(f,"valueToNode$1"),n(f,"valueToNode"),Ei}r(Vp,"requireValueToNode");var us={},dl;function Xp(){if(dl)return us;dl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"r");Object.defineProperty(us,"__esModule",{value:!0}),us.default=s;var i=me();function s(o,a,d=!1){return o.object=(0,i.memberExpression)(o.object,o.property,o.computed),o.property=a,o.computed=!!d,o}return r(s,"appendToMemberExpression$1"),n(s,"appendToMemberExpression"),us}r(Xp,"requireAppendToMemberExpression");var cs={},yl;function Yp(){if(yl)return cs;yl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"s");Object.defineProperty(cs,"__esModule",{value:!0}),cs.default=o;var i=xi(),s=Wl();function o(a,d){if(!a||!d)return a;for(const f of i.INHERIT_KEYS.optional)a[f]==null&&(a[f]=d[f]);for(const f of Object.keys(d))f.startsWith("_")&&f!=="__clone"&&(a[f]=d[f]);for(const f of i.INHERIT_KEYS.force)a[f]=d[f];return(0,s.default)(a,d),a}return r(o,"inherits$1"),n(o,"inherits"),cs}r(Yp,"requireInherits");var ds={},fl;function Jp(){if(fl)return ds;fl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"o");Object.defineProperty(ds,"__esModule",{value:!0}),ds.default=o;var i=me(),s=Vs();function o(a,d){if((0,s.isSuper)(a.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return a.object=(0,i.memberExpression)(d,a.object),a}return r(o,"prependToMemberExpression$1"),n(o,"prependToMemberExpression"),ds}r(Jp,"requirePrependToMemberExpression");var ys={},Tl;function Up(){if(Tl)return ys;Tl=1;var T=Object.defineProperty,n=r((s,o)=>T(s,"name",{value:o,configurable:!0}),"a");Object.defineProperty(ys,"__esModule",{value:!0}),ys.default=i;function i(s){const o=[].concat(s),a=Object.create(null);for(;o.length;){const d=o.pop();if(d)switch(d.type){case"ArrayPattern":o.push(...d.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":o.push(d.left);break;case"ObjectPattern":o.push(...d.properties);break;case"ObjectProperty":o.push(d.value);break;case"RestElement":case"UpdateExpression":o.push(d.argument);break;case"UnaryExpression":d.operator==="delete"&&o.push(d.argument);break;case"Identifier":a[d.name]=d;break}}return a}return r(i,"getAssignmentIdentifiers$1"),n(i,"getAssignmentIdentifiers"),ys}r(Up,"requireGetAssignmentIdentifiers");var fs={},ml;function Cs(){if(ml)return fs;ml=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"c");Object.defineProperty(fs,"__esModule",{value:!0}),fs.default=s;var i=ie();function s(a,d,f,x){const P=[].concat(a),g=Object.create(null);for(;P.length;){const I=P.shift();if(!I||x&&((0,i.isAssignmentExpression)(I)||(0,i.isUnaryExpression)(I)||(0,i.isUpdateExpression)(I)))continue;if((0,i.isIdentifier)(I)){d?(g[I.name]=g[I.name]||[]).push(I):g[I.name]=I;continue}if((0,i.isExportDeclaration)(I)&&!(0,i.isExportAllDeclaration)(I)){(0,i.isDeclaration)(I.declaration)&&P.push(I.declaration);continue}if(f){if((0,i.isFunctionDeclaration)(I)){P.push(I.id);continue}if((0,i.isFunctionExpression)(I))continue}const A=s.keys[I.type];if(A)for(let D=0;D<A.length;D++){const C=A[D],h=I[C];h&&(Array.isArray(h)?P.push(...h):P.push(h))}}return g}r(s,"getBindingIdentifiers$1"),n(s,"getBindingIdentifiers");const o={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};return s.keys=o,fs}r(Cs,"requireGetBindingIdentifiers");var bi={},Sl;function Wp(){if(Sl)return bi;Sl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"r");Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=void 0;var i=Cs();bi.default=s;function s(o,a){return(0,i.default)(o,a,!0)}return r(s,"getOuterBindingIdentifiers$1"),n(s,"getOuterBindingIdentifiers"),bi}r(Wp,"requireGetOuterBindingIdentifiers");var Ts={},El;function Gp(){if(El)return Ts;El=1;var T=Object.defineProperty,n=r((d,f)=>T(d,"name",{value:f,configurable:!0}),"r");Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.default=a;var i=ie();function s(d){return(0,i.isNullLiteral)(d)?"null":(0,i.isRegExpLiteral)(d)?`/${d.pattern}/${d.flags}`:(0,i.isTemplateLiteral)(d)?d.quasis.map(f=>f.value.raw).join(""):d.value!==void 0?String(d.value):null}r(s,"getNameFromLiteralId"),n(s,"getNameFromLiteralId");function o(d){if(!d.computed||(0,i.isLiteral)(d.key))return d.key}r(o,"getObjectMemberKey"),n(o,"getObjectMemberKey");function a(d,f){if("id"in d&&d.id)return{name:d.id.name,originalNode:d.id};let x="",P;if((0,i.isObjectProperty)(f,{value:d})?P=o(f):(0,i.isObjectMethod)(d)||(0,i.isClassMethod)(d)?(P=o(d),d.kind==="get"?x="get ":d.kind==="set"&&(x="set ")):(0,i.isVariableDeclarator)(f,{init:d})?P=f.id:(0,i.isAssignmentExpression)(f,{operator:"=",right:d})&&(P=f.left),!P)return null;const g=(0,i.isLiteral)(P)?s(P):(0,i.isIdentifier)(P)?P.name:(0,i.isPrivateName)(P)?P.id.name:null;return g==null?null:{name:x+g,originalNode:P}}return r(a,"getFunctionName$1"),n(a,"getFunctionName"),Ts}r(Gp,"requireGetFunctionName");var ms={},bl;function zp(){if(bl)return ms;bl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"y");Object.defineProperty(ms,"__esModule",{value:!0}),ms.default=s;var i=Ee();function s(a,d,f){typeof d=="function"&&(d={enter:d});const{enter:x,exit:P}=d;o(a,x,P,f,[])}r(s,"traverse$1"),n(s,"traverse");function o(a,d,f,x,P){const g=i.VISITOR_KEYS[a.type];if(g){d&&d(a,P,x);for(const I of g){const A=a[I];if(Array.isArray(A))for(let D=0;D<A.length;D++){const C=A[D];C&&(P.push({node:a,key:I,index:D}),o(C,d,f,x,P),P.pop())}else A&&(P.push({node:a,key:I}),o(A,d,f,x,P),P.pop())}f&&f(a,P,x)}}return r(o,"traverseSimpleImpl"),n(o,"traverseSimpleImpl"),ms}r(zp,"requireTraverse");var Ss={},vl;function Qp(){if(vl)return Ss;vl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"f");Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.default=s;var i=Cs();function s(o,a,d){if(d&&o.type==="Identifier"&&a.type==="ObjectProperty"&&d.type==="ObjectExpression")return!1;const f=i.default.keys[a.type];if(f)for(let x=0;x<f.length;x++){const P=f[x],g=a[P];if(Array.isArray(g)){if(g.includes(o))return!0}else if(g===o)return!0}return!1}return r(s,"isBinding$1"),n(s,"isBinding"),Ss}r(Qp,"requireIsBinding");var Es={},bs={},Pl;function Zl(){if(Pl)return bs;Pl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(bs,"__esModule",{value:!0}),bs.default=o;var i=ie(),s=Symbol.for("var used to be block scoped");function o(a){return(0,i.isVariableDeclaration)(a)&&(a.kind!=="var"||a[s])}return r(o,"isLet$1"),n(o,"isLet"),bs}r(Zl,"requireIsLet");var Al;function $p(){if(Al)return Es;Al=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(Es,"__esModule",{value:!0}),Es.default=o;var i=ie(),s=Zl();function o(a){return(0,i.isFunctionDeclaration)(a)||(0,i.isClassDeclaration)(a)||(0,s.default)(a)}return r(o,"isBlockScoped$1"),n(o,"isBlockScoped"),Es}r($p,"requireIsBlockScoped");var vs={},xl;function Hp(){if(xl)return vs;xl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(vs,"__esModule",{value:!0}),vs.default=o;var i=Rs(),s=ie();function o(a){return(0,i.default)(a.type,"Immutable")?!0:(0,s.isIdentifier)(a)?a.name==="undefined":!1}return r(o,"isImmutable$1"),n(o,"isImmutable"),vs}r(Hp,"requireIsImmutable");var Ps={},gl;function Zp(){if(gl)return Ps;gl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"s");Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.default=s;var i=Ee();function s(o,a){if(typeof o!="object"||typeof a!="object"||o==null||a==null)return o===a;if(o.type!==a.type)return!1;const d=Object.keys(i.NODE_FIELDS[o.type]||o.type),f=i.VISITOR_KEYS[o.type];for(const x of d){const P=o[x],g=a[x];if(typeof P!=typeof g)return!1;if(!(P==null&&g==null)){if(P==null||g==null)return!1;if(Array.isArray(P)){if(!Array.isArray(g)||P.length!==g.length)return!1;for(let I=0;I<P.length;I++)if(!s(P[I],g[I]))return!1;continue}if(typeof P=="object"&&!(f!=null&&f.includes(x))){for(const I of Object.keys(P))if(P[I]!==g[I])return!1;continue}if(!s(P,g))return!1}}return!0}return r(s,"isNodesEquivalent$1"),n(s,"isNodesEquivalent"),Ps}r(Zp,"requireIsNodesEquivalent");var As={},Il;function eu(){if(Il)return As;Il=1;var T=Object.defineProperty,n=r((s,o)=>T(s,"name",{value:o,configurable:!0}),"t");Object.defineProperty(As,"__esModule",{value:!0}),As.default=i;function i(s,o,a){switch(o.type){case"MemberExpression":case"OptionalMemberExpression":return o.property===s?!!o.computed:o.object===s;case"JSXMemberExpression":return o.object===s;case"VariableDeclarator":return o.init===s;case"ArrowFunctionExpression":return o.body===s;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return o.key===s?!!o.computed:!1;case"ObjectProperty":return o.key===s?!!o.computed:a?.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return o.key===s?!!o.computed:!0;case"ClassPrivateProperty":return o.key!==s;case"ClassDeclaration":case"ClassExpression":return o.superClass===s;case"AssignmentExpression":return o.right===s;case"AssignmentPattern":return o.right===s;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 a!=null&&a.source?!1:o.local===s;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 o.key!==s;case"TSEnumMember":return o.id!==s;case"TSPropertySignature":return o.key===s?!!o.computed:!0}return!0}return r(i,"isReferenced$1"),n(i,"isReferenced"),As}r(eu,"requireIsReferenced");var xs={},Ol;function tu(){if(Ol)return xs;Ol=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"i");Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=s;var i=ie();function s(o,a){return(0,i.isBlockStatement)(o)&&((0,i.isFunction)(a)||(0,i.isCatchClause)(a))?!1:(0,i.isPattern)(o)&&((0,i.isFunction)(a)||(0,i.isCatchClause)(a))?!0:(0,i.isScopable)(o)}return r(s,"isScope$1"),n(s,"isScope"),xs}r(tu,"requireIsScope");var gs={},Dl;function ru(){if(Dl)return gs;Dl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"t");Object.defineProperty(gs,"__esModule",{value:!0}),gs.default=s;var i=ie();function s(o){return(0,i.isImportDefaultSpecifier)(o)||(0,i.isIdentifier)(o.imported||o.exported,{name:"default"})}return r(s,"isSpecifierDefault$1"),n(s,"isSpecifierDefault"),gs}r(ru,"requireIsSpecifierDefault");var Is={},hl;function nu(){if(hl)return Is;hl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"t");Object.defineProperty(Is,"__esModule",{value:!0}),Is.default=o;var i=Ai();const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function o(a){return(0,i.default)(a)&&!s.has(a)}return r(o,"isValidES3Identifier$1"),n(o,"isValidES3Identifier"),Is}r(nu,"requireIsValidES3Identifier");var Os={},Nl;function au(){if(Nl)return Os;Nl=1;var T=Object.defineProperty,n=r((a,d)=>T(a,"name",{value:d,configurable:!0}),"r");Object.defineProperty(Os,"__esModule",{value:!0}),Os.default=o;var i=ie(),s=Symbol.for("var used to be block scoped");function o(a){return(0,i.isVariableDeclaration)(a,{kind:"var"})&&!a[s]}return r(o,"isVar$1"),n(o,"isVar"),Os}r(au,"requireIsVar");var Ds={},hs={},Ll;function iu(){if(Ll)return hs;Ll=1;var T=Object.defineProperty,n=r((x,P)=>T(x,"name",{value:P,configurable:!0}),"d");Object.defineProperty(hs,"__esModule",{value:!0}),hs.default=f;var i=Cs(),s=ie(),o=me(),a=Vl(),d=Ia();function f(x,P){const g=[];let I=!0;for(const A of x)if((0,s.isEmptyStatement)(A)||(I=!1),(0,s.isExpression)(A))g.push(A);else if((0,s.isExpressionStatement)(A))g.push(A.expression);else if((0,s.isVariableDeclaration)(A)){if(A.kind!=="var")return;for(const D of A.declarations){const C=(0,i.default)(D);for(const h of Object.keys(C))P.push({kind:A.kind,id:(0,d.default)(C[h])});D.init&&g.push((0,o.assignmentExpression)("=",D.id,D.init))}I=!0}else if((0,s.isIfStatement)(A)){const D=A.consequent?f([A.consequent],P):(0,a.buildUndefinedNode)(),C=A.alternate?f([A.alternate],P):(0,a.buildUndefinedNode)();if(!D||!C)return;g.push((0,o.conditionalExpression)(A.test,D,C))}else if((0,s.isBlockStatement)(A)){const D=f(A.body,P);if(!D)return;g.push(D)}else if((0,s.isEmptyStatement)(A))x.indexOf(A)===0&&(I=!0);else return;return I&&g.push((0,a.buildUndefinedNode)()),g.length===1?g[0]:(0,o.sequenceExpression)(g)}return r(f,"gatherSequenceExpressions$1"),n(f,"gatherSequenceExpressions"),hs}r(iu,"requireGatherSequenceExpressions");var Cl;function su(){if(Cl)return Ds;Cl=1;var T=Object.defineProperty,n=r((o,a)=>T(o,"name",{value:a,configurable:!0}),"u");Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=s;var i=iu();function s(o,a){if(!(o!=null&&o.length))return;const d=[],f=(0,i.default)(o,d);if(f){for(const x of d)a.push(x);return f}}return r(s,"toSequenceExpression$1"),n(s,"toSequenceExpression"),Ds}r(su,"requireToSequenceExpression");var _l;function Vs(){return _l||(_l=1,(function(T){var n=Object.defineProperty,i=r((j,Ye)=>n(j,"name",{value:Ye,configurable:!0}),"r");Object.defineProperty(T,"__esModule",{value:!0});var s={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(T,"__internal__deprecationWarning",{enumerable:!0,get:i(function(){return Ve.default},"get")}),Object.defineProperty(T,"addComment",{enumerable:!0,get:i(function(){return _.default},"get")}),Object.defineProperty(T,"addComments",{enumerable:!0,get:i(function(){return B.default},"get")}),Object.defineProperty(T,"appendToMemberExpression",{enumerable:!0,get:i(function(){return J.default},"get")}),Object.defineProperty(T,"assertNode",{enumerable:!0,get:i(function(){return f.default},"get")}),Object.defineProperty(T,"buildMatchMemberExpression",{enumerable:!0,get:i(function(){return qe.default},"get")}),Object.defineProperty(T,"clone",{enumerable:!0,get:i(function(){return h.default},"get")}),Object.defineProperty(T,"cloneDeep",{enumerable:!0,get:i(function(){return K.default},"get")}),Object.defineProperty(T,"cloneDeepWithoutLoc",{enumerable:!0,get:i(function(){return N.default},"get")}),Object.defineProperty(T,"cloneNode",{enumerable:!0,get:i(function(){return C.default},"get")}),Object.defineProperty(T,"cloneWithoutLoc",{enumerable:!0,get:i(function(){return M.default},"get")}),Object.defineProperty(T,"createFlowUnionType",{enumerable:!0,get:i(function(){return g.default},"get")}),Object.defineProperty(T,"createTSUnionType",{enumerable:!0,get:i(function(){return I.default},"get")}),Object.defineProperty(T,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:i(function(){return P.default},"get")}),Object.defineProperty(T,"createUnionTypeAnnotation",{enumerable:!0,get:i(function(){return g.default},"get")}),Object.defineProperty(T,"ensureBlock",{enumerable:!0,get:i(function(){return ae.default},"get")}),Object.defineProperty(T,"getAssignmentIdentifiers",{enumerable:!0,get:i(function(){return pe.default},"get")}),Object.defineProperty(T,"getBindingIdentifiers",{enumerable:!0,get:i(function(){return be.default},"get")}),Object.defineProperty(T,"getFunctionName",{enumerable:!0,get:i(function(){return Pe.default},"get")}),Object.defineProperty(T,"getOuterBindingIdentifiers",{enumerable:!0,get:i(function(){return ve.default},"get")}),Object.defineProperty(T,"inheritInnerComments",{enumerable:!0,get:i(function(){return F.default},"get")}),Object.defineProperty(T,"inheritLeadingComments",{enumerable:!0,get:i(function(){return Y.default},"get")}),Object.defineProperty(T,"inheritTrailingComments",{enumerable:!0,get:i(function(){return Z.default},"get")}),Object.defineProperty(T,"inherits",{enumerable:!0,get:i(function(){return $.default},"get")}),Object.defineProperty(T,"inheritsComments",{enumerable:!0,get:i(function(){return H.default},"get")}),Object.defineProperty(T,"is",{enumerable:!0,get:i(function(){return ge.default},"get")}),Object.defineProperty(T,"isBinding",{enumerable:!0,get:i(function(){return Ie.default},"get")}),Object.defineProperty(T,"isBlockScoped",{enumerable:!0,get:i(function(){return Oe.default},"get")}),Object.defineProperty(T,"isImmutable",{enumerable:!0,get:i(function(){return De.default},"get")}),Object.defineProperty(T,"isLet",{enumerable:!0,get:i(function(){return he.default},"get")}),Object.defineProperty(T,"isNode",{enumerable:!0,get:i(function(){return Ne.default},"get")}),Object.defineProperty(T,"isNodesEquivalent",{enumerable:!0,get:i(function(){return Le.default},"get")}),Object.defineProperty(T,"isPlaceholderType",{enumerable:!0,get:i(function(){return Ce.default},"get")}),Object.defineProperty(T,"isReferenced",{enumerable:!0,get:i(function(){return _e.default},"get")}),Object.defineProperty(T,"isScope",{enumerable:!0,get:i(function(){return Be.default},"get")}),Object.defineProperty(T,"isSpecifierDefault",{enumerable:!0,get:i(function(){return Me.default},"get")}),Object.defineProperty(T,"isType",{enumerable:!0,get:i(function(){return je.default},"get")}),Object.defineProperty(T,"isValidES3Identifier",{enumerable:!0,get:i(function(){return we.default},"get")}),Object.defineProperty(T,"isValidIdentifier",{enumerable:!0,get:i(function(){return Fe.default},"get")}),Object.defineProperty(T,"isVar",{enumerable:!0,get:i(function(){return Re.default},"get")}),Object.defineProperty(T,"matchesPattern",{enumerable:!0,get:i(function(){return ke.default},"get")}),Object.defineProperty(T,"prependToMemberExpression",{enumerable:!0,get:i(function(){return G.default},"get")}),T.react=void 0,Object.defineProperty(T,"removeComments",{enumerable:!0,get:i(function(){return ee.default},"get")}),Object.defineProperty(T,"removeProperties",{enumerable:!0,get:i(function(){return W.default},"get")}),Object.defineProperty(T,"removePropertiesDeep",{enumerable:!0,get:i(function(){return Q.default},"get")}),Object.defineProperty(T,"removeTypeDuplicates",{enumerable:!0,get:i(function(){return le.default},"get")}),Object.defineProperty(T,"shallowEqual",{enumerable:!0,get:i(function(){return xe.default},"get")}),Object.defineProperty(T,"toBindingIdentifierName",{enumerable:!0,get:i(function(){return re.default},"get")}),Object.defineProperty(T,"toBlock",{enumerable:!0,get:i(function(){return de.default},"get")}),Object.defineProperty(T,"toComputedKey",{enumerable:!0,get:i(function(){return oe.default},"get")}),Object.defineProperty(T,"toExpression",{enumerable:!0,get:i(function(){return fe.default},"get")}),Object.defineProperty(T,"toIdentifier",{enumerable:!0,get:i(function(){return ce.default},"get")}),Object.defineProperty(T,"toKeyAlias",{enumerable:!0,get:i(function(){return w.default},"get")}),Object.defineProperty(T,"toStatement",{enumerable:!0,get:i(function(){return k.default},"get")}),Object.defineProperty(T,"traverse",{enumerable:!0,get:i(function(){return Te.default},"get")}),Object.defineProperty(T,"traverseFast",{enumerable:!0,get:i(function(){return Ae.default},"get")}),Object.defineProperty(T,"validate",{enumerable:!0,get:i(function(){return Ke.default},"get")}),Object.defineProperty(T,"valueToNode",{enumerable:!0,get:i(function(){return V.default},"get")});var o=pp(),a=up(),d=Ap(),f=xp(),x=gp();Object.keys(x).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===x[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return x[j]},"get")})});var P=Ip(),g=Op(),I=hp(),A=Vl();Object.keys(A).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===A[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return A[j]},"get")})});var D=me();Object.keys(D).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===D[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return D[j]},"get")})});var C=Ia(),h=Np(),K=Lp(),N=Cp(),M=_p(),_=Bp(),B=Xl(),F=Yl(),Y=Jl(),H=Wl(),Z=Ul(),ee=Mp(),te=jp();Object.keys(te).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===te[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return te[j]},"get")})});var ue=xi();Object.keys(ue).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===ue[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return ue[j]},"get")})});var ae=wp(),re=Fp(),de=Gl(),oe=Rp(),fe=kp(),ce=zl(),w=Kp(),k=qp(),V=Vp(),q=Ee();Object.keys(q).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===q[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return q[j]},"get")})});var J=Xp(),$=Yp(),G=Jp(),W=$l(),Q=Hl(),le=ql(),pe=Up(),be=Cs(),ve=Wp(),Pe=Gp(),Te=zp();Object.keys(Te).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===Te[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return Te[j]},"get")})});var Ae=Ql(),xe=Fs(),ge=Pi(),Ie=Qp(),Oe=$p(),De=Hp(),he=Zl(),Ne=Kl(),Le=Zp(),Ce=Fl(),_e=eu(),Be=tu(),Me=ru(),je=Rs(),we=nu(),Fe=Ai(),Re=au(),ke=jl(),Ke=Ks(),qe=wl(),Se=ie();Object.keys(Se).forEach(function(j){j==="default"||j==="__esModule"||Object.prototype.hasOwnProperty.call(s,j)||j in T&&T[j]===Se[j]||Object.defineProperty(T,j,{enumerable:!0,get:i(function(){return Se[j]},"get")})});var Ve=vi(),Xe=su();T.react={isReactComponent:o.default,isCompatTag:a.default,buildChildren:d.default},T.toSequenceExpression=Xe.default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")})(_s)),_s}r(Vs,"requireLib");var ws=Vs(),ou=Object.defineProperty,Xs=r((T,n)=>ou(T,"name",{value:n,configurable:!0}),"r");const lu=/[.+^${}()|[\]\\]/g,pu=Xs(T=>T.replaceAll(lu,String.raw`\$&`),"escapeRegExp"),uu=Xs(T=>{const n=T.split("**").map(i=>i.split("*").map(s=>pu(s)).join("[^/]*")).join(".*");return new RegExp(n)},"globToRegex"),ep=Xs((T,n)=>T.some(i=>i instanceof RegExp?i.test(n):uu(i).test(n)),"matcher");var cu=Object.defineProperty,xa=r((T,n)=>cu(T,"name",{value:n,configurable:!0}),"d");const tp=Us.default??Us,du=Js.default??Js,Bl="data-vdt-source",yu=xa(T=>{let n;const i=T.params[0];if(i)return i.type==="Identifier"&&(n=i.name),i.type==="ObjectPattern"&&i.properties.forEach(s=>{s.type==="RestElement"&&s.argument.type==="Identifier"&&(n=s.argument.name)}),n},"getPropsNameFromFunctionDeclaration"),Ns=xa(T=>T.type==="JSXIdentifier"?T.name:T.type==="JSXMemberExpression"?`${Ns(T.object)}.${Ns(T.property)}`:`${T.namespace.name}:${T.name.name}`,"getNameOfElement"),fu=xa(T=>{const n=new Map,i=new Map;try{const s=Ml(T,{plugins:["jsx","typescript"],sourceType:"module"});tp(s,{JSXOpeningElement(o){const a=Ns(o.node.name),d=i.get(a)??0;i.set(a,d+1),o.node.loc&&n.set(`${a}:${d}`,{col:o.node.loc.start.column,line:o.node.loc.start.line})}})}catch{}return n},"buildPositionMap"),Tu=xa((T,n,i,s,o,a)=>{const{loc:d}=T.node;if(!d)return!1;const f=Ns(T.node.name);let x;if(o&&a){const A=a.get(f)??0;a.set(f,A+1),x=o.get(`${f}:${A}`)}if(f==="Fragment"||f==="React.Fragment"||f==="html"||f==="head"||f==="body"||ep(s,f))return!1;const P=T.node.attributes.some(A=>A.type==="JSXAttribute"&&A.name.type==="JSXIdentifier"&&A.name.name===Bl);if(T.node.attributes.some(A=>A.type==="JSXSpreadAttribute"&&A.argument.type==="Identifier"&&A.argument.name===n)||P)return!1;const g=x?.line??d.start.line,I=x?.col??d.start.column;return T.node.attributes.push(ws.jsxAttribute(ws.jsxIdentifier(Bl),ws.stringLiteral(`${i}:${g}:${I+1}`))),!0},"transformJSX"),mu=xa((T,n,i,s)=>{let o=!1;const a=s?new Map:void 0,d=xa(x=>P=>{Tu(P,x,n,i,s,a)&&(o=!0)},"visitJSX"),f=xa(x=>{const P=yu(x.node);x.traverse({ArrowFunctionExpression(g){f(g),g.skip()},FunctionDeclaration(g){f(g),g.skip()},FunctionExpression(g){f(g),g.skip()},JSXOpeningElement:d(P)})},"visitFunction");return tp(T,{ArrowFunctionExpression(x){f(x),x.skip()},FunctionDeclaration(x){f(x),x.skip()},FunctionExpression(x){f(x),x.skip()}}),o},"transform"),Au=xa((T,n,i={},s)=>{const[o]=n.split("?"),a=o.replace(`${np(process.cwd())}/`,"");if(!ep(i.files??[],a))try{const d=Ml(T,{plugins:["jsx","typescript"],sourceType:"module"}),f=s&&s!==T?fu(s):void 0;return mu(d,a,i.components??[],f)?du(d,{filename:n,retainLines:!0,sourceFileName:o,sourceMaps:!0}):void 0}catch{return}},"addSourceToJsx");export{Bl as SOURCE_ATTR,Au as addSourceToJsx};
|
|
1
|
+
import ks from"@babel/generator";import{parse as hl}from"@babel/parser";import Ks from"@babel/traverse";import{normalizePath as zl}from"vite";var Ds={},Ia={},ja={},Ra={},T={},Fa={},qs;function Cs(){if(qs)return Fa;qs=1,Object.defineProperty(Fa,"__esModule",{value:!0}),Fa.default=n;function n(a,i){const r=Object.keys(i);for(const d of r)if(a[d]!==i[d])return!1;return!0}return Fa}var ka={},Vs;function La(){if(Vs)return ka;Vs=1,Object.defineProperty(ka,"__esModule",{value:!0}),ka.default=a;const n=new Set;function a(r,d,c="",v=r){if(n.has(v))return;n.add(v);const{internal:E,trace:A}=i(1,2);E||console.warn(`${c}\`${r}\` has been deprecated, please migrate to \`${d}\`
|
|
2
|
+
${A}`)}function i(r,d){const{stackTraceLimit:c,prepareStackTrace:v}=Error;let E;if(Error.stackTraceLimit=1+r+d,Error.prepareStackTrace=function(P,b){E=b},Error.stackTraceLimit=c,Error.prepareStackTrace=v,!E)return{internal:!1,trace:""};const A=E.slice(1+r,1+r+d);return{internal:/[\\/]@babel[\\/]/.test(A[1].getFileName()),trace:A.map(P=>` at ${P}`).join(`
|
|
3
|
+
`)}}return ka}var Ys;function ee(){if(Ys)return T;Ys=1,Object.defineProperty(T,"__esModule",{value:!0}),T.isAccessor=os,T.isAnyTypeAnnotation=ft,T.isArgumentPlaceholder=Xn,T.isArrayExpression=i,T.isArrayPattern=Ne,T.isArrayTypeAnnotation=Tt,T.isArrowFunctionExpression=_e,T.isAssignmentExpression=r,T.isAssignmentPattern=he,T.isAwaitExpression=tt,T.isBigIntLiteral=rt,T.isBinary=ba,T.isBinaryExpression=d,T.isBindExpression=Jn,T.isBlock=va,T.isBlockParent=Pa,T.isBlockStatement=A,T.isBooleanLiteral=ae,T.isBooleanLiteralTypeAnnotation=St,T.isBooleanTypeAnnotation=mt,T.isBreakStatement=P,T.isCallExpression=b,T.isCatchClause=I,T.isClass=as,T.isClassAccessorProperty=lt,T.isClassBody=Le,T.isClassDeclaration=Be,T.isClassExpression=Ce,T.isClassImplements=bt,T.isClassMethod=C,T.isClassPrivateMethod=ut,T.isClassPrivateProperty=pt,T.isClassProperty=ot,T.isCompletionStatement=o,T.isConditional=p,T.isConditionalExpression=g,T.isContinueStatement=D,T.isDebuggerStatement=R,T.isDecimalLiteral=Qn,T.isDeclaration=Ji,T.isDeclareClass=At,T.isDeclareExportAllDeclaration=Nt,T.isDeclareExportDeclaration=ht,T.isDeclareFunction=Pt,T.isDeclareInterface=vt,T.isDeclareModule=xt,T.isDeclareModuleExports=It,T.isDeclareOpaqueType=Ot,T.isDeclareTypeAlias=gt,T.isDeclareVariable=Dt,T.isDeclaredPredicate=_t,T.isDecorator=Un,T.isDirective=v,T.isDirectiveLiteral=E,T.isDoExpression=Wn,T.isDoWhileStatement=h,T.isEmptyStatement=L,T.isEmptyTypeAnnotation=qt,T.isEnumBody=fs,T.isEnumBooleanBody=mn,T.isEnumBooleanMember=An,T.isEnumDeclaration=Tn,T.isEnumDefaultedMember=xn,T.isEnumMember=Ts,T.isEnumNumberBody=Sn,T.isEnumNumberMember=Pn,T.isEnumStringBody=En,T.isEnumStringMember=vn,T.isEnumSymbolBody=bn,T.isExistsTypeAnnotation=Lt,T.isExportAllDeclaration=Me,T.isExportDeclaration=is,T.isExportDefaultDeclaration=we,T.isExportDefaultSpecifier=$n,T.isExportNamedDeclaration=je,T.isExportNamespaceSpecifier=at,T.isExportSpecifier=Re,T.isExpression=Ea,T.isExpressionStatement=N,T.isExpressionWrapper=x,T.isFile=_,T.isFlow=ps,T.isFlowBaseAnnotation=cs,T.isFlowDeclaration=ds,T.isFlowPredicate=ys,T.isFlowType=us,T.isFor=w,T.isForInStatement=M,T.isForOfStatement=Fe,T.isForStatement=V,T.isForXStatement=U,T.isFunction=Z,T.isFunctionDeclaration=G,T.isFunctionExpression=z,T.isFunctionParameter=Ui,T.isFunctionParent=pe,T.isFunctionTypeAnnotation=Ct,T.isFunctionTypeParam=Bt,T.isGenericTypeAnnotation=Mt,T.isIdentifier=Q,T.isIfStatement=H,T.isImmutable=Qi,T.isImport=nt,T.isImportAttribute=yt,T.isImportDeclaration=ke,T.isImportDefaultSpecifier=Ke,T.isImportExpression=Ve,T.isImportNamespaceSpecifier=qe,T.isImportOrExportDeclaration=wa,T.isImportSpecifier=Te,T.isIndexedAccessType=In,T.isInferredPredicate=wt,T.isInterfaceDeclaration=Rt,T.isInterfaceExtends=jt,T.isInterfaceTypeAnnotation=Ft,T.isInterpreterDirective=c,T.isIntersectionTypeAnnotation=kt,T.isJSX=ms,T.isJSXAttribute=On,T.isJSXClosingElement=Dn,T.isJSXClosingFragment=Kn,T.isJSXElement=hn,T.isJSXEmptyExpression=Nn,T.isJSXExpressionContainer=_n,T.isJSXFragment=Fn,T.isJSXIdentifier=Cn,T.isJSXMemberExpression=Bn,T.isJSXNamespacedName=Mn,T.isJSXOpeningElement=wn,T.isJSXOpeningFragment=kn,T.isJSXSpreadAttribute=jn,T.isJSXSpreadChild=Ln,T.isJSXText=Rn,T.isLVal=$i,T.isLabeledStatement=oe,T.isLiteral=zi,T.isLogicalExpression=ce,T.isLoop=y,T.isMemberExpression=B,T.isMetaProperty=Ye,T.isMethod=Zi,T.isMiscellaneous=Ss,T.isMixedTypeAnnotation=Kt,T.isModuleDeclaration=Os,T.isModuleExpression=Hn,T.isModuleSpecifier=ss,T.isNewExpression=F,T.isNoop=qn,T.isNullLiteral=ue,T.isNullLiteralTypeAnnotation=Et,T.isNullableTypeAnnotation=Vt,T.isNumberLiteral=vs,T.isNumberLiteralTypeAnnotation=Yt,T.isNumberTypeAnnotation=Xt,T.isNumericLiteral=te,T.isObjectExpression=j,T.isObjectMember=es,T.isObjectMethod=Y,T.isObjectPattern=Ge,T.isObjectProperty=$,T.isObjectTypeAnnotation=Jt,T.isObjectTypeCallProperty=Wt,T.isObjectTypeIndexer=$t,T.isObjectTypeInternalSlot=Ut,T.isObjectTypeProperty=Gt,T.isObjectTypeSpreadProperty=zt,T.isOpaqueType=Qt,T.isOptionalCallExpression=st,T.isOptionalIndexedAccessType=gn,T.isOptionalMemberExpression=it,T.isParenthesizedExpression=ie,T.isPattern=rs,T.isPatternLike=Wi,T.isPipelineBareFunction=tr,T.isPipelinePrimaryTopicReference=nr,T.isPipelineTopicExpression=er,T.isPlaceholder=Vn,T.isPrivate=ls,T.isPrivateName=ct,T.isProgram=K,T.isProperty=ts,T.isPureish=Xi,T.isQualifiedTypeIdentifier=Ht,T.isRecordExpression=Gn,T.isRegExpLiteral=fe,T.isRegexLiteral=xs,T.isRestElement=J,T.isRestProperty=Is,T.isReturnStatement=X,T.isScopable=Aa,T.isSequenceExpression=W,T.isSpreadElement=ze,T.isSpreadProperty=gs,T.isStandardized=Sa,T.isStatement=xa,T.isStaticBlock=dt,T.isStringLiteral=re,T.isStringLiteralTypeAnnotation=Zt,T.isStringTypeAnnotation=en,T.isSuper=Qe,T.isSwitchCase=se,T.isSwitchStatement=be,T.isSymbolTypeAnnotation=tn,T.isTSAnyKeyword=yr,T.isTSArrayType=Br,T.isTSAsExpression=Zr,T.isTSBaseType=Ps,T.isTSBigIntKeyword=Tr,T.isTSBooleanKeyword=fr,T.isTSCallSignatureDeclaration=lr,T.isTSConditionalType=Kr,T.isTSConstructSignatureDeclaration=pr,T.isTSConstructorType=hr,T.isTSDeclareFunction=ir,T.isTSDeclareMethod=sr,T.isTSEntityName=Gi,T.isTSEnumBody=na,T.isTSEnumDeclaration=ra,T.isTSEnumMember=aa,T.isTSExportAssignment=ca,T.isTSExpressionWithTypeArguments=$r,T.isTSExternalModuleReference=pa,T.isTSFunctionType=Dr,T.isTSImportEqualsDeclaration=la,T.isTSImportType=oa,T.isTSIndexSignature=dr,T.isTSIndexedAccessType=Xr,T.isTSInferType=qr,T.isTSInstantiationExpression=Hr,T.isTSInterfaceBody=zr,T.isTSInterfaceDeclaration=Gr,T.isTSIntersectionType=kr,T.isTSIntrinsicKeyword=mr,T.isTSLiteralType=Wr,T.isTSMappedType=Jr,T.isTSMethodSignature=cr,T.isTSModuleBlock=sa,T.isTSModuleDeclaration=ia,T.isTSNamedTupleMember=Rr,T.isTSNamespaceExportDeclaration=da,T.isTSNeverKeyword=Sr,T.isTSNonNullExpression=ua,T.isTSNullKeyword=Er,T.isTSNumberKeyword=br,T.isTSObjectKeyword=Ar,T.isTSOptionalType=wr,T.isTSParameterProperty=ar,T.isTSParenthesizedType=Vr,T.isTSPropertySignature=ur,T.isTSQualifiedName=or,T.isTSRestType=jr,T.isTSSatisfiesExpression=ea,T.isTSStringKeyword=Pr,T.isTSSymbolKeyword=vr,T.isTSTemplateLiteralType=Ur,T.isTSThisType=Or,T.isTSTupleType=Mr,T.isTSType=As,T.isTSTypeAliasDeclaration=Qr,T.isTSTypeAnnotation=ya,T.isTSTypeAssertion=ta,T.isTSTypeElement=bs,T.isTSTypeLiteral=Cr,T.isTSTypeOperator=Yr,T.isTSTypeParameter=ma,T.isTSTypeParameterDeclaration=Ta,T.isTSTypeParameterInstantiation=fa,T.isTSTypePredicate=_r,T.isTSTypeQuery=Lr,T.isTSTypeReference=Nr,T.isTSUndefinedKeyword=xr,T.isTSUnionType=Fr,T.isTSUnknownKeyword=Ir,T.isTSVoidKeyword=gr,T.isTaggedTemplateExpression=He,T.isTemplateElement=Ze,T.isTemplateLiteral=Ue,T.isTerminatorless=s,T.isThisExpression=Ae,T.isThisTypeAnnotation=nn,T.isThrowStatement=Pe,T.isTopicReference=Zn,T.isTryStatement=ye,T.isTupleExpression=zn,T.isTupleTypeAnnotation=rn,T.isTypeAlias=sn,T.isTypeAnnotation=on,T.isTypeCastExpression=ln,T.isTypeParameter=pn,T.isTypeParameterDeclaration=un,T.isTypeParameterInstantiation=cn,T.isTypeScript=Es,T.isTypeofTypeAnnotation=an,T.isUnaryExpression=ve,T.isUnaryLike=ns,T.isUnionTypeAnnotation=dn,T.isUpdateExpression=xe,T.isUserWhitespacable=Hi,T.isV8IntrinsicIdentifier=Yn,T.isVariableDeclaration=Ie,T.isVariableDeclarator=ge,T.isVariance=yn,T.isVoidPattern=rr,T.isVoidTypeAnnotation=fn,T.isWhile=S,T.isWhileStatement=Oe,T.isWithStatement=De,T.isYieldExpression=et;var n=Cs(),a=La();function i(t,e){return!t||t.type!=="ArrayExpression"?!1:e==null||(0,n.default)(t,e)}function r(t,e){return!t||t.type!=="AssignmentExpression"?!1:e==null||(0,n.default)(t,e)}function d(t,e){return!t||t.type!=="BinaryExpression"?!1:e==null||(0,n.default)(t,e)}function c(t,e){return!t||t.type!=="InterpreterDirective"?!1:e==null||(0,n.default)(t,e)}function v(t,e){return!t||t.type!=="Directive"?!1:e==null||(0,n.default)(t,e)}function E(t,e){return!t||t.type!=="DirectiveLiteral"?!1:e==null||(0,n.default)(t,e)}function A(t,e){return!t||t.type!=="BlockStatement"?!1:e==null||(0,n.default)(t,e)}function P(t,e){return!t||t.type!=="BreakStatement"?!1:e==null||(0,n.default)(t,e)}function b(t,e){return!t||t.type!=="CallExpression"?!1:e==null||(0,n.default)(t,e)}function I(t,e){return!t||t.type!=="CatchClause"?!1:e==null||(0,n.default)(t,e)}function g(t,e){return!t||t.type!=="ConditionalExpression"?!1:e==null||(0,n.default)(t,e)}function D(t,e){return!t||t.type!=="ContinueStatement"?!1:e==null||(0,n.default)(t,e)}function R(t,e){return!t||t.type!=="DebuggerStatement"?!1:e==null||(0,n.default)(t,e)}function h(t,e){return!t||t.type!=="DoWhileStatement"?!1:e==null||(0,n.default)(t,e)}function L(t,e){return!t||t.type!=="EmptyStatement"?!1:e==null||(0,n.default)(t,e)}function N(t,e){return!t||t.type!=="ExpressionStatement"?!1:e==null||(0,n.default)(t,e)}function _(t,e){return!t||t.type!=="File"?!1:e==null||(0,n.default)(t,e)}function M(t,e){return!t||t.type!=="ForInStatement"?!1:e==null||(0,n.default)(t,e)}function V(t,e){return!t||t.type!=="ForStatement"?!1:e==null||(0,n.default)(t,e)}function G(t,e){return!t||t.type!=="FunctionDeclaration"?!1:e==null||(0,n.default)(t,e)}function z(t,e){return!t||t.type!=="FunctionExpression"?!1:e==null||(0,n.default)(t,e)}function Q(t,e){return!t||t.type!=="Identifier"?!1:e==null||(0,n.default)(t,e)}function H(t,e){return!t||t.type!=="IfStatement"?!1:e==null||(0,n.default)(t,e)}function oe(t,e){return!t||t.type!=="LabeledStatement"?!1:e==null||(0,n.default)(t,e)}function re(t,e){return!t||t.type!=="StringLiteral"?!1:e==null||(0,n.default)(t,e)}function te(t,e){return!t||t.type!=="NumericLiteral"?!1:e==null||(0,n.default)(t,e)}function ue(t,e){return!t||t.type!=="NullLiteral"?!1:e==null||(0,n.default)(t,e)}function ae(t,e){return!t||t.type!=="BooleanLiteral"?!1:e==null||(0,n.default)(t,e)}function fe(t,e){return!t||t.type!=="RegExpLiteral"?!1:e==null||(0,n.default)(t,e)}function ce(t,e){return!t||t.type!=="LogicalExpression"?!1:e==null||(0,n.default)(t,e)}function B(t,e){return!t||t.type!=="MemberExpression"?!1:e==null||(0,n.default)(t,e)}function F(t,e){return!t||t.type!=="NewExpression"?!1:e==null||(0,n.default)(t,e)}function K(t,e){return!t||t.type!=="Program"?!1:e==null||(0,n.default)(t,e)}function j(t,e){return!t||t.type!=="ObjectExpression"?!1:e==null||(0,n.default)(t,e)}function Y(t,e){return!t||t.type!=="ObjectMethod"?!1:e==null||(0,n.default)(t,e)}function $(t,e){return!t||t.type!=="ObjectProperty"?!1:e==null||(0,n.default)(t,e)}function J(t,e){return!t||t.type!=="RestElement"?!1:e==null||(0,n.default)(t,e)}function X(t,e){return!t||t.type!=="ReturnStatement"?!1:e==null||(0,n.default)(t,e)}function W(t,e){return!t||t.type!=="SequenceExpression"?!1:e==null||(0,n.default)(t,e)}function ie(t,e){return!t||t.type!=="ParenthesizedExpression"?!1:e==null||(0,n.default)(t,e)}function se(t,e){return!t||t.type!=="SwitchCase"?!1:e==null||(0,n.default)(t,e)}function be(t,e){return!t||t.type!=="SwitchStatement"?!1:e==null||(0,n.default)(t,e)}function Ae(t,e){return!t||t.type!=="ThisExpression"?!1:e==null||(0,n.default)(t,e)}function Pe(t,e){return!t||t.type!=="ThrowStatement"?!1:e==null||(0,n.default)(t,e)}function ye(t,e){return!t||t.type!=="TryStatement"?!1:e==null||(0,n.default)(t,e)}function ve(t,e){return!t||t.type!=="UnaryExpression"?!1:e==null||(0,n.default)(t,e)}function xe(t,e){return!t||t.type!=="UpdateExpression"?!1:e==null||(0,n.default)(t,e)}function Ie(t,e){return!t||t.type!=="VariableDeclaration"?!1:e==null||(0,n.default)(t,e)}function ge(t,e){return!t||t.type!=="VariableDeclarator"?!1:e==null||(0,n.default)(t,e)}function Oe(t,e){return!t||t.type!=="WhileStatement"?!1:e==null||(0,n.default)(t,e)}function De(t,e){return!t||t.type!=="WithStatement"?!1:e==null||(0,n.default)(t,e)}function he(t,e){return!t||t.type!=="AssignmentPattern"?!1:e==null||(0,n.default)(t,e)}function Ne(t,e){return!t||t.type!=="ArrayPattern"?!1:e==null||(0,n.default)(t,e)}function _e(t,e){return!t||t.type!=="ArrowFunctionExpression"?!1:e==null||(0,n.default)(t,e)}function Le(t,e){return!t||t.type!=="ClassBody"?!1:e==null||(0,n.default)(t,e)}function Ce(t,e){return!t||t.type!=="ClassExpression"?!1:e==null||(0,n.default)(t,e)}function Be(t,e){return!t||t.type!=="ClassDeclaration"?!1:e==null||(0,n.default)(t,e)}function Me(t,e){return!t||t.type!=="ExportAllDeclaration"?!1:e==null||(0,n.default)(t,e)}function we(t,e){return!t||t.type!=="ExportDefaultDeclaration"?!1:e==null||(0,n.default)(t,e)}function je(t,e){return!t||t.type!=="ExportNamedDeclaration"?!1:e==null||(0,n.default)(t,e)}function Re(t,e){return!t||t.type!=="ExportSpecifier"?!1:e==null||(0,n.default)(t,e)}function Fe(t,e){return!t||t.type!=="ForOfStatement"?!1:e==null||(0,n.default)(t,e)}function ke(t,e){return!t||t.type!=="ImportDeclaration"?!1:e==null||(0,n.default)(t,e)}function Ke(t,e){return!t||t.type!=="ImportDefaultSpecifier"?!1:e==null||(0,n.default)(t,e)}function qe(t,e){return!t||t.type!=="ImportNamespaceSpecifier"?!1:e==null||(0,n.default)(t,e)}function Te(t,e){return!t||t.type!=="ImportSpecifier"?!1:e==null||(0,n.default)(t,e)}function Ve(t,e){return!t||t.type!=="ImportExpression"?!1:e==null||(0,n.default)(t,e)}function Ye(t,e){return!t||t.type!=="MetaProperty"?!1:e==null||(0,n.default)(t,e)}function C(t,e){return!t||t.type!=="ClassMethod"?!1:e==null||(0,n.default)(t,e)}function Ge(t,e){return!t||t.type!=="ObjectPattern"?!1:e==null||(0,n.default)(t,e)}function ze(t,e){return!t||t.type!=="SpreadElement"?!1:e==null||(0,n.default)(t,e)}function Qe(t,e){return!t||t.type!=="Super"?!1:e==null||(0,n.default)(t,e)}function He(t,e){return!t||t.type!=="TaggedTemplateExpression"?!1:e==null||(0,n.default)(t,e)}function Ze(t,e){return!t||t.type!=="TemplateElement"?!1:e==null||(0,n.default)(t,e)}function Ue(t,e){return!t||t.type!=="TemplateLiteral"?!1:e==null||(0,n.default)(t,e)}function et(t,e){return!t||t.type!=="YieldExpression"?!1:e==null||(0,n.default)(t,e)}function tt(t,e){return!t||t.type!=="AwaitExpression"?!1:e==null||(0,n.default)(t,e)}function nt(t,e){return!t||t.type!=="Import"?!1:e==null||(0,n.default)(t,e)}function rt(t,e){return!t||t.type!=="BigIntLiteral"?!1:e==null||(0,n.default)(t,e)}function at(t,e){return!t||t.type!=="ExportNamespaceSpecifier"?!1:e==null||(0,n.default)(t,e)}function it(t,e){return!t||t.type!=="OptionalMemberExpression"?!1:e==null||(0,n.default)(t,e)}function st(t,e){return!t||t.type!=="OptionalCallExpression"?!1:e==null||(0,n.default)(t,e)}function ot(t,e){return!t||t.type!=="ClassProperty"?!1:e==null||(0,n.default)(t,e)}function lt(t,e){return!t||t.type!=="ClassAccessorProperty"?!1:e==null||(0,n.default)(t,e)}function pt(t,e){return!t||t.type!=="ClassPrivateProperty"?!1:e==null||(0,n.default)(t,e)}function ut(t,e){return!t||t.type!=="ClassPrivateMethod"?!1:e==null||(0,n.default)(t,e)}function ct(t,e){return!t||t.type!=="PrivateName"?!1:e==null||(0,n.default)(t,e)}function dt(t,e){return!t||t.type!=="StaticBlock"?!1:e==null||(0,n.default)(t,e)}function yt(t,e){return!t||t.type!=="ImportAttribute"?!1:e==null||(0,n.default)(t,e)}function ft(t,e){return!t||t.type!=="AnyTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Tt(t,e){return!t||t.type!=="ArrayTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function mt(t,e){return!t||t.type!=="BooleanTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function St(t,e){return!t||t.type!=="BooleanLiteralTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Et(t,e){return!t||t.type!=="NullLiteralTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function bt(t,e){return!t||t.type!=="ClassImplements"?!1:e==null||(0,n.default)(t,e)}function At(t,e){return!t||t.type!=="DeclareClass"?!1:e==null||(0,n.default)(t,e)}function Pt(t,e){return!t||t.type!=="DeclareFunction"?!1:e==null||(0,n.default)(t,e)}function vt(t,e){return!t||t.type!=="DeclareInterface"?!1:e==null||(0,n.default)(t,e)}function xt(t,e){return!t||t.type!=="DeclareModule"?!1:e==null||(0,n.default)(t,e)}function It(t,e){return!t||t.type!=="DeclareModuleExports"?!1:e==null||(0,n.default)(t,e)}function gt(t,e){return!t||t.type!=="DeclareTypeAlias"?!1:e==null||(0,n.default)(t,e)}function Ot(t,e){return!t||t.type!=="DeclareOpaqueType"?!1:e==null||(0,n.default)(t,e)}function Dt(t,e){return!t||t.type!=="DeclareVariable"?!1:e==null||(0,n.default)(t,e)}function ht(t,e){return!t||t.type!=="DeclareExportDeclaration"?!1:e==null||(0,n.default)(t,e)}function Nt(t,e){return!t||t.type!=="DeclareExportAllDeclaration"?!1:e==null||(0,n.default)(t,e)}function _t(t,e){return!t||t.type!=="DeclaredPredicate"?!1:e==null||(0,n.default)(t,e)}function Lt(t,e){return!t||t.type!=="ExistsTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Ct(t,e){return!t||t.type!=="FunctionTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Bt(t,e){return!t||t.type!=="FunctionTypeParam"?!1:e==null||(0,n.default)(t,e)}function Mt(t,e){return!t||t.type!=="GenericTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function wt(t,e){return!t||t.type!=="InferredPredicate"?!1:e==null||(0,n.default)(t,e)}function jt(t,e){return!t||t.type!=="InterfaceExtends"?!1:e==null||(0,n.default)(t,e)}function Rt(t,e){return!t||t.type!=="InterfaceDeclaration"?!1:e==null||(0,n.default)(t,e)}function Ft(t,e){return!t||t.type!=="InterfaceTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function kt(t,e){return!t||t.type!=="IntersectionTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Kt(t,e){return!t||t.type!=="MixedTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function qt(t,e){return!t||t.type!=="EmptyTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Vt(t,e){return!t||t.type!=="NullableTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Yt(t,e){return!t||t.type!=="NumberLiteralTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Xt(t,e){return!t||t.type!=="NumberTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Jt(t,e){return!t||t.type!=="ObjectTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Ut(t,e){return!t||t.type!=="ObjectTypeInternalSlot"?!1:e==null||(0,n.default)(t,e)}function Wt(t,e){return!t||t.type!=="ObjectTypeCallProperty"?!1:e==null||(0,n.default)(t,e)}function $t(t,e){return!t||t.type!=="ObjectTypeIndexer"?!1:e==null||(0,n.default)(t,e)}function Gt(t,e){return!t||t.type!=="ObjectTypeProperty"?!1:e==null||(0,n.default)(t,e)}function zt(t,e){return!t||t.type!=="ObjectTypeSpreadProperty"?!1:e==null||(0,n.default)(t,e)}function Qt(t,e){return!t||t.type!=="OpaqueType"?!1:e==null||(0,n.default)(t,e)}function Ht(t,e){return!t||t.type!=="QualifiedTypeIdentifier"?!1:e==null||(0,n.default)(t,e)}function Zt(t,e){return!t||t.type!=="StringLiteralTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function en(t,e){return!t||t.type!=="StringTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function tn(t,e){return!t||t.type!=="SymbolTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function nn(t,e){return!t||t.type!=="ThisTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function rn(t,e){return!t||t.type!=="TupleTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function an(t,e){return!t||t.type!=="TypeofTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function sn(t,e){return!t||t.type!=="TypeAlias"?!1:e==null||(0,n.default)(t,e)}function on(t,e){return!t||t.type!=="TypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function ln(t,e){return!t||t.type!=="TypeCastExpression"?!1:e==null||(0,n.default)(t,e)}function pn(t,e){return!t||t.type!=="TypeParameter"?!1:e==null||(0,n.default)(t,e)}function un(t,e){return!t||t.type!=="TypeParameterDeclaration"?!1:e==null||(0,n.default)(t,e)}function cn(t,e){return!t||t.type!=="TypeParameterInstantiation"?!1:e==null||(0,n.default)(t,e)}function dn(t,e){return!t||t.type!=="UnionTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function yn(t,e){return!t||t.type!=="Variance"?!1:e==null||(0,n.default)(t,e)}function fn(t,e){return!t||t.type!=="VoidTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function Tn(t,e){return!t||t.type!=="EnumDeclaration"?!1:e==null||(0,n.default)(t,e)}function mn(t,e){return!t||t.type!=="EnumBooleanBody"?!1:e==null||(0,n.default)(t,e)}function Sn(t,e){return!t||t.type!=="EnumNumberBody"?!1:e==null||(0,n.default)(t,e)}function En(t,e){return!t||t.type!=="EnumStringBody"?!1:e==null||(0,n.default)(t,e)}function bn(t,e){return!t||t.type!=="EnumSymbolBody"?!1:e==null||(0,n.default)(t,e)}function An(t,e){return!t||t.type!=="EnumBooleanMember"?!1:e==null||(0,n.default)(t,e)}function Pn(t,e){return!t||t.type!=="EnumNumberMember"?!1:e==null||(0,n.default)(t,e)}function vn(t,e){return!t||t.type!=="EnumStringMember"?!1:e==null||(0,n.default)(t,e)}function xn(t,e){return!t||t.type!=="EnumDefaultedMember"?!1:e==null||(0,n.default)(t,e)}function In(t,e){return!t||t.type!=="IndexedAccessType"?!1:e==null||(0,n.default)(t,e)}function gn(t,e){return!t||t.type!=="OptionalIndexedAccessType"?!1:e==null||(0,n.default)(t,e)}function On(t,e){return!t||t.type!=="JSXAttribute"?!1:e==null||(0,n.default)(t,e)}function Dn(t,e){return!t||t.type!=="JSXClosingElement"?!1:e==null||(0,n.default)(t,e)}function hn(t,e){return!t||t.type!=="JSXElement"?!1:e==null||(0,n.default)(t,e)}function Nn(t,e){return!t||t.type!=="JSXEmptyExpression"?!1:e==null||(0,n.default)(t,e)}function _n(t,e){return!t||t.type!=="JSXExpressionContainer"?!1:e==null||(0,n.default)(t,e)}function Ln(t,e){return!t||t.type!=="JSXSpreadChild"?!1:e==null||(0,n.default)(t,e)}function Cn(t,e){return!t||t.type!=="JSXIdentifier"?!1:e==null||(0,n.default)(t,e)}function Bn(t,e){return!t||t.type!=="JSXMemberExpression"?!1:e==null||(0,n.default)(t,e)}function Mn(t,e){return!t||t.type!=="JSXNamespacedName"?!1:e==null||(0,n.default)(t,e)}function wn(t,e){return!t||t.type!=="JSXOpeningElement"?!1:e==null||(0,n.default)(t,e)}function jn(t,e){return!t||t.type!=="JSXSpreadAttribute"?!1:e==null||(0,n.default)(t,e)}function Rn(t,e){return!t||t.type!=="JSXText"?!1:e==null||(0,n.default)(t,e)}function Fn(t,e){return!t||t.type!=="JSXFragment"?!1:e==null||(0,n.default)(t,e)}function kn(t,e){return!t||t.type!=="JSXOpeningFragment"?!1:e==null||(0,n.default)(t,e)}function Kn(t,e){return!t||t.type!=="JSXClosingFragment"?!1:e==null||(0,n.default)(t,e)}function qn(t,e){return!t||t.type!=="Noop"?!1:e==null||(0,n.default)(t,e)}function Vn(t,e){return!t||t.type!=="Placeholder"?!1:e==null||(0,n.default)(t,e)}function Yn(t,e){return!t||t.type!=="V8IntrinsicIdentifier"?!1:e==null||(0,n.default)(t,e)}function Xn(t,e){return!t||t.type!=="ArgumentPlaceholder"?!1:e==null||(0,n.default)(t,e)}function Jn(t,e){return!t||t.type!=="BindExpression"?!1:e==null||(0,n.default)(t,e)}function Un(t,e){return!t||t.type!=="Decorator"?!1:e==null||(0,n.default)(t,e)}function Wn(t,e){return!t||t.type!=="DoExpression"?!1:e==null||(0,n.default)(t,e)}function $n(t,e){return!t||t.type!=="ExportDefaultSpecifier"?!1:e==null||(0,n.default)(t,e)}function Gn(t,e){return!t||t.type!=="RecordExpression"?!1:e==null||(0,n.default)(t,e)}function zn(t,e){return!t||t.type!=="TupleExpression"?!1:e==null||(0,n.default)(t,e)}function Qn(t,e){return!t||t.type!=="DecimalLiteral"?!1:e==null||(0,n.default)(t,e)}function Hn(t,e){return!t||t.type!=="ModuleExpression"?!1:e==null||(0,n.default)(t,e)}function Zn(t,e){return!t||t.type!=="TopicReference"?!1:e==null||(0,n.default)(t,e)}function er(t,e){return!t||t.type!=="PipelineTopicExpression"?!1:e==null||(0,n.default)(t,e)}function tr(t,e){return!t||t.type!=="PipelineBareFunction"?!1:e==null||(0,n.default)(t,e)}function nr(t,e){return!t||t.type!=="PipelinePrimaryTopicReference"?!1:e==null||(0,n.default)(t,e)}function rr(t,e){return!t||t.type!=="VoidPattern"?!1:e==null||(0,n.default)(t,e)}function ar(t,e){return!t||t.type!=="TSParameterProperty"?!1:e==null||(0,n.default)(t,e)}function ir(t,e){return!t||t.type!=="TSDeclareFunction"?!1:e==null||(0,n.default)(t,e)}function sr(t,e){return!t||t.type!=="TSDeclareMethod"?!1:e==null||(0,n.default)(t,e)}function or(t,e){return!t||t.type!=="TSQualifiedName"?!1:e==null||(0,n.default)(t,e)}function lr(t,e){return!t||t.type!=="TSCallSignatureDeclaration"?!1:e==null||(0,n.default)(t,e)}function pr(t,e){return!t||t.type!=="TSConstructSignatureDeclaration"?!1:e==null||(0,n.default)(t,e)}function ur(t,e){return!t||t.type!=="TSPropertySignature"?!1:e==null||(0,n.default)(t,e)}function cr(t,e){return!t||t.type!=="TSMethodSignature"?!1:e==null||(0,n.default)(t,e)}function dr(t,e){return!t||t.type!=="TSIndexSignature"?!1:e==null||(0,n.default)(t,e)}function yr(t,e){return!t||t.type!=="TSAnyKeyword"?!1:e==null||(0,n.default)(t,e)}function fr(t,e){return!t||t.type!=="TSBooleanKeyword"?!1:e==null||(0,n.default)(t,e)}function Tr(t,e){return!t||t.type!=="TSBigIntKeyword"?!1:e==null||(0,n.default)(t,e)}function mr(t,e){return!t||t.type!=="TSIntrinsicKeyword"?!1:e==null||(0,n.default)(t,e)}function Sr(t,e){return!t||t.type!=="TSNeverKeyword"?!1:e==null||(0,n.default)(t,e)}function Er(t,e){return!t||t.type!=="TSNullKeyword"?!1:e==null||(0,n.default)(t,e)}function br(t,e){return!t||t.type!=="TSNumberKeyword"?!1:e==null||(0,n.default)(t,e)}function Ar(t,e){return!t||t.type!=="TSObjectKeyword"?!1:e==null||(0,n.default)(t,e)}function Pr(t,e){return!t||t.type!=="TSStringKeyword"?!1:e==null||(0,n.default)(t,e)}function vr(t,e){return!t||t.type!=="TSSymbolKeyword"?!1:e==null||(0,n.default)(t,e)}function xr(t,e){return!t||t.type!=="TSUndefinedKeyword"?!1:e==null||(0,n.default)(t,e)}function Ir(t,e){return!t||t.type!=="TSUnknownKeyword"?!1:e==null||(0,n.default)(t,e)}function gr(t,e){return!t||t.type!=="TSVoidKeyword"?!1:e==null||(0,n.default)(t,e)}function Or(t,e){return!t||t.type!=="TSThisType"?!1:e==null||(0,n.default)(t,e)}function Dr(t,e){return!t||t.type!=="TSFunctionType"?!1:e==null||(0,n.default)(t,e)}function hr(t,e){return!t||t.type!=="TSConstructorType"?!1:e==null||(0,n.default)(t,e)}function Nr(t,e){return!t||t.type!=="TSTypeReference"?!1:e==null||(0,n.default)(t,e)}function _r(t,e){return!t||t.type!=="TSTypePredicate"?!1:e==null||(0,n.default)(t,e)}function Lr(t,e){return!t||t.type!=="TSTypeQuery"?!1:e==null||(0,n.default)(t,e)}function Cr(t,e){return!t||t.type!=="TSTypeLiteral"?!1:e==null||(0,n.default)(t,e)}function Br(t,e){return!t||t.type!=="TSArrayType"?!1:e==null||(0,n.default)(t,e)}function Mr(t,e){return!t||t.type!=="TSTupleType"?!1:e==null||(0,n.default)(t,e)}function wr(t,e){return!t||t.type!=="TSOptionalType"?!1:e==null||(0,n.default)(t,e)}function jr(t,e){return!t||t.type!=="TSRestType"?!1:e==null||(0,n.default)(t,e)}function Rr(t,e){return!t||t.type!=="TSNamedTupleMember"?!1:e==null||(0,n.default)(t,e)}function Fr(t,e){return!t||t.type!=="TSUnionType"?!1:e==null||(0,n.default)(t,e)}function kr(t,e){return!t||t.type!=="TSIntersectionType"?!1:e==null||(0,n.default)(t,e)}function Kr(t,e){return!t||t.type!=="TSConditionalType"?!1:e==null||(0,n.default)(t,e)}function qr(t,e){return!t||t.type!=="TSInferType"?!1:e==null||(0,n.default)(t,e)}function Vr(t,e){return!t||t.type!=="TSParenthesizedType"?!1:e==null||(0,n.default)(t,e)}function Yr(t,e){return!t||t.type!=="TSTypeOperator"?!1:e==null||(0,n.default)(t,e)}function Xr(t,e){return!t||t.type!=="TSIndexedAccessType"?!1:e==null||(0,n.default)(t,e)}function Jr(t,e){return!t||t.type!=="TSMappedType"?!1:e==null||(0,n.default)(t,e)}function Ur(t,e){return!t||t.type!=="TSTemplateLiteralType"?!1:e==null||(0,n.default)(t,e)}function Wr(t,e){return!t||t.type!=="TSLiteralType"?!1:e==null||(0,n.default)(t,e)}function $r(t,e){return!t||t.type!=="TSExpressionWithTypeArguments"?!1:e==null||(0,n.default)(t,e)}function Gr(t,e){return!t||t.type!=="TSInterfaceDeclaration"?!1:e==null||(0,n.default)(t,e)}function zr(t,e){return!t||t.type!=="TSInterfaceBody"?!1:e==null||(0,n.default)(t,e)}function Qr(t,e){return!t||t.type!=="TSTypeAliasDeclaration"?!1:e==null||(0,n.default)(t,e)}function Hr(t,e){return!t||t.type!=="TSInstantiationExpression"?!1:e==null||(0,n.default)(t,e)}function Zr(t,e){return!t||t.type!=="TSAsExpression"?!1:e==null||(0,n.default)(t,e)}function ea(t,e){return!t||t.type!=="TSSatisfiesExpression"?!1:e==null||(0,n.default)(t,e)}function ta(t,e){return!t||t.type!=="TSTypeAssertion"?!1:e==null||(0,n.default)(t,e)}function na(t,e){return!t||t.type!=="TSEnumBody"?!1:e==null||(0,n.default)(t,e)}function ra(t,e){return!t||t.type!=="TSEnumDeclaration"?!1:e==null||(0,n.default)(t,e)}function aa(t,e){return!t||t.type!=="TSEnumMember"?!1:e==null||(0,n.default)(t,e)}function ia(t,e){return!t||t.type!=="TSModuleDeclaration"?!1:e==null||(0,n.default)(t,e)}function sa(t,e){return!t||t.type!=="TSModuleBlock"?!1:e==null||(0,n.default)(t,e)}function oa(t,e){return!t||t.type!=="TSImportType"?!1:e==null||(0,n.default)(t,e)}function la(t,e){return!t||t.type!=="TSImportEqualsDeclaration"?!1:e==null||(0,n.default)(t,e)}function pa(t,e){return!t||t.type!=="TSExternalModuleReference"?!1:e==null||(0,n.default)(t,e)}function ua(t,e){return!t||t.type!=="TSNonNullExpression"?!1:e==null||(0,n.default)(t,e)}function ca(t,e){return!t||t.type!=="TSExportAssignment"?!1:e==null||(0,n.default)(t,e)}function da(t,e){return!t||t.type!=="TSNamespaceExportDeclaration"?!1:e==null||(0,n.default)(t,e)}function ya(t,e){return!t||t.type!=="TSTypeAnnotation"?!1:e==null||(0,n.default)(t,e)}function fa(t,e){return!t||t.type!=="TSTypeParameterInstantiation"?!1:e==null||(0,n.default)(t,e)}function Ta(t,e){return!t||t.type!=="TSTypeParameterDeclaration"?!1:e==null||(0,n.default)(t,e)}function ma(t,e){return!t||t.type!=="TSTypeParameter"?!1:e==null||(0,n.default)(t,e)}function Sa(t,e){if(!t)return!1;switch(t.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":case"ImportAttribute":break;case"Placeholder":switch(t.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return e==null||(0,n.default)(t,e)}function Ea(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return e==null||(0,n.default)(t,e)}function ba(t,e){if(!t)return!1;switch(t.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return e==null||(0,n.default)(t,e)}function Aa(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,n.default)(t,e)}function Pa(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,n.default)(t,e)}function va(t,e){if(!t)return!1;switch(t.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,n.default)(t,e)}function xa(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return e==null||(0,n.default)(t,e)}function s(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return e==null||(0,n.default)(t,e)}function o(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return e==null||(0,n.default)(t,e)}function p(t,e){if(!t)return!1;switch(t.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return e==null||(0,n.default)(t,e)}function y(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,n.default)(t,e)}function S(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return e==null||(0,n.default)(t,e)}function x(t,e){if(!t)return!1;switch(t.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return e==null||(0,n.default)(t,e)}function w(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,n.default)(t,e)}function U(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,n.default)(t,e)}function Z(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,n.default)(t,e)}function pe(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return e==null||(0,n.default)(t,e)}function Xi(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,n.default)(t,e)}function Ji(t,e){if(!t)return!1;switch(t.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":case"TSImportEqualsDeclaration":break;case"Placeholder":if(t.expectedNode==="Declaration")break;default:return!1}return e==null||(0,n.default)(t,e)}function Ui(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,n.default)(t,e)}function Wi(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,n.default)(t,e)}function $i(t,e){if(!t)return!1;switch(t.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(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,n.default)(t,e)}function Gi(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,n.default)(t,e)}function zi(t,e){if(!t)return!1;switch(t.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,n.default)(t,e)}function Qi(t,e){if(!t)return!1;switch(t.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(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,n.default)(t,e)}function Hi(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return e==null||(0,n.default)(t,e)}function Zi(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,n.default)(t,e)}function es(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return e==null||(0,n.default)(t,e)}function ts(t,e){if(!t)return!1;switch(t.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return e==null||(0,n.default)(t,e)}function ns(t,e){if(!t)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return e==null||(0,n.default)(t,e)}function rs(t,e){if(!t)return!1;switch(t.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Pattern")break;default:return!1}return e==null||(0,n.default)(t,e)}function as(t,e){if(!t)return!1;switch(t.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return e==null||(0,n.default)(t,e)}function wa(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return e==null||(0,n.default)(t,e)}function is(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return e==null||(0,n.default)(t,e)}function ss(t,e){if(!t)return!1;switch(t.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return e==null||(0,n.default)(t,e)}function os(t,e){return!t||t.type!=="ClassAccessorProperty"?!1:e==null||(0,n.default)(t,e)}function ls(t,e){if(!t)return!1;switch(t.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return e==null||(0,n.default)(t,e)}function ps(t,e){if(!t)return!1;switch(t.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 e==null||(0,n.default)(t,e)}function us(t,e){if(!t)return!1;switch(t.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 e==null||(0,n.default)(t,e)}function cs(t,e){if(!t)return!1;switch(t.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 e==null||(0,n.default)(t,e)}function ds(t,e){if(!t)return!1;switch(t.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 e==null||(0,n.default)(t,e)}function ys(t,e){if(!t)return!1;switch(t.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return e==null||(0,n.default)(t,e)}function fs(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return e==null||(0,n.default)(t,e)}function Ts(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return e==null||(0,n.default)(t,e)}function ms(t,e){if(!t)return!1;switch(t.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 e==null||(0,n.default)(t,e)}function Ss(t,e){if(!t)return!1;switch(t.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return e==null||(0,n.default)(t,e)}function Es(t,e){if(!t)return!1;switch(t.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"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return e==null||(0,n.default)(t,e)}function bs(t,e){if(!t)return!1;switch(t.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return e==null||(0,n.default)(t,e)}function As(t,e){if(!t)return!1;switch(t.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"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return e==null||(0,n.default)(t,e)}function Ps(t,e){if(!t)return!1;switch(t.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"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return e==null||(0,n.default)(t,e)}function vs(t,e){return(0,a.default)("isNumberLiteral","isNumericLiteral"),!t||t.type!=="NumberLiteral"?!1:e==null||(0,n.default)(t,e)}function xs(t,e){return(0,a.default)("isRegexLiteral","isRegExpLiteral"),!t||t.type!=="RegexLiteral"?!1:e==null||(0,n.default)(t,e)}function Is(t,e){return(0,a.default)("isRestProperty","isRestElement"),!t||t.type!=="RestProperty"?!1:e==null||(0,n.default)(t,e)}function gs(t,e){return(0,a.default)("isSpreadProperty","isSpreadElement"),!t||t.type!=="SpreadProperty"?!1:e==null||(0,n.default)(t,e)}function Os(t,e){return(0,a.default)("isModuleDeclaration","isImportOrExportDeclaration"),wa(t,e)}return T}var Xs;function Nl(){if(Xs)return Ra;Xs=1,Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=i;var n=ee();function a(r){return(0,n.isMemberExpression)(r)||(0,n.isMetaProperty)(r)}function i(r,d,c){if(!a(r))return!1;const v=Array.isArray(d)?d:d.split("."),E=[];let A;for(A=r;a(A);A=(P=A.object)!=null?P:A.meta){var P;E.push(A.property)}if(E.push(A),E.length<v.length||!c&&E.length>v.length)return!1;for(let b=0,I=E.length-1;b<v.length;b++,I--){const g=E[I];let D;if((0,n.isIdentifier)(g))D=g.name;else if((0,n.isStringLiteral)(g))D=g.value;else if((0,n.isThisExpression)(g))D="this";else if((0,n.isSuper)(g))D="super";else if((0,n.isPrivateName)(g))D="#"+g.id.name;else return!1;if(v[b]!==D)return!1}return!0}return Ra}var Js;function _l(){if(Js)return ja;Js=1,Object.defineProperty(ja,"__esModule",{value:!0}),ja.default=a;var n=Nl();function a(i,r){const d=i.split(".");return c=>(0,n.default)(c,d,r)}return ja}var Us;function Ql(){if(Us)return Ia;Us=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.default=void 0;var n=_l();const a=(0,n.default)("React.Component");return Ia.default=a,Ia}var Ka={},Ws;function Hl(){if(Ws)return Ka;Ws=1,Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.default=n;function n(a){return!!a&&/^[a-z]/.test(a)}return Ka}var qa={},Va={},hs={},f={},Xe={},Ns={},ne={},Ya={},Xa={},$s;function Bs(){if($s)return Xa;$s=1,Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.default=a;var n=de();function a(i,r){if(i===r)return!0;if(i==null||n.ALIAS_KEYS[r])return!1;const d=n.FLIPPED_ALIAS_KEYS[r];return!!(d!=null&&d.includes(i))}return Xa}var Ja={},Gs;function Ll(){if(Gs)return Ja;Gs=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.default=a;var n=de();function a(i,r){if(i===r)return!0;const d=n.PLACEHOLDERS_ALIAS[i];return!!(d!=null&&d.includes(r))}return Ja}var zs;function Ca(){if(zs)return Ya;zs=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.default=d;var n=Cs(),a=Bs(),i=Ll(),r=de();function d(c,v,E){return v?(0,a.default)(v.type,c)?E===void 0?!0:(0,n.default)(v,E):!E&&v.type==="Placeholder"&&c in r.FLIPPED_ALIAS_KEYS?(0,i.default)(v.expectedNode,c):!1:!1}return Ya}var Ua={},_s={},We={},Qs;function Zl(){if(Qs)return We;Qs=1,Object.defineProperty(We,"__esModule",{value:!0}),We.isIdentifierChar=A,We.isIdentifierName=P,We.isIdentifierStart=E;let n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",a="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const i=new RegExp("["+n+"]"),r=new RegExp("["+n+a+"]");n=a=null;const d=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],c=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function v(b,I){let g=65536;for(let D=0,R=I.length;D<R;D+=2){if(g+=I[D],g>b)return!1;if(g+=I[D+1],g>=b)return!0}return!1}function E(b){return b<65?b===36:b<=90?!0:b<97?b===95:b<=122?!0:b<=65535?b>=170&&i.test(String.fromCharCode(b)):v(b,d)}function A(b){return b<48?b===36:b<58?!0:b<65?!1:b<=90?!0:b<97?b===95:b<=122?!0:b<=65535?b>=170&&r.test(String.fromCharCode(b)):v(b,d)||v(b,c)}function P(b){let I=!0;for(let g=0;g<b.length;g++){let D=b.charCodeAt(g);if((D&64512)===55296&&g+1<b.length){const R=b.charCodeAt(++g);(R&64512)===56320&&(D=65536+((D&1023)<<10)+(R&1023))}if(I){if(I=!1,!E(D))return!1}else if(!A(D))return!1}return!I}return We}var Ee={},Hs;function ep(){if(Hs)return Ee;Hs=1,Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.isKeyword=A,Ee.isReservedWord=d,Ee.isStrictBindOnlyReservedWord=v,Ee.isStrictBindReservedWord=E,Ee.isStrictReservedWord=c;const n={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},a=new Set(n.keyword),i=new Set(n.strict),r=new Set(n.strictBind);function d(P,b){return b&&P==="await"||P==="enum"}function c(P,b){return d(P,b)||i.has(P)}function v(P){return r.has(P)}function E(P,b){return c(P,b)||v(P)}function A(P){return a.has(P)}return Ee}var Zs;function Ms(){return Zs||(Zs=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isIdentifierChar",{enumerable:!0,get:function(){return a.isIdentifierChar}}),Object.defineProperty(n,"isIdentifierName",{enumerable:!0,get:function(){return a.isIdentifierName}}),Object.defineProperty(n,"isIdentifierStart",{enumerable:!0,get:function(){return a.isIdentifierStart}}),Object.defineProperty(n,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(n,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(n,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(n,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(n,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var a=Zl(),i=ep()})(_s)),_s}var eo;function Ba(){if(eo)return Ua;eo=1,Object.defineProperty(Ua,"__esModule",{value:!0}),Ua.default=a;var n=Ms();function a(i,r=!0){return typeof i!="string"||r&&((0,n.isKeyword)(i)||(0,n.isStrictReservedWord)(i,!0))?!1:(0,n.isIdentifierName)(i)}return Ua}var $e={},to;function tp(){if(to)return $e;to=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.readCodePoint=A,$e.readInt=E,$e.readStringContents=r;var n=function(P){return P>=48&&P<=57};const a={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},i={bin:P=>P===48||P===49,oct:P=>P>=48&&P<=55,dec:P=>P>=48&&P<=57,hex:P=>P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102};function r(P,b,I,g,D,R){const h=I,L=g,N=D;let _="",M=null,V=I;const{length:G}=b;for(;;){if(I>=G){R.unterminated(h,L,N),_+=b.slice(V,I);break}const z=b.charCodeAt(I);if(d(P,z,b,I)){_+=b.slice(V,I);break}if(z===92){_+=b.slice(V,I);const Q=c(b,I,g,D,P==="template",R);Q.ch===null&&!M?M={pos:I,lineStart:g,curLine:D}:_+=Q.ch,{pos:I,lineStart:g,curLine:D}=Q,V=I}else z===8232||z===8233?(++I,++D,g=I):z===10||z===13?P==="template"?(_+=b.slice(V,I)+`
|
|
4
|
+
`,++I,z===13&&b.charCodeAt(I)===10&&++I,++D,V=g=I):R.unterminated(h,L,N):++I}return{pos:I,str:_,firstInvalidLoc:M,lineStart:g,curLine:D,containsInvalid:!!M}}function d(P,b,I,g){return P==="template"?b===96||b===36&&I.charCodeAt(g+1)===123:b===(P==="double"?34:39)}function c(P,b,I,g,D,R){const h=!D;b++;const L=_=>({pos:b,ch:_,lineStart:I,curLine:g}),N=P.charCodeAt(b++);switch(N){case 110:return L(`
|
|
5
|
+
`);case 114:return L("\r");case 120:{let _;return{code:_,pos:b}=v(P,b,I,g,2,!1,h,R),L(_===null?null:String.fromCharCode(_))}case 117:{let _;return{code:_,pos:b}=A(P,b,I,g,h,R),L(_===null?null:String.fromCodePoint(_))}case 116:return L(" ");case 98:return L("\b");case 118:return L("\v");case 102:return L("\f");case 13:P.charCodeAt(b)===10&&++b;case 10:I=b,++g;case 8232:case 8233:return L("");case 56:case 57:if(D)return L(null);R.strictNumericEscape(b-1,I,g);default:if(N>=48&&N<=55){const _=b-1;let M=/^[0-7]+/.exec(P.slice(_,b+2))[0],V=parseInt(M,8);V>255&&(M=M.slice(0,-1),V=parseInt(M,8)),b+=M.length-1;const G=P.charCodeAt(b);if(M!=="0"||G===56||G===57){if(D)return L(null);R.strictNumericEscape(_,I,g)}return L(String.fromCharCode(V))}return L(String.fromCharCode(N))}}function v(P,b,I,g,D,R,h,L){const N=b;let _;return{n:_,pos:b}=E(P,b,I,g,16,D,R,!1,L,!h),_===null&&(h?L.invalidEscapeSequence(N,I,g):b=N-1),{code:_,pos:b}}function E(P,b,I,g,D,R,h,L,N,_){const M=b,V=D===16?a.hex:a.decBinOct,G=D===16?i.hex:D===10?i.dec:D===8?i.oct:i.bin;let z=!1,Q=0;for(let H=0,oe=R??1/0;H<oe;++H){const re=P.charCodeAt(b);let te;if(re===95&&L!=="bail"){const ue=P.charCodeAt(b-1),ae=P.charCodeAt(b+1);if(L){if(Number.isNaN(ae)||!G(ae)||V.has(ue)||V.has(ae)){if(_)return{n:null,pos:b};N.unexpectedNumericSeparator(b,I,g)}}else{if(_)return{n:null,pos:b};N.numericSeparatorInEscapeSequence(b,I,g)}++b;continue}if(re>=97?te=re-97+10:re>=65?te=re-65+10:n(re)?te=re-48:te=1/0,te>=D){if(te<=9&&_)return{n:null,pos:b};if(te<=9&&N.invalidDigit(b,I,g,D))te=0;else if(h)te=0,z=!0;else break}++b,Q=Q*D+te}return b===M||R!=null&&b-M!==R||z?{n:null,pos:b}:{n:Q,pos:b}}function A(P,b,I,g,D,R){const h=P.charCodeAt(b);let L;if(h===123){if(++b,{code:L,pos:b}=v(P,b,I,g,P.indexOf("}",b)-b,!0,D,R),++b,L!==null&&L>1114111)if(D)R.invalidCodePoint(b,I,g);else return{code:null,pos:b}}else({code:L,pos:b}=v(P,b,I,g,4,!1,D,R));return{code:L,pos:b}}return $e}var k={},no;function Ma(){if(no)return k;no=1,Object.defineProperty(k,"__esModule",{value:!0}),k.UPDATE_OPERATORS=k.UNARY_OPERATORS=k.STRING_UNARY_OPERATORS=k.STATEMENT_OR_BLOCK_KEYS=k.NUMBER_UNARY_OPERATORS=k.NUMBER_BINARY_OPERATORS=k.LOGICAL_OPERATORS=k.INHERIT_KEYS=k.FOR_INIT_KEYS=k.FLATTENABLE_KEYS=k.EQUALITY_BINARY_OPERATORS=k.COMPARISON_BINARY_OPERATORS=k.COMMENT_KEYS=k.BOOLEAN_UNARY_OPERATORS=k.BOOLEAN_NUMBER_BINARY_OPERATORS=k.BOOLEAN_BINARY_OPERATORS=k.BINARY_OPERATORS=k.ASSIGNMENT_OPERATORS=void 0,k.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],k.FLATTENABLE_KEYS=["body","expressions"],k.FOR_INIT_KEYS=["left","init"],k.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const n=k.LOGICAL_OPERATORS=["||","&&","??"];k.UPDATE_OPERATORS=["++","--"];const a=k.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],i=k.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],r=k.COMPARISON_BINARY_OPERATORS=[...i,"in","instanceof"],d=k.BOOLEAN_BINARY_OPERATORS=[...r,...a],c=k.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];k.BINARY_OPERATORS=["+",...c,...d,"|>"],k.ASSIGNMENT_OPERATORS=["=","+=",...c.map(P=>P+"="),...n.map(P=>P+"=")];const v=k.BOOLEAN_UNARY_OPERATORS=["delete","!"],E=k.NUMBER_UNARY_OPERATORS=["+","-","~"],A=k.STRING_UNARY_OPERATORS=["typeof"];return k.UNARY_OPERATORS=["void","throw",...v,...E,...A],k.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},k.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),k.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding"),k}var q={},ro;function Se(){if(ro)return q;ro=1,Object.defineProperty(q,"__esModule",{value:!0}),q.allExpandedTypes=q.VISITOR_KEYS=q.NODE_UNION_SHAPES__PRIVATE=q.NODE_PARENT_VALIDATIONS=q.NODE_FIELDS=q.FLIPPED_ALIAS_KEYS=q.DEPRECATED_KEYS=q.BUILDER_KEYS=q.ALIAS_KEYS=void 0,q.arrayOf=h,q.arrayOfType=L,q.assertEach=_,q.assertNodeOrValueType=z,q.assertNodeType=G,q.assertOneOf=M,q.assertOptionalChainStart=oe,q.assertShape=H,q.assertValueType=Q,q.chain=re,q.default=ce,q.defineAliasedType=fe,q.validate=I,q.validateArrayOfType=N,q.validateOptional=D,q.validateOptionalType=R,q.validateType=g;var n=Ca(),a=ws();const i=q.VISITOR_KEYS={},r=q.ALIAS_KEYS={},d=q.FLIPPED_ALIAS_KEYS={},c=q.NODE_FIELDS={},v=q.BUILDER_KEYS={},E=q.DEPRECATED_KEYS={},A=q.NODE_PARENT_VALIDATIONS={},P=q.NODE_UNION_SHAPES__PRIVATE={};function b(B){return Array.isArray(B)?"array":B===null?"null":typeof B}function I(B){return{validate:B}}function g(...B){return I(G(...B))}function D(B){return{validate:B,optional:!0}}function R(...B){return{validate:G(...B),optional:!0}}function h(B){return re(Q("array"),_(B))}function L(...B){return h(G(...B))}function N(...B){return I(L(...B))}function _(B){const F=process.env.BABEL_TYPES_8_BREAKING?a.validateChild:()=>{};function K(j,Y,$){if(!Array.isArray($))return;let J=0;const X={toString(){return`${Y}[${J}]`}};for(;J<$.length;J++){const W=$[J];B(j,X,W),F(j,X,W)}}return K.each=B,K}function M(...B){function F(K,j,Y){if(!B.includes(Y))throw new TypeError(`Property ${j} expected value to be one of ${JSON.stringify(B)} but got ${JSON.stringify(Y)}`)}return F.oneOf=B,F}const V=q.allExpandedTypes=[];function G(...B){const F=new Set;V.push({types:B,set:F});function K(j,Y,$){const J=$?.type;if(J!=null){if(F.has(J)){(0,a.validateChild)(j,Y,$);return}if(J==="Placeholder"){for(const X of B)if((0,n.default)(X,$)){(0,a.validateChild)(j,Y,$);return}}}throw new TypeError(`Property ${Y} of ${j.type} expected node to be of a type ${JSON.stringify(B)} but instead got ${JSON.stringify(J)}`)}return K.oneOfNodeTypes=B,K}function z(...B){function F(K,j,Y){const $=b(Y);for(const J of B)if($===J||(0,n.default)(J,Y)){(0,a.validateChild)(K,j,Y);return}throw new TypeError(`Property ${j} of ${K.type} expected node to be of a type ${JSON.stringify(B)} but instead got ${JSON.stringify(Y?.type)}`)}return F.oneOfNodeOrValueTypes=B,F}function Q(B){function F(K,j,Y){if(b(Y)!==B)throw new TypeError(`Property ${j} expected type of ${B} but got ${b(Y)}`)}return F.type=B,F}function H(B){const F=Object.keys(B);function K(j,Y,$){const J=[];for(const X of F)try{(0,a.validateField)(j,X,$[X],B[X])}catch(W){if(W instanceof TypeError){J.push(W.message);continue}throw W}if(J.length)throw new TypeError(`Property ${Y} of ${j.type} expected to have the following:
|
|
6
|
+
${J.join(`
|
|
7
|
+
`)}`)}return K.shapeOf=B,K}function oe(){function B(F){var K;let j=F;for(;F;){const{type:Y}=j;if(Y==="OptionalCallExpression"){if(j.optional)return;j=j.callee;continue}if(Y==="OptionalMemberExpression"){if(j.optional)return;j=j.object;continue}break}throw new TypeError(`Non-optional ${F.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(K=j)==null?void 0:K.type}`)}return B}function re(...B){function F(...K){for(const j of B)j(...K)}if(F.chainOf=B,B.length>=2&&"type"in B[0]&&B[0].type==="array"&&!("each"in B[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return F}const te=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate","unionShape"]),ue=new Set(["default","optional","deprecated","validate"]),ae={};function fe(...B){return(F,K={})=>{let j=K.aliases;if(!j){var Y;K.inherits&&(j=(Y=ae[K.inherits].aliases)==null?void 0:Y.slice()),j??(j=[]),K.aliases=j}const $=B.filter(J=>!j.includes(J));j.unshift(...$),ce(F,K)}}function ce(B,F={}){const K=F.inherits&&ae[F.inherits]||{};let j=F.fields;if(!j&&(j={},K.fields)){const X=Object.getOwnPropertyNames(K.fields);for(const W of X){const ie=K.fields[W],se=ie.default;if(Array.isArray(se)?se.length>0:se&&typeof se=="object")throw new Error("field defaults can only be primitives or empty arrays currently");j[W]={default:Array.isArray(se)?[]:se,optional:ie.optional,deprecated:ie.deprecated,validate:ie.validate}}}const Y=F.visitor||K.visitor||[],$=F.aliases||K.aliases||[],J=F.builder||K.builder||F.visitor||[];for(const X of Object.keys(F))if(!te.has(X))throw new Error(`Unknown type option "${X}" on ${B}`);F.deprecatedAlias&&(E[F.deprecatedAlias]=B);for(const X of Y.concat(J))j[X]=j[X]||{};for(const X of Object.keys(j)){const W=j[X];W.default!==void 0&&!J.includes(X)&&(W.optional=!0),W.default===void 0?W.default=null:!W.validate&&W.default!=null&&(W.validate=Q(b(W.default)));for(const ie of Object.keys(W))if(!ue.has(ie))throw new Error(`Unknown field key "${ie}" on ${B}.${X}`)}i[B]=F.visitor=Y,v[B]=F.builder=J,c[B]=F.fields=j,r[B]=F.aliases=$,$.forEach(X=>{d[X]=d[X]||[],d[X].push(B)}),F.validate&&(A[B]=F.validate),F.unionShape&&(P[B]=F.unionShape),ae[B]=F}return q}var ao;function Vi(){if(ao)return ne;ao=1,Object.defineProperty(ne,"__esModule",{value:!0}),ne.patternLikeCommon=ne.importAttributes=ne.functionTypeAnnotationCommon=ne.functionDeclarationCommon=ne.functionCommon=ne.classMethodOrPropertyUnionShapeCommon=ne.classMethodOrPropertyCommon=ne.classMethodOrDeclareMethodCommon=void 0;var n=Ca(),a=Ba(),i=Ms(),r=tp(),d=Ma(),c=Se();const v=(h=!1)=>({unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,c.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:h?(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"):(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral")}}}]}});ne.classMethodOrPropertyUnionShapeCommon=v;const E=(0,c.defineAliasedType)("Standardized");E("ArrayExpression",{fields:{elements:{validate:(0,c.arrayOf)((0,c.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),E("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(){const h=(0,c.assertOneOf)(...d.ASSIGNMENT_OPERATORS),L=(0,c.assertOneOf)("=");return function(N,_,M){((0,n.default)("Pattern",N.left)?L:h)(N,_,M)}})(),{oneOf:d.ASSIGNMENT_OPERATORS}):(0,c.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,c.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),E("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,c.assertOneOf)(...d.BINARY_OPERATORS)},left:{validate:(function(){const h=(0,c.assertNodeType)("Expression"),L=(0,c.assertNodeType)("Expression","PrivateName");return Object.assign(function(N,_,M){(N.operator==="in"?L:h)(N,_,M)},{oneOfNodeTypes:["Expression","PrivateName"]})})()},right:{validate:(0,c.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),E("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}}}),E("Directive",{visitor:["value"],fields:{value:{validate:(0,c.assertNodeType)("DirectiveLiteral")}}}),E("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}}}),E("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,c.arrayOfType)("Directive"),default:[]},body:(0,c.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),E("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),E("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,c.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,c.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,c.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),E("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),E("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},consequent:{validate:(0,c.assertNodeType)("Expression")},alternate:{validate:(0,c.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),E("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),E("DebuggerStatement",{aliases:["Statement"]}),E("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),E("EmptyStatement",{aliases:["Statement"]}),E("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,c.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),E("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,c.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertEach)((0,c.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,c.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),E("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),E("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,c.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,c.assertNodeType)("Expression"),optional:!0},update:{validate:(0,c.assertNodeType)("Expression"),optional:!0},body:{validate:(0,c.assertNodeType)("Statement")}}});const A=()=>({params:(0,c.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});ne.functionCommon=A;const P=()=>({returnType:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});ne.functionTypeAnnotationCommon=P;const b=()=>Object.assign({},A(),{declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}});ne.functionDeclarationCommon=b,E("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},b(),P(),{body:{validate:(0,c.assertNodeType)("BlockStatement")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const h=(0,c.assertNodeType)("Identifier");return function(L,N,_){(0,n.default)("ExportDefaultDeclaration",L)||h(_,"id",_.id)}})():void 0}),E("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},A(),P(),{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});const I=()=>({typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}});ne.patternLikeCommon=I,E("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},I(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("string"),Object.assign(function(h,L,N){if(!(0,a.default)(N,!1))throw new TypeError(`"${N}" is not a valid identifier name`)},{type:"string"})):(0,c.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(h,L,N){const _=/\.(\w+)$/.exec(L.toString());if(!_)return;const[,M]=_,V={computed:!1};if(M==="property"){if((0,n.default)("MemberExpression",h,V)||(0,n.default)("OptionalMemberExpression",h,V))return}else if(M==="key"){if((0,n.default)("Property",h,V)||(0,n.default)("Method",h,V))return}else if(M==="exported"){if((0,n.default)("ExportSpecifier",h))return}else if(M==="imported"){if((0,n.default)("ImportSpecifier",h,{imported:N}))return}else if(M==="meta"&&(0,n.default)("MetaProperty",h,{meta:N}))return;if(((0,i.isKeyword)(N.name)||(0,i.isReservedWord)(N.name,!1))&&N.name!=="this")throw new TypeError(`"${N.name}" is not a valid identifier`)}:void 0}),E("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},consequent:{validate:(0,c.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,c.assertNodeType)("Statement")}}}),E("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,c.assertNodeType)("Identifier")},body:{validate:(0,c.assertNodeType)("Statement")}}}),E("StringLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),E("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,c.chain)((0,c.assertValueType)("number"),Object.assign(function(h,L,N){},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),E("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),E("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),E("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,c.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("string"),Object.assign(function(h,L,N){const _=/[^dgimsuvy]/.exec(N);if(_)throw new TypeError(`"${_[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,c.assertValueType)("string"),default:""}}}),E("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,c.assertOneOf)(...d.LOGICAL_OPERATORS)},left:{validate:(0,c.assertNodeType)("Expression")},right:{validate:(0,c.assertNodeType)("Expression")}}}),E("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{property:{validate:(0,c.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{property:{validate:(0,c.assertNodeType)("Identifier","PrivateName")}}}]},fields:Object.assign({object:{validate:(0,c.assertNodeType)("Expression","Super")},property:{validate:(function(){const h=(0,c.assertNodeType)("Identifier","PrivateName"),L=(0,c.assertNodeType)("Expression"),N=function(_,M,V){(_.computed?L:h)(_,M,V)};return N.oneOfNodeTypes=["Expression","Identifier","PrivateName"],N})()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,c.assertValueType)("boolean"),optional:!0}})}),E("NewExpression",{inherits:"CallExpression"}),E("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,c.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,c.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,c.arrayOfType)("Directive"),default:[]},body:(0,c.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),E("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,c.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),E("ObjectMethod",Object.assign({builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},v(),{fields:Object.assign({},A(),P(),{kind:Object.assign({validate:(0,c.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(function(){const h=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),L=(0,c.assertNodeType)("Expression"),N=function(_,M,V){(_.computed?L:h)(_,M,V)};return N.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],N})()},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]})),E("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,c.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName")}}}]},fields:{computed:{default:!1},key:{validate:(function(){const h=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),L=(0,c.assertNodeType)("Expression");return Object.assign(function(N,_,M){(N.computed?L:h)(N,_,M)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})})()},value:{validate:(0,c.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),Object.assign(function(h,L,N){if(N){if(h.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,n.default)("Identifier",h.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,c.assertValueType)("boolean"),default:!1},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const h=(0,c.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),L=(0,c.assertNodeType)("Expression");return function(N,_,M){((0,n.default)("ObjectPattern",N)?h:L)(M,"value",M.value)}})():void 0}),E("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},I(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(h,L){const N=/(\w+)\[(\d+)\]/.exec(L.toString());if(!N)throw new Error("Internal Babel error: malformed key.");const[,_,M]=N;if(h[_].length>+M+1)throw new TypeError(`RestElement must be last element of ${_}`)}:void 0}),E("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,c.assertNodeType)("Expression"),optional:!0}}}),E("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,c.validateArrayOfType)("Expression")},aliases:["Expression"]}),E("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,c.assertNodeType)("Expression")}}}),E("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,c.assertNodeType)("Expression"),optional:!0},consequent:(0,c.validateArrayOfType)("Statement")}}),E("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,c.assertNodeType)("Expression")},cases:(0,c.validateArrayOfType)("SwitchCase")}}),E("ThisExpression",{aliases:["Expression"]}),E("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),E("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertNodeType)("BlockStatement"),Object.assign(function(h){if(!h.handler&&!h.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,c.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,c.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,c.assertNodeType)("BlockStatement")}}}),E("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,c.assertNodeType)("Expression")},operator:{validate:(0,c.assertOneOf)(...d.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),E("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","MemberExpression"):(0,c.assertNodeType)("Expression")},operator:{validate:(0,c.assertOneOf)(...d.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),E("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},kind:{validate:(0,c.assertOneOf)("var","let","const","using","await using")},declarations:(0,c.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{const h=(0,c.assertNodeType)("Identifier","Placeholder"),L=(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),N=(0,c.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(_,M,V){const{kind:G,declarations:z}=V,Q=(0,n.default)("ForXStatement",_,{left:V});if(Q&&z.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${_.type}`);for(const H of z)G==="const"||G==="let"||G==="var"?!Q&&!H.init?h(H,"id",H.id):L(H,"id",H.id):N(H,"id",H.id)}})():void 0}),E("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,c.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,c.assertValueType)("boolean")},init:{optional:!0,validate:(0,c.assertNodeType)("Expression")}}}),E("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),E("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),E("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},I(),{left:{validate:(0,c.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,c.assertNodeType)("Expression")},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}})}),E("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},I(),{elements:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeOrValueType)("null","PatternLike")))}})}),E("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},A(),P(),{expression:{validate:(0,c.assertValueType)("boolean")},body:{validate:(0,c.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),E("ClassBody",{visitor:["body"],fields:{body:(0,c.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),E("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,c.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,c.assertNodeType)("Expression")},superTypeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,c.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,c.assertNodeType)("InterfaceExtends"),optional:!0}}}),E("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,c.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,c.assertNodeType)("Expression")},superTypeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,c.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,c.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,c.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(function(){const h=(0,c.assertNodeType)("Identifier");return function(L,N,_){(0,n.default)("ExportDefaultDeclaration",L)||h(_,"id",_.id)}})():void 0});const g=ne.importAttributes={attributes:{optional:!0,validate:(0,c.arrayOfType)("ImportAttribute")}};g.assertions={deprecated:!0,optional:!0,validate:(0,c.arrayOfType)("ImportAttribute")},E("ExportAllDeclaration",{builder:["source","attributes"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,c.assertNodeType)("StringLiteral")},exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value"))},g)}),E("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,c.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,c.validateOptional)((0,c.assertOneOf)("value"))}}),E("ExportNamedDeclaration",{builder:["declaration","specifiers","source","attributes"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertNodeType)("Declaration"),Object.assign(function(h,L,N){if(N&&h.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(N&&h.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,c.assertNodeType)("Declaration")}},g,{specifiers:{default:[],validate:(0,c.arrayOf)((function(){const h=(0,c.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),L=(0,c.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(N,_,M){(N.source?h:L)(N,_,M)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):h})())},source:{validate:(0,c.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value"))})}),E("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")},exported:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,c.assertOneOf)("type","value"),optional:!0}}}),E("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,c.assertNodeType)("VariableDeclaration","LVal");const h=(0,c.assertNodeType)("VariableDeclaration"),L=(0,c.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(N,_,M){(0,n.default)("VariableDeclaration",M)?h(N,_,M):L(N,_,M)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})})()},right:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")},await:{default:!1}}}),E("ImportDeclaration",{builder:["specifiers","source","attributes"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},g,{module:{optional:!0,validate:(0,c.assertValueType)("boolean")},phase:{default:null,validate:(0,c.assertOneOf)("source","defer")},specifiers:(0,c.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,c.assertNodeType)("StringLiteral")},importKind:{validate:(0,c.assertOneOf)("type","typeof","value"),optional:!0}})}),E("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")}}}),E("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")}}}),E("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")},imported:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,c.assertOneOf)("type","typeof","value"),optional:!0}}}),E("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,c.assertOneOf)("source","defer")},source:{validate:(0,c.assertNodeType)("Expression")},options:{validate:(0,c.assertNodeType)("Expression"),optional:!0}}}),E("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertNodeType)("Identifier"),Object.assign(function(h,L,N){let _;switch(N.name){case"function":_="sent";break;case"new":_="target";break;case"import":_="meta";break}if(!(0,n.default)("Identifier",h.property,{name:_}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,c.assertNodeType)("Identifier")},property:{validate:(0,c.assertNodeType)("Identifier")}}});const D=()=>({abstract:{validate:(0,c.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,c.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},key:{validate:(0,c.chain)((function(){const h=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),L=(0,c.assertNodeType)("Expression");return function(N,_,M){(N.computed?L:h)(N,_,M)}})(),(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});ne.classMethodOrPropertyCommon=D;const R=()=>Object.assign({},A(),D(),{params:(0,c.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,c.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,c.chain)((0,c.assertValueType)("string"),(0,c.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}});return ne.classMethodOrDeclareMethodCommon=R,E("ClassMethod",Object.assign({aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},v(),{fields:Object.assign({},R(),P(),{body:{validate:(0,c.assertNodeType)("BlockStatement")}})})),E("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},I(),{properties:(0,c.validateArrayOfType)("RestElement","ObjectProperty")})}),E("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),E("Super",{aliases:["Expression"]}),E("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,c.assertNodeType)("Expression")},quasi:{validate:(0,c.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),E("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,c.chain)((0,c.assertShape)({raw:{validate:(0,c.assertValueType)("string")},cooked:{validate:(0,c.assertValueType)("string"),optional:!0}}),function(h){const L=h.value.raw;let N=!1;const _=()=>{throw new Error("Internal @babel/types error.")},{str:M,firstInvalidLoc:V}=(0,r.readStringContents)("template",L,0,0,0,{unterminated(){N=!0},strictNumericEscape:_,invalidEscapeSequence:_,numericSeparatorInEscapeSequence:_,unexpectedNumericSeparator:_,invalidDigit:_,invalidCodePoint:_});if(!N)throw new Error("Invalid raw");h.value.cooked=V?null:M})},tail:{default:!1}}}),E("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,c.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Expression","TSType")),function(h,L,N){if(h.quasis.length!==N.length+1)throw new TypeError(`Number of ${h.type} quasis should be exactly one more than the number of expressions.
|
|
8
|
+
Expected ${N.length+1} quasis but got ${h.quasis.length}`)})}}}),E("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),Object.assign(function(h,L,N){if(N&&!h.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,c.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,c.assertNodeType)("Expression")}}}),E("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),E("Import",{aliases:["Expression"]}),E("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),E("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,c.assertNodeType)("Identifier")}}}),E("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,c.assertNodeType)("Expression")},property:{validate:(function(){const h=(0,c.assertNodeType)("Identifier"),L=(0,c.assertNodeType)("Expression");return Object.assign(function(N,_,M){(N.computed?L:h)(N,_,M)},{oneOfNodeTypes:["Expression","Identifier"]})})()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),(0,c.assertOptionalChainStart)()):(0,c.assertValueType)("boolean")}}}),E("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,c.assertNodeType)("Expression")},arguments:(0,c.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),(0,c.assertOptionalChainStart)()):(0,c.assertValueType)("boolean")},typeArguments:{validate:(0,c.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,c.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),E("ClassProperty",Object.assign({visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"]},v(),{fields:Object.assign({},D(),{value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}})})),E("ClassAccessorProperty",Object.assign({visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"]},v(!0),{fields:Object.assign({},D(),{key:{validate:(0,c.chain)((function(){const h=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),L=(0,c.assertNodeType)("Expression");return function(N,_,M){(N.computed?L:h)(N,_,M)}})(),(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}})})),E("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,c.assertNodeType)("PrivateName")},value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,c.assertValueType)("boolean"),default:!1},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}}}),E("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},R(),P(),{kind:{validate:(0,c.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,c.assertNodeType)("PrivateName")},body:{validate:(0,c.assertNodeType)("BlockStatement")}})}),E("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,c.assertNodeType)("Identifier")}}}),E("StaticBlock",{visitor:["body"],fields:{body:(0,c.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),E("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,c.assertNodeType)("StringLiteral")}}}),ne}var io={},so;function np(){if(so)return io;so=1;var n=Vi(),a=Se();const i=(0,a.defineAliasedType)("Flow"),r=d=>{const c=d==="DeclareClass";i(d,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...c?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),extends:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends"))},c?{mixins:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends")),implements:(0,a.validateOptional)((0,a.arrayOfType)("ClassImplements"))}:{},{body:(0,a.validateType)("ObjectTypeAnnotation")})})};return i("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,a.validateType)("FlowType")}}),i("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),r("DeclareClass"),i("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),predicate:(0,a.validateOptionalType)("DeclaredPredicate")}}),r("DeclareInterface"),i("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier","StringLiteral"),body:(0,a.validateType)("BlockStatement"),kind:(0,a.validateOptional)((0,a.assertOneOf)("CommonJS","ES"))}}),i("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,a.validateType)("TypeAnnotation")}}),i("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),right:(0,a.validateType)("FlowType")}}),i("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,a.validateOptionalType)("FlowType"),impltype:(0,a.validateOptionalType)("FlowType")}}),i("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier")}}),i("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,a.validateOptionalType)("Flow"),specifiers:(0,a.validateOptional)((0,a.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,a.validateOptionalType)("StringLiteral"),default:(0,a.validateOptional)((0,a.assertValueType)("boolean"))},n.importAttributes)}),i("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,a.validateType)("StringLiteral"),exportKind:(0,a.validateOptional)((0,a.assertOneOf)("type","value"))},n.importAttributes)}),i("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,a.validateType)("Flow")}}),i("ExistsTypeAnnotation",{aliases:["FlowType"]}),i("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),params:(0,a.validateArrayOfType)("FunctionTypeParam"),rest:(0,a.validateOptionalType)("FunctionTypeParam"),this:(0,a.validateOptionalType)("FunctionTypeParam"),returnType:(0,a.validateType)("FlowType")}}),i("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,a.validateOptionalType)("Identifier"),typeAnnotation:(0,a.validateType)("FlowType"),optional:(0,a.validateOptional)((0,a.assertValueType)("boolean"))}}),i("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,a.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),i("InferredPredicate",{aliases:["FlowPredicate"]}),i("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,a.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),r("InterfaceDeclaration"),i("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends")),body:(0,a.validateType)("ObjectTypeAnnotation")}}),i("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),i("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,a.validateType)("FlowType")}}),i("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("number"))}}),i("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,a.validate)((0,a.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,a.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,a.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,a.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,a.assertValueType)("boolean"),default:!1},inexact:(0,a.validateOptional)((0,a.assertValueType)("boolean"))}}),i("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,a.validateType)("Identifier"),value:(0,a.validateType)("FlowType"),optional:(0,a.validate)((0,a.assertValueType)("boolean")),static:(0,a.validate)((0,a.assertValueType)("boolean")),method:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,a.validateType)("FlowType"),static:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,a.validateOptionalType)("Identifier"),key:(0,a.validateType)("FlowType"),value:(0,a.validateType)("FlowType"),static:(0,a.validate)((0,a.assertValueType)("boolean")),variance:(0,a.validateOptionalType)("Variance")}}),i("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,a.validateType)("Identifier","StringLiteral"),value:(0,a.validateType)("FlowType"),kind:(0,a.validate)((0,a.assertOneOf)("init","get","set")),static:(0,a.validate)((0,a.assertValueType)("boolean")),proto:(0,a.validate)((0,a.assertValueType)("boolean")),optional:(0,a.validate)((0,a.assertValueType)("boolean")),variance:(0,a.validateOptionalType)("Variance"),method:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,a.validateType)("FlowType")}}),i("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,a.validateOptionalType)("FlowType"),impltype:(0,a.validateType)("FlowType")}}),i("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,a.validateType)("Identifier"),qualification:(0,a.validateType)("Identifier","QualifiedTypeIdentifier")}}),i("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("string"))}}),i("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),i("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,a.validateType)("FlowType")}}),i("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),right:(0,a.validateType)("FlowType")}}),i("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("FlowType")}}),i("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,a.validateType)("Expression"),typeAnnotation:(0,a.validateType)("TypeAnnotation")}}),i("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,a.validate)((0,a.assertValueType)("string")),bound:(0,a.validateOptionalType)("TypeAnnotation"),default:(0,a.validateOptionalType)("FlowType"),variance:(0,a.validateOptionalType)("Variance")}}),i("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,a.validate)((0,a.arrayOfType)("TypeParameter"))}}),i("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),i("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),i("Variance",{builder:["kind"],fields:{kind:(0,a.validate)((0,a.assertOneOf)("minus","plus"))}}),i("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,a.validateType)("Identifier"),body:(0,a.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),i("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,a.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),i("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("BooleanLiteral")}}),i("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("NumericLiteral")}}),i("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("StringLiteral")}}),i("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,a.validateType)("Identifier")}}),i("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,a.validateType)("FlowType"),indexType:(0,a.validateType)("FlowType")}}),i("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,a.validateType)("FlowType"),indexType:(0,a.validateType)("FlowType"),optional:(0,a.validate)((0,a.assertValueType)("boolean"))}}),io}var oo={},lo;function rp(){if(lo)return oo;lo=1;var n=Se();const a=(0,n.defineAliasedType)("JSX");return a("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),a("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),a("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),a("JSXEmptyExpression",{}),a("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),a("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),a("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),a("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),a("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),a("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,n.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),a("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),a("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),a("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),a("JSXOpeningFragment",{aliases:["Immutable"]}),a("JSXClosingFragment",{aliases:["Immutable"]}),oo}var po={},me={},uo;function Cl(){if(uo)return me;uo=1,Object.defineProperty(me,"__esModule",{value:!0}),me.PLACEHOLDERS_FLIPPED_ALIAS=me.PLACEHOLDERS_ALIAS=me.PLACEHOLDERS=void 0;var n=Se();const a=me.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],i=me.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(const d of a){const c=n.ALIAS_KEYS[d];c!=null&&c.length&&(i[d]=c)}const r=me.PLACEHOLDERS_FLIPPED_ALIAS={};return Object.keys(i).forEach(d=>{i[d].forEach(c=>{hasOwnProperty.call(r,c)||(r[c]=[]),r[c].push(d)})}),me}var co;function ap(){if(co)return po;co=1;var n=Se(),a=Cl(),i=Vi();const r=(0,n.defineAliasedType)("Miscellaneous");return r("Noop",{visitor:[]}),r("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...a.PLACEHOLDERS)}},(0,i.patternLikeCommon)())}),r("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),po}var yo={},fo;function ip(){if(fo)return yo;fo=1;var n=Se();return(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]}),(0,n.default)("TopicReference",{aliases:["Expression"]}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,n.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]}),yo}var To={},mo;function sp(){if(mo)return To;mo=1;var n=Se(),a=Vi(),i=Ca();const r=(0,n.defineAliasedType)("TypeScript"),d=(0,n.assertValueType)("boolean"),c=()=>({returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});r("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,n.arrayOfType)("Decorator"),optional:!0}}}),r("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,a.functionDeclarationCommon)(),c())}),r("TSDeclareMethod",Object.assign({visitor:["decorators","key","typeParameters","params","returnType"]},(0,a.classMethodOrPropertyUnionShapeCommon)(),{fields:Object.assign({},(0,a.classMethodOrDeclareMethodCommon)(),c())})),r("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const v=()=>({typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}),E={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:v()};r("TSCallSignatureDeclaration",E),r("TSConstructSignatureDeclaration",E);const A=()=>({key:(0,n.validateType)("Expression"),computed:{default:!1},optional:(0,n.validateOptional)(d)});r("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},A(),{readonly:(0,n.validateOptional)(d),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,n.assertOneOf)("get","set")}})}),r("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},v(),A(),{kind:{validate:(0,n.assertOneOf)("method","get","set")}})}),r("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(d),static:(0,n.validateOptional)(d),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const P=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const D of P)r(D,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});r("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const b={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};r("TSFunctionType",Object.assign({},b,{fields:v()})),r("TSConstructorType",Object.assign({},b,{fields:Object.assign({},v(),{abstract:(0,n.validateOptional)(d)})})),r("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),r("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)("Identifier","TSThisType"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(d)}}),r("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)("TSEntityName","TSImportType"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),r("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),r("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),r("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType","TSNamedTupleMember")}}),r("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),r("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),r("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:d,default:!1},elementType:(0,n.validateType)("TSType")}});const I={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};r("TSUnionType",I),r("TSIntersectionType",I),r("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),r("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),r("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),r("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,n.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,n.validateType)("TSType")}}),r("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),r("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,n.validateType)("TSTypeParameter")},{readonly:(0,n.validateOptional)((0,n.assertOneOf)(!0,!1,"+","-")),optional:(0,n.validateOptional)((0,n.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")})}),r("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,n.validateArrayOfType)("TemplateElement"),types:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")),function(D,R,h){if(D.quasis.length!==h.length+1)throw new TypeError(`Number of ${D.type} quasis should be exactly one more than the number of types.
|
|
9
|
+
Expected ${h.length+1} quasis but got ${D.quasis.length}`)})}}}),r("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(function(){const D=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral"),R=(0,n.assertOneOf)("-"),h=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral"),L=function(N,_,M){(0,i.default)("UnaryExpression",M)?(R(M,"operator",M.operator),D(M,"argument",M.argument)):h(N,_,M)};return L.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],L})()}}}),r("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),r("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(d),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),r("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),r("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(d),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),r("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});const g={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}};return r("TSAsExpression",g),r("TSSatisfiesExpression",g),r("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),r("TSEnumBody",{visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSEnumMember")}}),r("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(d),const:(0,n.validateOptional)(d),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression"),body:(0,n.validateOptionalType)("TSEnumBody")}}),r("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)("Identifier","StringLiteral"),initializer:(0,n.validateOptionalType)("Expression")}}),r("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,n.assertOneOf)("global","module","namespace")},declare:(0,n.validateOptional)(d)},{global:(0,n.validateOptional)(d)},{id:(0,n.validateType)("Identifier","StringLiteral"),body:(0,n.validateType)("TSModuleBlock","TSModuleDeclaration")})}),r("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),r("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:Object.assign({},{argument:(0,n.validateType)("StringLiteral")},{qualifier:(0,n.validateOptionalType)("TSEntityName")},{typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")},{options:{validate:(0,n.assertNodeType)("ObjectExpression"),optional:!0}})}),r("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,n.validate)(d)},{id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:!0}})}),r("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),r("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),r("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),r("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),r("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),r("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSType")}}),r("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSTypeParameter")}}),r("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:!0},out:{validate:(0,n.assertValueType)("boolean"),optional:!0},const:{validate:(0,n.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}}),To}var ga={},So;function op(){return So||(So=1,Object.defineProperty(ga,"__esModule",{value:!0}),ga.DEPRECATED_ALIASES=void 0,ga.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}),ga}var Eo;function de(){return Eo||(Eo=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ALIAS_KEYS",{enumerable:!0,get:function(){return a.ALIAS_KEYS}}),Object.defineProperty(n,"BUILDER_KEYS",{enumerable:!0,get:function(){return a.BUILDER_KEYS}}),Object.defineProperty(n,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return r.DEPRECATED_ALIASES}}),Object.defineProperty(n,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return a.DEPRECATED_KEYS}}),Object.defineProperty(n,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return a.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(n,"NODE_FIELDS",{enumerable:!0,get:function(){return a.NODE_FIELDS}}),Object.defineProperty(n,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return a.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(n,"NODE_UNION_SHAPES__PRIVATE",{enumerable:!0,get:function(){return a.NODE_UNION_SHAPES__PRIVATE}}),Object.defineProperty(n,"PLACEHOLDERS",{enumerable:!0,get:function(){return i.PLACEHOLDERS}}),Object.defineProperty(n,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_ALIAS}}),Object.defineProperty(n,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}}),n.TYPES=void 0,Object.defineProperty(n,"VISITOR_KEYS",{enumerable:!0,get:function(){return a.VISITOR_KEYS}}),Vi(),np(),rp(),ap(),ip(),sp();var a=Se(),i=Cl(),r=op();Object.keys(r.DEPRECATED_ALIASES).forEach(d=>{a.FLIPPED_ALIAS_KEYS[d]=a.FLIPPED_ALIAS_KEYS[r.DEPRECATED_ALIASES[d]]});for(const{types:d,set:c}of a.allExpandedTypes)for(const v of d){const E=a.FLIPPED_ALIAS_KEYS[v];E?E.forEach(c.add,c):c.add(v)}n.TYPES=[].concat(Object.keys(a.VISITOR_KEYS),Object.keys(a.FLIPPED_ALIAS_KEYS),Object.keys(a.DEPRECATED_KEYS))})(Ns)),Ns}var bo;function ws(){if(bo)return Xe;bo=1,Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.default=a,Xe.validateChild=d,Xe.validateField=r,Xe.validateInternal=i;var n=de();function a(c,v,E){if(!c)return;const A=n.NODE_FIELDS[c.type];if(!A)return;const P=A[v];r(c,v,E,P),d(c,v,E)}function i(c,v,E,A,P){if(c!=null&&c.validate&&!(c.optional&&A==null)&&(c.validate(v,E,A),P)){var b;const I=A.type;if(I==null)return;(b=n.NODE_PARENT_VALIDATIONS[I])==null||b.call(n.NODE_PARENT_VALIDATIONS,v,E,A)}}function r(c,v,E,A){A!=null&&A.validate&&(A.optional&&E==null||A.validate(c,v,E))}function d(c,v,E){var A;const P=E?.type;P!=null&&((A=n.NODE_PARENT_VALIDATIONS[P])==null||A.call(n.NODE_PARENT_VALIDATIONS,c,v,E))}return Xe}var Ao;function Bl(){if(Ao)return f;Ao=1,Object.defineProperty(f,"__esModule",{value:!0}),f.anyTypeAnnotation=St,f.argumentPlaceholder=Wn,f.arrayExpression=v,f.arrayPattern=Be,f.arrayTypeAnnotation=Et,f.arrowFunctionExpression=Me,f.assignmentExpression=E,f.assignmentPattern=Ce,f.awaitExpression=it,f.bigIntLiteral=c,f.binaryExpression=A,f.bindExpression=$n,f.blockStatement=g,f.booleanLiteral=F,f.booleanLiteralTypeAnnotation=At,f.booleanTypeAnnotation=bt,f.breakStatement=D,f.callExpression=R,f.catchClause=h,f.classAccessorProperty=ct,f.classBody=we,f.classDeclaration=Re,f.classExpression=je,f.classImplements=vt,f.classMethod=He,f.classPrivateMethod=yt,f.classPrivateProperty=dt,f.classProperty=ut,f.conditionalExpression=L,f.continueStatement=N,f.debuggerStatement=_,f.decimalLiteral=er,f.declareClass=xt,f.declareExportAllDeclaration=Ct,f.declareExportDeclaration=Lt,f.declareFunction=It,f.declareInterface=gt,f.declareModule=Ot,f.declareModuleExports=Dt,f.declareOpaqueType=Nt,f.declareTypeAlias=ht,f.declareVariable=_t,f.declaredPredicate=Bt,f.decorator=Gn,f.directive=b,f.directiveLiteral=I,f.doExpression=zn,f.doWhileStatement=M,f.emptyStatement=V,f.emptyTypeAnnotation=Xt,f.enumBooleanBody=bn,f.enumBooleanMember=xn,f.enumDeclaration=En,f.enumDefaultedMember=On,f.enumNumberBody=An,f.enumNumberMember=In,f.enumStringBody=Pn,f.enumStringMember=gn,f.enumSymbolBody=vn,f.existsTypeAnnotation=Mt,f.exportAllDeclaration=Fe,f.exportDefaultDeclaration=ke,f.exportDefaultSpecifier=Qn,f.exportNamedDeclaration=Ke,f.exportNamespaceSpecifier=ot,f.exportSpecifier=qe,f.expressionStatement=G,f.file=z,f.forInStatement=Q,f.forOfStatement=Te,f.forStatement=H,f.functionDeclaration=oe,f.functionExpression=re,f.functionTypeAnnotation=wt,f.functionTypeParam=jt,f.genericTypeAnnotation=Rt,f.identifier=te,f.ifStatement=ue,f.import=st,f.importAttribute=mt,f.importDeclaration=Ve,f.importDefaultSpecifier=Ye,f.importExpression=ze,f.importNamespaceSpecifier=C,f.importSpecifier=Ge,f.indexedAccessType=Dn,f.inferredPredicate=Ft,f.interfaceDeclaration=Kt,f.interfaceExtends=kt,f.interfaceTypeAnnotation=qt,f.interpreterDirective=P,f.intersectionTypeAnnotation=Vt,f.jSXAttribute=f.jsxAttribute=Nn,f.jSXClosingElement=f.jsxClosingElement=_n,f.jSXClosingFragment=f.jsxClosingFragment=Yn,f.jSXElement=f.jsxElement=Ln,f.jSXEmptyExpression=f.jsxEmptyExpression=Cn,f.jSXExpressionContainer=f.jsxExpressionContainer=Bn,f.jSXFragment=f.jsxFragment=qn,f.jSXIdentifier=f.jsxIdentifier=wn,f.jSXMemberExpression=f.jsxMemberExpression=jn,f.jSXNamespacedName=f.jsxNamespacedName=Rn,f.jSXOpeningElement=f.jsxOpeningElement=Fn,f.jSXOpeningFragment=f.jsxOpeningFragment=Vn,f.jSXSpreadAttribute=f.jsxSpreadAttribute=kn,f.jSXSpreadChild=f.jsxSpreadChild=Mn,f.jSXText=f.jsxText=Kn,f.labeledStatement=ae,f.logicalExpression=j,f.memberExpression=Y,f.metaProperty=Qe,f.mixedTypeAnnotation=Yt,f.moduleExpression=tr,f.newExpression=$,f.noop=Xn,f.nullLiteral=B,f.nullLiteralTypeAnnotation=Pt,f.nullableTypeAnnotation=Jt,f.numberLiteral=Aa,f.numberLiteralTypeAnnotation=Ut,f.numberTypeAnnotation=Wt,f.numericLiteral=ce,f.objectExpression=X,f.objectMethod=W,f.objectPattern=Ze,f.objectProperty=ie,f.objectTypeAnnotation=$t,f.objectTypeCallProperty=zt,f.objectTypeIndexer=Qt,f.objectTypeInternalSlot=Gt,f.objectTypeProperty=Ht,f.objectTypeSpreadProperty=Zt,f.opaqueType=en,f.optionalCallExpression=pt,f.optionalIndexedAccessType=hn,f.optionalMemberExpression=lt,f.parenthesizedExpression=Pe,f.pipelineBareFunction=ar,f.pipelinePrimaryTopicReference=ir,f.pipelineTopicExpression=rr,f.placeholder=Jn,f.privateName=ft,f.program=J,f.qualifiedTypeIdentifier=tn,f.recordExpression=Hn,f.regExpLiteral=K,f.regexLiteral=Pa,f.restElement=se,f.restProperty=va,f.returnStatement=be,f.sequenceExpression=Ae,f.spreadElement=Ue,f.spreadProperty=xa,f.staticBlock=Tt,f.stringLiteral=fe,f.stringLiteralTypeAnnotation=nn,f.stringTypeAnnotation=rn,f.super=et,f.switchCase=ye,f.switchStatement=ve,f.symbolTypeAnnotation=an,f.taggedTemplateExpression=tt,f.templateElement=nt,f.templateLiteral=rt,f.thisExpression=xe,f.thisTypeAnnotation=sn,f.throwStatement=Ie,f.topicReference=nr,f.tryStatement=ge,f.tSAnyKeyword=f.tsAnyKeyword=mr,f.tSArrayType=f.tsArrayType=jr,f.tSAsExpression=f.tsAsExpression=na,f.tSBigIntKeyword=f.tsBigIntKeyword=Er,f.tSBooleanKeyword=f.tsBooleanKeyword=Sr,f.tSCallSignatureDeclaration=f.tsCallSignatureDeclaration=cr,f.tSConditionalType=f.tsConditionalType=Yr,f.tSConstructSignatureDeclaration=f.tsConstructSignatureDeclaration=dr,f.tSConstructorType=f.tsConstructorType=Lr,f.tSDeclareFunction=f.tsDeclareFunction=lr,f.tSDeclareMethod=f.tsDeclareMethod=pr,f.tSEnumBody=f.tsEnumBody=ia,f.tSEnumDeclaration=f.tsEnumDeclaration=sa,f.tSEnumMember=f.tsEnumMember=oa,f.tSExportAssignment=f.tsExportAssignment=fa,f.tSExpressionWithTypeArguments=f.tsExpressionWithTypeArguments=Qr,f.tSExternalModuleReference=f.tsExternalModuleReference=da,f.tSFunctionType=f.tsFunctionType=_r,f.tSImportEqualsDeclaration=f.tsImportEqualsDeclaration=ca,f.tSImportType=f.tsImportType=ua,f.tSIndexSignature=f.tsIndexSignature=Tr,f.tSIndexedAccessType=f.tsIndexedAccessType=Wr,f.tSInferType=f.tsInferType=Xr,f.tSInstantiationExpression=f.tsInstantiationExpression=ta,f.tSInterfaceBody=f.tsInterfaceBody=Zr,f.tSInterfaceDeclaration=f.tsInterfaceDeclaration=Hr,f.tSIntersectionType=f.tsIntersectionType=Vr,f.tSIntrinsicKeyword=f.tsIntrinsicKeyword=br,f.tSLiteralType=f.tsLiteralType=zr,f.tSMappedType=f.tsMappedType=$r,f.tSMethodSignature=f.tsMethodSignature=fr,f.tSModuleBlock=f.tsModuleBlock=pa,f.tSModuleDeclaration=f.tsModuleDeclaration=la,f.tSNamedTupleMember=f.tsNamedTupleMember=Kr,f.tSNamespaceExportDeclaration=f.tsNamespaceExportDeclaration=Ta,f.tSNeverKeyword=f.tsNeverKeyword=Ar,f.tSNonNullExpression=f.tsNonNullExpression=ya,f.tSNullKeyword=f.tsNullKeyword=Pr,f.tSNumberKeyword=f.tsNumberKeyword=vr,f.tSObjectKeyword=f.tsObjectKeyword=xr,f.tSOptionalType=f.tsOptionalType=Fr,f.tSParameterProperty=f.tsParameterProperty=or,f.tSParenthesizedType=f.tsParenthesizedType=Jr,f.tSPropertySignature=f.tsPropertySignature=yr,f.tSQualifiedName=f.tsQualifiedName=ur,f.tSRestType=f.tsRestType=kr,f.tSSatisfiesExpression=f.tsSatisfiesExpression=ra,f.tSStringKeyword=f.tsStringKeyword=Ir,f.tSSymbolKeyword=f.tsSymbolKeyword=gr,f.tSTemplateLiteralType=f.tsTemplateLiteralType=Gr,f.tSThisType=f.tsThisType=Nr,f.tSTupleType=f.tsTupleType=Rr,f.tSTypeAliasDeclaration=f.tsTypeAliasDeclaration=ea,f.tSTypeAnnotation=f.tsTypeAnnotation=ma,f.tSTypeAssertion=f.tsTypeAssertion=aa,f.tSTypeLiteral=f.tsTypeLiteral=wr,f.tSTypeOperator=f.tsTypeOperator=Ur,f.tSTypeParameter=f.tsTypeParameter=ba,f.tSTypeParameterDeclaration=f.tsTypeParameterDeclaration=Ea,f.tSTypeParameterInstantiation=f.tsTypeParameterInstantiation=Sa,f.tSTypePredicate=f.tsTypePredicate=Br,f.tSTypeQuery=f.tsTypeQuery=Mr,f.tSTypeReference=f.tsTypeReference=Cr,f.tSUndefinedKeyword=f.tsUndefinedKeyword=Or,f.tSUnionType=f.tsUnionType=qr,f.tSUnknownKeyword=f.tsUnknownKeyword=Dr,f.tSVoidKeyword=f.tsVoidKeyword=hr,f.tupleExpression=Zn,f.tupleTypeAnnotation=on,f.typeAlias=pn,f.typeAnnotation=un,f.typeCastExpression=cn,f.typeParameter=dn,f.typeParameterDeclaration=yn,f.typeParameterInstantiation=fn,f.typeofTypeAnnotation=ln,f.unaryExpression=Oe,f.unionTypeAnnotation=Tn,f.updateExpression=De,f.v8IntrinsicIdentifier=Un,f.variableDeclaration=he,f.variableDeclarator=Ne,f.variance=mn,f.voidPattern=sr,f.voidTypeAnnotation=Sn,f.whileStatement=_e,f.withStatement=Le,f.yieldExpression=at;var n=ws(),a=La(),i=Se();const{validateInternal:r}=n,{NODE_FIELDS:d}=i;function c(s){typeof s=="bigint"&&(s=s.toString());const o={type:"BigIntLiteral",value:s},p=d.BigIntLiteral;return r(p.value,o,"value",s),o}function v(s=[]){const o={type:"ArrayExpression",elements:s},p=d.ArrayExpression;return r(p.elements,o,"elements",s,1),o}function E(s,o,p){const y={type:"AssignmentExpression",operator:s,left:o,right:p},S=d.AssignmentExpression;return r(S.operator,y,"operator",s),r(S.left,y,"left",o,1),r(S.right,y,"right",p,1),y}function A(s,o,p){const y={type:"BinaryExpression",operator:s,left:o,right:p},S=d.BinaryExpression;return r(S.operator,y,"operator",s),r(S.left,y,"left",o,1),r(S.right,y,"right",p,1),y}function P(s){const o={type:"InterpreterDirective",value:s},p=d.InterpreterDirective;return r(p.value,o,"value",s),o}function b(s){const o={type:"Directive",value:s},p=d.Directive;return r(p.value,o,"value",s,1),o}function I(s){const o={type:"DirectiveLiteral",value:s},p=d.DirectiveLiteral;return r(p.value,o,"value",s),o}function g(s,o=[]){const p={type:"BlockStatement",body:s,directives:o},y=d.BlockStatement;return r(y.body,p,"body",s,1),r(y.directives,p,"directives",o,1),p}function D(s=null){const o={type:"BreakStatement",label:s},p=d.BreakStatement;return r(p.label,o,"label",s,1),o}function R(s,o){const p={type:"CallExpression",callee:s,arguments:o},y=d.CallExpression;return r(y.callee,p,"callee",s,1),r(y.arguments,p,"arguments",o,1),p}function h(s=null,o){const p={type:"CatchClause",param:s,body:o},y=d.CatchClause;return r(y.param,p,"param",s,1),r(y.body,p,"body",o,1),p}function L(s,o,p){const y={type:"ConditionalExpression",test:s,consequent:o,alternate:p},S=d.ConditionalExpression;return r(S.test,y,"test",s,1),r(S.consequent,y,"consequent",o,1),r(S.alternate,y,"alternate",p,1),y}function N(s=null){const o={type:"ContinueStatement",label:s},p=d.ContinueStatement;return r(p.label,o,"label",s,1),o}function _(){return{type:"DebuggerStatement"}}function M(s,o){const p={type:"DoWhileStatement",test:s,body:o},y=d.DoWhileStatement;return r(y.test,p,"test",s,1),r(y.body,p,"body",o,1),p}function V(){return{type:"EmptyStatement"}}function G(s){const o={type:"ExpressionStatement",expression:s},p=d.ExpressionStatement;return r(p.expression,o,"expression",s,1),o}function z(s,o=null,p=null){const y={type:"File",program:s,comments:o,tokens:p},S=d.File;return r(S.program,y,"program",s,1),r(S.comments,y,"comments",o,1),r(S.tokens,y,"tokens",p),y}function Q(s,o,p){const y={type:"ForInStatement",left:s,right:o,body:p},S=d.ForInStatement;return r(S.left,y,"left",s,1),r(S.right,y,"right",o,1),r(S.body,y,"body",p,1),y}function H(s=null,o=null,p=null,y){const S={type:"ForStatement",init:s,test:o,update:p,body:y},x=d.ForStatement;return r(x.init,S,"init",s,1),r(x.test,S,"test",o,1),r(x.update,S,"update",p,1),r(x.body,S,"body",y,1),S}function oe(s=null,o,p,y=!1,S=!1){const x={type:"FunctionDeclaration",id:s,params:o,body:p,generator:y,async:S},w=d.FunctionDeclaration;return r(w.id,x,"id",s,1),r(w.params,x,"params",o,1),r(w.body,x,"body",p,1),r(w.generator,x,"generator",y),r(w.async,x,"async",S),x}function re(s=null,o,p,y=!1,S=!1){const x={type:"FunctionExpression",id:s,params:o,body:p,generator:y,async:S},w=d.FunctionExpression;return r(w.id,x,"id",s,1),r(w.params,x,"params",o,1),r(w.body,x,"body",p,1),r(w.generator,x,"generator",y),r(w.async,x,"async",S),x}function te(s){const o={type:"Identifier",name:s},p=d.Identifier;return r(p.name,o,"name",s),o}function ue(s,o,p=null){const y={type:"IfStatement",test:s,consequent:o,alternate:p},S=d.IfStatement;return r(S.test,y,"test",s,1),r(S.consequent,y,"consequent",o,1),r(S.alternate,y,"alternate",p,1),y}function ae(s,o){const p={type:"LabeledStatement",label:s,body:o},y=d.LabeledStatement;return r(y.label,p,"label",s,1),r(y.body,p,"body",o,1),p}function fe(s){const o={type:"StringLiteral",value:s},p=d.StringLiteral;return r(p.value,o,"value",s),o}function ce(s){const o={type:"NumericLiteral",value:s},p=d.NumericLiteral;return r(p.value,o,"value",s),o}function B(){return{type:"NullLiteral"}}function F(s){const o={type:"BooleanLiteral",value:s},p=d.BooleanLiteral;return r(p.value,o,"value",s),o}function K(s,o=""){const p={type:"RegExpLiteral",pattern:s,flags:o},y=d.RegExpLiteral;return r(y.pattern,p,"pattern",s),r(y.flags,p,"flags",o),p}function j(s,o,p){const y={type:"LogicalExpression",operator:s,left:o,right:p},S=d.LogicalExpression;return r(S.operator,y,"operator",s),r(S.left,y,"left",o,1),r(S.right,y,"right",p,1),y}function Y(s,o,p=!1,y=null){const S={type:"MemberExpression",object:s,property:o,computed:p,optional:y},x=d.MemberExpression;return r(x.object,S,"object",s,1),r(x.property,S,"property",o,1),r(x.computed,S,"computed",p),r(x.optional,S,"optional",y),S}function $(s,o){const p={type:"NewExpression",callee:s,arguments:o},y=d.NewExpression;return r(y.callee,p,"callee",s,1),r(y.arguments,p,"arguments",o,1),p}function J(s,o=[],p="script",y=null){const S={type:"Program",body:s,directives:o,sourceType:p,interpreter:y},x=d.Program;return r(x.body,S,"body",s,1),r(x.directives,S,"directives",o,1),r(x.sourceType,S,"sourceType",p),r(x.interpreter,S,"interpreter",y,1),S}function X(s){const o={type:"ObjectExpression",properties:s},p=d.ObjectExpression;return r(p.properties,o,"properties",s,1),o}function W(s="method",o,p,y,S=!1,x=!1,w=!1){const U={type:"ObjectMethod",kind:s,key:o,params:p,body:y,computed:S,generator:x,async:w},Z=d.ObjectMethod;return r(Z.kind,U,"kind",s),r(Z.key,U,"key",o,1),r(Z.params,U,"params",p,1),r(Z.body,U,"body",y,1),r(Z.computed,U,"computed",S),r(Z.generator,U,"generator",x),r(Z.async,U,"async",w),U}function ie(s,o,p=!1,y=!1,S=null){const x={type:"ObjectProperty",key:s,value:o,computed:p,shorthand:y,decorators:S},w=d.ObjectProperty;return r(w.key,x,"key",s,1),r(w.value,x,"value",o,1),r(w.computed,x,"computed",p),r(w.shorthand,x,"shorthand",y),r(w.decorators,x,"decorators",S,1),x}function se(s){const o={type:"RestElement",argument:s},p=d.RestElement;return r(p.argument,o,"argument",s,1),o}function be(s=null){const o={type:"ReturnStatement",argument:s},p=d.ReturnStatement;return r(p.argument,o,"argument",s,1),o}function Ae(s){const o={type:"SequenceExpression",expressions:s},p=d.SequenceExpression;return r(p.expressions,o,"expressions",s,1),o}function Pe(s){const o={type:"ParenthesizedExpression",expression:s},p=d.ParenthesizedExpression;return r(p.expression,o,"expression",s,1),o}function ye(s=null,o){const p={type:"SwitchCase",test:s,consequent:o},y=d.SwitchCase;return r(y.test,p,"test",s,1),r(y.consequent,p,"consequent",o,1),p}function ve(s,o){const p={type:"SwitchStatement",discriminant:s,cases:o},y=d.SwitchStatement;return r(y.discriminant,p,"discriminant",s,1),r(y.cases,p,"cases",o,1),p}function xe(){return{type:"ThisExpression"}}function Ie(s){const o={type:"ThrowStatement",argument:s},p=d.ThrowStatement;return r(p.argument,o,"argument",s,1),o}function ge(s,o=null,p=null){const y={type:"TryStatement",block:s,handler:o,finalizer:p},S=d.TryStatement;return r(S.block,y,"block",s,1),r(S.handler,y,"handler",o,1),r(S.finalizer,y,"finalizer",p,1),y}function Oe(s,o,p=!0){const y={type:"UnaryExpression",operator:s,argument:o,prefix:p},S=d.UnaryExpression;return r(S.operator,y,"operator",s),r(S.argument,y,"argument",o,1),r(S.prefix,y,"prefix",p),y}function De(s,o,p=!1){const y={type:"UpdateExpression",operator:s,argument:o,prefix:p},S=d.UpdateExpression;return r(S.operator,y,"operator",s),r(S.argument,y,"argument",o,1),r(S.prefix,y,"prefix",p),y}function he(s,o){const p={type:"VariableDeclaration",kind:s,declarations:o},y=d.VariableDeclaration;return r(y.kind,p,"kind",s),r(y.declarations,p,"declarations",o,1),p}function Ne(s,o=null){const p={type:"VariableDeclarator",id:s,init:o},y=d.VariableDeclarator;return r(y.id,p,"id",s,1),r(y.init,p,"init",o,1),p}function _e(s,o){const p={type:"WhileStatement",test:s,body:o},y=d.WhileStatement;return r(y.test,p,"test",s,1),r(y.body,p,"body",o,1),p}function Le(s,o){const p={type:"WithStatement",object:s,body:o},y=d.WithStatement;return r(y.object,p,"object",s,1),r(y.body,p,"body",o,1),p}function Ce(s,o){const p={type:"AssignmentPattern",left:s,right:o},y=d.AssignmentPattern;return r(y.left,p,"left",s,1),r(y.right,p,"right",o,1),p}function Be(s){const o={type:"ArrayPattern",elements:s},p=d.ArrayPattern;return r(p.elements,o,"elements",s,1),o}function Me(s,o,p=!1){const y={type:"ArrowFunctionExpression",params:s,body:o,async:p,expression:null},S=d.ArrowFunctionExpression;return r(S.params,y,"params",s,1),r(S.body,y,"body",o,1),r(S.async,y,"async",p),y}function we(s){const o={type:"ClassBody",body:s},p=d.ClassBody;return r(p.body,o,"body",s,1),o}function je(s=null,o=null,p,y=null){const S={type:"ClassExpression",id:s,superClass:o,body:p,decorators:y},x=d.ClassExpression;return r(x.id,S,"id",s,1),r(x.superClass,S,"superClass",o,1),r(x.body,S,"body",p,1),r(x.decorators,S,"decorators",y,1),S}function Re(s=null,o=null,p,y=null){const S={type:"ClassDeclaration",id:s,superClass:o,body:p,decorators:y},x=d.ClassDeclaration;return r(x.id,S,"id",s,1),r(x.superClass,S,"superClass",o,1),r(x.body,S,"body",p,1),r(x.decorators,S,"decorators",y,1),S}function Fe(s,o=null){const p={type:"ExportAllDeclaration",source:s,attributes:o},y=d.ExportAllDeclaration;return r(y.source,p,"source",s,1),r(y.attributes,p,"attributes",o,1),p}function ke(s){const o={type:"ExportDefaultDeclaration",declaration:s},p=d.ExportDefaultDeclaration;return r(p.declaration,o,"declaration",s,1),o}function Ke(s=null,o=[],p=null,y=null){const S={type:"ExportNamedDeclaration",declaration:s,specifiers:o,source:p,attributes:y},x=d.ExportNamedDeclaration;return r(x.declaration,S,"declaration",s,1),r(x.specifiers,S,"specifiers",o,1),r(x.source,S,"source",p,1),r(x.attributes,S,"attributes",y,1),S}function qe(s,o){const p={type:"ExportSpecifier",local:s,exported:o},y=d.ExportSpecifier;return r(y.local,p,"local",s,1),r(y.exported,p,"exported",o,1),p}function Te(s,o,p,y=!1){const S={type:"ForOfStatement",left:s,right:o,body:p,await:y},x=d.ForOfStatement;return r(x.left,S,"left",s,1),r(x.right,S,"right",o,1),r(x.body,S,"body",p,1),r(x.await,S,"await",y),S}function Ve(s,o,p=null){const y={type:"ImportDeclaration",specifiers:s,source:o,attributes:p},S=d.ImportDeclaration;return r(S.specifiers,y,"specifiers",s,1),r(S.source,y,"source",o,1),r(S.attributes,y,"attributes",p,1),y}function Ye(s){const o={type:"ImportDefaultSpecifier",local:s},p=d.ImportDefaultSpecifier;return r(p.local,o,"local",s,1),o}function C(s){const o={type:"ImportNamespaceSpecifier",local:s},p=d.ImportNamespaceSpecifier;return r(p.local,o,"local",s,1),o}function Ge(s,o){const p={type:"ImportSpecifier",local:s,imported:o},y=d.ImportSpecifier;return r(y.local,p,"local",s,1),r(y.imported,p,"imported",o,1),p}function ze(s,o=null){const p={type:"ImportExpression",source:s,options:o},y=d.ImportExpression;return r(y.source,p,"source",s,1),r(y.options,p,"options",o,1),p}function Qe(s,o){const p={type:"MetaProperty",meta:s,property:o},y=d.MetaProperty;return r(y.meta,p,"meta",s,1),r(y.property,p,"property",o,1),p}function He(s="method",o,p,y,S=!1,x=!1,w=!1,U=!1){const Z={type:"ClassMethod",kind:s,key:o,params:p,body:y,computed:S,static:x,generator:w,async:U},pe=d.ClassMethod;return r(pe.kind,Z,"kind",s),r(pe.key,Z,"key",o,1),r(pe.params,Z,"params",p,1),r(pe.body,Z,"body",y,1),r(pe.computed,Z,"computed",S),r(pe.static,Z,"static",x),r(pe.generator,Z,"generator",w),r(pe.async,Z,"async",U),Z}function Ze(s){const o={type:"ObjectPattern",properties:s},p=d.ObjectPattern;return r(p.properties,o,"properties",s,1),o}function Ue(s){const o={type:"SpreadElement",argument:s},p=d.SpreadElement;return r(p.argument,o,"argument",s,1),o}function et(){return{type:"Super"}}function tt(s,o){const p={type:"TaggedTemplateExpression",tag:s,quasi:o},y=d.TaggedTemplateExpression;return r(y.tag,p,"tag",s,1),r(y.quasi,p,"quasi",o,1),p}function nt(s,o=!1){const p={type:"TemplateElement",value:s,tail:o},y=d.TemplateElement;return r(y.value,p,"value",s),r(y.tail,p,"tail",o),p}function rt(s,o){const p={type:"TemplateLiteral",quasis:s,expressions:o},y=d.TemplateLiteral;return r(y.quasis,p,"quasis",s,1),r(y.expressions,p,"expressions",o,1),p}function at(s=null,o=!1){const p={type:"YieldExpression",argument:s,delegate:o},y=d.YieldExpression;return r(y.argument,p,"argument",s,1),r(y.delegate,p,"delegate",o),p}function it(s){const o={type:"AwaitExpression",argument:s},p=d.AwaitExpression;return r(p.argument,o,"argument",s,1),o}function st(){return{type:"Import"}}function ot(s){const o={type:"ExportNamespaceSpecifier",exported:s},p=d.ExportNamespaceSpecifier;return r(p.exported,o,"exported",s,1),o}function lt(s,o,p=!1,y){const S={type:"OptionalMemberExpression",object:s,property:o,computed:p,optional:y},x=d.OptionalMemberExpression;return r(x.object,S,"object",s,1),r(x.property,S,"property",o,1),r(x.computed,S,"computed",p),r(x.optional,S,"optional",y),S}function pt(s,o,p){const y={type:"OptionalCallExpression",callee:s,arguments:o,optional:p},S=d.OptionalCallExpression;return r(S.callee,y,"callee",s,1),r(S.arguments,y,"arguments",o,1),r(S.optional,y,"optional",p),y}function ut(s,o=null,p=null,y=null,S=!1,x=!1){const w={type:"ClassProperty",key:s,value:o,typeAnnotation:p,decorators:y,computed:S,static:x},U=d.ClassProperty;return r(U.key,w,"key",s,1),r(U.value,w,"value",o,1),r(U.typeAnnotation,w,"typeAnnotation",p,1),r(U.decorators,w,"decorators",y,1),r(U.computed,w,"computed",S),r(U.static,w,"static",x),w}function ct(s,o=null,p=null,y=null,S=!1,x=!1){const w={type:"ClassAccessorProperty",key:s,value:o,typeAnnotation:p,decorators:y,computed:S,static:x},U=d.ClassAccessorProperty;return r(U.key,w,"key",s,1),r(U.value,w,"value",o,1),r(U.typeAnnotation,w,"typeAnnotation",p,1),r(U.decorators,w,"decorators",y,1),r(U.computed,w,"computed",S),r(U.static,w,"static",x),w}function dt(s,o=null,p=null,y=!1){const S={type:"ClassPrivateProperty",key:s,value:o,decorators:p,static:y},x=d.ClassPrivateProperty;return r(x.key,S,"key",s,1),r(x.value,S,"value",o,1),r(x.decorators,S,"decorators",p,1),r(x.static,S,"static",y),S}function yt(s="method",o,p,y,S=!1){const x={type:"ClassPrivateMethod",kind:s,key:o,params:p,body:y,static:S},w=d.ClassPrivateMethod;return r(w.kind,x,"kind",s),r(w.key,x,"key",o,1),r(w.params,x,"params",p,1),r(w.body,x,"body",y,1),r(w.static,x,"static",S),x}function ft(s){const o={type:"PrivateName",id:s},p=d.PrivateName;return r(p.id,o,"id",s,1),o}function Tt(s){const o={type:"StaticBlock",body:s},p=d.StaticBlock;return r(p.body,o,"body",s,1),o}function mt(s,o){const p={type:"ImportAttribute",key:s,value:o},y=d.ImportAttribute;return r(y.key,p,"key",s,1),r(y.value,p,"value",o,1),p}function St(){return{type:"AnyTypeAnnotation"}}function Et(s){const o={type:"ArrayTypeAnnotation",elementType:s},p=d.ArrayTypeAnnotation;return r(p.elementType,o,"elementType",s,1),o}function bt(){return{type:"BooleanTypeAnnotation"}}function At(s){const o={type:"BooleanLiteralTypeAnnotation",value:s},p=d.BooleanLiteralTypeAnnotation;return r(p.value,o,"value",s),o}function Pt(){return{type:"NullLiteralTypeAnnotation"}}function vt(s,o=null){const p={type:"ClassImplements",id:s,typeParameters:o},y=d.ClassImplements;return r(y.id,p,"id",s,1),r(y.typeParameters,p,"typeParameters",o,1),p}function xt(s,o=null,p=null,y){const S={type:"DeclareClass",id:s,typeParameters:o,extends:p,body:y},x=d.DeclareClass;return r(x.id,S,"id",s,1),r(x.typeParameters,S,"typeParameters",o,1),r(x.extends,S,"extends",p,1),r(x.body,S,"body",y,1),S}function It(s){const o={type:"DeclareFunction",id:s},p=d.DeclareFunction;return r(p.id,o,"id",s,1),o}function gt(s,o=null,p=null,y){const S={type:"DeclareInterface",id:s,typeParameters:o,extends:p,body:y},x=d.DeclareInterface;return r(x.id,S,"id",s,1),r(x.typeParameters,S,"typeParameters",o,1),r(x.extends,S,"extends",p,1),r(x.body,S,"body",y,1),S}function Ot(s,o,p=null){const y={type:"DeclareModule",id:s,body:o,kind:p},S=d.DeclareModule;return r(S.id,y,"id",s,1),r(S.body,y,"body",o,1),r(S.kind,y,"kind",p),y}function Dt(s){const o={type:"DeclareModuleExports",typeAnnotation:s},p=d.DeclareModuleExports;return r(p.typeAnnotation,o,"typeAnnotation",s,1),o}function ht(s,o=null,p){const y={type:"DeclareTypeAlias",id:s,typeParameters:o,right:p},S=d.DeclareTypeAlias;return r(S.id,y,"id",s,1),r(S.typeParameters,y,"typeParameters",o,1),r(S.right,y,"right",p,1),y}function Nt(s,o=null,p=null){const y={type:"DeclareOpaqueType",id:s,typeParameters:o,supertype:p},S=d.DeclareOpaqueType;return r(S.id,y,"id",s,1),r(S.typeParameters,y,"typeParameters",o,1),r(S.supertype,y,"supertype",p,1),y}function _t(s){const o={type:"DeclareVariable",id:s},p=d.DeclareVariable;return r(p.id,o,"id",s,1),o}function Lt(s=null,o=null,p=null,y=null){const S={type:"DeclareExportDeclaration",declaration:s,specifiers:o,source:p,attributes:y},x=d.DeclareExportDeclaration;return r(x.declaration,S,"declaration",s,1),r(x.specifiers,S,"specifiers",o,1),r(x.source,S,"source",p,1),r(x.attributes,S,"attributes",y,1),S}function Ct(s,o=null){const p={type:"DeclareExportAllDeclaration",source:s,attributes:o},y=d.DeclareExportAllDeclaration;return r(y.source,p,"source",s,1),r(y.attributes,p,"attributes",o,1),p}function Bt(s){const o={type:"DeclaredPredicate",value:s},p=d.DeclaredPredicate;return r(p.value,o,"value",s,1),o}function Mt(){return{type:"ExistsTypeAnnotation"}}function wt(s=null,o,p=null,y){const S={type:"FunctionTypeAnnotation",typeParameters:s,params:o,rest:p,returnType:y},x=d.FunctionTypeAnnotation;return r(x.typeParameters,S,"typeParameters",s,1),r(x.params,S,"params",o,1),r(x.rest,S,"rest",p,1),r(x.returnType,S,"returnType",y,1),S}function jt(s=null,o){const p={type:"FunctionTypeParam",name:s,typeAnnotation:o},y=d.FunctionTypeParam;return r(y.name,p,"name",s,1),r(y.typeAnnotation,p,"typeAnnotation",o,1),p}function Rt(s,o=null){const p={type:"GenericTypeAnnotation",id:s,typeParameters:o},y=d.GenericTypeAnnotation;return r(y.id,p,"id",s,1),r(y.typeParameters,p,"typeParameters",o,1),p}function Ft(){return{type:"InferredPredicate"}}function kt(s,o=null){const p={type:"InterfaceExtends",id:s,typeParameters:o},y=d.InterfaceExtends;return r(y.id,p,"id",s,1),r(y.typeParameters,p,"typeParameters",o,1),p}function Kt(s,o=null,p=null,y){const S={type:"InterfaceDeclaration",id:s,typeParameters:o,extends:p,body:y},x=d.InterfaceDeclaration;return r(x.id,S,"id",s,1),r(x.typeParameters,S,"typeParameters",o,1),r(x.extends,S,"extends",p,1),r(x.body,S,"body",y,1),S}function qt(s=null,o){const p={type:"InterfaceTypeAnnotation",extends:s,body:o},y=d.InterfaceTypeAnnotation;return r(y.extends,p,"extends",s,1),r(y.body,p,"body",o,1),p}function Vt(s){const o={type:"IntersectionTypeAnnotation",types:s},p=d.IntersectionTypeAnnotation;return r(p.types,o,"types",s,1),o}function Yt(){return{type:"MixedTypeAnnotation"}}function Xt(){return{type:"EmptyTypeAnnotation"}}function Jt(s){const o={type:"NullableTypeAnnotation",typeAnnotation:s},p=d.NullableTypeAnnotation;return r(p.typeAnnotation,o,"typeAnnotation",s,1),o}function Ut(s){const o={type:"NumberLiteralTypeAnnotation",value:s},p=d.NumberLiteralTypeAnnotation;return r(p.value,o,"value",s),o}function Wt(){return{type:"NumberTypeAnnotation"}}function $t(s,o=[],p=[],y=[],S=!1){const x={type:"ObjectTypeAnnotation",properties:s,indexers:o,callProperties:p,internalSlots:y,exact:S},w=d.ObjectTypeAnnotation;return r(w.properties,x,"properties",s,1),r(w.indexers,x,"indexers",o,1),r(w.callProperties,x,"callProperties",p,1),r(w.internalSlots,x,"internalSlots",y,1),r(w.exact,x,"exact",S),x}function Gt(s,o,p,y,S){const x={type:"ObjectTypeInternalSlot",id:s,value:o,optional:p,static:y,method:S},w=d.ObjectTypeInternalSlot;return r(w.id,x,"id",s,1),r(w.value,x,"value",o,1),r(w.optional,x,"optional",p),r(w.static,x,"static",y),r(w.method,x,"method",S),x}function zt(s){const o={type:"ObjectTypeCallProperty",value:s,static:null},p=d.ObjectTypeCallProperty;return r(p.value,o,"value",s,1),o}function Qt(s=null,o,p,y=null){const S={type:"ObjectTypeIndexer",id:s,key:o,value:p,variance:y,static:null},x=d.ObjectTypeIndexer;return r(x.id,S,"id",s,1),r(x.key,S,"key",o,1),r(x.value,S,"value",p,1),r(x.variance,S,"variance",y,1),S}function Ht(s,o,p=null){const y={type:"ObjectTypeProperty",key:s,value:o,variance:p,kind:null,method:null,optional:null,proto:null,static:null},S=d.ObjectTypeProperty;return r(S.key,y,"key",s,1),r(S.value,y,"value",o,1),r(S.variance,y,"variance",p,1),y}function Zt(s){const o={type:"ObjectTypeSpreadProperty",argument:s},p=d.ObjectTypeSpreadProperty;return r(p.argument,o,"argument",s,1),o}function en(s,o=null,p=null,y){const S={type:"OpaqueType",id:s,typeParameters:o,supertype:p,impltype:y},x=d.OpaqueType;return r(x.id,S,"id",s,1),r(x.typeParameters,S,"typeParameters",o,1),r(x.supertype,S,"supertype",p,1),r(x.impltype,S,"impltype",y,1),S}function tn(s,o){const p={type:"QualifiedTypeIdentifier",id:s,qualification:o},y=d.QualifiedTypeIdentifier;return r(y.id,p,"id",s,1),r(y.qualification,p,"qualification",o,1),p}function nn(s){const o={type:"StringLiteralTypeAnnotation",value:s},p=d.StringLiteralTypeAnnotation;return r(p.value,o,"value",s),o}function rn(){return{type:"StringTypeAnnotation"}}function an(){return{type:"SymbolTypeAnnotation"}}function sn(){return{type:"ThisTypeAnnotation"}}function on(s){const o={type:"TupleTypeAnnotation",types:s},p=d.TupleTypeAnnotation;return r(p.types,o,"types",s,1),o}function ln(s){const o={type:"TypeofTypeAnnotation",argument:s},p=d.TypeofTypeAnnotation;return r(p.argument,o,"argument",s,1),o}function pn(s,o=null,p){const y={type:"TypeAlias",id:s,typeParameters:o,right:p},S=d.TypeAlias;return r(S.id,y,"id",s,1),r(S.typeParameters,y,"typeParameters",o,1),r(S.right,y,"right",p,1),y}function un(s){const o={type:"TypeAnnotation",typeAnnotation:s},p=d.TypeAnnotation;return r(p.typeAnnotation,o,"typeAnnotation",s,1),o}function cn(s,o){const p={type:"TypeCastExpression",expression:s,typeAnnotation:o},y=d.TypeCastExpression;return r(y.expression,p,"expression",s,1),r(y.typeAnnotation,p,"typeAnnotation",o,1),p}function dn(s=null,o=null,p=null){const y={type:"TypeParameter",bound:s,default:o,variance:p,name:null},S=d.TypeParameter;return r(S.bound,y,"bound",s,1),r(S.default,y,"default",o,1),r(S.variance,y,"variance",p,1),y}function yn(s){const o={type:"TypeParameterDeclaration",params:s},p=d.TypeParameterDeclaration;return r(p.params,o,"params",s,1),o}function fn(s){const o={type:"TypeParameterInstantiation",params:s},p=d.TypeParameterInstantiation;return r(p.params,o,"params",s,1),o}function Tn(s){const o={type:"UnionTypeAnnotation",types:s},p=d.UnionTypeAnnotation;return r(p.types,o,"types",s,1),o}function mn(s){const o={type:"Variance",kind:s},p=d.Variance;return r(p.kind,o,"kind",s),o}function Sn(){return{type:"VoidTypeAnnotation"}}function En(s,o){const p={type:"EnumDeclaration",id:s,body:o},y=d.EnumDeclaration;return r(y.id,p,"id",s,1),r(y.body,p,"body",o,1),p}function bn(s){const o={type:"EnumBooleanBody",members:s,explicitType:null,hasUnknownMembers:null},p=d.EnumBooleanBody;return r(p.members,o,"members",s,1),o}function An(s){const o={type:"EnumNumberBody",members:s,explicitType:null,hasUnknownMembers:null},p=d.EnumNumberBody;return r(p.members,o,"members",s,1),o}function Pn(s){const o={type:"EnumStringBody",members:s,explicitType:null,hasUnknownMembers:null},p=d.EnumStringBody;return r(p.members,o,"members",s,1),o}function vn(s){const o={type:"EnumSymbolBody",members:s,hasUnknownMembers:null},p=d.EnumSymbolBody;return r(p.members,o,"members",s,1),o}function xn(s){const o={type:"EnumBooleanMember",id:s,init:null},p=d.EnumBooleanMember;return r(p.id,o,"id",s,1),o}function In(s,o){const p={type:"EnumNumberMember",id:s,init:o},y=d.EnumNumberMember;return r(y.id,p,"id",s,1),r(y.init,p,"init",o,1),p}function gn(s,o){const p={type:"EnumStringMember",id:s,init:o},y=d.EnumStringMember;return r(y.id,p,"id",s,1),r(y.init,p,"init",o,1),p}function On(s){const o={type:"EnumDefaultedMember",id:s},p=d.EnumDefaultedMember;return r(p.id,o,"id",s,1),o}function Dn(s,o){const p={type:"IndexedAccessType",objectType:s,indexType:o},y=d.IndexedAccessType;return r(y.objectType,p,"objectType",s,1),r(y.indexType,p,"indexType",o,1),p}function hn(s,o){const p={type:"OptionalIndexedAccessType",objectType:s,indexType:o,optional:null},y=d.OptionalIndexedAccessType;return r(y.objectType,p,"objectType",s,1),r(y.indexType,p,"indexType",o,1),p}function Nn(s,o=null){const p={type:"JSXAttribute",name:s,value:o},y=d.JSXAttribute;return r(y.name,p,"name",s,1),r(y.value,p,"value",o,1),p}function _n(s){const o={type:"JSXClosingElement",name:s},p=d.JSXClosingElement;return r(p.name,o,"name",s,1),o}function Ln(s,o=null,p,y=null){const S={type:"JSXElement",openingElement:s,closingElement:o,children:p,selfClosing:y},x=d.JSXElement;return r(x.openingElement,S,"openingElement",s,1),r(x.closingElement,S,"closingElement",o,1),r(x.children,S,"children",p,1),r(x.selfClosing,S,"selfClosing",y),S}function Cn(){return{type:"JSXEmptyExpression"}}function Bn(s){const o={type:"JSXExpressionContainer",expression:s},p=d.JSXExpressionContainer;return r(p.expression,o,"expression",s,1),o}function Mn(s){const o={type:"JSXSpreadChild",expression:s},p=d.JSXSpreadChild;return r(p.expression,o,"expression",s,1),o}function wn(s){const o={type:"JSXIdentifier",name:s},p=d.JSXIdentifier;return r(p.name,o,"name",s),o}function jn(s,o){const p={type:"JSXMemberExpression",object:s,property:o},y=d.JSXMemberExpression;return r(y.object,p,"object",s,1),r(y.property,p,"property",o,1),p}function Rn(s,o){const p={type:"JSXNamespacedName",namespace:s,name:o},y=d.JSXNamespacedName;return r(y.namespace,p,"namespace",s,1),r(y.name,p,"name",o,1),p}function Fn(s,o,p=!1){const y={type:"JSXOpeningElement",name:s,attributes:o,selfClosing:p},S=d.JSXOpeningElement;return r(S.name,y,"name",s,1),r(S.attributes,y,"attributes",o,1),r(S.selfClosing,y,"selfClosing",p),y}function kn(s){const o={type:"JSXSpreadAttribute",argument:s},p=d.JSXSpreadAttribute;return r(p.argument,o,"argument",s,1),o}function Kn(s){const o={type:"JSXText",value:s},p=d.JSXText;return r(p.value,o,"value",s),o}function qn(s,o,p){const y={type:"JSXFragment",openingFragment:s,closingFragment:o,children:p},S=d.JSXFragment;return r(S.openingFragment,y,"openingFragment",s,1),r(S.closingFragment,y,"closingFragment",o,1),r(S.children,y,"children",p,1),y}function Vn(){return{type:"JSXOpeningFragment"}}function Yn(){return{type:"JSXClosingFragment"}}function Xn(){return{type:"Noop"}}function Jn(s,o){const p={type:"Placeholder",expectedNode:s,name:o},y=d.Placeholder;return r(y.expectedNode,p,"expectedNode",s),r(y.name,p,"name",o,1),p}function Un(s){const o={type:"V8IntrinsicIdentifier",name:s},p=d.V8IntrinsicIdentifier;return r(p.name,o,"name",s),o}function Wn(){return{type:"ArgumentPlaceholder"}}function $n(s,o){const p={type:"BindExpression",object:s,callee:o},y=d.BindExpression;return r(y.object,p,"object",s,1),r(y.callee,p,"callee",o,1),p}function Gn(s){const o={type:"Decorator",expression:s},p=d.Decorator;return r(p.expression,o,"expression",s,1),o}function zn(s,o=!1){const p={type:"DoExpression",body:s,async:o},y=d.DoExpression;return r(y.body,p,"body",s,1),r(y.async,p,"async",o),p}function Qn(s){const o={type:"ExportDefaultSpecifier",exported:s},p=d.ExportDefaultSpecifier;return r(p.exported,o,"exported",s,1),o}function Hn(s){const o={type:"RecordExpression",properties:s},p=d.RecordExpression;return r(p.properties,o,"properties",s,1),o}function Zn(s=[]){const o={type:"TupleExpression",elements:s},p=d.TupleExpression;return r(p.elements,o,"elements",s,1),o}function er(s){const o={type:"DecimalLiteral",value:s},p=d.DecimalLiteral;return r(p.value,o,"value",s),o}function tr(s){const o={type:"ModuleExpression",body:s},p=d.ModuleExpression;return r(p.body,o,"body",s,1),o}function nr(){return{type:"TopicReference"}}function rr(s){const o={type:"PipelineTopicExpression",expression:s},p=d.PipelineTopicExpression;return r(p.expression,o,"expression",s,1),o}function ar(s){const o={type:"PipelineBareFunction",callee:s},p=d.PipelineBareFunction;return r(p.callee,o,"callee",s,1),o}function ir(){return{type:"PipelinePrimaryTopicReference"}}function sr(){return{type:"VoidPattern"}}function or(s){const o={type:"TSParameterProperty",parameter:s},p=d.TSParameterProperty;return r(p.parameter,o,"parameter",s,1),o}function lr(s=null,o=null,p,y=null){const S={type:"TSDeclareFunction",id:s,typeParameters:o,params:p,returnType:y},x=d.TSDeclareFunction;return r(x.id,S,"id",s,1),r(x.typeParameters,S,"typeParameters",o,1),r(x.params,S,"params",p,1),r(x.returnType,S,"returnType",y,1),S}function pr(s=null,o,p=null,y,S=null){const x={type:"TSDeclareMethod",decorators:s,key:o,typeParameters:p,params:y,returnType:S},w=d.TSDeclareMethod;return r(w.decorators,x,"decorators",s,1),r(w.key,x,"key",o,1),r(w.typeParameters,x,"typeParameters",p,1),r(w.params,x,"params",y,1),r(w.returnType,x,"returnType",S,1),x}function ur(s,o){const p={type:"TSQualifiedName",left:s,right:o},y=d.TSQualifiedName;return r(y.left,p,"left",s,1),r(y.right,p,"right",o,1),p}function cr(s=null,o,p=null){const y={type:"TSCallSignatureDeclaration",typeParameters:s,parameters:o,typeAnnotation:p},S=d.TSCallSignatureDeclaration;return r(S.typeParameters,y,"typeParameters",s,1),r(S.parameters,y,"parameters",o,1),r(S.typeAnnotation,y,"typeAnnotation",p,1),y}function dr(s=null,o,p=null){const y={type:"TSConstructSignatureDeclaration",typeParameters:s,parameters:o,typeAnnotation:p},S=d.TSConstructSignatureDeclaration;return r(S.typeParameters,y,"typeParameters",s,1),r(S.parameters,y,"parameters",o,1),r(S.typeAnnotation,y,"typeAnnotation",p,1),y}function yr(s,o=null){const p={type:"TSPropertySignature",key:s,typeAnnotation:o},y=d.TSPropertySignature;return r(y.key,p,"key",s,1),r(y.typeAnnotation,p,"typeAnnotation",o,1),p}function fr(s,o=null,p,y=null){const S={type:"TSMethodSignature",key:s,typeParameters:o,parameters:p,typeAnnotation:y,kind:null},x=d.TSMethodSignature;return r(x.key,S,"key",s,1),r(x.typeParameters,S,"typeParameters",o,1),r(x.parameters,S,"parameters",p,1),r(x.typeAnnotation,S,"typeAnnotation",y,1),S}function Tr(s,o=null){const p={type:"TSIndexSignature",parameters:s,typeAnnotation:o},y=d.TSIndexSignature;return r(y.parameters,p,"parameters",s,1),r(y.typeAnnotation,p,"typeAnnotation",o,1),p}function mr(){return{type:"TSAnyKeyword"}}function Sr(){return{type:"TSBooleanKeyword"}}function Er(){return{type:"TSBigIntKeyword"}}function br(){return{type:"TSIntrinsicKeyword"}}function Ar(){return{type:"TSNeverKeyword"}}function Pr(){return{type:"TSNullKeyword"}}function vr(){return{type:"TSNumberKeyword"}}function xr(){return{type:"TSObjectKeyword"}}function Ir(){return{type:"TSStringKeyword"}}function gr(){return{type:"TSSymbolKeyword"}}function Or(){return{type:"TSUndefinedKeyword"}}function Dr(){return{type:"TSUnknownKeyword"}}function hr(){return{type:"TSVoidKeyword"}}function Nr(){return{type:"TSThisType"}}function _r(s=null,o,p=null){const y={type:"TSFunctionType",typeParameters:s,parameters:o,typeAnnotation:p},S=d.TSFunctionType;return r(S.typeParameters,y,"typeParameters",s,1),r(S.parameters,y,"parameters",o,1),r(S.typeAnnotation,y,"typeAnnotation",p,1),y}function Lr(s=null,o,p=null){const y={type:"TSConstructorType",typeParameters:s,parameters:o,typeAnnotation:p},S=d.TSConstructorType;return r(S.typeParameters,y,"typeParameters",s,1),r(S.parameters,y,"parameters",o,1),r(S.typeAnnotation,y,"typeAnnotation",p,1),y}function Cr(s,o=null){const p={type:"TSTypeReference",typeName:s,typeParameters:o},y=d.TSTypeReference;return r(y.typeName,p,"typeName",s,1),r(y.typeParameters,p,"typeParameters",o,1),p}function Br(s,o=null,p=null){const y={type:"TSTypePredicate",parameterName:s,typeAnnotation:o,asserts:p},S=d.TSTypePredicate;return r(S.parameterName,y,"parameterName",s,1),r(S.typeAnnotation,y,"typeAnnotation",o,1),r(S.asserts,y,"asserts",p),y}function Mr(s,o=null){const p={type:"TSTypeQuery",exprName:s,typeParameters:o},y=d.TSTypeQuery;return r(y.exprName,p,"exprName",s,1),r(y.typeParameters,p,"typeParameters",o,1),p}function wr(s){const o={type:"TSTypeLiteral",members:s},p=d.TSTypeLiteral;return r(p.members,o,"members",s,1),o}function jr(s){const o={type:"TSArrayType",elementType:s},p=d.TSArrayType;return r(p.elementType,o,"elementType",s,1),o}function Rr(s){const o={type:"TSTupleType",elementTypes:s},p=d.TSTupleType;return r(p.elementTypes,o,"elementTypes",s,1),o}function Fr(s){const o={type:"TSOptionalType",typeAnnotation:s},p=d.TSOptionalType;return r(p.typeAnnotation,o,"typeAnnotation",s,1),o}function kr(s){const o={type:"TSRestType",typeAnnotation:s},p=d.TSRestType;return r(p.typeAnnotation,o,"typeAnnotation",s,1),o}function Kr(s,o,p=!1){const y={type:"TSNamedTupleMember",label:s,elementType:o,optional:p},S=d.TSNamedTupleMember;return r(S.label,y,"label",s,1),r(S.elementType,y,"elementType",o,1),r(S.optional,y,"optional",p),y}function qr(s){const o={type:"TSUnionType",types:s},p=d.TSUnionType;return r(p.types,o,"types",s,1),o}function Vr(s){const o={type:"TSIntersectionType",types:s},p=d.TSIntersectionType;return r(p.types,o,"types",s,1),o}function Yr(s,o,p,y){const S={type:"TSConditionalType",checkType:s,extendsType:o,trueType:p,falseType:y},x=d.TSConditionalType;return r(x.checkType,S,"checkType",s,1),r(x.extendsType,S,"extendsType",o,1),r(x.trueType,S,"trueType",p,1),r(x.falseType,S,"falseType",y,1),S}function Xr(s){const o={type:"TSInferType",typeParameter:s},p=d.TSInferType;return r(p.typeParameter,o,"typeParameter",s,1),o}function Jr(s){const o={type:"TSParenthesizedType",typeAnnotation:s},p=d.TSParenthesizedType;return r(p.typeAnnotation,o,"typeAnnotation",s,1),o}function Ur(s,o="keyof"){const p={type:"TSTypeOperator",typeAnnotation:s,operator:o},y=d.TSTypeOperator;return r(y.typeAnnotation,p,"typeAnnotation",s,1),r(y.operator,p,"operator",o),p}function Wr(s,o){const p={type:"TSIndexedAccessType",objectType:s,indexType:o},y=d.TSIndexedAccessType;return r(y.objectType,p,"objectType",s,1),r(y.indexType,p,"indexType",o,1),p}function $r(s,o=null,p=null){const y={type:"TSMappedType",typeParameter:s,typeAnnotation:o,nameType:p},S=d.TSMappedType;return r(S.typeParameter,y,"typeParameter",s,1),r(S.typeAnnotation,y,"typeAnnotation",o,1),r(S.nameType,y,"nameType",p,1),y}function Gr(s,o){const p={type:"TSTemplateLiteralType",quasis:s,types:o},y=d.TSTemplateLiteralType;return r(y.quasis,p,"quasis",s,1),r(y.types,p,"types",o,1),p}function zr(s){const o={type:"TSLiteralType",literal:s},p=d.TSLiteralType;return r(p.literal,o,"literal",s,1),o}function Qr(s,o=null){const p={type:"TSExpressionWithTypeArguments",expression:s,typeParameters:o},y=d.TSExpressionWithTypeArguments;return r(y.expression,p,"expression",s,1),r(y.typeParameters,p,"typeParameters",o,1),p}function Hr(s,o=null,p=null,y){const S={type:"TSInterfaceDeclaration",id:s,typeParameters:o,extends:p,body:y},x=d.TSInterfaceDeclaration;return r(x.id,S,"id",s,1),r(x.typeParameters,S,"typeParameters",o,1),r(x.extends,S,"extends",p,1),r(x.body,S,"body",y,1),S}function Zr(s){const o={type:"TSInterfaceBody",body:s},p=d.TSInterfaceBody;return r(p.body,o,"body",s,1),o}function ea(s,o=null,p){const y={type:"TSTypeAliasDeclaration",id:s,typeParameters:o,typeAnnotation:p},S=d.TSTypeAliasDeclaration;return r(S.id,y,"id",s,1),r(S.typeParameters,y,"typeParameters",o,1),r(S.typeAnnotation,y,"typeAnnotation",p,1),y}function ta(s,o=null){const p={type:"TSInstantiationExpression",expression:s,typeParameters:o},y=d.TSInstantiationExpression;return r(y.expression,p,"expression",s,1),r(y.typeParameters,p,"typeParameters",o,1),p}function na(s,o){const p={type:"TSAsExpression",expression:s,typeAnnotation:o},y=d.TSAsExpression;return r(y.expression,p,"expression",s,1),r(y.typeAnnotation,p,"typeAnnotation",o,1),p}function ra(s,o){const p={type:"TSSatisfiesExpression",expression:s,typeAnnotation:o},y=d.TSSatisfiesExpression;return r(y.expression,p,"expression",s,1),r(y.typeAnnotation,p,"typeAnnotation",o,1),p}function aa(s,o){const p={type:"TSTypeAssertion",typeAnnotation:s,expression:o},y=d.TSTypeAssertion;return r(y.typeAnnotation,p,"typeAnnotation",s,1),r(y.expression,p,"expression",o,1),p}function ia(s){const o={type:"TSEnumBody",members:s},p=d.TSEnumBody;return r(p.members,o,"members",s,1),o}function sa(s,o){const p={type:"TSEnumDeclaration",id:s,members:o},y=d.TSEnumDeclaration;return r(y.id,p,"id",s,1),r(y.members,p,"members",o,1),p}function oa(s,o=null){const p={type:"TSEnumMember",id:s,initializer:o},y=d.TSEnumMember;return r(y.id,p,"id",s,1),r(y.initializer,p,"initializer",o,1),p}function la(s,o){const p={type:"TSModuleDeclaration",id:s,body:o,kind:null},y=d.TSModuleDeclaration;return r(y.id,p,"id",s,1),r(y.body,p,"body",o,1),p}function pa(s){const o={type:"TSModuleBlock",body:s},p=d.TSModuleBlock;return r(p.body,o,"body",s,1),o}function ua(s,o=null,p=null){const y={type:"TSImportType",argument:s,qualifier:o,typeParameters:p},S=d.TSImportType;return r(S.argument,y,"argument",s,1),r(S.qualifier,y,"qualifier",o,1),r(S.typeParameters,y,"typeParameters",p,1),y}function ca(s,o){const p={type:"TSImportEqualsDeclaration",id:s,moduleReference:o,isExport:null},y=d.TSImportEqualsDeclaration;return r(y.id,p,"id",s,1),r(y.moduleReference,p,"moduleReference",o,1),p}function da(s){const o={type:"TSExternalModuleReference",expression:s},p=d.TSExternalModuleReference;return r(p.expression,o,"expression",s,1),o}function ya(s){const o={type:"TSNonNullExpression",expression:s},p=d.TSNonNullExpression;return r(p.expression,o,"expression",s,1),o}function fa(s){const o={type:"TSExportAssignment",expression:s},p=d.TSExportAssignment;return r(p.expression,o,"expression",s,1),o}function Ta(s){const o={type:"TSNamespaceExportDeclaration",id:s},p=d.TSNamespaceExportDeclaration;return r(p.id,o,"id",s,1),o}function ma(s){const o={type:"TSTypeAnnotation",typeAnnotation:s},p=d.TSTypeAnnotation;return r(p.typeAnnotation,o,"typeAnnotation",s,1),o}function Sa(s){const o={type:"TSTypeParameterInstantiation",params:s},p=d.TSTypeParameterInstantiation;return r(p.params,o,"params",s,1),o}function Ea(s){const o={type:"TSTypeParameterDeclaration",params:s},p=d.TSTypeParameterDeclaration;return r(p.params,o,"params",s,1),o}function ba(s=null,o=null,p){const y={type:"TSTypeParameter",constraint:s,default:o,name:p},S=d.TSTypeParameter;return r(S.constraint,y,"constraint",s,1),r(S.default,y,"default",o,1),r(S.name,y,"name",p),y}function Aa(s){return(0,a.default)("NumberLiteral","NumericLiteral","The node type "),ce(s)}function Pa(s,o=""){return(0,a.default)("RegexLiteral","RegExpLiteral","The node type "),K(s,o)}function va(s){return(0,a.default)("RestProperty","RestElement","The node type "),se(s)}function xa(s){return(0,a.default)("SpreadProperty","SpreadElement","The node type "),Ue(s)}return f}var u={},Po;function lp(){if(Po)return u;Po=1,Object.defineProperty(u,"__esModule",{value:!0}),u.JSXIdentifier=u.JSXFragment=u.JSXExpressionContainer=u.JSXEmptyExpression=u.JSXElement=u.JSXClosingFragment=u.JSXClosingElement=u.JSXAttribute=u.IntersectionTypeAnnotation=u.InterpreterDirective=u.InterfaceTypeAnnotation=u.InterfaceExtends=u.InterfaceDeclaration=u.InferredPredicate=u.IndexedAccessType=u.ImportSpecifier=u.ImportNamespaceSpecifier=u.ImportExpression=u.ImportDefaultSpecifier=u.ImportDeclaration=u.ImportAttribute=u.Import=u.IfStatement=u.Identifier=u.GenericTypeAnnotation=u.FunctionTypeParam=u.FunctionTypeAnnotation=u.FunctionExpression=u.FunctionDeclaration=u.ForStatement=u.ForOfStatement=u.ForInStatement=u.File=u.ExpressionStatement=u.ExportSpecifier=u.ExportNamespaceSpecifier=u.ExportNamedDeclaration=u.ExportDefaultSpecifier=u.ExportDefaultDeclaration=u.ExportAllDeclaration=u.ExistsTypeAnnotation=u.EnumSymbolBody=u.EnumStringMember=u.EnumStringBody=u.EnumNumberMember=u.EnumNumberBody=u.EnumDefaultedMember=u.EnumDeclaration=u.EnumBooleanMember=u.EnumBooleanBody=u.EmptyTypeAnnotation=u.EmptyStatement=u.DoWhileStatement=u.DoExpression=u.DirectiveLiteral=u.Directive=u.Decorator=u.DeclaredPredicate=u.DeclareVariable=u.DeclareTypeAlias=u.DeclareOpaqueType=u.DeclareModuleExports=u.DeclareModule=u.DeclareInterface=u.DeclareFunction=u.DeclareExportDeclaration=u.DeclareExportAllDeclaration=u.DeclareClass=u.DecimalLiteral=u.DebuggerStatement=u.ContinueStatement=u.ConditionalExpression=u.ClassProperty=u.ClassPrivateProperty=u.ClassPrivateMethod=u.ClassMethod=u.ClassImplements=u.ClassExpression=u.ClassDeclaration=u.ClassBody=u.ClassAccessorProperty=u.CatchClause=u.CallExpression=u.BreakStatement=u.BooleanTypeAnnotation=u.BooleanLiteralTypeAnnotation=u.BooleanLiteral=u.BlockStatement=u.BindExpression=u.BinaryExpression=u.BigIntLiteral=u.AwaitExpression=u.AssignmentPattern=u.AssignmentExpression=u.ArrowFunctionExpression=u.ArrayTypeAnnotation=u.ArrayPattern=u.ArrayExpression=u.ArgumentPlaceholder=u.AnyTypeAnnotation=void 0,u.TSNumberKeyword=u.TSNullKeyword=u.TSNonNullExpression=u.TSNeverKeyword=u.TSNamespaceExportDeclaration=u.TSNamedTupleMember=u.TSModuleDeclaration=u.TSModuleBlock=u.TSMethodSignature=u.TSMappedType=u.TSLiteralType=u.TSIntrinsicKeyword=u.TSIntersectionType=u.TSInterfaceDeclaration=u.TSInterfaceBody=u.TSInstantiationExpression=u.TSInferType=u.TSIndexedAccessType=u.TSIndexSignature=u.TSImportType=u.TSImportEqualsDeclaration=u.TSFunctionType=u.TSExternalModuleReference=u.TSExpressionWithTypeArguments=u.TSExportAssignment=u.TSEnumMember=u.TSEnumDeclaration=u.TSEnumBody=u.TSDeclareMethod=u.TSDeclareFunction=u.TSConstructorType=u.TSConstructSignatureDeclaration=u.TSConditionalType=u.TSCallSignatureDeclaration=u.TSBooleanKeyword=u.TSBigIntKeyword=u.TSAsExpression=u.TSArrayType=u.TSAnyKeyword=u.SymbolTypeAnnotation=u.SwitchStatement=u.SwitchCase=u.Super=u.StringTypeAnnotation=u.StringLiteralTypeAnnotation=u.StringLiteral=u.StaticBlock=u.SpreadProperty=u.SpreadElement=u.SequenceExpression=u.ReturnStatement=u.RestProperty=u.RestElement=u.RegexLiteral=u.RegExpLiteral=u.RecordExpression=u.QualifiedTypeIdentifier=u.Program=u.PrivateName=u.Placeholder=u.PipelineTopicExpression=u.PipelinePrimaryTopicReference=u.PipelineBareFunction=u.ParenthesizedExpression=u.OptionalMemberExpression=u.OptionalIndexedAccessType=u.OptionalCallExpression=u.OpaqueType=u.ObjectTypeSpreadProperty=u.ObjectTypeProperty=u.ObjectTypeInternalSlot=u.ObjectTypeIndexer=u.ObjectTypeCallProperty=u.ObjectTypeAnnotation=u.ObjectProperty=u.ObjectPattern=u.ObjectMethod=u.ObjectExpression=u.NumericLiteral=u.NumberTypeAnnotation=u.NumberLiteralTypeAnnotation=u.NumberLiteral=u.NullableTypeAnnotation=u.NullLiteralTypeAnnotation=u.NullLiteral=u.Noop=u.NewExpression=u.ModuleExpression=u.MixedTypeAnnotation=u.MetaProperty=u.MemberExpression=u.LogicalExpression=u.LabeledStatement=u.JSXText=u.JSXSpreadChild=u.JSXSpreadAttribute=u.JSXOpeningFragment=u.JSXOpeningElement=u.JSXNamespacedName=u.JSXMemberExpression=void 0,u.YieldExpression=u.WithStatement=u.WhileStatement=u.VoidTypeAnnotation=u.VoidPattern=u.Variance=u.VariableDeclarator=u.VariableDeclaration=u.V8IntrinsicIdentifier=u.UpdateExpression=u.UnionTypeAnnotation=u.UnaryExpression=u.TypeofTypeAnnotation=u.TypeParameterInstantiation=u.TypeParameterDeclaration=u.TypeParameter=u.TypeCastExpression=u.TypeAnnotation=u.TypeAlias=u.TupleTypeAnnotation=u.TupleExpression=u.TryStatement=u.TopicReference=u.ThrowStatement=u.ThisTypeAnnotation=u.ThisExpression=u.TemplateLiteral=u.TemplateElement=u.TaggedTemplateExpression=u.TSVoidKeyword=u.TSUnknownKeyword=u.TSUnionType=u.TSUndefinedKeyword=u.TSTypeReference=u.TSTypeQuery=u.TSTypePredicate=u.TSTypeParameterInstantiation=u.TSTypeParameterDeclaration=u.TSTypeParameter=u.TSTypeOperator=u.TSTypeLiteral=u.TSTypeAssertion=u.TSTypeAnnotation=u.TSTypeAliasDeclaration=u.TSTupleType=u.TSThisType=u.TSTemplateLiteralType=u.TSSymbolKeyword=u.TSStringKeyword=u.TSSatisfiesExpression=u.TSRestType=u.TSQualifiedName=u.TSPropertySignature=u.TSParenthesizedType=u.TSParameterProperty=u.TSOptionalType=u.TSObjectKeyword=void 0;var n=Bl();La();function a(i){return n[i]}return u.ArrayExpression=a("arrayExpression"),u.AssignmentExpression=a("assignmentExpression"),u.BinaryExpression=a("binaryExpression"),u.InterpreterDirective=a("interpreterDirective"),u.Directive=a("directive"),u.DirectiveLiteral=a("directiveLiteral"),u.BlockStatement=a("blockStatement"),u.BreakStatement=a("breakStatement"),u.CallExpression=a("callExpression"),u.CatchClause=a("catchClause"),u.ConditionalExpression=a("conditionalExpression"),u.ContinueStatement=a("continueStatement"),u.DebuggerStatement=a("debuggerStatement"),u.DoWhileStatement=a("doWhileStatement"),u.EmptyStatement=a("emptyStatement"),u.ExpressionStatement=a("expressionStatement"),u.File=a("file"),u.ForInStatement=a("forInStatement"),u.ForStatement=a("forStatement"),u.FunctionDeclaration=a("functionDeclaration"),u.FunctionExpression=a("functionExpression"),u.Identifier=a("identifier"),u.IfStatement=a("ifStatement"),u.LabeledStatement=a("labeledStatement"),u.StringLiteral=a("stringLiteral"),u.NumericLiteral=a("numericLiteral"),u.NullLiteral=a("nullLiteral"),u.BooleanLiteral=a("booleanLiteral"),u.RegExpLiteral=a("regExpLiteral"),u.LogicalExpression=a("logicalExpression"),u.MemberExpression=a("memberExpression"),u.NewExpression=a("newExpression"),u.Program=a("program"),u.ObjectExpression=a("objectExpression"),u.ObjectMethod=a("objectMethod"),u.ObjectProperty=a("objectProperty"),u.RestElement=a("restElement"),u.ReturnStatement=a("returnStatement"),u.SequenceExpression=a("sequenceExpression"),u.ParenthesizedExpression=a("parenthesizedExpression"),u.SwitchCase=a("switchCase"),u.SwitchStatement=a("switchStatement"),u.ThisExpression=a("thisExpression"),u.ThrowStatement=a("throwStatement"),u.TryStatement=a("tryStatement"),u.UnaryExpression=a("unaryExpression"),u.UpdateExpression=a("updateExpression"),u.VariableDeclaration=a("variableDeclaration"),u.VariableDeclarator=a("variableDeclarator"),u.WhileStatement=a("whileStatement"),u.WithStatement=a("withStatement"),u.AssignmentPattern=a("assignmentPattern"),u.ArrayPattern=a("arrayPattern"),u.ArrowFunctionExpression=a("arrowFunctionExpression"),u.ClassBody=a("classBody"),u.ClassExpression=a("classExpression"),u.ClassDeclaration=a("classDeclaration"),u.ExportAllDeclaration=a("exportAllDeclaration"),u.ExportDefaultDeclaration=a("exportDefaultDeclaration"),u.ExportNamedDeclaration=a("exportNamedDeclaration"),u.ExportSpecifier=a("exportSpecifier"),u.ForOfStatement=a("forOfStatement"),u.ImportDeclaration=a("importDeclaration"),u.ImportDefaultSpecifier=a("importDefaultSpecifier"),u.ImportNamespaceSpecifier=a("importNamespaceSpecifier"),u.ImportSpecifier=a("importSpecifier"),u.ImportExpression=a("importExpression"),u.MetaProperty=a("metaProperty"),u.ClassMethod=a("classMethod"),u.ObjectPattern=a("objectPattern"),u.SpreadElement=a("spreadElement"),u.Super=a("super"),u.TaggedTemplateExpression=a("taggedTemplateExpression"),u.TemplateElement=a("templateElement"),u.TemplateLiteral=a("templateLiteral"),u.YieldExpression=a("yieldExpression"),u.AwaitExpression=a("awaitExpression"),u.Import=a("import"),u.BigIntLiteral=a("bigIntLiteral"),u.ExportNamespaceSpecifier=a("exportNamespaceSpecifier"),u.OptionalMemberExpression=a("optionalMemberExpression"),u.OptionalCallExpression=a("optionalCallExpression"),u.ClassProperty=a("classProperty"),u.ClassAccessorProperty=a("classAccessorProperty"),u.ClassPrivateProperty=a("classPrivateProperty"),u.ClassPrivateMethod=a("classPrivateMethod"),u.PrivateName=a("privateName"),u.StaticBlock=a("staticBlock"),u.ImportAttribute=a("importAttribute"),u.AnyTypeAnnotation=a("anyTypeAnnotation"),u.ArrayTypeAnnotation=a("arrayTypeAnnotation"),u.BooleanTypeAnnotation=a("booleanTypeAnnotation"),u.BooleanLiteralTypeAnnotation=a("booleanLiteralTypeAnnotation"),u.NullLiteralTypeAnnotation=a("nullLiteralTypeAnnotation"),u.ClassImplements=a("classImplements"),u.DeclareClass=a("declareClass"),u.DeclareFunction=a("declareFunction"),u.DeclareInterface=a("declareInterface"),u.DeclareModule=a("declareModule"),u.DeclareModuleExports=a("declareModuleExports"),u.DeclareTypeAlias=a("declareTypeAlias"),u.DeclareOpaqueType=a("declareOpaqueType"),u.DeclareVariable=a("declareVariable"),u.DeclareExportDeclaration=a("declareExportDeclaration"),u.DeclareExportAllDeclaration=a("declareExportAllDeclaration"),u.DeclaredPredicate=a("declaredPredicate"),u.ExistsTypeAnnotation=a("existsTypeAnnotation"),u.FunctionTypeAnnotation=a("functionTypeAnnotation"),u.FunctionTypeParam=a("functionTypeParam"),u.GenericTypeAnnotation=a("genericTypeAnnotation"),u.InferredPredicate=a("inferredPredicate"),u.InterfaceExtends=a("interfaceExtends"),u.InterfaceDeclaration=a("interfaceDeclaration"),u.InterfaceTypeAnnotation=a("interfaceTypeAnnotation"),u.IntersectionTypeAnnotation=a("intersectionTypeAnnotation"),u.MixedTypeAnnotation=a("mixedTypeAnnotation"),u.EmptyTypeAnnotation=a("emptyTypeAnnotation"),u.NullableTypeAnnotation=a("nullableTypeAnnotation"),u.NumberLiteralTypeAnnotation=a("numberLiteralTypeAnnotation"),u.NumberTypeAnnotation=a("numberTypeAnnotation"),u.ObjectTypeAnnotation=a("objectTypeAnnotation"),u.ObjectTypeInternalSlot=a("objectTypeInternalSlot"),u.ObjectTypeCallProperty=a("objectTypeCallProperty"),u.ObjectTypeIndexer=a("objectTypeIndexer"),u.ObjectTypeProperty=a("objectTypeProperty"),u.ObjectTypeSpreadProperty=a("objectTypeSpreadProperty"),u.OpaqueType=a("opaqueType"),u.QualifiedTypeIdentifier=a("qualifiedTypeIdentifier"),u.StringLiteralTypeAnnotation=a("stringLiteralTypeAnnotation"),u.StringTypeAnnotation=a("stringTypeAnnotation"),u.SymbolTypeAnnotation=a("symbolTypeAnnotation"),u.ThisTypeAnnotation=a("thisTypeAnnotation"),u.TupleTypeAnnotation=a("tupleTypeAnnotation"),u.TypeofTypeAnnotation=a("typeofTypeAnnotation"),u.TypeAlias=a("typeAlias"),u.TypeAnnotation=a("typeAnnotation"),u.TypeCastExpression=a("typeCastExpression"),u.TypeParameter=a("typeParameter"),u.TypeParameterDeclaration=a("typeParameterDeclaration"),u.TypeParameterInstantiation=a("typeParameterInstantiation"),u.UnionTypeAnnotation=a("unionTypeAnnotation"),u.Variance=a("variance"),u.VoidTypeAnnotation=a("voidTypeAnnotation"),u.EnumDeclaration=a("enumDeclaration"),u.EnumBooleanBody=a("enumBooleanBody"),u.EnumNumberBody=a("enumNumberBody"),u.EnumStringBody=a("enumStringBody"),u.EnumSymbolBody=a("enumSymbolBody"),u.EnumBooleanMember=a("enumBooleanMember"),u.EnumNumberMember=a("enumNumberMember"),u.EnumStringMember=a("enumStringMember"),u.EnumDefaultedMember=a("enumDefaultedMember"),u.IndexedAccessType=a("indexedAccessType"),u.OptionalIndexedAccessType=a("optionalIndexedAccessType"),u.JSXAttribute=a("jsxAttribute"),u.JSXClosingElement=a("jsxClosingElement"),u.JSXElement=a("jsxElement"),u.JSXEmptyExpression=a("jsxEmptyExpression"),u.JSXExpressionContainer=a("jsxExpressionContainer"),u.JSXSpreadChild=a("jsxSpreadChild"),u.JSXIdentifier=a("jsxIdentifier"),u.JSXMemberExpression=a("jsxMemberExpression"),u.JSXNamespacedName=a("jsxNamespacedName"),u.JSXOpeningElement=a("jsxOpeningElement"),u.JSXSpreadAttribute=a("jsxSpreadAttribute"),u.JSXText=a("jsxText"),u.JSXFragment=a("jsxFragment"),u.JSXOpeningFragment=a("jsxOpeningFragment"),u.JSXClosingFragment=a("jsxClosingFragment"),u.Noop=a("noop"),u.Placeholder=a("placeholder"),u.V8IntrinsicIdentifier=a("v8IntrinsicIdentifier"),u.ArgumentPlaceholder=a("argumentPlaceholder"),u.BindExpression=a("bindExpression"),u.Decorator=a("decorator"),u.DoExpression=a("doExpression"),u.ExportDefaultSpecifier=a("exportDefaultSpecifier"),u.RecordExpression=a("recordExpression"),u.TupleExpression=a("tupleExpression"),u.DecimalLiteral=a("decimalLiteral"),u.ModuleExpression=a("moduleExpression"),u.TopicReference=a("topicReference"),u.PipelineTopicExpression=a("pipelineTopicExpression"),u.PipelineBareFunction=a("pipelineBareFunction"),u.PipelinePrimaryTopicReference=a("pipelinePrimaryTopicReference"),u.VoidPattern=a("voidPattern"),u.TSParameterProperty=a("tsParameterProperty"),u.TSDeclareFunction=a("tsDeclareFunction"),u.TSDeclareMethod=a("tsDeclareMethod"),u.TSQualifiedName=a("tsQualifiedName"),u.TSCallSignatureDeclaration=a("tsCallSignatureDeclaration"),u.TSConstructSignatureDeclaration=a("tsConstructSignatureDeclaration"),u.TSPropertySignature=a("tsPropertySignature"),u.TSMethodSignature=a("tsMethodSignature"),u.TSIndexSignature=a("tsIndexSignature"),u.TSAnyKeyword=a("tsAnyKeyword"),u.TSBooleanKeyword=a("tsBooleanKeyword"),u.TSBigIntKeyword=a("tsBigIntKeyword"),u.TSIntrinsicKeyword=a("tsIntrinsicKeyword"),u.TSNeverKeyword=a("tsNeverKeyword"),u.TSNullKeyword=a("tsNullKeyword"),u.TSNumberKeyword=a("tsNumberKeyword"),u.TSObjectKeyword=a("tsObjectKeyword"),u.TSStringKeyword=a("tsStringKeyword"),u.TSSymbolKeyword=a("tsSymbolKeyword"),u.TSUndefinedKeyword=a("tsUndefinedKeyword"),u.TSUnknownKeyword=a("tsUnknownKeyword"),u.TSVoidKeyword=a("tsVoidKeyword"),u.TSThisType=a("tsThisType"),u.TSFunctionType=a("tsFunctionType"),u.TSConstructorType=a("tsConstructorType"),u.TSTypeReference=a("tsTypeReference"),u.TSTypePredicate=a("tsTypePredicate"),u.TSTypeQuery=a("tsTypeQuery"),u.TSTypeLiteral=a("tsTypeLiteral"),u.TSArrayType=a("tsArrayType"),u.TSTupleType=a("tsTupleType"),u.TSOptionalType=a("tsOptionalType"),u.TSRestType=a("tsRestType"),u.TSNamedTupleMember=a("tsNamedTupleMember"),u.TSUnionType=a("tsUnionType"),u.TSIntersectionType=a("tsIntersectionType"),u.TSConditionalType=a("tsConditionalType"),u.TSInferType=a("tsInferType"),u.TSParenthesizedType=a("tsParenthesizedType"),u.TSTypeOperator=a("tsTypeOperator"),u.TSIndexedAccessType=a("tsIndexedAccessType"),u.TSMappedType=a("tsMappedType"),u.TSTemplateLiteralType=a("tsTemplateLiteralType"),u.TSLiteralType=a("tsLiteralType"),u.TSExpressionWithTypeArguments=a("tsExpressionWithTypeArguments"),u.TSInterfaceDeclaration=a("tsInterfaceDeclaration"),u.TSInterfaceBody=a("tsInterfaceBody"),u.TSTypeAliasDeclaration=a("tsTypeAliasDeclaration"),u.TSInstantiationExpression=a("tsInstantiationExpression"),u.TSAsExpression=a("tsAsExpression"),u.TSSatisfiesExpression=a("tsSatisfiesExpression"),u.TSTypeAssertion=a("tsTypeAssertion"),u.TSEnumBody=a("tsEnumBody"),u.TSEnumDeclaration=a("tsEnumDeclaration"),u.TSEnumMember=a("tsEnumMember"),u.TSModuleDeclaration=a("tsModuleDeclaration"),u.TSModuleBlock=a("tsModuleBlock"),u.TSImportType=a("tsImportType"),u.TSImportEqualsDeclaration=a("tsImportEqualsDeclaration"),u.TSExternalModuleReference=a("tsExternalModuleReference"),u.TSNonNullExpression=a("tsNonNullExpression"),u.TSExportAssignment=a("tsExportAssignment"),u.TSNamespaceExportDeclaration=a("tsNamespaceExportDeclaration"),u.TSTypeAnnotation=a("tsTypeAnnotation"),u.TSTypeParameterInstantiation=a("tsTypeParameterInstantiation"),u.TSTypeParameterDeclaration=a("tsTypeParameterDeclaration"),u.TSTypeParameter=a("tsTypeParameter"),u.NumberLiteral=n.numberLiteral,u.RegexLiteral=n.regexLiteral,u.RestProperty=n.restProperty,u.SpreadProperty=n.spreadProperty,u}var vo;function le(){return vo||(vo=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});var a=Bl();Object.keys(a).forEach(function(r){r==="default"||r==="__esModule"||r in n&&n[r]===a[r]||Object.defineProperty(n,r,{enumerable:!0,get:function(){return a[r]}})});var i=lp();Object.keys(i).forEach(function(r){r==="default"||r==="__esModule"||r in n&&n[r]===i[r]||Object.defineProperty(n,r,{enumerable:!0,get:function(){return i[r]}})})})(hs)),hs}var xo;function pp(){if(xo)return Va;xo=1,Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=i;var n=le(),a=Rs();function i(r,d){const c=r.value.split(/\r\n|\n|\r/);let v=0;for(let A=0;A<c.length;A++)/[^ \t]/.exec(c[A])&&(v=A);let E="";for(let A=0;A<c.length;A++){const P=c[A],b=A===0,I=A===c.length-1,g=A===v;let D=P.replace(/\t/g," ");b||(D=D.replace(/^ +/,"")),I||(D=D.replace(/ +$/,"")),D&&(g||(D+=" "),E+=D)}E&&d.push((0,a.inherits)((0,n.stringLiteral)(E),r))}return Va}var Io;function up(){if(Io)return qa;Io=1,Object.defineProperty(qa,"__esModule",{value:!0}),qa.default=i;var n=ee(),a=pp();function i(r){const d=[];for(let c=0;c<r.children.length;c++){let v=r.children[c];if((0,n.isJSXText)(v)){(0,a.default)(v,d);continue}(0,n.isJSXExpressionContainer)(v)&&(v=v.expression),!(0,n.isJSXEmptyExpression)(v)&&d.push(v)}return d}return qa}var Wa={},$a={},go;function Ml(){if(go)return $a;go=1,Object.defineProperty($a,"__esModule",{value:!0}),$a.default=a;var n=de();function a(i){return!!(i&&n.VISITOR_KEYS[i.type])}return $a}var Oo;function cp(){if(Oo)return Wa;Oo=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.default=a;var n=Ml();function a(i){if(!(0,n.default)(i)){var r;const d=(r=i?.type)!=null?r:JSON.stringify(i);throw new TypeError(`Not a valid node of type "${d}"`)}}return Wa}var m={},Do;function dp(){if(Do)return m;Do=1,Object.defineProperty(m,"__esModule",{value:!0}),m.assertAccessor=ls,m.assertAnyTypeAnnotation=Tt,m.assertArgumentPlaceholder=Jn,m.assertArrayExpression=r,m.assertArrayPattern=_e,m.assertArrayTypeAnnotation=mt,m.assertArrowFunctionExpression=Le,m.assertAssignmentExpression=d,m.assertAssignmentPattern=Ne,m.assertAwaitExpression=nt,m.assertBigIntLiteral=at,m.assertBinary=Aa,m.assertBinaryExpression=c,m.assertBindExpression=Un,m.assertBlock=xa,m.assertBlockParent=va,m.assertBlockStatement=P,m.assertBooleanLiteral=fe,m.assertBooleanLiteralTypeAnnotation=Et,m.assertBooleanTypeAnnotation=St,m.assertBreakStatement=b,m.assertCallExpression=I,m.assertCatchClause=g,m.assertClass=wa,m.assertClassAccessorProperty=pt,m.assertClassBody=Ce,m.assertClassDeclaration=Me,m.assertClassExpression=Be,m.assertClassImplements=At,m.assertClassMethod=Ge,m.assertClassPrivateMethod=ct,m.assertClassPrivateProperty=ut,m.assertClassProperty=lt,m.assertCompletionStatement=p,m.assertConditional=y,m.assertConditionalExpression=D,m.assertContinueStatement=R,m.assertDebuggerStatement=h,m.assertDecimalLiteral=Hn,m.assertDeclaration=Ui,m.assertDeclareClass=Pt,m.assertDeclareExportAllDeclaration=_t,m.assertDeclareExportDeclaration=Nt,m.assertDeclareFunction=vt,m.assertDeclareInterface=xt,m.assertDeclareModule=It,m.assertDeclareModuleExports=gt,m.assertDeclareOpaqueType=Dt,m.assertDeclareTypeAlias=Ot,m.assertDeclareVariable=ht,m.assertDeclaredPredicate=Lt,m.assertDecorator=Wn,m.assertDirective=E,m.assertDirectiveLiteral=A,m.assertDoExpression=$n,m.assertDoWhileStatement=L,m.assertEmptyStatement=N,m.assertEmptyTypeAnnotation=Vt,m.assertEnumBody=Ts,m.assertEnumBooleanBody=Sn,m.assertEnumBooleanMember=Pn,m.assertEnumDeclaration=mn,m.assertEnumDefaultedMember=In,m.assertEnumMember=ms,m.assertEnumNumberBody=En,m.assertEnumNumberMember=vn,m.assertEnumStringBody=bn,m.assertEnumStringMember=xn,m.assertEnumSymbolBody=An,m.assertExistsTypeAnnotation=Ct,m.assertExportAllDeclaration=we,m.assertExportDeclaration=ss,m.assertExportDefaultDeclaration=je,m.assertExportDefaultSpecifier=Gn,m.assertExportNamedDeclaration=Re,m.assertExportNamespaceSpecifier=it,m.assertExportSpecifier=Fe,m.assertExpression=ba,m.assertExpressionStatement=_,m.assertExpressionWrapper=w,m.assertFile=M,m.assertFlow=us,m.assertFlowBaseAnnotation=ds,m.assertFlowDeclaration=ys,m.assertFlowPredicate=fs,m.assertFlowType=cs,m.assertFor=U,m.assertForInStatement=V,m.assertForOfStatement=ke,m.assertForStatement=G,m.assertForXStatement=Z,m.assertFunction=pe,m.assertFunctionDeclaration=z,m.assertFunctionExpression=Q,m.assertFunctionParameter=Wi,m.assertFunctionParent=Xi,m.assertFunctionTypeAnnotation=Bt,m.assertFunctionTypeParam=Mt,m.assertGenericTypeAnnotation=wt,m.assertIdentifier=H,m.assertIfStatement=oe,m.assertImmutable=Hi,m.assertImport=rt,m.assertImportAttribute=ft,m.assertImportDeclaration=Ke,m.assertImportDefaultSpecifier=qe,m.assertImportExpression=Ye,m.assertImportNamespaceSpecifier=Te,m.assertImportOrExportDeclaration=is,m.assertImportSpecifier=Ve,m.assertIndexedAccessType=gn,m.assertInferredPredicate=jt,m.assertInterfaceDeclaration=Ft,m.assertInterfaceExtends=Rt,m.assertInterfaceTypeAnnotation=kt,m.assertInterpreterDirective=v,m.assertIntersectionTypeAnnotation=Kt,m.assertJSX=Ss,m.assertJSXAttribute=Dn,m.assertJSXClosingElement=hn,m.assertJSXClosingFragment=qn,m.assertJSXElement=Nn,m.assertJSXEmptyExpression=_n,m.assertJSXExpressionContainer=Ln,m.assertJSXFragment=kn,m.assertJSXIdentifier=Bn,m.assertJSXMemberExpression=Mn,m.assertJSXNamespacedName=wn,m.assertJSXOpeningElement=jn,m.assertJSXOpeningFragment=Kn,m.assertJSXSpreadAttribute=Rn,m.assertJSXSpreadChild=Cn,m.assertJSXText=Fn,m.assertLVal=Gi,m.assertLabeledStatement=re,m.assertLiteral=Qi,m.assertLogicalExpression=B,m.assertLoop=S,m.assertMemberExpression=F,m.assertMetaProperty=C,m.assertMethod=es,m.assertMiscellaneous=Es,m.assertMixedTypeAnnotation=qt,m.assertModuleDeclaration=t,m.assertModuleExpression=Zn,m.assertModuleSpecifier=os,m.assertNewExpression=K,m.assertNoop=Vn,m.assertNullLiteral=ae,m.assertNullLiteralTypeAnnotation=bt,m.assertNullableTypeAnnotation=Yt,m.assertNumberLiteral=xs,m.assertNumberLiteralTypeAnnotation=Xt,m.assertNumberTypeAnnotation=Jt,m.assertNumericLiteral=ue,m.assertObjectExpression=Y,m.assertObjectMember=ts,m.assertObjectMethod=$,m.assertObjectPattern=ze,m.assertObjectProperty=J,m.assertObjectTypeAnnotation=Ut,m.assertObjectTypeCallProperty=$t,m.assertObjectTypeIndexer=Gt,m.assertObjectTypeInternalSlot=Wt,m.assertObjectTypeProperty=zt,m.assertObjectTypeSpreadProperty=Qt,m.assertOpaqueType=Ht,m.assertOptionalCallExpression=ot,m.assertOptionalIndexedAccessType=On,m.assertOptionalMemberExpression=st,m.assertParenthesizedExpression=se,m.assertPattern=as,m.assertPatternLike=$i,m.assertPipelineBareFunction=nr,m.assertPipelinePrimaryTopicReference=rr,m.assertPipelineTopicExpression=tr,m.assertPlaceholder=Yn,m.assertPrivate=ps,m.assertPrivateName=dt,m.assertProgram=j,m.assertProperty=ns,m.assertPureish=Ji,m.assertQualifiedTypeIdentifier=Zt,m.assertRecordExpression=zn,m.assertRegExpLiteral=ce,m.assertRegexLiteral=Is,m.assertRestElement=X,m.assertRestProperty=gs,m.assertReturnStatement=W,m.assertScopable=Pa,m.assertSequenceExpression=ie,m.assertSpreadElement=Qe,m.assertSpreadProperty=Os,m.assertStandardized=Ea,m.assertStatement=s,m.assertStaticBlock=yt,m.assertStringLiteral=te,m.assertStringLiteralTypeAnnotation=en,m.assertStringTypeAnnotation=tn,m.assertSuper=He,m.assertSwitchCase=be,m.assertSwitchStatement=Ae,m.assertSymbolTypeAnnotation=nn,m.assertTSAnyKeyword=fr,m.assertTSArrayType=Mr,m.assertTSAsExpression=ea,m.assertTSBaseType=vs,m.assertTSBigIntKeyword=mr,m.assertTSBooleanKeyword=Tr,m.assertTSCallSignatureDeclaration=pr,m.assertTSConditionalType=qr,m.assertTSConstructSignatureDeclaration=ur,m.assertTSConstructorType=Nr,m.assertTSDeclareFunction=sr,m.assertTSDeclareMethod=or,m.assertTSEntityName=zi,m.assertTSEnumBody=ra,m.assertTSEnumDeclaration=aa,m.assertTSEnumMember=ia,m.assertTSExportAssignment=da,m.assertTSExpressionWithTypeArguments=Gr,m.assertTSExternalModuleReference=ua,m.assertTSFunctionType=hr,m.assertTSImportEqualsDeclaration=pa,m.assertTSImportType=la,m.assertTSIndexSignature=yr,m.assertTSIndexedAccessType=Jr,m.assertTSInferType=Vr,m.assertTSInstantiationExpression=Zr,m.assertTSInterfaceBody=Qr,m.assertTSInterfaceDeclaration=zr,m.assertTSIntersectionType=Kr,m.assertTSIntrinsicKeyword=Sr,m.assertTSLiteralType=$r,m.assertTSMappedType=Ur,m.assertTSMethodSignature=dr,m.assertTSModuleBlock=oa,m.assertTSModuleDeclaration=sa,m.assertTSNamedTupleMember=Fr,m.assertTSNamespaceExportDeclaration=ya,m.assertTSNeverKeyword=Er,m.assertTSNonNullExpression=ca,m.assertTSNullKeyword=br,m.assertTSNumberKeyword=Ar,m.assertTSObjectKeyword=Pr,m.assertTSOptionalType=jr,m.assertTSParameterProperty=ir,m.assertTSParenthesizedType=Yr,m.assertTSPropertySignature=cr,m.assertTSQualifiedName=lr,m.assertTSRestType=Rr,m.assertTSSatisfiesExpression=ta,m.assertTSStringKeyword=vr,m.assertTSSymbolKeyword=xr,m.assertTSTemplateLiteralType=Wr,m.assertTSThisType=Dr,m.assertTSTupleType=wr,m.assertTSType=Ps,m.assertTSTypeAliasDeclaration=Hr,m.assertTSTypeAnnotation=fa,m.assertTSTypeAssertion=na,m.assertTSTypeElement=As,m.assertTSTypeLiteral=Br,m.assertTSTypeOperator=Xr,m.assertTSTypeParameter=Sa,m.assertTSTypeParameterDeclaration=ma,m.assertTSTypeParameterInstantiation=Ta,m.assertTSTypePredicate=Lr,m.assertTSTypeQuery=Cr,m.assertTSTypeReference=_r,m.assertTSUndefinedKeyword=Ir,m.assertTSUnionType=kr,m.assertTSUnknownKeyword=gr,m.assertTSVoidKeyword=Or,m.assertTaggedTemplateExpression=Ze,m.assertTemplateElement=Ue,m.assertTemplateLiteral=et,m.assertTerminatorless=o,m.assertThisExpression=Pe,m.assertThisTypeAnnotation=rn,m.assertThrowStatement=ye,m.assertTopicReference=er,m.assertTryStatement=ve,m.assertTupleExpression=Qn,m.assertTupleTypeAnnotation=an,m.assertTypeAlias=on,m.assertTypeAnnotation=ln,m.assertTypeCastExpression=pn,m.assertTypeParameter=un,m.assertTypeParameterDeclaration=cn,m.assertTypeParameterInstantiation=dn,m.assertTypeScript=bs,m.assertTypeofTypeAnnotation=sn,m.assertUnaryExpression=xe,m.assertUnaryLike=rs,m.assertUnionTypeAnnotation=yn,m.assertUpdateExpression=Ie,m.assertUserWhitespacable=Zi,m.assertV8IntrinsicIdentifier=Xn,m.assertVariableDeclaration=ge,m.assertVariableDeclarator=Oe,m.assertVariance=fn,m.assertVoidPattern=ar,m.assertVoidTypeAnnotation=Tn,m.assertWhile=x,m.assertWhileStatement=De,m.assertWithStatement=he,m.assertYieldExpression=tt;var n=Ca(),a=La();function i(e,l,Fs){if(!(0,n.default)(e,l,Fs))throw new Error(`Expected type "${e}" with option ${JSON.stringify(Fs)}, but instead got "${l.type}".`)}function r(e,l){i("ArrayExpression",e,l)}function d(e,l){i("AssignmentExpression",e,l)}function c(e,l){i("BinaryExpression",e,l)}function v(e,l){i("InterpreterDirective",e,l)}function E(e,l){i("Directive",e,l)}function A(e,l){i("DirectiveLiteral",e,l)}function P(e,l){i("BlockStatement",e,l)}function b(e,l){i("BreakStatement",e,l)}function I(e,l){i("CallExpression",e,l)}function g(e,l){i("CatchClause",e,l)}function D(e,l){i("ConditionalExpression",e,l)}function R(e,l){i("ContinueStatement",e,l)}function h(e,l){i("DebuggerStatement",e,l)}function L(e,l){i("DoWhileStatement",e,l)}function N(e,l){i("EmptyStatement",e,l)}function _(e,l){i("ExpressionStatement",e,l)}function M(e,l){i("File",e,l)}function V(e,l){i("ForInStatement",e,l)}function G(e,l){i("ForStatement",e,l)}function z(e,l){i("FunctionDeclaration",e,l)}function Q(e,l){i("FunctionExpression",e,l)}function H(e,l){i("Identifier",e,l)}function oe(e,l){i("IfStatement",e,l)}function re(e,l){i("LabeledStatement",e,l)}function te(e,l){i("StringLiteral",e,l)}function ue(e,l){i("NumericLiteral",e,l)}function ae(e,l){i("NullLiteral",e,l)}function fe(e,l){i("BooleanLiteral",e,l)}function ce(e,l){i("RegExpLiteral",e,l)}function B(e,l){i("LogicalExpression",e,l)}function F(e,l){i("MemberExpression",e,l)}function K(e,l){i("NewExpression",e,l)}function j(e,l){i("Program",e,l)}function Y(e,l){i("ObjectExpression",e,l)}function $(e,l){i("ObjectMethod",e,l)}function J(e,l){i("ObjectProperty",e,l)}function X(e,l){i("RestElement",e,l)}function W(e,l){i("ReturnStatement",e,l)}function ie(e,l){i("SequenceExpression",e,l)}function se(e,l){i("ParenthesizedExpression",e,l)}function be(e,l){i("SwitchCase",e,l)}function Ae(e,l){i("SwitchStatement",e,l)}function Pe(e,l){i("ThisExpression",e,l)}function ye(e,l){i("ThrowStatement",e,l)}function ve(e,l){i("TryStatement",e,l)}function xe(e,l){i("UnaryExpression",e,l)}function Ie(e,l){i("UpdateExpression",e,l)}function ge(e,l){i("VariableDeclaration",e,l)}function Oe(e,l){i("VariableDeclarator",e,l)}function De(e,l){i("WhileStatement",e,l)}function he(e,l){i("WithStatement",e,l)}function Ne(e,l){i("AssignmentPattern",e,l)}function _e(e,l){i("ArrayPattern",e,l)}function Le(e,l){i("ArrowFunctionExpression",e,l)}function Ce(e,l){i("ClassBody",e,l)}function Be(e,l){i("ClassExpression",e,l)}function Me(e,l){i("ClassDeclaration",e,l)}function we(e,l){i("ExportAllDeclaration",e,l)}function je(e,l){i("ExportDefaultDeclaration",e,l)}function Re(e,l){i("ExportNamedDeclaration",e,l)}function Fe(e,l){i("ExportSpecifier",e,l)}function ke(e,l){i("ForOfStatement",e,l)}function Ke(e,l){i("ImportDeclaration",e,l)}function qe(e,l){i("ImportDefaultSpecifier",e,l)}function Te(e,l){i("ImportNamespaceSpecifier",e,l)}function Ve(e,l){i("ImportSpecifier",e,l)}function Ye(e,l){i("ImportExpression",e,l)}function C(e,l){i("MetaProperty",e,l)}function Ge(e,l){i("ClassMethod",e,l)}function ze(e,l){i("ObjectPattern",e,l)}function Qe(e,l){i("SpreadElement",e,l)}function He(e,l){i("Super",e,l)}function Ze(e,l){i("TaggedTemplateExpression",e,l)}function Ue(e,l){i("TemplateElement",e,l)}function et(e,l){i("TemplateLiteral",e,l)}function tt(e,l){i("YieldExpression",e,l)}function nt(e,l){i("AwaitExpression",e,l)}function rt(e,l){i("Import",e,l)}function at(e,l){i("BigIntLiteral",e,l)}function it(e,l){i("ExportNamespaceSpecifier",e,l)}function st(e,l){i("OptionalMemberExpression",e,l)}function ot(e,l){i("OptionalCallExpression",e,l)}function lt(e,l){i("ClassProperty",e,l)}function pt(e,l){i("ClassAccessorProperty",e,l)}function ut(e,l){i("ClassPrivateProperty",e,l)}function ct(e,l){i("ClassPrivateMethod",e,l)}function dt(e,l){i("PrivateName",e,l)}function yt(e,l){i("StaticBlock",e,l)}function ft(e,l){i("ImportAttribute",e,l)}function Tt(e,l){i("AnyTypeAnnotation",e,l)}function mt(e,l){i("ArrayTypeAnnotation",e,l)}function St(e,l){i("BooleanTypeAnnotation",e,l)}function Et(e,l){i("BooleanLiteralTypeAnnotation",e,l)}function bt(e,l){i("NullLiteralTypeAnnotation",e,l)}function At(e,l){i("ClassImplements",e,l)}function Pt(e,l){i("DeclareClass",e,l)}function vt(e,l){i("DeclareFunction",e,l)}function xt(e,l){i("DeclareInterface",e,l)}function It(e,l){i("DeclareModule",e,l)}function gt(e,l){i("DeclareModuleExports",e,l)}function Ot(e,l){i("DeclareTypeAlias",e,l)}function Dt(e,l){i("DeclareOpaqueType",e,l)}function ht(e,l){i("DeclareVariable",e,l)}function Nt(e,l){i("DeclareExportDeclaration",e,l)}function _t(e,l){i("DeclareExportAllDeclaration",e,l)}function Lt(e,l){i("DeclaredPredicate",e,l)}function Ct(e,l){i("ExistsTypeAnnotation",e,l)}function Bt(e,l){i("FunctionTypeAnnotation",e,l)}function Mt(e,l){i("FunctionTypeParam",e,l)}function wt(e,l){i("GenericTypeAnnotation",e,l)}function jt(e,l){i("InferredPredicate",e,l)}function Rt(e,l){i("InterfaceExtends",e,l)}function Ft(e,l){i("InterfaceDeclaration",e,l)}function kt(e,l){i("InterfaceTypeAnnotation",e,l)}function Kt(e,l){i("IntersectionTypeAnnotation",e,l)}function qt(e,l){i("MixedTypeAnnotation",e,l)}function Vt(e,l){i("EmptyTypeAnnotation",e,l)}function Yt(e,l){i("NullableTypeAnnotation",e,l)}function Xt(e,l){i("NumberLiteralTypeAnnotation",e,l)}function Jt(e,l){i("NumberTypeAnnotation",e,l)}function Ut(e,l){i("ObjectTypeAnnotation",e,l)}function Wt(e,l){i("ObjectTypeInternalSlot",e,l)}function $t(e,l){i("ObjectTypeCallProperty",e,l)}function Gt(e,l){i("ObjectTypeIndexer",e,l)}function zt(e,l){i("ObjectTypeProperty",e,l)}function Qt(e,l){i("ObjectTypeSpreadProperty",e,l)}function Ht(e,l){i("OpaqueType",e,l)}function Zt(e,l){i("QualifiedTypeIdentifier",e,l)}function en(e,l){i("StringLiteralTypeAnnotation",e,l)}function tn(e,l){i("StringTypeAnnotation",e,l)}function nn(e,l){i("SymbolTypeAnnotation",e,l)}function rn(e,l){i("ThisTypeAnnotation",e,l)}function an(e,l){i("TupleTypeAnnotation",e,l)}function sn(e,l){i("TypeofTypeAnnotation",e,l)}function on(e,l){i("TypeAlias",e,l)}function ln(e,l){i("TypeAnnotation",e,l)}function pn(e,l){i("TypeCastExpression",e,l)}function un(e,l){i("TypeParameter",e,l)}function cn(e,l){i("TypeParameterDeclaration",e,l)}function dn(e,l){i("TypeParameterInstantiation",e,l)}function yn(e,l){i("UnionTypeAnnotation",e,l)}function fn(e,l){i("Variance",e,l)}function Tn(e,l){i("VoidTypeAnnotation",e,l)}function mn(e,l){i("EnumDeclaration",e,l)}function Sn(e,l){i("EnumBooleanBody",e,l)}function En(e,l){i("EnumNumberBody",e,l)}function bn(e,l){i("EnumStringBody",e,l)}function An(e,l){i("EnumSymbolBody",e,l)}function Pn(e,l){i("EnumBooleanMember",e,l)}function vn(e,l){i("EnumNumberMember",e,l)}function xn(e,l){i("EnumStringMember",e,l)}function In(e,l){i("EnumDefaultedMember",e,l)}function gn(e,l){i("IndexedAccessType",e,l)}function On(e,l){i("OptionalIndexedAccessType",e,l)}function Dn(e,l){i("JSXAttribute",e,l)}function hn(e,l){i("JSXClosingElement",e,l)}function Nn(e,l){i("JSXElement",e,l)}function _n(e,l){i("JSXEmptyExpression",e,l)}function Ln(e,l){i("JSXExpressionContainer",e,l)}function Cn(e,l){i("JSXSpreadChild",e,l)}function Bn(e,l){i("JSXIdentifier",e,l)}function Mn(e,l){i("JSXMemberExpression",e,l)}function wn(e,l){i("JSXNamespacedName",e,l)}function jn(e,l){i("JSXOpeningElement",e,l)}function Rn(e,l){i("JSXSpreadAttribute",e,l)}function Fn(e,l){i("JSXText",e,l)}function kn(e,l){i("JSXFragment",e,l)}function Kn(e,l){i("JSXOpeningFragment",e,l)}function qn(e,l){i("JSXClosingFragment",e,l)}function Vn(e,l){i("Noop",e,l)}function Yn(e,l){i("Placeholder",e,l)}function Xn(e,l){i("V8IntrinsicIdentifier",e,l)}function Jn(e,l){i("ArgumentPlaceholder",e,l)}function Un(e,l){i("BindExpression",e,l)}function Wn(e,l){i("Decorator",e,l)}function $n(e,l){i("DoExpression",e,l)}function Gn(e,l){i("ExportDefaultSpecifier",e,l)}function zn(e,l){i("RecordExpression",e,l)}function Qn(e,l){i("TupleExpression",e,l)}function Hn(e,l){i("DecimalLiteral",e,l)}function Zn(e,l){i("ModuleExpression",e,l)}function er(e,l){i("TopicReference",e,l)}function tr(e,l){i("PipelineTopicExpression",e,l)}function nr(e,l){i("PipelineBareFunction",e,l)}function rr(e,l){i("PipelinePrimaryTopicReference",e,l)}function ar(e,l){i("VoidPattern",e,l)}function ir(e,l){i("TSParameterProperty",e,l)}function sr(e,l){i("TSDeclareFunction",e,l)}function or(e,l){i("TSDeclareMethod",e,l)}function lr(e,l){i("TSQualifiedName",e,l)}function pr(e,l){i("TSCallSignatureDeclaration",e,l)}function ur(e,l){i("TSConstructSignatureDeclaration",e,l)}function cr(e,l){i("TSPropertySignature",e,l)}function dr(e,l){i("TSMethodSignature",e,l)}function yr(e,l){i("TSIndexSignature",e,l)}function fr(e,l){i("TSAnyKeyword",e,l)}function Tr(e,l){i("TSBooleanKeyword",e,l)}function mr(e,l){i("TSBigIntKeyword",e,l)}function Sr(e,l){i("TSIntrinsicKeyword",e,l)}function Er(e,l){i("TSNeverKeyword",e,l)}function br(e,l){i("TSNullKeyword",e,l)}function Ar(e,l){i("TSNumberKeyword",e,l)}function Pr(e,l){i("TSObjectKeyword",e,l)}function vr(e,l){i("TSStringKeyword",e,l)}function xr(e,l){i("TSSymbolKeyword",e,l)}function Ir(e,l){i("TSUndefinedKeyword",e,l)}function gr(e,l){i("TSUnknownKeyword",e,l)}function Or(e,l){i("TSVoidKeyword",e,l)}function Dr(e,l){i("TSThisType",e,l)}function hr(e,l){i("TSFunctionType",e,l)}function Nr(e,l){i("TSConstructorType",e,l)}function _r(e,l){i("TSTypeReference",e,l)}function Lr(e,l){i("TSTypePredicate",e,l)}function Cr(e,l){i("TSTypeQuery",e,l)}function Br(e,l){i("TSTypeLiteral",e,l)}function Mr(e,l){i("TSArrayType",e,l)}function wr(e,l){i("TSTupleType",e,l)}function jr(e,l){i("TSOptionalType",e,l)}function Rr(e,l){i("TSRestType",e,l)}function Fr(e,l){i("TSNamedTupleMember",e,l)}function kr(e,l){i("TSUnionType",e,l)}function Kr(e,l){i("TSIntersectionType",e,l)}function qr(e,l){i("TSConditionalType",e,l)}function Vr(e,l){i("TSInferType",e,l)}function Yr(e,l){i("TSParenthesizedType",e,l)}function Xr(e,l){i("TSTypeOperator",e,l)}function Jr(e,l){i("TSIndexedAccessType",e,l)}function Ur(e,l){i("TSMappedType",e,l)}function Wr(e,l){i("TSTemplateLiteralType",e,l)}function $r(e,l){i("TSLiteralType",e,l)}function Gr(e,l){i("TSExpressionWithTypeArguments",e,l)}function zr(e,l){i("TSInterfaceDeclaration",e,l)}function Qr(e,l){i("TSInterfaceBody",e,l)}function Hr(e,l){i("TSTypeAliasDeclaration",e,l)}function Zr(e,l){i("TSInstantiationExpression",e,l)}function ea(e,l){i("TSAsExpression",e,l)}function ta(e,l){i("TSSatisfiesExpression",e,l)}function na(e,l){i("TSTypeAssertion",e,l)}function ra(e,l){i("TSEnumBody",e,l)}function aa(e,l){i("TSEnumDeclaration",e,l)}function ia(e,l){i("TSEnumMember",e,l)}function sa(e,l){i("TSModuleDeclaration",e,l)}function oa(e,l){i("TSModuleBlock",e,l)}function la(e,l){i("TSImportType",e,l)}function pa(e,l){i("TSImportEqualsDeclaration",e,l)}function ua(e,l){i("TSExternalModuleReference",e,l)}function ca(e,l){i("TSNonNullExpression",e,l)}function da(e,l){i("TSExportAssignment",e,l)}function ya(e,l){i("TSNamespaceExportDeclaration",e,l)}function fa(e,l){i("TSTypeAnnotation",e,l)}function Ta(e,l){i("TSTypeParameterInstantiation",e,l)}function ma(e,l){i("TSTypeParameterDeclaration",e,l)}function Sa(e,l){i("TSTypeParameter",e,l)}function Ea(e,l){i("Standardized",e,l)}function ba(e,l){i("Expression",e,l)}function Aa(e,l){i("Binary",e,l)}function Pa(e,l){i("Scopable",e,l)}function va(e,l){i("BlockParent",e,l)}function xa(e,l){i("Block",e,l)}function s(e,l){i("Statement",e,l)}function o(e,l){i("Terminatorless",e,l)}function p(e,l){i("CompletionStatement",e,l)}function y(e,l){i("Conditional",e,l)}function S(e,l){i("Loop",e,l)}function x(e,l){i("While",e,l)}function w(e,l){i("ExpressionWrapper",e,l)}function U(e,l){i("For",e,l)}function Z(e,l){i("ForXStatement",e,l)}function pe(e,l){i("Function",e,l)}function Xi(e,l){i("FunctionParent",e,l)}function Ji(e,l){i("Pureish",e,l)}function Ui(e,l){i("Declaration",e,l)}function Wi(e,l){i("FunctionParameter",e,l)}function $i(e,l){i("PatternLike",e,l)}function Gi(e,l){i("LVal",e,l)}function zi(e,l){i("TSEntityName",e,l)}function Qi(e,l){i("Literal",e,l)}function Hi(e,l){i("Immutable",e,l)}function Zi(e,l){i("UserWhitespacable",e,l)}function es(e,l){i("Method",e,l)}function ts(e,l){i("ObjectMember",e,l)}function ns(e,l){i("Property",e,l)}function rs(e,l){i("UnaryLike",e,l)}function as(e,l){i("Pattern",e,l)}function wa(e,l){i("Class",e,l)}function is(e,l){i("ImportOrExportDeclaration",e,l)}function ss(e,l){i("ExportDeclaration",e,l)}function os(e,l){i("ModuleSpecifier",e,l)}function ls(e,l){i("Accessor",e,l)}function ps(e,l){i("Private",e,l)}function us(e,l){i("Flow",e,l)}function cs(e,l){i("FlowType",e,l)}function ds(e,l){i("FlowBaseAnnotation",e,l)}function ys(e,l){i("FlowDeclaration",e,l)}function fs(e,l){i("FlowPredicate",e,l)}function Ts(e,l){i("EnumBody",e,l)}function ms(e,l){i("EnumMember",e,l)}function Ss(e,l){i("JSX",e,l)}function Es(e,l){i("Miscellaneous",e,l)}function bs(e,l){i("TypeScript",e,l)}function As(e,l){i("TSTypeElement",e,l)}function Ps(e,l){i("TSType",e,l)}function vs(e,l){i("TSBaseType",e,l)}function xs(e,l){(0,a.default)("assertNumberLiteral","assertNumericLiteral"),i("NumberLiteral",e,l)}function Is(e,l){(0,a.default)("assertRegexLiteral","assertRegExpLiteral"),i("RegexLiteral",e,l)}function gs(e,l){(0,a.default)("assertRestProperty","assertRestElement"),i("RestProperty",e,l)}function Os(e,l){(0,a.default)("assertSpreadProperty","assertSpreadElement"),i("SpreadProperty",e,l)}function t(e,l){(0,a.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),i("ModuleDeclaration",e,l)}return m}var Oa={},ho;function yp(){if(ho)return Oa;ho=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.default=void 0;var n=le();Oa.default=a;function a(i){switch(i){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+i)}return Oa}var Ga={},za={},No;function wl(){if(No)return za;No=1,Object.defineProperty(za,"__esModule",{value:!0}),za.default=i;var n=ee();function a(r){return(0,n.isIdentifier)(r)?r.name:`${r.id.name}.${a(r.qualification)}`}function i(r){const d=Array.from(r),c=new Map,v=new Map,E=new Set,A=[];for(let P=0;P<d.length;P++){const b=d[P];if(b&&!A.includes(b)){if((0,n.isAnyTypeAnnotation)(b))return[b];if((0,n.isFlowBaseAnnotation)(b)){v.set(b.type,b);continue}if((0,n.isUnionTypeAnnotation)(b)){E.has(b.types)||(d.push(...b.types),E.add(b.types));continue}if((0,n.isGenericTypeAnnotation)(b)){const I=a(b.id);if(c.has(I)){let g=c.get(I);g.typeParameters?b.typeParameters&&(g.typeParameters.params.push(...b.typeParameters.params),g.typeParameters.params=i(g.typeParameters.params)):g=b.typeParameters}else c.set(I,b);continue}A.push(b)}}for(const[,P]of v)A.push(P);for(const[,P]of c)A.push(P);return A}return za}var _o;function fp(){if(_o)return Ga;_o=1,Object.defineProperty(Ga,"__esModule",{value:!0}),Ga.default=i;var n=le(),a=wl();function i(r){const d=(0,a.default)(r);return d.length===1?d[0]:(0,n.unionTypeAnnotation)(d)}return Ga}var Qa={},Ha={},Lo;function Tp(){if(Lo)return Ha;Lo=1,Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.default=i;var n=ee();function a(r){return(0,n.isIdentifier)(r)?r.name:(0,n.isThisExpression)(r)?"this":`${r.right.name}.${a(r.left)}`}function i(r){const d=Array.from(r),c=new Map,v=new Map,E=new Set,A=[];for(let P=0;P<d.length;P++){const b=d[P];if(!b||A.includes(b))continue;if((0,n.isTSAnyKeyword)(b))return[b];if((0,n.isTSBaseType)(b)){v.set(b.type,b);continue}if((0,n.isTSUnionType)(b)){E.has(b.types)||(d.push(...b.types),E.add(b.types));continue}const I="typeParameters";if((0,n.isTSTypeReference)(b)&&b[I]){const g=b[I],D=a(b.typeName);if(c.has(D)){let R=c.get(D);const h=R[I];h?(h.params.push(...g.params),h.params=i(h.params)):R=g}else c.set(D,b);continue}A.push(b)}for(const[,P]of v)A.push(P);for(const[,P]of c)A.push(P);return A}return Ha}var Co;function mp(){if(Co)return Qa;Co=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.default=r;var n=le(),a=Tp(),i=ee();function r(d){const c=d.map(E=>(0,i.isTSTypeAnnotation)(E)?E.typeAnnotation:E),v=(0,a.default)(c);return v.length===1?v[0]:(0,n.tsUnionType)(v)}return Qa}var Za={},Bo;function jl(){if(Bo)return Za;Bo=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.buildUndefinedNode=a;var n=le();function a(){return(0,n.unaryExpression)("void",(0,n.numericLiteral)(0),!0)}return Za}var ei={},Mo;function Je(){if(Mo)return ei;Mo=1,Object.defineProperty(ei,"__esModule",{value:!0}),ei.default=c;var n=de(),a=ee();const{hasOwn:i}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function r(A,P,b,I){return A&&typeof A.type=="string"?v(A,P,b,I):A}function d(A,P,b,I){return Array.isArray(A)?A.map(g=>r(g,P,b,I)):r(A,P,b,I)}function c(A,P=!0,b=!1){return v(A,P,b,new Map)}function v(A,P=!0,b=!1,I){if(!A)return A;const{type:g}=A,D={type:A.type};if((0,a.isIdentifier)(A))D.name=A.name,i(A,"optional")&&typeof A.optional=="boolean"&&(D.optional=A.optional),i(A,"typeAnnotation")&&(D.typeAnnotation=P?d(A.typeAnnotation,!0,b,I):A.typeAnnotation),i(A,"decorators")&&(D.decorators=P?d(A.decorators,!0,b,I):A.decorators);else if(i(n.NODE_FIELDS,g))for(const R of Object.keys(n.NODE_FIELDS[g]))i(A,R)&&(P?D[R]=(0,a.isFile)(A)&&R==="comments"?E(A.comments,P,b,I):d(A[R],!0,b,I):D[R]=A[R]);else throw new Error(`Unknown node type: "${g}"`);return i(A,"loc")&&(b?D.loc=null:D.loc=A.loc),i(A,"leadingComments")&&(D.leadingComments=E(A.leadingComments,P,b,I)),i(A,"innerComments")&&(D.innerComments=E(A.innerComments,P,b,I)),i(A,"trailingComments")&&(D.trailingComments=E(A.trailingComments,P,b,I)),i(A,"extra")&&(D.extra=Object.assign({},A.extra)),D}function E(A,P,b,I){return!A||!P?A:A.map(g=>{const D=I.get(g);if(D)return D;const{type:R,value:h,loc:L}=g,N={type:R,value:h,loc:L};return b&&(N.loc=null),I.set(g,N),N})}return ei}var ti={},wo;function Sp(){if(wo)return ti;wo=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.default=a;var n=Je();function a(i){return(0,n.default)(i,!1)}return ti}var ni={},jo;function Ep(){if(jo)return ni;jo=1,Object.defineProperty(ni,"__esModule",{value:!0}),ni.default=a;var n=Je();function a(i){return(0,n.default)(i)}return ni}var ri={},Ro;function bp(){if(Ro)return ri;Ro=1,Object.defineProperty(ri,"__esModule",{value:!0}),ri.default=a;var n=Je();function a(i){return(0,n.default)(i,!0,!0)}return ri}var ai={},Fo;function Ap(){if(Fo)return ai;Fo=1,Object.defineProperty(ai,"__esModule",{value:!0}),ai.default=a;var n=Je();function a(i){return(0,n.default)(i,!1,!0)}return ai}var ii={},si={},ko;function Rl(){if(ko)return si;ko=1,Object.defineProperty(si,"__esModule",{value:!0}),si.default=n;function n(a,i,r){if(!r||!a)return a;const d=`${i}Comments`;return a[d]?i==="leading"?a[d]=r.concat(a[d]):a[d].push(...r):a[d]=r,a}return si}var Ko;function Pp(){if(Ko)return ii;Ko=1,Object.defineProperty(ii,"__esModule",{value:!0}),ii.default=a;var n=Rl();function a(i,r,d,c){return(0,n.default)(i,r,[{type:c?"CommentLine":"CommentBlock",value:d}])}return ii}var oi={},li={},qo;function js(){if(qo)return li;qo=1,Object.defineProperty(li,"__esModule",{value:!0}),li.default=n;function n(a,i,r){i&&r&&(i[a]=Array.from(new Set([].concat(i[a],r[a]).filter(Boolean))))}return li}var Vo;function Fl(){if(Vo)return oi;Vo=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.default=a;var n=js();function a(i,r){(0,n.default)("innerComments",i,r)}return oi}var pi={},Yo;function kl(){if(Yo)return pi;Yo=1,Object.defineProperty(pi,"__esModule",{value:!0}),pi.default=a;var n=js();function a(i,r){(0,n.default)("leadingComments",i,r)}return pi}var ui={},ci={},Xo;function Kl(){if(Xo)return ci;Xo=1,Object.defineProperty(ci,"__esModule",{value:!0}),ci.default=a;var n=js();function a(i,r){(0,n.default)("trailingComments",i,r)}return ci}var Jo;function ql(){if(Jo)return ui;Jo=1,Object.defineProperty(ui,"__esModule",{value:!0}),ui.default=r;var n=Kl(),a=kl(),i=Fl();function r(d,c){return(0,n.default)(d,c),(0,a.default)(d,c),(0,i.default)(d,c),d}return ui}var di={},Uo;function vp(){if(Uo)return di;Uo=1,Object.defineProperty(di,"__esModule",{value:!0}),di.default=a;var n=Ma();function a(i){return n.COMMENT_KEYS.forEach(r=>{i[r]=null}),i}return di}var O={},Wo;function xp(){if(Wo)return O;Wo=1,Object.defineProperty(O,"__esModule",{value:!0}),O.WHILE_TYPES=O.USERWHITESPACABLE_TYPES=O.UNARYLIKE_TYPES=O.TYPESCRIPT_TYPES=O.TSTYPE_TYPES=O.TSTYPEELEMENT_TYPES=O.TSENTITYNAME_TYPES=O.TSBASETYPE_TYPES=O.TERMINATORLESS_TYPES=O.STATEMENT_TYPES=O.STANDARDIZED_TYPES=O.SCOPABLE_TYPES=O.PUREISH_TYPES=O.PROPERTY_TYPES=O.PRIVATE_TYPES=O.PATTERN_TYPES=O.PATTERNLIKE_TYPES=O.OBJECTMEMBER_TYPES=O.MODULESPECIFIER_TYPES=O.MODULEDECLARATION_TYPES=O.MISCELLANEOUS_TYPES=O.METHOD_TYPES=O.LVAL_TYPES=O.LOOP_TYPES=O.LITERAL_TYPES=O.JSX_TYPES=O.IMPORTOREXPORTDECLARATION_TYPES=O.IMMUTABLE_TYPES=O.FUNCTION_TYPES=O.FUNCTIONPARENT_TYPES=O.FUNCTIONPARAMETER_TYPES=O.FOR_TYPES=O.FORXSTATEMENT_TYPES=O.FLOW_TYPES=O.FLOWTYPE_TYPES=O.FLOWPREDICATE_TYPES=O.FLOWDECLARATION_TYPES=O.FLOWBASEANNOTATION_TYPES=O.EXPRESSION_TYPES=O.EXPRESSIONWRAPPER_TYPES=O.EXPORTDECLARATION_TYPES=O.ENUMMEMBER_TYPES=O.ENUMBODY_TYPES=O.DECLARATION_TYPES=O.CONDITIONAL_TYPES=O.COMPLETIONSTATEMENT_TYPES=O.CLASS_TYPES=O.BLOCK_TYPES=O.BLOCKPARENT_TYPES=O.BINARY_TYPES=O.ACCESSOR_TYPES=void 0;var n=de();O.STANDARDIZED_TYPES=n.FLIPPED_ALIAS_KEYS.Standardized,O.EXPRESSION_TYPES=n.FLIPPED_ALIAS_KEYS.Expression,O.BINARY_TYPES=n.FLIPPED_ALIAS_KEYS.Binary,O.SCOPABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Scopable,O.BLOCKPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.BlockParent,O.BLOCK_TYPES=n.FLIPPED_ALIAS_KEYS.Block,O.STATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.Statement,O.TERMINATORLESS_TYPES=n.FLIPPED_ALIAS_KEYS.Terminatorless,O.COMPLETIONSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.CompletionStatement,O.CONDITIONAL_TYPES=n.FLIPPED_ALIAS_KEYS.Conditional,O.LOOP_TYPES=n.FLIPPED_ALIAS_KEYS.Loop,O.WHILE_TYPES=n.FLIPPED_ALIAS_KEYS.While,O.EXPRESSIONWRAPPER_TYPES=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper,O.FOR_TYPES=n.FLIPPED_ALIAS_KEYS.For,O.FORXSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.ForXStatement,O.FUNCTION_TYPES=n.FLIPPED_ALIAS_KEYS.Function,O.FUNCTIONPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.FunctionParent,O.PUREISH_TYPES=n.FLIPPED_ALIAS_KEYS.Pureish,O.DECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.Declaration,O.FUNCTIONPARAMETER_TYPES=n.FLIPPED_ALIAS_KEYS.FunctionParameter,O.PATTERNLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.PatternLike,O.LVAL_TYPES=n.FLIPPED_ALIAS_KEYS.LVal,O.TSENTITYNAME_TYPES=n.FLIPPED_ALIAS_KEYS.TSEntityName,O.LITERAL_TYPES=n.FLIPPED_ALIAS_KEYS.Literal,O.IMMUTABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Immutable,O.USERWHITESPACABLE_TYPES=n.FLIPPED_ALIAS_KEYS.UserWhitespacable,O.METHOD_TYPES=n.FLIPPED_ALIAS_KEYS.Method,O.OBJECTMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.ObjectMember,O.PROPERTY_TYPES=n.FLIPPED_ALIAS_KEYS.Property,O.UNARYLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.UnaryLike,O.PATTERN_TYPES=n.FLIPPED_ALIAS_KEYS.Pattern,O.CLASS_TYPES=n.FLIPPED_ALIAS_KEYS.Class;const a=O.IMPORTOREXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;return O.EXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ExportDeclaration,O.MODULESPECIFIER_TYPES=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier,O.ACCESSOR_TYPES=n.FLIPPED_ALIAS_KEYS.Accessor,O.PRIVATE_TYPES=n.FLIPPED_ALIAS_KEYS.Private,O.FLOW_TYPES=n.FLIPPED_ALIAS_KEYS.Flow,O.FLOWTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowType,O.FLOWBASEANNOTATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,O.FLOWDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowDeclaration,O.FLOWPREDICATE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowPredicate,O.ENUMBODY_TYPES=n.FLIPPED_ALIAS_KEYS.EnumBody,O.ENUMMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.EnumMember,O.JSX_TYPES=n.FLIPPED_ALIAS_KEYS.JSX,O.MISCELLANEOUS_TYPES=n.FLIPPED_ALIAS_KEYS.Miscellaneous,O.TYPESCRIPT_TYPES=n.FLIPPED_ALIAS_KEYS.TypeScript,O.TSTYPEELEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.TSTypeElement,O.TSTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSType,O.TSBASETYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSBaseType,O.MODULEDECLARATION_TYPES=a,O}var yi={},fi={},$o;function Vl(){if($o)return fi;$o=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.default=i;var n=ee(),a=le();function i(r,d){if((0,n.isBlockStatement)(r))return r;let c=[];return(0,n.isEmptyStatement)(r)?c=[]:((0,n.isStatement)(r)||((0,n.isFunction)(d)?r=(0,a.returnStatement)(r):r=(0,a.expressionStatement)(r)),c=[r]),(0,a.blockStatement)(c)}return fi}var Go;function Ip(){if(Go)return yi;Go=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.default=a;var n=Vl();function a(i,r="body"){const d=(0,n.default)(i[r],i);return i[r]=d,d}return yi}var Ti={},mi={},zo;function Yl(){if(zo)return mi;zo=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.default=i;var n=Ba(),a=Ms();function i(r){r=r+"";let d="";for(const c of r)d+=(0,a.isIdentifierChar)(c.codePointAt(0))?c:"-";return d=d.replace(/^[-0-9]+/,""),d=d.replace(/[-\s]+(.)?/g,function(c,v){return v?v.toUpperCase():""}),(0,n.default)(d)||(d=`_${d}`),d||"_"}return mi}var Qo;function gp(){if(Qo)return Ti;Qo=1,Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.default=a;var n=Yl();function a(i){return i=(0,n.default)(i),(i==="eval"||i==="arguments")&&(i="_"+i),i}return Ti}var Si={},Ho;function Op(){if(Ho)return Si;Ho=1,Object.defineProperty(Si,"__esModule",{value:!0}),Si.default=i;var n=ee(),a=le();function i(r,d=r.key||r.property){return!r.computed&&(0,n.isIdentifier)(d)&&(d=(0,a.stringLiteral)(d.name)),d}return Si}var Da={},Zo;function Dp(){if(Zo)return Da;Zo=1,Object.defineProperty(Da,"__esModule",{value:!0}),Da.default=void 0;var n=ee();Da.default=a;function a(i){if((0,n.isExpressionStatement)(i)&&(i=i.expression),(0,n.isExpression)(i))return i;if((0,n.isClass)(i)?(i.type="ClassExpression",i.abstract=!1):(0,n.isFunction)(i)&&(i.type="FunctionExpression"),!(0,n.isExpression)(i))throw new Error(`cannot turn ${i.type} to an expression`);return i}return Da}var Ei={},bi={},Ai={},el;function Xl(){if(el)return Ai;el=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.default=r;var n=de();const a=Symbol(),i=Symbol();function r(d,c,v){if(!d)return!1;const E=n.VISITOR_KEYS[d.type];if(!E)return!1;v=v||{};const A=c(d,v);if(A!==void 0)switch(A){case a:return!1;case i:return!0}for(const P of E){const b=d[P];if(b){if(Array.isArray(b)){for(const I of b)if(r(I,c,v))return!0}else if(r(b,c,v))return!0}}return!1}return r.skip=a,r.stop=i,Ai}var Pi={},tl;function Jl(){if(tl)return Pi;tl=1,Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.default=r;var n=Ma();const a=["tokens","start","end","loc","raw","rawValue"],i=[...n.COMMENT_KEYS,"comments",...a];function r(d,c={}){const v=c.preserveComments?a:i;for(const A of v)d[A]!=null&&(d[A]=void 0);for(const A of Object.keys(d))A.startsWith("_")&&d[A]!=null&&(d[A]=void 0);const E=Object.getOwnPropertySymbols(d);for(const A of E)d[A]=null}return Pi}var nl;function Ul(){if(nl)return bi;nl=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=i;var n=Xl(),a=Jl();function i(r,d){return(0,n.default)(r,a.default,d),r}return bi}var rl;function hp(){if(rl)return Ei;rl=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.default=r;var n=ee(),a=Je(),i=Ul();function r(d,c=d.key){let v;return d.kind==="method"?r.increment()+"":((0,n.isIdentifier)(c)?v=c.name:(0,n.isStringLiteral)(c)?v=JSON.stringify(c.value):v=JSON.stringify((0,i.default)((0,a.default)(c))),d.computed&&(v=`[${v}]`),d.static&&(v=`static:${v}`),v)}return r.uid=0,r.increment=function(){return r.uid>=Number.MAX_SAFE_INTEGER?r.uid=0:r.uid++},Ei}var ha={},al;function Np(){if(al)return ha;al=1,Object.defineProperty(ha,"__esModule",{value:!0}),ha.default=void 0;var n=ee(),a=le();ha.default=i;function i(r,d){if((0,n.isStatement)(r))return r;let c=!1,v;if((0,n.isClass)(r))c=!0,v="ClassDeclaration";else if((0,n.isFunction)(r))c=!0,v="FunctionDeclaration";else if((0,n.isAssignmentExpression)(r))return(0,a.expressionStatement)(r);if(c&&!r.id&&(v=!1),!v){if(d)return!1;throw new Error(`cannot turn ${r.type} to a statement`)}return r.type=v,r}return ha}var Na={},il;function _p(){if(il)return Na;il=1,Object.defineProperty(Na,"__esModule",{value:!0}),Na.default=void 0;var n=Ba(),a=le();Na.default=c;const i=Function.call.bind(Object.prototype.toString);function r(v){return i(v)==="[object RegExp]"}function d(v){if(typeof v!="object"||v===null||Object.prototype.toString.call(v)!=="[object Object]")return!1;const E=Object.getPrototypeOf(v);return E===null||Object.getPrototypeOf(E)===null}function c(v){if(v===void 0)return(0,a.identifier)("undefined");if(v===!0||v===!1)return(0,a.booleanLiteral)(v);if(v===null)return(0,a.nullLiteral)();if(typeof v=="string")return(0,a.stringLiteral)(v);if(typeof v=="number"){let E;if(Number.isFinite(v))E=(0,a.numericLiteral)(Math.abs(v));else{let A;Number.isNaN(v)?A=(0,a.numericLiteral)(0):A=(0,a.numericLiteral)(1),E=(0,a.binaryExpression)("/",A,(0,a.numericLiteral)(0))}return(v<0||Object.is(v,-0))&&(E=(0,a.unaryExpression)("-",E)),E}if(typeof v=="bigint")return v<0?(0,a.unaryExpression)("-",(0,a.bigIntLiteral)(-v)):(0,a.bigIntLiteral)(v);if(r(v)){const E=v.source,A=/\/([a-z]*)$/.exec(v.toString())[1];return(0,a.regExpLiteral)(E,A)}if(Array.isArray(v))return(0,a.arrayExpression)(v.map(c));if(d(v)){const E=[];for(const A of Object.keys(v)){let P,b=!1;(0,n.default)(A)?A==="__proto__"?(b=!0,P=(0,a.stringLiteral)(A)):P=(0,a.identifier)(A):P=(0,a.stringLiteral)(A),E.push((0,a.objectProperty)(P,c(v[A]),b))}return(0,a.objectExpression)(E)}throw new Error("don't know how to turn this value into a node")}return Na}var vi={},sl;function Lp(){if(sl)return vi;sl=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.default=a;var n=le();function a(i,r,d=!1){return i.object=(0,n.memberExpression)(i.object,i.property,i.computed),i.property=r,i.computed=!!d,i}return vi}var xi={},ol;function Cp(){if(ol)return xi;ol=1,Object.defineProperty(xi,"__esModule",{value:!0}),xi.default=i;var n=Ma(),a=ql();function i(r,d){if(!r||!d)return r;for(const c of n.INHERIT_KEYS.optional)r[c]==null&&(r[c]=d[c]);for(const c of Object.keys(d))c.startsWith("_")&&c!=="__clone"&&(r[c]=d[c]);for(const c of n.INHERIT_KEYS.force)r[c]=d[c];return(0,a.default)(r,d),r}return xi}var Ii={},ll;function Bp(){if(ll)return Ii;ll=1,Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.default=i;var n=le(),a=Rs();function i(r,d){if((0,a.isSuper)(r.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return r.object=(0,n.memberExpression)(d,r.object),r}return Ii}var gi={},pl;function Mp(){if(pl)return gi;pl=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=n;function n(a){const i=[].concat(a),r=Object.create(null);for(;i.length;){const d=i.pop();if(d)switch(d.type){case"ArrayPattern":i.push(...d.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":i.push(d.left);break;case"ObjectPattern":i.push(...d.properties);break;case"ObjectProperty":i.push(d.value);break;case"RestElement":case"UpdateExpression":i.push(d.argument);break;case"UnaryExpression":d.operator==="delete"&&i.push(d.argument);break;case"Identifier":r[d.name]=d;break}}return r}return gi}var Oi={},ul;function Yi(){if(ul)return Oi;ul=1,Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.default=a;var n=ee();function a(r,d,c,v){const E=[].concat(r),A=Object.create(null);for(;E.length;){const P=E.shift();if(!P||v&&((0,n.isAssignmentExpression)(P)||(0,n.isUnaryExpression)(P)||(0,n.isUpdateExpression)(P)))continue;if((0,n.isIdentifier)(P)){d?(A[P.name]=A[P.name]||[]).push(P):A[P.name]=P;continue}if((0,n.isExportDeclaration)(P)&&!(0,n.isExportAllDeclaration)(P)){(0,n.isDeclaration)(P.declaration)&&E.push(P.declaration);continue}if(c){if((0,n.isFunctionDeclaration)(P)){E.push(P.id);continue}if((0,n.isFunctionExpression)(P))continue}const b=a.keys[P.type];if(b)for(let I=0;I<b.length;I++){const g=b[I],D=P[g];D&&(Array.isArray(D)?E.push(...D):E.push(D))}}return A}const i={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};return a.keys=i,Oi}var _a={},cl;function wp(){if(cl)return _a;cl=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.default=void 0;var n=Yi();_a.default=a;function a(i,r){return(0,n.default)(i,r,!0)}return _a}var Di={},dl;function jp(){if(dl)return Di;dl=1,Object.defineProperty(Di,"__esModule",{value:!0}),Di.default=r;var n=ee();function a(d){return(0,n.isNullLiteral)(d)?"null":(0,n.isRegExpLiteral)(d)?`/${d.pattern}/${d.flags}`:(0,n.isTemplateLiteral)(d)?d.quasis.map(c=>c.value.raw).join(""):d.value!==void 0?String(d.value):null}function i(d){if(!d.computed||(0,n.isLiteral)(d.key))return d.key}function r(d,c){if("id"in d&&d.id)return{name:d.id.name,originalNode:d.id};let v="",E;if((0,n.isObjectProperty)(c,{value:d})?E=i(c):(0,n.isObjectMethod)(d)||(0,n.isClassMethod)(d)?(E=i(d),d.kind==="get"?v="get ":d.kind==="set"&&(v="set ")):(0,n.isVariableDeclarator)(c,{init:d})?E=c.id:(0,n.isAssignmentExpression)(c,{operator:"=",right:d})&&(E=c.left),!E)return null;const A=(0,n.isLiteral)(E)?a(E):(0,n.isIdentifier)(E)?E.name:(0,n.isPrivateName)(E)?E.id.name:null;return A==null?null:{name:v+A,originalNode:E}}return Di}var hi={},yl;function Rp(){if(yl)return hi;yl=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.default=a;var n=de();function a(r,d,c){typeof d=="function"&&(d={enter:d});const{enter:v,exit:E}=d;i(r,v,E,c,[])}function i(r,d,c,v,E){const A=n.VISITOR_KEYS[r.type];if(A){d&&d(r,E,v);for(const P of A){const b=r[P];if(Array.isArray(b))for(let I=0;I<b.length;I++){const g=b[I];g&&(E.push({node:r,key:P,index:I}),i(g,d,c,v,E),E.pop())}else b&&(E.push({node:r,key:P}),i(b,d,c,v,E),E.pop())}c&&c(r,E,v)}}return hi}var Ni={},fl;function Fp(){if(fl)return Ni;fl=1,Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.default=a;var n=Yi();function a(i,r,d){if(d&&i.type==="Identifier"&&r.type==="ObjectProperty"&&d.type==="ObjectExpression")return!1;const c=n.default.keys[r.type];if(c)for(let v=0;v<c.length;v++){const E=c[v],A=r[E];if(Array.isArray(A)){if(A.includes(i))return!0}else if(A===i)return!0}return!1}return Ni}var _i={},Li={},Tl;function Wl(){if(Tl)return Li;Tl=1,Object.defineProperty(Li,"__esModule",{value:!0}),Li.default=i;var n=ee(),a=Symbol.for("var used to be block scoped");function i(r){return(0,n.isVariableDeclaration)(r)&&(r.kind!=="var"||r[a])}return Li}var ml;function kp(){if(ml)return _i;ml=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.default=i;var n=ee(),a=Wl();function i(r){return(0,n.isFunctionDeclaration)(r)||(0,n.isClassDeclaration)(r)||(0,a.default)(r)}return _i}var Ci={},Sl;function Kp(){if(Sl)return Ci;Sl=1,Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.default=i;var n=Bs(),a=ee();function i(r){return(0,n.default)(r.type,"Immutable")?!0:(0,a.isIdentifier)(r)?r.name==="undefined":!1}return Ci}var Bi={},El;function qp(){if(El)return Bi;El=1,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.default=a;var n=de();function a(i,r){if(typeof i!="object"||typeof r!="object"||i==null||r==null)return i===r;if(i.type!==r.type)return!1;const d=Object.keys(n.NODE_FIELDS[i.type]||i.type),c=n.VISITOR_KEYS[i.type];for(const v of d){const E=i[v],A=r[v];if(typeof E!=typeof A)return!1;if(!(E==null&&A==null)){if(E==null||A==null)return!1;if(Array.isArray(E)){if(!Array.isArray(A)||E.length!==A.length)return!1;for(let P=0;P<E.length;P++)if(!a(E[P],A[P]))return!1;continue}if(typeof E=="object"&&!(c!=null&&c.includes(v))){for(const P of Object.keys(E))if(E[P]!==A[P])return!1;continue}if(!a(E,A))return!1}}return!0}return Bi}var Mi={},bl;function Vp(){if(bl)return Mi;bl=1,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.default=n;function n(a,i,r){switch(i.type){case"MemberExpression":case"OptionalMemberExpression":return i.property===a?!!i.computed:i.object===a;case"JSXMemberExpression":return i.object===a;case"VariableDeclarator":return i.init===a;case"ArrowFunctionExpression":return i.body===a;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return i.key===a?!!i.computed:!1;case"ObjectProperty":return i.key===a?!!i.computed:r?.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return i.key===a?!!i.computed:!0;case"ClassPrivateProperty":return i.key!==a;case"ClassDeclaration":case"ClassExpression":return i.superClass===a;case"AssignmentExpression":return i.right===a;case"AssignmentPattern":return i.right===a;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:i.local===a;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 i.key!==a;case"TSEnumMember":return i.id!==a;case"TSPropertySignature":return i.key===a?!!i.computed:!0}return!0}return Mi}var wi={},Al;function Yp(){if(Al)return wi;Al=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.default=a;var n=ee();function a(i,r){return(0,n.isBlockStatement)(i)&&((0,n.isFunction)(r)||(0,n.isCatchClause)(r))?!1:(0,n.isPattern)(i)&&((0,n.isFunction)(r)||(0,n.isCatchClause)(r))?!0:(0,n.isScopable)(i)}return wi}var ji={},Pl;function Xp(){if(Pl)return ji;Pl=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.default=a;var n=ee();function a(i){return(0,n.isImportDefaultSpecifier)(i)||(0,n.isIdentifier)(i.imported||i.exported,{name:"default"})}return ji}var Ri={},vl;function Jp(){if(vl)return Ri;vl=1,Object.defineProperty(Ri,"__esModule",{value:!0}),Ri.default=i;var n=Ba();const a=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function i(r){return(0,n.default)(r)&&!a.has(r)}return Ri}var Fi={},xl;function Up(){if(xl)return Fi;xl=1,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=i;var n=ee(),a=Symbol.for("var used to be block scoped");function i(r){return(0,n.isVariableDeclaration)(r,{kind:"var"})&&!r[a]}return Fi}var ki={},Ki={},Il;function Wp(){if(Il)return Ki;Il=1,Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.default=c;var n=Yi(),a=ee(),i=le(),r=jl(),d=Je();function c(v,E){const A=[];let P=!0;for(const b of v)if((0,a.isEmptyStatement)(b)||(P=!1),(0,a.isExpression)(b))A.push(b);else if((0,a.isExpressionStatement)(b))A.push(b.expression);else if((0,a.isVariableDeclaration)(b)){if(b.kind!=="var")return;for(const I of b.declarations){const g=(0,n.default)(I);for(const D of Object.keys(g))E.push({kind:b.kind,id:(0,d.default)(g[D])});I.init&&A.push((0,i.assignmentExpression)("=",I.id,I.init))}P=!0}else if((0,a.isIfStatement)(b)){const I=b.consequent?c([b.consequent],E):(0,r.buildUndefinedNode)(),g=b.alternate?c([b.alternate],E):(0,r.buildUndefinedNode)();if(!I||!g)return;A.push((0,i.conditionalExpression)(b.test,I,g))}else if((0,a.isBlockStatement)(b)){const I=c(b.body,E);if(!I)return;A.push(I)}else if((0,a.isEmptyStatement)(b))v.indexOf(b)===0&&(P=!0);else return;return P&&A.push((0,r.buildUndefinedNode)()),A.length===1?A[0]:(0,i.sequenceExpression)(A)}return Ki}var gl;function $p(){if(gl)return ki;gl=1,Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=a;var n=Wp();function a(i,r){if(!(i!=null&&i.length))return;const d=[],c=(0,n.default)(i,d);if(c){for(const v of d)r.push(v);return c}}return ki}var Ol;function Rs(){return Ol||(Ol=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});var a={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(n,"__internal__deprecationWarning",{enumerable:!0,get:function(){return Ve.default}}),Object.defineProperty(n,"addComment",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(n,"addComments",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(n,"appendToMemberExpression",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(n,"assertNode",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(n,"buildMatchMemberExpression",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(n,"clone",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(n,"cloneDeep",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(n,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(n,"cloneNode",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(n,"cloneWithoutLoc",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(n,"createFlowUnionType",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(n,"createTSUnionType",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(n,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(n,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(n,"ensureBlock",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(n,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(n,"getBindingIdentifiers",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(n,"getFunctionName",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(n,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(n,"inheritInnerComments",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(n,"inheritLeadingComments",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(n,"inheritTrailingComments",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(n,"inherits",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(n,"inheritsComments",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(n,"is",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(n,"isBinding",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(n,"isBlockScoped",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(n,"isImmutable",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(n,"isLet",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(n,"isNode",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(n,"isNodesEquivalent",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(n,"isPlaceholderType",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(n,"isReferenced",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(n,"isScope",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(n,"isSpecifierDefault",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(n,"isType",{enumerable:!0,get:function(){return we.default}}),Object.defineProperty(n,"isValidES3Identifier",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(n,"isValidIdentifier",{enumerable:!0,get:function(){return Re.default}}),Object.defineProperty(n,"isVar",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(n,"matchesPattern",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(n,"prependToMemberExpression",{enumerable:!0,get:function(){return J.default}}),n.react=void 0,Object.defineProperty(n,"removeComments",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(n,"removeProperties",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(n,"removePropertiesDeep",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(n,"removeTypeDuplicates",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(n,"shallowEqual",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(n,"toBindingIdentifierName",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(n,"toBlock",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(n,"toComputedKey",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(n,"toExpression",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(n,"toIdentifier",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(n,"toKeyAlias",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(n,"toStatement",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(n,"traverse",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(n,"traverseFast",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(n,"validate",{enumerable:!0,get:function(){return Ke.default}}),Object.defineProperty(n,"valueToNode",{enumerable:!0,get:function(){return K.default}});var i=Ql(),r=Hl(),d=up(),c=cp(),v=dp();Object.keys(v).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===v[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return v[C]}})});var E=yp(),A=fp(),P=mp(),b=jl();Object.keys(b).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===b[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return b[C]}})});var I=le();Object.keys(I).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===I[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return I[C]}})});var g=Je(),D=Sp(),R=Ep(),h=bp(),L=Ap(),N=Pp(),_=Rl(),M=Fl(),V=kl(),G=ql(),z=Kl(),Q=vp(),H=xp();Object.keys(H).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===H[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return H[C]}})});var oe=Ma();Object.keys(oe).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===oe[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return oe[C]}})});var re=Ip(),te=gp(),ue=Vl(),ae=Op(),fe=Dp(),ce=Yl(),B=hp(),F=Np(),K=_p(),j=de();Object.keys(j).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===j[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return j[C]}})});var Y=Lp(),$=Cp(),J=Bp(),X=Jl(),W=Ul(),ie=wl(),se=Mp(),be=Yi(),Ae=wp(),Pe=jp(),ye=Rp();Object.keys(ye).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===ye[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return ye[C]}})});var ve=Xl(),xe=Cs(),Ie=Ca(),ge=Fp(),Oe=kp(),De=Kp(),he=Wl(),Ne=Ml(),_e=qp(),Le=Ll(),Ce=Vp(),Be=Yp(),Me=Xp(),we=Bs(),je=Jp(),Re=Ba(),Fe=Up(),ke=Nl(),Ke=ws(),qe=_l(),Te=ee();Object.keys(Te).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(a,C)||C in n&&n[C]===Te[C]||Object.defineProperty(n,C,{enumerable:!0,get:function(){return Te[C]}})});var Ve=La(),Ye=$p();n.react={isReactComponent:i.default,isCompatTag:r.default,buildChildren:d.default},n.toSequenceExpression=Ye.default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")})(Ds)),Ds}var Ls=Rs();const Gp=/[.+^${}()|[\]\\]/g,zp=n=>n.replaceAll(Gp,String.raw`\$&`),$l=n=>{const a=n.split("**").map(i=>i.split("*").map(r=>zp(r)).join("[^/]*")).join(".*");return new RegExp(`^${a}$`)},Qp=(n,a)=>n.some(i=>i instanceof RegExp?i.test(a):$l(i).test(a)),Hp=n=>{const a=n.map(i=>i instanceof RegExp?i:$l(i));return i=>a.some(r=>r.test(i))},Gl=Ks.default??Ks,Zp=ks.default??ks,Dl="data-vdt-source",eu=n=>{let a;const i=n.params[0];if(i)return i.type==="Identifier"&&(a=i.name),i.type==="ObjectPattern"&&i.properties.forEach(r=>{r.type==="RestElement"&&r.argument.type==="Identifier"&&(a=r.argument.name)}),a},qi=n=>n.type==="JSXIdentifier"?n.name:n.type==="JSXMemberExpression"?`${qi(n.object)}.${qi(n.property)}`:`${n.namespace.name}:${n.name.name}`,tu=n=>{const a=new Map,i=new Map;try{const r=hl(n,{plugins:["jsx","typescript"],sourceType:"module"});Gl(r,{JSXOpeningElement(d){const c=qi(d.node.name),v=i.get(c)??0;i.set(c,v+1),d.node.loc&&a.set(`${c}:${v}`,{col:d.node.loc.start.column,line:d.node.loc.start.line})}})}catch{}return a},nu=(n,a,i,r,d,c)=>{const{loc:v}=n.node;if(!v)return!1;const E=qi(n.node.name);let A;if(d&&c){const g=c.get(E)??0;c.set(E,g+1),A=d.get(`${E}:${g}`)}if(E==="Fragment"||E==="React.Fragment"||E==="html"||E==="head"||E==="body"||r(E))return!1;const P=n.node.attributes.some(g=>g.type==="JSXAttribute"&&g.name.type==="JSXIdentifier"&&g.name.name===Dl);if(n.node.attributes.some(g=>g.type==="JSXSpreadAttribute"&&g.argument.type==="Identifier"&&g.argument.name===a)||P)return!1;const b=A?.line??v.start.line,I=A?.col??v.start.column;return n.node.attributes.push(Ls.jsxAttribute(Ls.jsxIdentifier(Dl),Ls.stringLiteral(`${i}:${b}:${I+1}`))),!0},ru=(n,a,i,r)=>{let d=!1;const c=r?new Map:void 0,v=Hp(i),E=P=>b=>{nu(b,P,a,v,r,c)&&(d=!0)},A=P=>{const b=eu(P.node);P.traverse({ArrowFunctionExpression(I){A(I),I.skip()},FunctionDeclaration(I){A(I),I.skip()},FunctionExpression(I){A(I),I.skip()},JSXOpeningElement:E(b)})};return Gl(n,{ArrowFunctionExpression(P){A(P),P.skip()},FunctionDeclaration(P){A(P),P.skip()},FunctionExpression(P){A(P),P.skip()}}),d},lu=(n,a,i={},r)=>{const[d]=a.split("?"),c=d.replace(`${zl(process.cwd())}/`,"");if(!Qp(i.files??[],c))try{const v=hl(n,{plugins:["jsx","typescript"],sourceType:"module"}),E=r&&r!==n?tu(r):void 0;return ru(v,c,i.components??[],E)?Zp(v,{filename:a,retainLines:!0,sourceFileName:d,sourceMaps:!0}):void 0}catch{return}};export{Dl as SOURCE_ATTR,lu as addSourceToJsx};
|