File: /var/www/quadcode.com/node_modules/@playwright/test/lib/transform/babelBundleImpl.js
"use strict";var Zk=Object.create;var bl=Object.defineProperty;var eF=Object.getOwnPropertyDescriptor;var tF=Object.getOwnPropertyNames;var rF=Object.getPrototypeOf,nF=Object.prototype.hasOwnProperty;var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),iF=(e,t)=>{for(var r in t)bl(e,r,{get:t[r],enumerable:!0})},Iv=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of tF(t))!nF.call(e,i)&&i!==r&&bl(e,i,{get:()=>t[i],enumerable:!(n=eF(t,i))||n.enumerable});return e};var is=(e,t,r)=>(r=e!=null?Zk(rF(e)):{},Iv(t||!e||!e.__esModule?bl(r,"default",{value:e,enumerable:!0}):r,e)),sF=e=>Iv(bl({},"__esModule",{value:!0}),e);var td=g(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.Var=Be.User=Be.Statement=Be.SpreadProperty=Be.Scope=Be.RestProperty=Be.ReferencedMemberExpression=Be.ReferencedIdentifier=Be.Referenced=Be.Pure=Be.NumericLiteralTypeAnnotation=Be.Generated=Be.ForAwaitStatement=Be.Flow=Be.Expression=Be.ExistentialTypeParam=Be.BlockScoped=Be.BindingIdentifier=void 0;var aF=["Identifier","JSXIdentifier"];Be.ReferencedIdentifier=aF;var oF=["MemberExpression"];Be.ReferencedMemberExpression=oF;var lF=["Identifier"];Be.BindingIdentifier=lF;var uF=["Statement"];Be.Statement=uF;var cF=["Expression"];Be.Expression=cF;var fF=["Scopable","Pattern"];Be.Scope=fF;var pF=null;Be.Referenced=pF;var dF=null;Be.BlockScoped=dF;var hF=["VariableDeclaration"];Be.Var=hF;var mF=null;Be.User=mF;var yF=null;Be.Generated=yF;var gF=null;Be.Pure=gF;var bF=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];Be.Flow=bF;var EF=["RestElement"];Be.RestProperty=EF;var vF=["RestElement"];Be.SpreadProperty=vF;var TF=["ExistsTypeAnnotation"];Be.ExistentialTypeParam=TF;var SF=["NumberLiteralTypeAnnotation"];Be.NumericLiteralTypeAnnotation=SF;var xF=["ForOfStatement"];Be.ForAwaitStatement=xF});var El=g(rd=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});rd.default=PF;function PF(e,t){let r=Object.keys(t);for(let n of r)if(e[n]!==t[n])return!1;return!0}});var Aa=g(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.default=AF;var _v=new Set;function AF(e,t,r=""){if(_v.has(e))return;_v.add(e);let{internal:n,trace:i}=CF(1,2);n||console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\`
${i}`)}function CF(e,t){let{stackTraceLimit:r,prepareStackTrace:n}=Error,i;if(Error.stackTraceLimit=1+e+t,Error.prepareStackTrace=function(a,o){i=o},new Error().stack,Error.stackTraceLimit=r,Error.prepareStackTrace=n,!i)return{internal:!1,trace:""};let s=i.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(s[1].getFileName()),trace:s.map(a=>` at ${a}`).join(`
`)}}});var St=g(v=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});v.isAccessor=RM;v.isAnyTypeAnnotation=aB;v.isArgumentPlaceholder=Bj;v.isArrayExpression=wF;v.isArrayPattern=A3;v.isArrayTypeAnnotation=oB;v.isArrowFunctionExpression=C3;v.isAssignmentExpression=DF;v.isAssignmentPattern=P3;v.isAwaitExpression=H3;v.isBigIntLiteral=X3;v.isBinary=lM;v.isBinaryExpression=IF;v.isBindExpression=jj;v.isBlock=fM;v.isBlockParent=cM;v.isBlockStatement=kF;v.isBooleanLiteral=e3;v.isBooleanLiteralTypeAnnotation=uB;v.isBooleanTypeAnnotation=lB;v.isBreakStatement=FF;v.isCallExpression=BF;v.isCatchClause=jF;v.isClass=jM;v.isClassAccessorProperty=tB;v.isClassBody=w3;v.isClassDeclaration=I3;v.isClassExpression=D3;v.isClassImplements=fB;v.isClassMethod=q3;v.isClassPrivateMethod=nB;v.isClassPrivateProperty=rB;v.isClassProperty=eB;v.isCompletionStatement=hM;v.isConditional=mM;v.isConditionalExpression=LF;v.isContinueStatement=MF;v.isDebuggerStatement=RF;v.isDecimalLiteral=$j;v.isDeclaration=PM;v.isDeclareClass=pB;v.isDeclareExportAllDeclaration=TB;v.isDeclareExportDeclaration=vB;v.isDeclareFunction=dB;v.isDeclareInterface=hB;v.isDeclareModule=mB;v.isDeclareModuleExports=yB;v.isDeclareOpaqueType=bB;v.isDeclareTypeAlias=gB;v.isDeclareVariable=EB;v.isDeclaredPredicate=SB;v.isDecorator=Mj;v.isDirective=OF;v.isDirectiveLiteral=NF;v.isDoExpression=Rj;v.isDoWhileStatement=qF;v.isEmptyStatement=UF;v.isEmptyTypeAnnotation=kB;v.isEnumBody=zM;v.isEnumBooleanBody=oj;v.isEnumBooleanMember=fj;v.isEnumDeclaration=aj;v.isEnumDefaultedMember=hj;v.isEnumMember=GM;v.isEnumNumberBody=lj;v.isEnumNumberMember=pj;v.isEnumStringBody=uj;v.isEnumStringMember=dj;v.isEnumSymbolBody=cj;v.isExistsTypeAnnotation=xB;v.isExportAllDeclaration=_3;v.isExportDeclaration=LM;v.isExportDefaultDeclaration=O3;v.isExportDefaultSpecifier=qj;v.isExportNamedDeclaration=N3;v.isExportNamespaceSpecifier=J3;v.isExportSpecifier=k3;v.isExpression=oM;v.isExpressionStatement=VF;v.isExpressionWrapper=bM;v.isFile=$F;v.isFlow=UM;v.isFlowBaseAnnotation=$M;v.isFlowDeclaration=KM;v.isFlowPredicate=WM;v.isFlowType=VM;v.isFor=EM;v.isForInStatement=KF;v.isForOfStatement=F3;v.isForStatement=WF;v.isForXStatement=vM;v.isFunction=TM;v.isFunctionDeclaration=zF;v.isFunctionExpression=GF;v.isFunctionParent=SM;v.isFunctionTypeAnnotation=PB;v.isFunctionTypeParam=AB;v.isGenericTypeAnnotation=CB;v.isIdentifier=HF;v.isIfStatement=YF;v.isImmutable=IM;v.isImport=Y3;v.isImportAttribute=Lj;v.isImportDeclaration=B3;v.isImportDefaultSpecifier=j3;v.isImportNamespaceSpecifier=L3;v.isImportOrExportDeclaration=Ov;v.isImportSpecifier=M3;v.isIndexedAccessType=mj;v.isInferredPredicate=wB;v.isInterfaceDeclaration=IB;v.isInterfaceExtends=DB;v.isInterfaceTypeAnnotation=_B;v.isInterpreterDirective=_F;v.isIntersectionTypeAnnotation=OB;v.isJSX=HM;v.isJSXAttribute=gj;v.isJSXClosingElement=bj;v.isJSXClosingFragment=Oj;v.isJSXElement=Ej;v.isJSXEmptyExpression=vj;v.isJSXExpressionContainer=Tj;v.isJSXFragment=Ij;v.isJSXIdentifier=xj;v.isJSXMemberExpression=Pj;v.isJSXNamespacedName=Aj;v.isJSXOpeningElement=Cj;v.isJSXOpeningFragment=_j;v.isJSXSpreadAttribute=wj;v.isJSXSpreadChild=Sj;v.isJSXText=Dj;v.isLVal=CM;v.isLabeledStatement=XF;v.isLiteral=DM;v.isLogicalExpression=r3;v.isLoop=yM;v.isMemberExpression=n3;v.isMetaProperty=R3;v.isMethod=OM;v.isMiscellaneous=YM;v.isMixedTypeAnnotation=NB;v.isModuleDeclaration=i8;v.isModuleExpression=Kj;v.isModuleSpecifier=MM;v.isNewExpression=i3;v.isNoop=Nj;v.isNullLiteral=ZF;v.isNullLiteralTypeAnnotation=cB;v.isNullableTypeAnnotation=FB;v.isNumberLiteral=e8;v.isNumberLiteralTypeAnnotation=BB;v.isNumberTypeAnnotation=jB;v.isNumericLiteral=QF;v.isObjectExpression=a3;v.isObjectMember=NM;v.isObjectMethod=o3;v.isObjectPattern=U3;v.isObjectProperty=l3;v.isObjectTypeAnnotation=LB;v.isObjectTypeCallProperty=RB;v.isObjectTypeIndexer=qB;v.isObjectTypeInternalSlot=MB;v.isObjectTypeProperty=UB;v.isObjectTypeSpreadProperty=VB;v.isOpaqueType=$B;v.isOptionalCallExpression=Z3;v.isOptionalIndexedAccessType=yj;v.isOptionalMemberExpression=Q3;v.isParenthesizedExpression=p3;v.isPattern=BM;v.isPatternLike=AM;v.isPipelineBareFunction=Gj;v.isPipelinePrimaryTopicReference=Hj;v.isPipelineTopicExpression=zj;v.isPlaceholder=kj;v.isPrivate=qM;v.isPrivateName=iB;v.isProgram=s3;v.isProperty=kM;v.isPureish=xM;v.isQualifiedTypeIdentifier=KB;v.isRecordExpression=Uj;v.isRegExpLiteral=t3;v.isRegexLiteral=t8;v.isRestElement=u3;v.isRestProperty=r8;v.isReturnStatement=c3;v.isScopable=uM;v.isSequenceExpression=f3;v.isSpreadElement=V3;v.isSpreadProperty=n8;v.isStandardized=aM;v.isStatement=pM;v.isStaticBlock=sB;v.isStringLiteral=JF;v.isStringLiteralTypeAnnotation=WB;v.isStringTypeAnnotation=zB;v.isSuper=$3;v.isSwitchCase=d3;v.isSwitchStatement=h3;v.isSymbolTypeAnnotation=GB;v.isTSAnyKeyword=iL;v.isTSArrayType=PL;v.isTSAsExpression=$L;v.isTSBaseType=ZM;v.isTSBigIntKeyword=aL;v.isTSBooleanKeyword=sL;v.isTSCallSignatureDeclaration=Zj;v.isTSConditionalType=OL;v.isTSConstructSignatureDeclaration=eL;v.isTSConstructorType=EL;v.isTSDeclareFunction=Xj;v.isTSDeclareMethod=Jj;v.isTSEntityName=wM;v.isTSEnumDeclaration=zL;v.isTSEnumMember=GL;v.isTSExportAssignment=eM;v.isTSExpressionWithTypeArguments=ML;v.isTSExternalModuleReference=QL;v.isTSFunctionType=bL;v.isTSImportEqualsDeclaration=JL;v.isTSImportType=XL;v.isTSIndexSignature=nL;v.isTSIndexedAccessType=BL;v.isTSInferType=NL;v.isTSInstantiationExpression=VL;v.isTSInterfaceBody=qL;v.isTSInterfaceDeclaration=RL;v.isTSIntersectionType=_L;v.isTSIntrinsicKeyword=oL;v.isTSLiteralType=LL;v.isTSMappedType=jL;v.isTSMethodSignature=rL;v.isTSModuleBlock=YL;v.isTSModuleDeclaration=HL;v.isTSNamedTupleMember=DL;v.isTSNamespaceExportDeclaration=tM;v.isTSNeverKeyword=lL;v.isTSNonNullExpression=ZL;v.isTSNullKeyword=uL;v.isTSNumberKeyword=cL;v.isTSObjectKeyword=fL;v.isTSOptionalType=CL;v.isTSParameterProperty=Yj;v.isTSParenthesizedType=kL;v.isTSPropertySignature=tL;v.isTSQualifiedName=Qj;v.isTSRestType=wL;v.isTSSatisfiesExpression=KL;v.isTSStringKeyword=pL;v.isTSSymbolKeyword=dL;v.isTSThisType=gL;v.isTSTupleType=AL;v.isTSType=QM;v.isTSTypeAliasDeclaration=UL;v.isTSTypeAnnotation=rM;v.isTSTypeAssertion=WL;v.isTSTypeElement=JM;v.isTSTypeLiteral=xL;v.isTSTypeOperator=FL;v.isTSTypeParameter=sM;v.isTSTypeParameterDeclaration=iM;v.isTSTypeParameterInstantiation=nM;v.isTSTypePredicate=TL;v.isTSTypeQuery=SL;v.isTSTypeReference=vL;v.isTSUndefinedKeyword=hL;v.isTSUnionType=IL;v.isTSUnknownKeyword=mL;v.isTSVoidKeyword=yL;v.isTaggedTemplateExpression=K3;v.isTemplateElement=W3;v.isTemplateLiteral=z3;v.isTerminatorless=dM;v.isThisExpression=m3;v.isThisTypeAnnotation=HB;v.isThrowStatement=y3;v.isTopicReference=Wj;v.isTryStatement=g3;v.isTupleExpression=Vj;v.isTupleTypeAnnotation=YB;v.isTypeAlias=JB;v.isTypeAnnotation=QB;v.isTypeCastExpression=ZB;v.isTypeParameter=ej;v.isTypeParameterDeclaration=tj;v.isTypeParameterInstantiation=rj;v.isTypeScript=XM;v.isTypeofTypeAnnotation=XB;v.isUnaryExpression=b3;v.isUnaryLike=FM;v.isUnionTypeAnnotation=nj;v.isUpdateExpression=E3;v.isUserWhitespacable=_M;v.isV8IntrinsicIdentifier=Fj;v.isVariableDeclaration=v3;v.isVariableDeclarator=T3;v.isVariance=ij;v.isVoidTypeAnnotation=sj;v.isWhile=gM;v.isWhileStatement=S3;v.isWithStatement=x3;v.isYieldExpression=G3;var P=El(),Ca=Aa();function wF(e,t){return!e||e.type!=="ArrayExpression"?!1:t==null||(0,P.default)(e,t)}function DF(e,t){return!e||e.type!=="AssignmentExpression"?!1:t==null||(0,P.default)(e,t)}function IF(e,t){return!e||e.type!=="BinaryExpression"?!1:t==null||(0,P.default)(e,t)}function _F(e,t){return!e||e.type!=="InterpreterDirective"?!1:t==null||(0,P.default)(e,t)}function OF(e,t){return!e||e.type!=="Directive"?!1:t==null||(0,P.default)(e,t)}function NF(e,t){return!e||e.type!=="DirectiveLiteral"?!1:t==null||(0,P.default)(e,t)}function kF(e,t){return!e||e.type!=="BlockStatement"?!1:t==null||(0,P.default)(e,t)}function FF(e,t){return!e||e.type!=="BreakStatement"?!1:t==null||(0,P.default)(e,t)}function BF(e,t){return!e||e.type!=="CallExpression"?!1:t==null||(0,P.default)(e,t)}function jF(e,t){return!e||e.type!=="CatchClause"?!1:t==null||(0,P.default)(e,t)}function LF(e,t){return!e||e.type!=="ConditionalExpression"?!1:t==null||(0,P.default)(e,t)}function MF(e,t){return!e||e.type!=="ContinueStatement"?!1:t==null||(0,P.default)(e,t)}function RF(e,t){return!e||e.type!=="DebuggerStatement"?!1:t==null||(0,P.default)(e,t)}function qF(e,t){return!e||e.type!=="DoWhileStatement"?!1:t==null||(0,P.default)(e,t)}function UF(e,t){return!e||e.type!=="EmptyStatement"?!1:t==null||(0,P.default)(e,t)}function VF(e,t){return!e||e.type!=="ExpressionStatement"?!1:t==null||(0,P.default)(e,t)}function $F(e,t){return!e||e.type!=="File"?!1:t==null||(0,P.default)(e,t)}function KF(e,t){return!e||e.type!=="ForInStatement"?!1:t==null||(0,P.default)(e,t)}function WF(e,t){return!e||e.type!=="ForStatement"?!1:t==null||(0,P.default)(e,t)}function zF(e,t){return!e||e.type!=="FunctionDeclaration"?!1:t==null||(0,P.default)(e,t)}function GF(e,t){return!e||e.type!=="FunctionExpression"?!1:t==null||(0,P.default)(e,t)}function HF(e,t){return!e||e.type!=="Identifier"?!1:t==null||(0,P.default)(e,t)}function YF(e,t){return!e||e.type!=="IfStatement"?!1:t==null||(0,P.default)(e,t)}function XF(e,t){return!e||e.type!=="LabeledStatement"?!1:t==null||(0,P.default)(e,t)}function JF(e,t){return!e||e.type!=="StringLiteral"?!1:t==null||(0,P.default)(e,t)}function QF(e,t){return!e||e.type!=="NumericLiteral"?!1:t==null||(0,P.default)(e,t)}function ZF(e,t){return!e||e.type!=="NullLiteral"?!1:t==null||(0,P.default)(e,t)}function e3(e,t){return!e||e.type!=="BooleanLiteral"?!1:t==null||(0,P.default)(e,t)}function t3(e,t){return!e||e.type!=="RegExpLiteral"?!1:t==null||(0,P.default)(e,t)}function r3(e,t){return!e||e.type!=="LogicalExpression"?!1:t==null||(0,P.default)(e,t)}function n3(e,t){return!e||e.type!=="MemberExpression"?!1:t==null||(0,P.default)(e,t)}function i3(e,t){return!e||e.type!=="NewExpression"?!1:t==null||(0,P.default)(e,t)}function s3(e,t){return!e||e.type!=="Program"?!1:t==null||(0,P.default)(e,t)}function a3(e,t){return!e||e.type!=="ObjectExpression"?!1:t==null||(0,P.default)(e,t)}function o3(e,t){return!e||e.type!=="ObjectMethod"?!1:t==null||(0,P.default)(e,t)}function l3(e,t){return!e||e.type!=="ObjectProperty"?!1:t==null||(0,P.default)(e,t)}function u3(e,t){return!e||e.type!=="RestElement"?!1:t==null||(0,P.default)(e,t)}function c3(e,t){return!e||e.type!=="ReturnStatement"?!1:t==null||(0,P.default)(e,t)}function f3(e,t){return!e||e.type!=="SequenceExpression"?!1:t==null||(0,P.default)(e,t)}function p3(e,t){return!e||e.type!=="ParenthesizedExpression"?!1:t==null||(0,P.default)(e,t)}function d3(e,t){return!e||e.type!=="SwitchCase"?!1:t==null||(0,P.default)(e,t)}function h3(e,t){return!e||e.type!=="SwitchStatement"?!1:t==null||(0,P.default)(e,t)}function m3(e,t){return!e||e.type!=="ThisExpression"?!1:t==null||(0,P.default)(e,t)}function y3(e,t){return!e||e.type!=="ThrowStatement"?!1:t==null||(0,P.default)(e,t)}function g3(e,t){return!e||e.type!=="TryStatement"?!1:t==null||(0,P.default)(e,t)}function b3(e,t){return!e||e.type!=="UnaryExpression"?!1:t==null||(0,P.default)(e,t)}function E3(e,t){return!e||e.type!=="UpdateExpression"?!1:t==null||(0,P.default)(e,t)}function v3(e,t){return!e||e.type!=="VariableDeclaration"?!1:t==null||(0,P.default)(e,t)}function T3(e,t){return!e||e.type!=="VariableDeclarator"?!1:t==null||(0,P.default)(e,t)}function S3(e,t){return!e||e.type!=="WhileStatement"?!1:t==null||(0,P.default)(e,t)}function x3(e,t){return!e||e.type!=="WithStatement"?!1:t==null||(0,P.default)(e,t)}function P3(e,t){return!e||e.type!=="AssignmentPattern"?!1:t==null||(0,P.default)(e,t)}function A3(e,t){return!e||e.type!=="ArrayPattern"?!1:t==null||(0,P.default)(e,t)}function C3(e,t){return!e||e.type!=="ArrowFunctionExpression"?!1:t==null||(0,P.default)(e,t)}function w3(e,t){return!e||e.type!=="ClassBody"?!1:t==null||(0,P.default)(e,t)}function D3(e,t){return!e||e.type!=="ClassExpression"?!1:t==null||(0,P.default)(e,t)}function I3(e,t){return!e||e.type!=="ClassDeclaration"?!1:t==null||(0,P.default)(e,t)}function _3(e,t){return!e||e.type!=="ExportAllDeclaration"?!1:t==null||(0,P.default)(e,t)}function O3(e,t){return!e||e.type!=="ExportDefaultDeclaration"?!1:t==null||(0,P.default)(e,t)}function N3(e,t){return!e||e.type!=="ExportNamedDeclaration"?!1:t==null||(0,P.default)(e,t)}function k3(e,t){return!e||e.type!=="ExportSpecifier"?!1:t==null||(0,P.default)(e,t)}function F3(e,t){return!e||e.type!=="ForOfStatement"?!1:t==null||(0,P.default)(e,t)}function B3(e,t){return!e||e.type!=="ImportDeclaration"?!1:t==null||(0,P.default)(e,t)}function j3(e,t){return!e||e.type!=="ImportDefaultSpecifier"?!1:t==null||(0,P.default)(e,t)}function L3(e,t){return!e||e.type!=="ImportNamespaceSpecifier"?!1:t==null||(0,P.default)(e,t)}function M3(e,t){return!e||e.type!=="ImportSpecifier"?!1:t==null||(0,P.default)(e,t)}function R3(e,t){return!e||e.type!=="MetaProperty"?!1:t==null||(0,P.default)(e,t)}function q3(e,t){return!e||e.type!=="ClassMethod"?!1:t==null||(0,P.default)(e,t)}function U3(e,t){return!e||e.type!=="ObjectPattern"?!1:t==null||(0,P.default)(e,t)}function V3(e,t){return!e||e.type!=="SpreadElement"?!1:t==null||(0,P.default)(e,t)}function $3(e,t){return!e||e.type!=="Super"?!1:t==null||(0,P.default)(e,t)}function K3(e,t){return!e||e.type!=="TaggedTemplateExpression"?!1:t==null||(0,P.default)(e,t)}function W3(e,t){return!e||e.type!=="TemplateElement"?!1:t==null||(0,P.default)(e,t)}function z3(e,t){return!e||e.type!=="TemplateLiteral"?!1:t==null||(0,P.default)(e,t)}function G3(e,t){return!e||e.type!=="YieldExpression"?!1:t==null||(0,P.default)(e,t)}function H3(e,t){return!e||e.type!=="AwaitExpression"?!1:t==null||(0,P.default)(e,t)}function Y3(e,t){return!e||e.type!=="Import"?!1:t==null||(0,P.default)(e,t)}function X3(e,t){return!e||e.type!=="BigIntLiteral"?!1:t==null||(0,P.default)(e,t)}function J3(e,t){return!e||e.type!=="ExportNamespaceSpecifier"?!1:t==null||(0,P.default)(e,t)}function Q3(e,t){return!e||e.type!=="OptionalMemberExpression"?!1:t==null||(0,P.default)(e,t)}function Z3(e,t){return!e||e.type!=="OptionalCallExpression"?!1:t==null||(0,P.default)(e,t)}function eB(e,t){return!e||e.type!=="ClassProperty"?!1:t==null||(0,P.default)(e,t)}function tB(e,t){return!e||e.type!=="ClassAccessorProperty"?!1:t==null||(0,P.default)(e,t)}function rB(e,t){return!e||e.type!=="ClassPrivateProperty"?!1:t==null||(0,P.default)(e,t)}function nB(e,t){return!e||e.type!=="ClassPrivateMethod"?!1:t==null||(0,P.default)(e,t)}function iB(e,t){return!e||e.type!=="PrivateName"?!1:t==null||(0,P.default)(e,t)}function sB(e,t){return!e||e.type!=="StaticBlock"?!1:t==null||(0,P.default)(e,t)}function aB(e,t){return!e||e.type!=="AnyTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function oB(e,t){return!e||e.type!=="ArrayTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function lB(e,t){return!e||e.type!=="BooleanTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function uB(e,t){return!e||e.type!=="BooleanLiteralTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function cB(e,t){return!e||e.type!=="NullLiteralTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function fB(e,t){return!e||e.type!=="ClassImplements"?!1:t==null||(0,P.default)(e,t)}function pB(e,t){return!e||e.type!=="DeclareClass"?!1:t==null||(0,P.default)(e,t)}function dB(e,t){return!e||e.type!=="DeclareFunction"?!1:t==null||(0,P.default)(e,t)}function hB(e,t){return!e||e.type!=="DeclareInterface"?!1:t==null||(0,P.default)(e,t)}function mB(e,t){return!e||e.type!=="DeclareModule"?!1:t==null||(0,P.default)(e,t)}function yB(e,t){return!e||e.type!=="DeclareModuleExports"?!1:t==null||(0,P.default)(e,t)}function gB(e,t){return!e||e.type!=="DeclareTypeAlias"?!1:t==null||(0,P.default)(e,t)}function bB(e,t){return!e||e.type!=="DeclareOpaqueType"?!1:t==null||(0,P.default)(e,t)}function EB(e,t){return!e||e.type!=="DeclareVariable"?!1:t==null||(0,P.default)(e,t)}function vB(e,t){return!e||e.type!=="DeclareExportDeclaration"?!1:t==null||(0,P.default)(e,t)}function TB(e,t){return!e||e.type!=="DeclareExportAllDeclaration"?!1:t==null||(0,P.default)(e,t)}function SB(e,t){return!e||e.type!=="DeclaredPredicate"?!1:t==null||(0,P.default)(e,t)}function xB(e,t){return!e||e.type!=="ExistsTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function PB(e,t){return!e||e.type!=="FunctionTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function AB(e,t){return!e||e.type!=="FunctionTypeParam"?!1:t==null||(0,P.default)(e,t)}function CB(e,t){return!e||e.type!=="GenericTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function wB(e,t){return!e||e.type!=="InferredPredicate"?!1:t==null||(0,P.default)(e,t)}function DB(e,t){return!e||e.type!=="InterfaceExtends"?!1:t==null||(0,P.default)(e,t)}function IB(e,t){return!e||e.type!=="InterfaceDeclaration"?!1:t==null||(0,P.default)(e,t)}function _B(e,t){return!e||e.type!=="InterfaceTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function OB(e,t){return!e||e.type!=="IntersectionTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function NB(e,t){return!e||e.type!=="MixedTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function kB(e,t){return!e||e.type!=="EmptyTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function FB(e,t){return!e||e.type!=="NullableTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function BB(e,t){return!e||e.type!=="NumberLiteralTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function jB(e,t){return!e||e.type!=="NumberTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function LB(e,t){return!e||e.type!=="ObjectTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function MB(e,t){return!e||e.type!=="ObjectTypeInternalSlot"?!1:t==null||(0,P.default)(e,t)}function RB(e,t){return!e||e.type!=="ObjectTypeCallProperty"?!1:t==null||(0,P.default)(e,t)}function qB(e,t){return!e||e.type!=="ObjectTypeIndexer"?!1:t==null||(0,P.default)(e,t)}function UB(e,t){return!e||e.type!=="ObjectTypeProperty"?!1:t==null||(0,P.default)(e,t)}function VB(e,t){return!e||e.type!=="ObjectTypeSpreadProperty"?!1:t==null||(0,P.default)(e,t)}function $B(e,t){return!e||e.type!=="OpaqueType"?!1:t==null||(0,P.default)(e,t)}function KB(e,t){return!e||e.type!=="QualifiedTypeIdentifier"?!1:t==null||(0,P.default)(e,t)}function WB(e,t){return!e||e.type!=="StringLiteralTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function zB(e,t){return!e||e.type!=="StringTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function GB(e,t){return!e||e.type!=="SymbolTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function HB(e,t){return!e||e.type!=="ThisTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function YB(e,t){return!e||e.type!=="TupleTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function XB(e,t){return!e||e.type!=="TypeofTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function JB(e,t){return!e||e.type!=="TypeAlias"?!1:t==null||(0,P.default)(e,t)}function QB(e,t){return!e||e.type!=="TypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function ZB(e,t){return!e||e.type!=="TypeCastExpression"?!1:t==null||(0,P.default)(e,t)}function ej(e,t){return!e||e.type!=="TypeParameter"?!1:t==null||(0,P.default)(e,t)}function tj(e,t){return!e||e.type!=="TypeParameterDeclaration"?!1:t==null||(0,P.default)(e,t)}function rj(e,t){return!e||e.type!=="TypeParameterInstantiation"?!1:t==null||(0,P.default)(e,t)}function nj(e,t){return!e||e.type!=="UnionTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function ij(e,t){return!e||e.type!=="Variance"?!1:t==null||(0,P.default)(e,t)}function sj(e,t){return!e||e.type!=="VoidTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function aj(e,t){return!e||e.type!=="EnumDeclaration"?!1:t==null||(0,P.default)(e,t)}function oj(e,t){return!e||e.type!=="EnumBooleanBody"?!1:t==null||(0,P.default)(e,t)}function lj(e,t){return!e||e.type!=="EnumNumberBody"?!1:t==null||(0,P.default)(e,t)}function uj(e,t){return!e||e.type!=="EnumStringBody"?!1:t==null||(0,P.default)(e,t)}function cj(e,t){return!e||e.type!=="EnumSymbolBody"?!1:t==null||(0,P.default)(e,t)}function fj(e,t){return!e||e.type!=="EnumBooleanMember"?!1:t==null||(0,P.default)(e,t)}function pj(e,t){return!e||e.type!=="EnumNumberMember"?!1:t==null||(0,P.default)(e,t)}function dj(e,t){return!e||e.type!=="EnumStringMember"?!1:t==null||(0,P.default)(e,t)}function hj(e,t){return!e||e.type!=="EnumDefaultedMember"?!1:t==null||(0,P.default)(e,t)}function mj(e,t){return!e||e.type!=="IndexedAccessType"?!1:t==null||(0,P.default)(e,t)}function yj(e,t){return!e||e.type!=="OptionalIndexedAccessType"?!1:t==null||(0,P.default)(e,t)}function gj(e,t){return!e||e.type!=="JSXAttribute"?!1:t==null||(0,P.default)(e,t)}function bj(e,t){return!e||e.type!=="JSXClosingElement"?!1:t==null||(0,P.default)(e,t)}function Ej(e,t){return!e||e.type!=="JSXElement"?!1:t==null||(0,P.default)(e,t)}function vj(e,t){return!e||e.type!=="JSXEmptyExpression"?!1:t==null||(0,P.default)(e,t)}function Tj(e,t){return!e||e.type!=="JSXExpressionContainer"?!1:t==null||(0,P.default)(e,t)}function Sj(e,t){return!e||e.type!=="JSXSpreadChild"?!1:t==null||(0,P.default)(e,t)}function xj(e,t){return!e||e.type!=="JSXIdentifier"?!1:t==null||(0,P.default)(e,t)}function Pj(e,t){return!e||e.type!=="JSXMemberExpression"?!1:t==null||(0,P.default)(e,t)}function Aj(e,t){return!e||e.type!=="JSXNamespacedName"?!1:t==null||(0,P.default)(e,t)}function Cj(e,t){return!e||e.type!=="JSXOpeningElement"?!1:t==null||(0,P.default)(e,t)}function wj(e,t){return!e||e.type!=="JSXSpreadAttribute"?!1:t==null||(0,P.default)(e,t)}function Dj(e,t){return!e||e.type!=="JSXText"?!1:t==null||(0,P.default)(e,t)}function Ij(e,t){return!e||e.type!=="JSXFragment"?!1:t==null||(0,P.default)(e,t)}function _j(e,t){return!e||e.type!=="JSXOpeningFragment"?!1:t==null||(0,P.default)(e,t)}function Oj(e,t){return!e||e.type!=="JSXClosingFragment"?!1:t==null||(0,P.default)(e,t)}function Nj(e,t){return!e||e.type!=="Noop"?!1:t==null||(0,P.default)(e,t)}function kj(e,t){return!e||e.type!=="Placeholder"?!1:t==null||(0,P.default)(e,t)}function Fj(e,t){return!e||e.type!=="V8IntrinsicIdentifier"?!1:t==null||(0,P.default)(e,t)}function Bj(e,t){return!e||e.type!=="ArgumentPlaceholder"?!1:t==null||(0,P.default)(e,t)}function jj(e,t){return!e||e.type!=="BindExpression"?!1:t==null||(0,P.default)(e,t)}function Lj(e,t){return!e||e.type!=="ImportAttribute"?!1:t==null||(0,P.default)(e,t)}function Mj(e,t){return!e||e.type!=="Decorator"?!1:t==null||(0,P.default)(e,t)}function Rj(e,t){return!e||e.type!=="DoExpression"?!1:t==null||(0,P.default)(e,t)}function qj(e,t){return!e||e.type!=="ExportDefaultSpecifier"?!1:t==null||(0,P.default)(e,t)}function Uj(e,t){return!e||e.type!=="RecordExpression"?!1:t==null||(0,P.default)(e,t)}function Vj(e,t){return!e||e.type!=="TupleExpression"?!1:t==null||(0,P.default)(e,t)}function $j(e,t){return!e||e.type!=="DecimalLiteral"?!1:t==null||(0,P.default)(e,t)}function Kj(e,t){return!e||e.type!=="ModuleExpression"?!1:t==null||(0,P.default)(e,t)}function Wj(e,t){return!e||e.type!=="TopicReference"?!1:t==null||(0,P.default)(e,t)}function zj(e,t){return!e||e.type!=="PipelineTopicExpression"?!1:t==null||(0,P.default)(e,t)}function Gj(e,t){return!e||e.type!=="PipelineBareFunction"?!1:t==null||(0,P.default)(e,t)}function Hj(e,t){return!e||e.type!=="PipelinePrimaryTopicReference"?!1:t==null||(0,P.default)(e,t)}function Yj(e,t){return!e||e.type!=="TSParameterProperty"?!1:t==null||(0,P.default)(e,t)}function Xj(e,t){return!e||e.type!=="TSDeclareFunction"?!1:t==null||(0,P.default)(e,t)}function Jj(e,t){return!e||e.type!=="TSDeclareMethod"?!1:t==null||(0,P.default)(e,t)}function Qj(e,t){return!e||e.type!=="TSQualifiedName"?!1:t==null||(0,P.default)(e,t)}function Zj(e,t){return!e||e.type!=="TSCallSignatureDeclaration"?!1:t==null||(0,P.default)(e,t)}function eL(e,t){return!e||e.type!=="TSConstructSignatureDeclaration"?!1:t==null||(0,P.default)(e,t)}function tL(e,t){return!e||e.type!=="TSPropertySignature"?!1:t==null||(0,P.default)(e,t)}function rL(e,t){return!e||e.type!=="TSMethodSignature"?!1:t==null||(0,P.default)(e,t)}function nL(e,t){return!e||e.type!=="TSIndexSignature"?!1:t==null||(0,P.default)(e,t)}function iL(e,t){return!e||e.type!=="TSAnyKeyword"?!1:t==null||(0,P.default)(e,t)}function sL(e,t){return!e||e.type!=="TSBooleanKeyword"?!1:t==null||(0,P.default)(e,t)}function aL(e,t){return!e||e.type!=="TSBigIntKeyword"?!1:t==null||(0,P.default)(e,t)}function oL(e,t){return!e||e.type!=="TSIntrinsicKeyword"?!1:t==null||(0,P.default)(e,t)}function lL(e,t){return!e||e.type!=="TSNeverKeyword"?!1:t==null||(0,P.default)(e,t)}function uL(e,t){return!e||e.type!=="TSNullKeyword"?!1:t==null||(0,P.default)(e,t)}function cL(e,t){return!e||e.type!=="TSNumberKeyword"?!1:t==null||(0,P.default)(e,t)}function fL(e,t){return!e||e.type!=="TSObjectKeyword"?!1:t==null||(0,P.default)(e,t)}function pL(e,t){return!e||e.type!=="TSStringKeyword"?!1:t==null||(0,P.default)(e,t)}function dL(e,t){return!e||e.type!=="TSSymbolKeyword"?!1:t==null||(0,P.default)(e,t)}function hL(e,t){return!e||e.type!=="TSUndefinedKeyword"?!1:t==null||(0,P.default)(e,t)}function mL(e,t){return!e||e.type!=="TSUnknownKeyword"?!1:t==null||(0,P.default)(e,t)}function yL(e,t){return!e||e.type!=="TSVoidKeyword"?!1:t==null||(0,P.default)(e,t)}function gL(e,t){return!e||e.type!=="TSThisType"?!1:t==null||(0,P.default)(e,t)}function bL(e,t){return!e||e.type!=="TSFunctionType"?!1:t==null||(0,P.default)(e,t)}function EL(e,t){return!e||e.type!=="TSConstructorType"?!1:t==null||(0,P.default)(e,t)}function vL(e,t){return!e||e.type!=="TSTypeReference"?!1:t==null||(0,P.default)(e,t)}function TL(e,t){return!e||e.type!=="TSTypePredicate"?!1:t==null||(0,P.default)(e,t)}function SL(e,t){return!e||e.type!=="TSTypeQuery"?!1:t==null||(0,P.default)(e,t)}function xL(e,t){return!e||e.type!=="TSTypeLiteral"?!1:t==null||(0,P.default)(e,t)}function PL(e,t){return!e||e.type!=="TSArrayType"?!1:t==null||(0,P.default)(e,t)}function AL(e,t){return!e||e.type!=="TSTupleType"?!1:t==null||(0,P.default)(e,t)}function CL(e,t){return!e||e.type!=="TSOptionalType"?!1:t==null||(0,P.default)(e,t)}function wL(e,t){return!e||e.type!=="TSRestType"?!1:t==null||(0,P.default)(e,t)}function DL(e,t){return!e||e.type!=="TSNamedTupleMember"?!1:t==null||(0,P.default)(e,t)}function IL(e,t){return!e||e.type!=="TSUnionType"?!1:t==null||(0,P.default)(e,t)}function _L(e,t){return!e||e.type!=="TSIntersectionType"?!1:t==null||(0,P.default)(e,t)}function OL(e,t){return!e||e.type!=="TSConditionalType"?!1:t==null||(0,P.default)(e,t)}function NL(e,t){return!e||e.type!=="TSInferType"?!1:t==null||(0,P.default)(e,t)}function kL(e,t){return!e||e.type!=="TSParenthesizedType"?!1:t==null||(0,P.default)(e,t)}function FL(e,t){return!e||e.type!=="TSTypeOperator"?!1:t==null||(0,P.default)(e,t)}function BL(e,t){return!e||e.type!=="TSIndexedAccessType"?!1:t==null||(0,P.default)(e,t)}function jL(e,t){return!e||e.type!=="TSMappedType"?!1:t==null||(0,P.default)(e,t)}function LL(e,t){return!e||e.type!=="TSLiteralType"?!1:t==null||(0,P.default)(e,t)}function ML(e,t){return!e||e.type!=="TSExpressionWithTypeArguments"?!1:t==null||(0,P.default)(e,t)}function RL(e,t){return!e||e.type!=="TSInterfaceDeclaration"?!1:t==null||(0,P.default)(e,t)}function qL(e,t){return!e||e.type!=="TSInterfaceBody"?!1:t==null||(0,P.default)(e,t)}function UL(e,t){return!e||e.type!=="TSTypeAliasDeclaration"?!1:t==null||(0,P.default)(e,t)}function VL(e,t){return!e||e.type!=="TSInstantiationExpression"?!1:t==null||(0,P.default)(e,t)}function $L(e,t){return!e||e.type!=="TSAsExpression"?!1:t==null||(0,P.default)(e,t)}function KL(e,t){return!e||e.type!=="TSSatisfiesExpression"?!1:t==null||(0,P.default)(e,t)}function WL(e,t){return!e||e.type!=="TSTypeAssertion"?!1:t==null||(0,P.default)(e,t)}function zL(e,t){return!e||e.type!=="TSEnumDeclaration"?!1:t==null||(0,P.default)(e,t)}function GL(e,t){return!e||e.type!=="TSEnumMember"?!1:t==null||(0,P.default)(e,t)}function HL(e,t){return!e||e.type!=="TSModuleDeclaration"?!1:t==null||(0,P.default)(e,t)}function YL(e,t){return!e||e.type!=="TSModuleBlock"?!1:t==null||(0,P.default)(e,t)}function XL(e,t){return!e||e.type!=="TSImportType"?!1:t==null||(0,P.default)(e,t)}function JL(e,t){return!e||e.type!=="TSImportEqualsDeclaration"?!1:t==null||(0,P.default)(e,t)}function QL(e,t){return!e||e.type!=="TSExternalModuleReference"?!1:t==null||(0,P.default)(e,t)}function ZL(e,t){return!e||e.type!=="TSNonNullExpression"?!1:t==null||(0,P.default)(e,t)}function eM(e,t){return!e||e.type!=="TSExportAssignment"?!1:t==null||(0,P.default)(e,t)}function tM(e,t){return!e||e.type!=="TSNamespaceExportDeclaration"?!1:t==null||(0,P.default)(e,t)}function rM(e,t){return!e||e.type!=="TSTypeAnnotation"?!1:t==null||(0,P.default)(e,t)}function nM(e,t){return!e||e.type!=="TSTypeParameterInstantiation"?!1:t==null||(0,P.default)(e,t)}function iM(e,t){return!e||e.type!=="TSTypeParameterDeclaration"?!1:t==null||(0,P.default)(e,t)}function sM(e,t){return!e||e.type!=="TSTypeParameter"?!1:t==null||(0,P.default)(e,t)}function aM(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return t==null||(0,P.default)(e,t)}function oM(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return t==null||(0,P.default)(e,t)}function lM(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return t==null||(0,P.default)(e,t)}function uM(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return!1}return t==null||(0,P.default)(e,t)}function cM(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return!1}return t==null||(0,P.default)(e,t)}function fM(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return!1}return t==null||(0,P.default)(e,t)}function pM(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return t==null||(0,P.default)(e,t)}function dM(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return t==null||(0,P.default)(e,t)}function hM(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return t==null||(0,P.default)(e,t)}function mM(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return t==null||(0,P.default)(e,t)}function yM(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,P.default)(e,t)}function gM(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return t==null||(0,P.default)(e,t)}function bM(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return t==null||(0,P.default)(e,t)}function EM(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,P.default)(e,t)}function vM(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,P.default)(e,t)}function TM(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return t==null||(0,P.default)(e,t)}function SM(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return t==null||(0,P.default)(e,t)}function xM(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return!1}return t==null||(0,P.default)(e,t)}function PM(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(e.expectedNode==="Declaration")break;default:return!1}return t==null||(0,P.default)(e,t)}function AM(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return t==null||(0,P.default)(e,t)}function CM(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return t==null||(0,P.default)(e,t)}function wM(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(e.expectedNode==="Identifier")break;default:return!1}return t==null||(0,P.default)(e,t)}function DM(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return!1}return t==null||(0,P.default)(e,t)}function IM(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return!1}return t==null||(0,P.default)(e,t)}function _M(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return t==null||(0,P.default)(e,t)}function OM(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return t==null||(0,P.default)(e,t)}function NM(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return t==null||(0,P.default)(e,t)}function kM(e,t){if(!e)return!1;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return t==null||(0,P.default)(e,t)}function FM(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return t==null||(0,P.default)(e,t)}function BM(e,t){if(!e)return!1;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(e.expectedNode==="Pattern")break;default:return!1}return t==null||(0,P.default)(e,t)}function jM(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return t==null||(0,P.default)(e,t)}function Ov(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return t==null||(0,P.default)(e,t)}function LM(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return t==null||(0,P.default)(e,t)}function MM(e,t){if(!e)return!1;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return t==null||(0,P.default)(e,t)}function RM(e,t){if(!e)return!1;switch(e.type){case"ClassAccessorProperty":break;default:return!1}return t==null||(0,P.default)(e,t)}function qM(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return t==null||(0,P.default)(e,t)}function UM(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return t==null||(0,P.default)(e,t)}function VM(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return t==null||(0,P.default)(e,t)}function $M(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return t==null||(0,P.default)(e,t)}function KM(e,t){if(!e)return!1;switch(e.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return t==null||(0,P.default)(e,t)}function WM(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return t==null||(0,P.default)(e,t)}function zM(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return t==null||(0,P.default)(e,t)}function GM(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return t==null||(0,P.default)(e,t)}function HM(e,t){if(!e)return!1;switch(e.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return t==null||(0,P.default)(e,t)}function YM(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return t==null||(0,P.default)(e,t)}function XM(e,t){if(!e)return!1;switch(e.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return t==null||(0,P.default)(e,t)}function JM(e,t){if(!e)return!1;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return t==null||(0,P.default)(e,t)}function QM(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return t==null||(0,P.default)(e,t)}function ZM(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return t==null||(0,P.default)(e,t)}function e8(e,t){return(0,Ca.default)("isNumberLiteral","isNumericLiteral"),!e||e.type!=="NumberLiteral"?!1:t==null||(0,P.default)(e,t)}function t8(e,t){return(0,Ca.default)("isRegexLiteral","isRegExpLiteral"),!e||e.type!=="RegexLiteral"?!1:t==null||(0,P.default)(e,t)}function r8(e,t){return(0,Ca.default)("isRestProperty","isRestElement"),!e||e.type!=="RestProperty"?!1:t==null||(0,P.default)(e,t)}function n8(e,t){return(0,Ca.default)("isSpreadProperty","isSpreadElement"),!e||e.type!=="SpreadProperty"?!1:t==null||(0,P.default)(e,t)}function i8(e,t){return(0,Ca.default)("isModuleDeclaration","isImportOrExportDeclaration"),Ov(e,t)}});var sd=g(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.default=s8;var wa=St();function s8(e,t,r){if(!(0,wa.isMemberExpression)(e))return!1;let n=Array.isArray(t)?t:t.split("."),i=[],s;for(s=e;(0,wa.isMemberExpression)(s);s=s.object)i.push(s.property);if(i.push(s),i.length<n.length||!r&&i.length>n.length)return!1;for(let a=0,o=i.length-1;a<n.length;a++,o--){let l=i[o],u;if((0,wa.isIdentifier)(l))u=l.name;else if((0,wa.isStringLiteral)(l))u=l.value;else if((0,wa.isThisExpression)(l))u="this";else return!1;if(n[a]!==u)return!1}return!0}});var od=g(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.default=o8;var a8=sd();function o8(e,t){let r=e.split(".");return n=>(0,a8.default)(n,r,t)}});var Nv=g(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var l8=od(),u8=(0,l8.default)("React.Component"),c8=u8;vl.default=c8});var kv=g(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.default=f8;function f8(e){return!!e&&/^[a-z]/.test(e)}});var Bv=g((bAe,Fv)=>{"use strict";var Da=null;function Ia(e){if(Da!==null&&typeof Da.property){let t=Da;return Da=Ia.prototype=null,t}return Da=Ia.prototype=e==null?Object.create(null):e,new Ia}Ia();Fv.exports=function(t){return Ia(t)}});var Tl=g(ud=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.default=p8;var jv=xr();function p8(e,t){if(e===t)return!0;if(jv.ALIAS_KEYS[t])return!1;let r=jv.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(let n of r)if(e===n)return!0}return!1}});var fd=g(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});cd.default=h8;var d8=xr();function h8(e,t){if(e===t)return!0;let r=d8.PLACEHOLDERS_ALIAS[e];if(r){for(let n of r)if(t===n)return!0}return!1}});var ss=g(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});pd.default=E8;var m8=El(),y8=Tl(),g8=fd(),b8=xr();function E8(e,t,r){return t?(0,y8.default)(t.type,e)?typeof r=="undefined"?!0:(0,m8.default)(t,r):!r&&t.type==="Placeholder"&&e in b8.FLIPPED_ALIAS_KEYS?(0,g8.default)(t.expectedNode,e):!1:!1}});var Uv=g(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.isIdentifierChar=qv;_a.isIdentifierName=x8;_a.isIdentifierStart=Rv;var hd="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Lv="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",v8=new RegExp("["+hd+"]"),T8=new RegExp("["+hd+Lv+"]");hd=Lv=null;var Mv=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],S8=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function dd(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Rv(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&v8.test(String.fromCharCode(e)):dd(e,Mv)}function qv(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&T8.test(String.fromCharCode(e)):dd(e,Mv)||dd(e,S8)}function x8(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){let i=e.charCodeAt(++r);(i&64512)===56320&&(n=65536+((n&1023)<<10)+(i&1023))}if(t){if(t=!1,!Rv(n))return!1}else if(!qv(n))return!1}return!t}});var Wv=g(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.isKeyword=D8;Ei.isReservedWord=Vv;Ei.isStrictBindOnlyReservedWord=Kv;Ei.isStrictBindReservedWord=w8;Ei.isStrictReservedWord=$v;var md={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"]},P8=new Set(md.keyword),A8=new Set(md.strict),C8=new Set(md.strictBind);function Vv(e,t){return t&&e==="await"||e==="enum"}function $v(e,t){return Vv(e,t)||A8.has(e)}function Kv(e){return C8.has(e)}function w8(e,t){return $v(e,t)||Kv(e)}function D8(e){return P8.has(e)}});var as=g(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Object.defineProperty(Qr,"isIdentifierChar",{enumerable:!0,get:function(){return yd.isIdentifierChar}});Object.defineProperty(Qr,"isIdentifierName",{enumerable:!0,get:function(){return yd.isIdentifierName}});Object.defineProperty(Qr,"isIdentifierStart",{enumerable:!0,get:function(){return yd.isIdentifierStart}});Object.defineProperty(Qr,"isKeyword",{enumerable:!0,get:function(){return Oa.isKeyword}});Object.defineProperty(Qr,"isReservedWord",{enumerable:!0,get:function(){return Oa.isReservedWord}});Object.defineProperty(Qr,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Oa.isStrictBindOnlyReservedWord}});Object.defineProperty(Qr,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Oa.isStrictBindReservedWord}});Object.defineProperty(Qr,"isStrictReservedWord",{enumerable:!0,get:function(){return Oa.isStrictReservedWord}});var yd=Uv(),Oa=Wv()});var os=g(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.default=I8;var gd=as();function I8(e,t=!0){return typeof e!="string"||t&&((0,gd.isKeyword)(e)||(0,gd.isStrictReservedWord)(e,!0))?!1:(0,gd.isIdentifierName)(e)}});var Yv=g(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});Na.readCodePoint=Hv;Na.readInt=Gv;Na.readStringContents=O8;var _8=function(t){return t>=48&&t<=57},zv={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Sl={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function O8(e,t,r,n,i,s){let a=r,o=n,l=i,u="",c=null,f=r,{length:d}=t;for(;;){if(r>=d){s.unterminated(a,o,l),u+=t.slice(f,r);break}let m=t.charCodeAt(r);if(N8(e,m,t,r)){u+=t.slice(f,r);break}if(m===92){u+=t.slice(f,r);let S=k8(t,r,n,i,e==="template",s);S.ch===null&&!c?c={pos:r,lineStart:n,curLine:i}:u+=S.ch,{pos:r,lineStart:n,curLine:i}=S,f=r}else m===8232||m===8233?(++r,++i,n=r):m===10||m===13?e==="template"?(u+=t.slice(f,r)+`
`,++r,m===13&&t.charCodeAt(r)===10&&++r,++i,f=n=r):s.unterminated(a,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:i,containsInvalid:!!c}}function N8(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function k8(e,t,r,n,i,s){let a=!i;t++;let o=u=>({pos:t,ch:u,lineStart:r,curLine:n}),l=e.charCodeAt(t++);switch(l){case 110:return o(`
`);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=Ed(e,t,r,n,2,!1,a,s),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=Hv(e,t,r,n,a,s),o(u===null?null:String.fromCodePoint(u))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:e.charCodeAt(t)===10&&++t;case 10:r=t,++n;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);s.strictNumericEscape(t-1,r,n);default:if(l>=48&&l<=55){let u=t-1,f=e.slice(u,t+2).match(/^[0-7]+/)[0],d=parseInt(f,8);d>255&&(f=f.slice(0,-1),d=parseInt(f,8)),t+=f.length-1;let m=e.charCodeAt(t);if(f!=="0"||m===56||m===57){if(i)return o(null);s.strictNumericEscape(u,r,n)}return o(String.fromCharCode(d))}return o(String.fromCharCode(l))}}function Ed(e,t,r,n,i,s,a,o){let l=t,u;return{n:u,pos:t}=Gv(e,t,r,n,16,i,s,!1,o,!a),u===null&&(a?o.invalidEscapeSequence(l,r,n):t=l-1),{code:u,pos:t}}function Gv(e,t,r,n,i,s,a,o,l,u){let c=t,f=i===16?zv.hex:zv.decBinOct,d=i===16?Sl.hex:i===10?Sl.dec:i===8?Sl.oct:Sl.bin,m=!1,S=0;for(let p=0,E=s==null?1/0:s;p<E;++p){let b=e.charCodeAt(t),_;if(b===95&&o!=="bail"){let D=e.charCodeAt(t-1),A=e.charCodeAt(t+1);if(o){if(Number.isNaN(A)||!d(A)||f.has(D)||f.has(A)){if(u)return{n:null,pos:t};l.unexpectedNumericSeparator(t,r,n)}}else{if(u)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,r,n)}++t;continue}if(b>=97?_=b-97+10:b>=65?_=b-65+10:_8(b)?_=b-48:_=1/0,_>=i){if(_<=9&&u)return{n:null,pos:t};if(_<=9&&l.invalidDigit(t,r,n,i))_=0;else if(a)_=0,m=!0;else break}++t,S=S*i+_}return t===c||s!=null&&t-c!==s||m?{n:null,pos:t}:{n:S,pos:t}}function Hv(e,t,r,n,i,s){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=Ed(e,t,r,n,e.indexOf("}",t)-t,!0,i,s),++t,o!==null&&o>1114111)if(i)s.invalidCodePoint(t,r,n);else return{code:null,pos:t}}else({code:o,pos:t}=Ed(e,t,r,n,4,!1,i,s));return{code:o,pos:t}}});var Un=g(_e=>{"use strict";Object.defineProperty(_e,"__esModule",{value:!0});_e.UPDATE_OPERATORS=_e.UNARY_OPERATORS=_e.STRING_UNARY_OPERATORS=_e.STATEMENT_OR_BLOCK_KEYS=_e.NUMBER_UNARY_OPERATORS=_e.NUMBER_BINARY_OPERATORS=_e.NOT_LOCAL_BINDING=_e.LOGICAL_OPERATORS=_e.INHERIT_KEYS=_e.FOR_INIT_KEYS=_e.FLATTENABLE_KEYS=_e.EQUALITY_BINARY_OPERATORS=_e.COMPARISON_BINARY_OPERATORS=_e.COMMENT_KEYS=_e.BOOLEAN_UNARY_OPERATORS=_e.BOOLEAN_NUMBER_BINARY_OPERATORS=_e.BOOLEAN_BINARY_OPERATORS=_e.BLOCK_SCOPED_SYMBOL=_e.BINARY_OPERATORS=_e.ASSIGNMENT_OPERATORS=void 0;var F8=["consequent","body","alternate"];_e.STATEMENT_OR_BLOCK_KEYS=F8;var B8=["body","expressions"];_e.FLATTENABLE_KEYS=B8;var j8=["left","init"];_e.FOR_INIT_KEYS=j8;var L8=["leadingComments","trailingComments","innerComments"];_e.COMMENT_KEYS=L8;var Xv=["||","&&","??"];_e.LOGICAL_OPERATORS=Xv;var M8=["++","--"];_e.UPDATE_OPERATORS=M8;var Jv=[">","<",">=","<="];_e.BOOLEAN_NUMBER_BINARY_OPERATORS=Jv;var Qv=["==","===","!=","!=="];_e.EQUALITY_BINARY_OPERATORS=Qv;var Zv=[...Qv,"in","instanceof"];_e.COMPARISON_BINARY_OPERATORS=Zv;var e1=[...Zv,...Jv];_e.BOOLEAN_BINARY_OPERATORS=e1;var vd=["-","/","%","*","**","&","|",">>",">>>","<<","^"];_e.NUMBER_BINARY_OPERATORS=vd;var R8=["+",...vd,...e1,"|>"];_e.BINARY_OPERATORS=R8;var q8=["=","+=",...vd.map(e=>e+"="),...Xv.map(e=>e+"=")];_e.ASSIGNMENT_OPERATORS=q8;var t1=["delete","!"];_e.BOOLEAN_UNARY_OPERATORS=t1;var r1=["+","-","~"];_e.NUMBER_UNARY_OPERATORS=r1;var n1=["typeof"];_e.STRING_UNARY_OPERATORS=n1;var U8=["void","throw",...t1,...r1,...n1];_e.UNARY_OPERATORS=U8;var V8={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};_e.INHERIT_KEYS=V8;var $8=Symbol.for("var used to be block scoped");_e.BLOCK_SCOPED_SYMBOL=$8;var K8=Symbol.for("should not be considered a local binding");_e.NOT_LOCAL_BINDING=K8});var dn=g(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.VISITOR_KEYS=ze.NODE_PARENT_VALIDATIONS=ze.NODE_FIELDS=ze.FLIPPED_ALIAS_KEYS=ze.DEPRECATED_KEYS=ze.BUILDER_KEYS=ze.ALIAS_KEYS=void 0;ze.arrayOf=f1;ze.arrayOfType=p1;ze.assertEach=d1;ze.assertNodeOrValueType=X8;ze.assertNodeType=Td;ze.assertOneOf=Y8;ze.assertOptionalChainStart=Q8;ze.assertShape=J8;ze.assertValueType=Pd;ze.chain=h1;ze.default=m1;ze.defineAliasedType=t4;ze.typeIs=Cl;ze.validate=xd;ze.validateArrayOfType=H8;ze.validateOptional=z8;ze.validateOptionalType=G8;ze.validateType=W8;var i1=ss(),Al=wl(),s1={};ze.VISITOR_KEYS=s1;var a1={};ze.ALIAS_KEYS=a1;var xl={};ze.FLIPPED_ALIAS_KEYS=xl;var o1={};ze.NODE_FIELDS=o1;var l1={};ze.BUILDER_KEYS=l1;var u1={};ze.DEPRECATED_KEYS=u1;var c1={};ze.NODE_PARENT_VALIDATIONS=c1;function Pl(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function xd(e){return{validate:e}}function Cl(e){return typeof e=="string"?Td(e):Td(...e)}function W8(e){return xd(Cl(e))}function z8(e){return{validate:e,optional:!0}}function G8(e){return{validate:Cl(e),optional:!0}}function f1(e){return h1(Pd("array"),d1(e))}function p1(e){return f1(Cl(e))}function H8(e){return xd(p1(e))}function d1(e){function t(r,n,i){if(Array.isArray(i))for(let s=0;s<i.length;s++){let a=`${n}[${s}]`,o=i[s];e(r,a,o),process.env.BABEL_TYPES_8_BREAKING&&(0,Al.validateChild)(r,a,o)}}return t.each=e,t}function Y8(...e){function t(r,n,i){if(e.indexOf(i)<0)throw new TypeError(`Property ${n} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(i)}`)}return t.oneOf=e,t}function Td(...e){function t(r,n,i){for(let s of e)if((0,i1.default)(s,i)){(0,Al.validateChild)(r,n,i);return}throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}return t.oneOfNodeTypes=e,t}function X8(...e){function t(r,n,i){for(let s of e)if(Pl(i)===s||(0,i1.default)(s,i)){(0,Al.validateChild)(r,n,i);return}throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}return t.oneOfNodeOrValueTypes=e,t}function Pd(e){function t(r,n,i){if(!(Pl(i)===e))throw new TypeError(`Property ${n} expected type of ${e} but got ${Pl(i)}`)}return t.type=e,t}function J8(e){function t(r,n,i){let s=[];for(let a of Object.keys(e))try{(0,Al.validateField)(r,a,i[a],e[a])}catch(o){if(o instanceof TypeError){s.push(o.message);continue}throw o}if(s.length)throw new TypeError(`Property ${n} of ${r.type} expected to have the following:
${s.join(`
`)}`)}return t.shapeOf=e,t}function Q8(){function e(t){var r;let n=t;for(;t;){let{type:i}=n;if(i==="OptionalCallExpression"){if(n.optional)return;n=n.callee;continue}if(i==="OptionalMemberExpression"){if(n.optional)return;n=n.object;continue}break}throw new TypeError(`Non-optional ${t.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(r=n)==null?void 0:r.type}`)}return e}function h1(...e){function t(...r){for(let n of e)n(...r)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}var Z8=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],e4=["default","optional","deprecated","validate"],Sd={};function t4(...e){return(t,r={})=>{let n=r.aliases;if(!n){var i,s;r.inherits&&(n=(i=Sd[r.inherits].aliases)==null?void 0:i.slice()),(s=n)!=null||(n=[]),r.aliases=n}let a=e.filter(o=>!n.includes(o));n.unshift(...a),m1(t,r)}}function m1(e,t={}){let r=t.inherits&&Sd[t.inherits]||{},n=t.fields;if(!n&&(n={},r.fields)){let o=Object.getOwnPropertyNames(r.fields);for(let l of o){let u=r.fields[l],c=u.default;if(Array.isArray(c)?c.length>0:c&&typeof c=="object")throw new Error("field defaults can only be primitives or empty arrays currently");n[l]={default:Array.isArray(c)?[]:c,optional:u.optional,deprecated:u.deprecated,validate:u.validate}}}let i=t.visitor||r.visitor||[],s=t.aliases||r.aliases||[],a=t.builder||r.builder||t.visitor||[];for(let o of Object.keys(t))if(Z8.indexOf(o)===-1)throw new Error(`Unknown type option "${o}" on ${e}`);t.deprecatedAlias&&(u1[t.deprecatedAlias]=e);for(let o of i.concat(a))n[o]=n[o]||{};for(let o of Object.keys(n)){let l=n[o];l.default!==void 0&&a.indexOf(o)===-1&&(l.optional=!0),l.default===void 0?l.default=null:!l.validate&&l.default!=null&&(l.validate=Pd(Pl(l.default)));for(let u of Object.keys(l))if(e4.indexOf(u)===-1)throw new Error(`Unknown field key "${u}" on ${e}.${o}`)}s1[e]=t.visitor=i,l1[e]=t.builder=a,o1[e]=t.fields=n,a1[e]=t.aliases=s,s.forEach(o=>{xl[o]=xl[o]||[],xl[o].push(e)}),t.validate&&(c1[e]=t.validate),Sd[e]=t}});var Cd=g(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.patternLikeCommon=ar.functionTypeAnnotationCommon=ar.functionDeclarationCommon=ar.functionCommon=ar.classMethodOrPropertyCommon=ar.classMethodOrDeclareMethodCommon=void 0;var Xt=ss(),r4=os(),y1=as(),n4=Yv(),ka=Un(),h=dn(),Q=(0,h.defineAliasedType)("Standardized");Q("ArrayExpression",{fields:{elements:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]});Q("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,h.assertValueType)("string");let e=(0,h.assertOneOf)(...ka.ASSIGNMENT_OPERATORS),t=(0,h.assertOneOf)("=");return function(r,n,i){((0,Xt.default)("Pattern",r.left)?t:e)(r,n,i)}}()},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("LVal")},right:{validate:(0,h.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});Q("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,h.assertOneOf)(...ka.BINARY_OPERATORS)},left:{validate:function(){let e=(0,h.assertNodeType)("Expression"),t=(0,h.assertNodeType)("Expression","PrivateName");return Object.assign(function(n,i,s){(n.operator==="in"?t:e)(n,i,s)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,h.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});Q("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}});Q("Directive",{visitor:["value"],fields:{value:{validate:(0,h.assertNodeType)("DirectiveLiteral")}}});Q("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}});Q("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Directive"))),default:[]},body:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});Q("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});Q("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,h.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,h.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,h.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});Q("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});Q("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},consequent:{validate:(0,h.assertNodeType)("Expression")},alternate:{validate:(0,h.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});Q("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});Q("DebuggerStatement",{aliases:["Statement"]});Q("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});Q("EmptyStatement",{aliases:["Statement"]});Q("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});Q("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,h.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertEach)((0,h.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,h.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}});Q("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}});Q("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,h.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,h.assertNodeType)("Expression"),optional:!0},update:{validate:(0,h.assertNodeType)("Expression"),optional:!0},body:{validate:(0,h.assertNodeType)("Statement")}}});var ls=()=>({params:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});ar.functionCommon=ls;var vi=()=>({returnType:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});ar.functionTypeAnnotationCommon=vi;var g1=()=>Object.assign({},ls(),{declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}});ar.functionDeclarationCommon=g1;Q("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},g1(),vi(),{body:{validate:(0,h.assertNodeType)("BlockStatement")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};let e=(0,h.assertNodeType)("Identifier");return function(t,r,n){(0,Xt.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}()});Q("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ls(),vi(),{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var us=()=>({typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0}});ar.patternLikeCommon=us;Q("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},us(),{name:{validate:(0,h.chain)((0,h.assertValueType)("string"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,r4.default)(r,!1))throw new TypeError(`"${r}" is not a valid identifier name`)},{type:"string"}))}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let n=/\.(\w+)$/.exec(t);if(!n)return;let[,i]=n,s={computed:!1};if(i==="property"){if((0,Xt.default)("MemberExpression",e,s)||(0,Xt.default)("OptionalMemberExpression",e,s))return}else if(i==="key"){if((0,Xt.default)("Property",e,s)||(0,Xt.default)("Method",e,s))return}else if(i==="exported"){if((0,Xt.default)("ExportSpecifier",e))return}else if(i==="imported"){if((0,Xt.default)("ImportSpecifier",e,{imported:r}))return}else if(i==="meta"&&(0,Xt.default)("MetaProperty",e,{meta:r}))return;if(((0,y1.isKeyword)(r.name)||(0,y1.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}});Q("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},consequent:{validate:(0,h.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,h.assertNodeType)("Statement")}}});Q("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,h.assertNodeType)("Identifier")},body:{validate:(0,h.assertNodeType)("Statement")}}});Q("StringLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,h.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});Q("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,h.assertValueType)("string")},flags:{validate:(0,h.chain)((0,h.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let n=/[^gimsuy]/.exec(r);if(n)throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)},{type:"string"})),default:""}}});Q("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,h.assertOneOf)(...ka.LOGICAL_OPERATORS)},left:{validate:(0,h.assertNodeType)("Expression")},right:{validate:(0,h.assertNodeType)("Expression")}}});Q("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,h.assertNodeType)("Expression","Super")},property:{validate:function(){let e=(0,h.assertNodeType)("Identifier","PrivateName"),t=(0,h.assertNodeType)("Expression"),r=function(n,i,s){(n.computed?t:e)(n,i,s)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,h.assertOneOf)(!0,!1),optional:!0}})});Q("NewExpression",{inherits:"CallExpression"});Q("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,h.assertValueType)("string")},sourceType:{validate:(0,h.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,h.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Directive"))),default:[]},body:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});Q("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});Q("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},ls(),vi(),{kind:Object.assign({validate:(0,h.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let e=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,h.assertNodeType)("Expression"),r=function(n,i,s){(n.computed?t:e)(n,i,s)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r}()},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});Q("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let e=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,h.assertNodeType)("Expression");return Object.assign(function(n,i,s){(n.computed?t:e)(n,i,s)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,h.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,h.chain)((0,h.assertValueType)("boolean"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&e.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")},{type:"boolean"}),function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&!(0,Xt.default)("Identifier",e.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}),default:!1},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){let e=(0,h.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,h.assertNodeType)("Expression");return function(r,n,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;((0,Xt.default)("ObjectPattern",r)?e:t)(i,"value",i.value)}}()});Q("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},us(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("LVal")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;let r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");let[,n,i]=r;if(e[n].length>+i+1)throw new TypeError(`RestElement must be last element of ${n}`)}});Q("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression"),optional:!0}}});Q("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Expression")))}},aliases:["Expression"]});Q("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}}});Q("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,h.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Statement")))}}});Q("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,h.assertNodeType)("Expression")},cases:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("SwitchCase")))}}});Q("ThisExpression",{aliases:["Expression"]});Q("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}});Q("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,h.chain)((0,h.assertNodeType)("BlockStatement"),Object.assign(function(e){if(process.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,h.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,h.assertNodeType)("BlockStatement")}}});Q("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,h.assertNodeType)("Expression")},operator:{validate:(0,h.assertOneOf)(...ka.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});Q("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","MemberExpression"):(0,h.assertNodeType)("Expression")},operator:{validate:(0,h.assertOneOf)(...ka.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});Q("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},kind:{validate:(0,h.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&(0,Xt.default)("ForXStatement",e,{left:r})&&r.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}});Q("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,h.assertNodeType)("LVal");let e=(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),t=(0,h.assertNodeType)("Identifier");return function(r,n,i){(r.init?e:t)(r,n,i)}}()},definite:{optional:!0,validate:(0,h.assertValueType)("boolean")},init:{optional:!0,validate:(0,h.assertNodeType)("Expression")}}});Q("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}});Q("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}});Q("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},us(),{left:{validate:(0,h.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,h.assertNodeType)("Expression")},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0}})});Q("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},us(),{elements:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeOrValueType)("null","PatternLike","LVal")))}})});Q("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ls(),vi(),{expression:{validate:(0,h.assertValueType)("boolean")},body:{validate:(0,h.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});Q("ClassBody",{visitor:["body"],fields:{body:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});Q("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,h.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,h.assertNodeType)("Expression")},superTypeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,h.assertNodeType)("InterfaceExtends"),optional:!0}}});Q("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,h.assertNodeType)("Identifier")},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,h.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,h.assertNodeType)("Expression")},superTypeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,h.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,h.assertValueType)("boolean"),optional:!0}},validate:function(){let e=(0,h.assertNodeType)("Identifier");return function(t,r,n){process.env.BABEL_TYPES_8_BREAKING&&((0,Xt.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id))}}()});Q("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,h.assertNodeType)("StringLiteral")},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ImportAttribute")))}}});Q("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,h.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("value"))}});Q("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,h.chain)((0,h.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")})},attributes:{optional:!0,validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)(function(){let e=(0,h.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,h.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?function(r,n,i){(r.source?e:t)(r,n,i)}:e}()))},source:{validate:(0,h.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("type","value"))}});Q("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")},exported:{validate:(0,h.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,h.assertOneOf)("type","value"),optional:!0}}});Q("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,h.assertNodeType)("VariableDeclaration","LVal");let e=(0,h.assertNodeType)("VariableDeclaration"),t=(0,h.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,n,i){(0,Xt.default)("VariableDeclaration",i)?e(r,n,i):t(r,n,i)}}()},right:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")},await:{default:!1}}});Q("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ImportAttribute")))},module:{optional:!0,validate:(0,h.assertValueType)("boolean")},specifiers:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,h.assertNodeType)("StringLiteral")},importKind:{validate:(0,h.assertOneOf)("type","typeof","value"),optional:!0}}});Q("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}});Q("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}});Q("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")},imported:{validate:(0,h.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,h.assertOneOf)("type","typeof","value"),optional:!0}}});Q("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,h.chain)((0,h.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let n;switch(r.name){case"function":n="sent";break;case"new":n="target";break;case"import":n="meta";break}if(!(0,Xt.default)("Identifier",e.property,{name:n}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,h.assertNodeType)("Identifier")}}});var Dl=()=>({abstract:{validate:(0,h.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,h.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},key:{validate:(0,h.chain)(function(){let e=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,h.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});ar.classMethodOrPropertyCommon=Dl;var Ad=()=>Object.assign({},ls(),Dl(),{params:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,h.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,h.chain)((0,h.assertValueType)("string"),(0,h.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0}});ar.classMethodOrDeclareMethodCommon=Ad;Q("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},Ad(),vi(),{body:{validate:(0,h.assertNodeType)("BlockStatement")}})});Q("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},us(),{properties:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("RestElement","ObjectProperty")))}})});Q("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}});Q("Super",{aliases:["Expression"]});Q("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,h.assertNodeType)("Expression")},quasi:{validate:(0,h.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});Q("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,h.chain)((0,h.assertShape)({raw:{validate:(0,h.assertValueType)("string")},cooked:{validate:(0,h.assertValueType)("string"),optional:!0}}),function(t){let r=t.value.raw,n=!1,i=()=>{throw new Error("Internal @babel/types error.")},{str:s,firstInvalidLoc:a}=(0,n4.readStringContents)("template",r,0,0,0,{unterminated(){n=!0},strictNumericEscape:i,invalidEscapeSequence:i,numericSeparatorInEscapeSequence:i,unexpectedNumericSeparator:i,invalidDigit:i,invalidCodePoint:i});if(!n)throw new Error("Invalid raw");t.value.cooked=a?null:s})},tail:{default:!1}}});Q("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("TemplateElement")))},expressions:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.
Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}});Q("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,h.chain)((0,h.assertValueType)("boolean"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,h.assertNodeType)("Expression")}}});Q("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}});Q("Import",{aliases:["Expression"]});Q("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,h.assertNodeType)("Identifier")}}});Q("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,h.assertNodeType)("Expression")},property:{validate:function(){let e=(0,h.assertNodeType)("Identifier"),t=(0,h.assertNodeType)("Expression");return Object.assign(function(n,i,s){(n.computed?t:e)(n,i,s)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),(0,h.assertOptionalChainStart)()):(0,h.assertValueType)("boolean")}}});Q("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,h.assertNodeType)("Expression")},arguments:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),(0,h.assertOptionalChainStart)()):(0,h.assertValueType)("boolean")},typeArguments:{validate:(0,h.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}});Q("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},Dl(),{value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}})});Q("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},Dl(),{key:{validate:(0,h.chain)(function(){let e=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,h.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}})});Q("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,h.assertNodeType)("PrivateName")},value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,h.assertValueType)("boolean"),default:!1},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}}});Q("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Ad(),vi(),{kind:{validate:(0,h.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,h.assertNodeType)("PrivateName")},body:{validate:(0,h.assertNodeType)("BlockStatement")}})});Q("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,h.assertNodeType)("Identifier")}}});Q("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})});var b1=g(()=>{"use strict";var j=dn(),ce=(0,j.defineAliasedType)("Flow"),wd=e=>{let t=e==="DeclareClass";ce(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,j.validateType)("Identifier"),typeParameters:(0,j.validateOptionalType)("TypeParameterDeclaration"),extends:(0,j.validateOptional)((0,j.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,j.validateOptional)((0,j.arrayOfType)("InterfaceExtends")),implements:(0,j.validateOptional)((0,j.arrayOfType)("ClassImplements"))}:{},{body:(0,j.validateType)("ObjectTypeAnnotation")})})};ce("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,j.validateType)("FlowType")}});ce("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,j.validateType)("Identifier"),typeParameters:(0,j.validateOptionalType)("TypeParameterInstantiation")}});wd("DeclareClass");ce("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier"),predicate:(0,j.validateOptionalType)("DeclaredPredicate")}});wd("DeclareInterface");ce("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)(["Identifier","StringLiteral"]),body:(0,j.validateType)("BlockStatement"),kind:(0,j.validateOptional)((0,j.assertOneOf)("CommonJS","ES"))}});ce("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,j.validateType)("TypeAnnotation")}});ce("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier"),typeParameters:(0,j.validateOptionalType)("TypeParameterDeclaration"),right:(0,j.validateType)("FlowType")}});ce("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier"),typeParameters:(0,j.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,j.validateOptionalType)("FlowType"),impltype:(0,j.validateOptionalType)("FlowType")}});ce("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier")}});ce("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,j.validateOptionalType)("Flow"),specifiers:(0,j.validateOptional)((0,j.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,j.validateOptionalType)("StringLiteral"),default:(0,j.validateOptional)((0,j.assertValueType)("boolean"))}});ce("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,j.validateType)("StringLiteral"),exportKind:(0,j.validateOptional)((0,j.assertOneOf)("type","value"))}});ce("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,j.validateType)("Flow")}});ce("ExistsTypeAnnotation",{aliases:["FlowType"]});ce("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,j.validateOptionalType)("TypeParameterDeclaration"),params:(0,j.validate)((0,j.arrayOfType)("FunctionTypeParam")),rest:(0,j.validateOptionalType)("FunctionTypeParam"),this:(0,j.validateOptionalType)("FunctionTypeParam"),returnType:(0,j.validateType)("FlowType")}});ce("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,j.validateOptionalType)("Identifier"),typeAnnotation:(0,j.validateType)("FlowType"),optional:(0,j.validateOptional)((0,j.assertValueType)("boolean"))}});ce("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,j.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,j.validateOptionalType)("TypeParameterInstantiation")}});ce("InferredPredicate",{aliases:["FlowPredicate"]});ce("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,j.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,j.validateOptionalType)("TypeParameterInstantiation")}});wd("InterfaceDeclaration");ce("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,j.validateOptional)((0,j.arrayOfType)("InterfaceExtends")),body:(0,j.validateType)("ObjectTypeAnnotation")}});ce("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});ce("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,j.validateType)("FlowType")}});ce("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,j.validate)((0,j.assertValueType)("number"))}});ce("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,j.validate)((0,j.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,j.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,j.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,j.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,j.assertValueType)("boolean"),default:!1},inexact:(0,j.validateOptional)((0,j.assertValueType)("boolean"))}});ce("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,j.validateType)("Identifier"),value:(0,j.validateType)("FlowType"),optional:(0,j.validate)((0,j.assertValueType)("boolean")),static:(0,j.validate)((0,j.assertValueType)("boolean")),method:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,j.validateType)("FlowType"),static:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,j.validateOptionalType)("Identifier"),key:(0,j.validateType)("FlowType"),value:(0,j.validateType)("FlowType"),static:(0,j.validate)((0,j.assertValueType)("boolean")),variance:(0,j.validateOptionalType)("Variance")}});ce("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,j.validateType)(["Identifier","StringLiteral"]),value:(0,j.validateType)("FlowType"),kind:(0,j.validate)((0,j.assertOneOf)("init","get","set")),static:(0,j.validate)((0,j.assertValueType)("boolean")),proto:(0,j.validate)((0,j.assertValueType)("boolean")),optional:(0,j.validate)((0,j.assertValueType)("boolean")),variance:(0,j.validateOptionalType)("Variance"),method:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,j.validateType)("FlowType")}});ce("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier"),typeParameters:(0,j.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,j.validateOptionalType)("FlowType"),impltype:(0,j.validateType)("FlowType")}});ce("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,j.validateType)("Identifier"),qualification:(0,j.validateType)(["Identifier","QualifiedTypeIdentifier"])}});ce("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,j.validate)((0,j.assertValueType)("string"))}});ce("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});ce("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,j.validateType)("FlowType")}});ce("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier"),typeParameters:(0,j.validateOptionalType)("TypeParameterDeclaration"),right:(0,j.validateType)("FlowType")}});ce("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,j.validateType)("FlowType")}});ce("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,j.validateType)("Expression"),typeAnnotation:(0,j.validateType)("TypeAnnotation")}});ce("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,j.validate)((0,j.assertValueType)("string")),bound:(0,j.validateOptionalType)("TypeAnnotation"),default:(0,j.validateOptionalType)("FlowType"),variance:(0,j.validateOptionalType)("Variance")}});ce("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,j.validate)((0,j.arrayOfType)("TypeParameter"))}});ce("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});ce("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});ce("Variance",{builder:["kind"],fields:{kind:(0,j.validate)((0,j.assertOneOf)("minus","plus"))}});ce("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,j.validateType)("Identifier"),body:(0,j.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});ce("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,j.validate)((0,j.assertValueType)("boolean")),members:(0,j.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,j.validate)((0,j.assertValueType)("boolean")),members:(0,j.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,j.validate)((0,j.assertValueType)("boolean")),members:(0,j.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,j.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,j.validate)((0,j.assertValueType)("boolean"))}});ce("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,j.validateType)("Identifier"),init:(0,j.validateType)("BooleanLiteral")}});ce("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,j.validateType)("Identifier"),init:(0,j.validateType)("NumericLiteral")}});ce("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,j.validateType)("Identifier"),init:(0,j.validateType)("StringLiteral")}});ce("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,j.validateType)("Identifier")}});ce("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,j.validateType)("FlowType"),indexType:(0,j.validateType)("FlowType")}});ce("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,j.validateType)("FlowType"),indexType:(0,j.validateType)("FlowType"),optional:(0,j.validate)((0,j.assertValueType)("boolean"))}})});var E1=g(()=>{"use strict";var He=dn(),Jt=(0,He.defineAliasedType)("JSX");Jt("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,He.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,He.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Jt("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,He.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Jt("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,He.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,He.assertNodeType)("JSXClosingElement")},children:{validate:(0,He.chain)((0,He.assertValueType)("array"),(0,He.assertEach)((0,He.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,He.assertValueType)("boolean"),optional:!0}})});Jt("JSXEmptyExpression",{});Jt("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,He.assertNodeType)("Expression","JSXEmptyExpression")}}});Jt("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,He.assertNodeType)("Expression")}}});Jt("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,He.assertValueType)("string")}}});Jt("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,He.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,He.assertNodeType)("JSXIdentifier")}}});Jt("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,He.assertNodeType)("JSXIdentifier")},name:{validate:(0,He.assertNodeType)("JSXIdentifier")}}});Jt("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,He.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,He.chain)((0,He.assertValueType)("array"),(0,He.assertEach)((0,He.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,He.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});Jt("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,He.assertNodeType)("Expression")}}});Jt("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,He.assertValueType)("string")}}});Jt("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,He.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,He.assertNodeType)("JSXClosingFragment")},children:{validate:(0,He.chain)((0,He.assertValueType)("array"),(0,He.assertEach)((0,He.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});Jt("JSXOpeningFragment",{aliases:["Immutable"]});Jt("JSXClosingFragment",{aliases:["Immutable"]})});var Dd=g(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.PLACEHOLDERS_FLIPPED_ALIAS=Vn.PLACEHOLDERS_ALIAS=Vn.PLACEHOLDERS=void 0;var i4=dn(),v1=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];Vn.PLACEHOLDERS=v1;var _l={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};Vn.PLACEHOLDERS_ALIAS=_l;for(let e of v1){let t=i4.ALIAS_KEYS[e];t!=null&&t.length&&(_l[e]=t)}var Il={};Vn.PLACEHOLDERS_FLIPPED_ALIAS=Il;Object.keys(_l).forEach(e=>{_l[e].forEach(t=>{Object.hasOwnProperty.call(Il,t)||(Il[t]=[]),Il[t].push(e)})})});var T1=g(()=>{"use strict";var Ol=dn(),s4=Dd(),Id=(0,Ol.defineAliasedType)("Miscellaneous");Id("Noop",{visitor:[]});Id("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,Ol.assertNodeType)("Identifier")},expectedNode:{validate:(0,Ol.assertOneOf)(...s4.PLACEHOLDERS)}}});Id("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,Ol.assertValueType)("string")}}})});var S1=g(()=>{"use strict";var Ge=dn();(0,Ge.default)("ArgumentPlaceholder",{});(0,Ge.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,Ge.assertNodeType)("Expression")},callee:{validate:(0,Ge.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,Ge.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,Ge.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,Ge.assertNodeType)("StringLiteral")}}});(0,Ge.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,Ge.assertNodeType)("Expression")}}});(0,Ge.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,Ge.assertNodeType)("BlockStatement")},async:{validate:(0,Ge.assertValueType)("boolean"),default:!1}}});(0,Ge.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,Ge.assertNodeType)("Identifier")}}});(0,Ge.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,Ge.chain)((0,Ge.assertValueType)("array"),(0,Ge.assertEach)((0,Ge.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,Ge.default)("TupleExpression",{fields:{elements:{validate:(0,Ge.chain)((0,Ge.assertValueType)("array"),(0,Ge.assertEach)((0,Ge.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,Ge.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,Ge.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,Ge.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,Ge.assertNodeType)("Program")}},aliases:["Expression"]});(0,Ge.default)("TopicReference",{aliases:["Expression"]});(0,Ge.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,Ge.assertNodeType)("Expression")}},aliases:["Expression"]});(0,Ge.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,Ge.assertNodeType)("Expression")}},aliases:["Expression"]});(0,Ge.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var _1=g(()=>{"use strict";var U=dn(),x1=Cd(),a4=ss(),xe=(0,U.defineAliasedType)("TypeScript"),or=(0,U.assertValueType)("boolean"),P1=()=>({returnType:{validate:(0,U.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,U.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});xe("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,U.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,U.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,U.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,U.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,U.chain)((0,U.assertValueType)("array"),(0,U.assertEach)((0,U.assertNodeType)("Decorator"))),optional:!0}}});xe("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,x1.functionDeclarationCommon)(),P1())});xe("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,x1.classMethodOrDeclareMethodCommon)(),P1())});xe("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,U.validateType)("TSEntityName"),right:(0,U.validateType)("Identifier")}});var Nl=()=>({typeParameters:(0,U.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,U.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,U.validateOptionalType)("TSTypeAnnotation")}),A1={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:Nl()};xe("TSCallSignatureDeclaration",A1);xe("TSConstructSignatureDeclaration",A1);var C1=()=>({key:(0,U.validateType)("Expression"),computed:{default:!1},optional:(0,U.validateOptional)(or)});xe("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},C1(),{readonly:(0,U.validateOptional)(or),typeAnnotation:(0,U.validateOptionalType)("TSTypeAnnotation"),initializer:(0,U.validateOptionalType)("Expression"),kind:{validate:(0,U.assertOneOf)("get","set")}})});xe("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},Nl(),C1(),{kind:{validate:(0,U.assertOneOf)("method","get","set")}})});xe("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,U.validateOptional)(or),static:(0,U.validateOptional)(or),parameters:(0,U.validateArrayOfType)("Identifier"),typeAnnotation:(0,U.validateOptionalType)("TSTypeAnnotation")}});var o4=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let e of o4)xe(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});xe("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var w1={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};xe("TSFunctionType",Object.assign({},w1,{fields:Nl()}));xe("TSConstructorType",Object.assign({},w1,{fields:Object.assign({},Nl(),{abstract:(0,U.validateOptional)(or)})}));xe("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,U.validateType)("TSEntityName"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});xe("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,U.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,U.validateOptionalType)("TSTypeAnnotation"),asserts:(0,U.validateOptional)(or)}});xe("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,U.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});xe("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,U.validateArrayOfType)("TSTypeElement")}});xe("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,U.validateType)("TSType")}});xe("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,U.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});xe("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,U.validateType)("TSType")}});xe("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,U.validateType)("TSType")}});xe("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,U.validateType)("Identifier"),optional:{validate:or,default:!1},elementType:(0,U.validateType)("TSType")}});var D1={aliases:["TSType"],visitor:["types"],fields:{types:(0,U.validateArrayOfType)("TSType")}};xe("TSUnionType",D1);xe("TSIntersectionType",D1);xe("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,U.validateType)("TSType"),extendsType:(0,U.validateType)("TSType"),trueType:(0,U.validateType)("TSType"),falseType:(0,U.validateType)("TSType")}});xe("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,U.validateType)("TSTypeParameter")}});xe("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,U.validateType)("TSType")}});xe("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,U.validate)((0,U.assertValueType)("string")),typeAnnotation:(0,U.validateType)("TSType")}});xe("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,U.validateType)("TSType"),indexType:(0,U.validateType)("TSType")}});xe("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,U.validateOptional)((0,U.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,U.validateType)("TSTypeParameter"),optional:(0,U.validateOptional)((0,U.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,U.validateOptionalType)("TSType"),nameType:(0,U.validateOptionalType)("TSType")}});xe("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let e=(0,U.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,U.assertOneOf)("-"),r=(0,U.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function n(i,s,a){(0,a4.default)("UnaryExpression",a)?(t(a,"operator",a.operator),e(a,"argument",a.argument)):r(i,s,a)}return n.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],n}()}}});xe("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,U.validateType)("TSEntityName"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});xe("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,U.validateOptional)(or),id:(0,U.validateType)("Identifier"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,U.validateOptional)((0,U.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,U.validateType)("TSInterfaceBody")}});xe("TSInterfaceBody",{visitor:["body"],fields:{body:(0,U.validateArrayOfType)("TSTypeElement")}});xe("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,U.validateOptional)(or),id:(0,U.validateType)("Identifier"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,U.validateType)("TSType")}});xe("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,U.validateType)("Expression"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});var I1={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,U.validateType)("Expression"),typeAnnotation:(0,U.validateType)("TSType")}};xe("TSAsExpression",I1);xe("TSSatisfiesExpression",I1);xe("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,U.validateType)("TSType"),expression:(0,U.validateType)("Expression")}});xe("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,U.validateOptional)(or),const:(0,U.validateOptional)(or),id:(0,U.validateType)("Identifier"),members:(0,U.validateArrayOfType)("TSEnumMember"),initializer:(0,U.validateOptionalType)("Expression")}});xe("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,U.validateType)(["Identifier","StringLiteral"]),initializer:(0,U.validateOptionalType)("Expression")}});xe("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,U.validateOptional)(or),global:(0,U.validateOptional)(or),id:(0,U.validateType)(["Identifier","StringLiteral"]),body:(0,U.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});xe("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,U.validateArrayOfType)("Statement")}});xe("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,U.validateType)("StringLiteral"),qualifier:(0,U.validateOptionalType)("TSEntityName"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});xe("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,U.validate)(or),id:(0,U.validateType)("Identifier"),moduleReference:(0,U.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,U.assertOneOf)("type","value"),optional:!0}}});xe("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,U.validateType)("StringLiteral")}});xe("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,U.validateType)("Expression")}});xe("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,U.validateType)("Expression")}});xe("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,U.validateType)("Identifier")}});xe("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,U.assertNodeType)("TSType")}}});xe("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,U.chain)((0,U.assertValueType)("array"),(0,U.assertEach)((0,U.assertNodeType)("TSType")))}}});xe("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,U.chain)((0,U.assertValueType)("array"),(0,U.assertEach)((0,U.assertNodeType)("TSTypeParameter")))}}});xe("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,U.assertValueType)("string")},in:{validate:(0,U.assertValueType)("boolean"),optional:!0},out:{validate:(0,U.assertValueType)("boolean"),optional:!0},const:{validate:(0,U.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,U.assertNodeType)("TSType"),optional:!0},default:{validate:(0,U.assertNodeType)("TSType"),optional:!0}}})});var O1=g(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.DEPRECATED_ALIASES=void 0;var l4={ModuleDeclaration:"ImportOrExportDeclaration"};kl.DEPRECATED_ALIASES=l4});var xr=g(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Object.defineProperty(Qt,"ALIAS_KEYS",{enumerable:!0,get:function(){return Ft.ALIAS_KEYS}});Object.defineProperty(Qt,"BUILDER_KEYS",{enumerable:!0,get:function(){return Ft.BUILDER_KEYS}});Object.defineProperty(Qt,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return _d.DEPRECATED_ALIASES}});Object.defineProperty(Qt,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Ft.DEPRECATED_KEYS}});Object.defineProperty(Qt,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Ft.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Qt,"NODE_FIELDS",{enumerable:!0,get:function(){return Ft.NODE_FIELDS}});Object.defineProperty(Qt,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Ft.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Qt,"PLACEHOLDERS",{enumerable:!0,get:function(){return Fa.PLACEHOLDERS}});Object.defineProperty(Qt,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return Fa.PLACEHOLDERS_ALIAS}});Object.defineProperty(Qt,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return Fa.PLACEHOLDERS_FLIPPED_ALIAS}});Qt.TYPES=void 0;Object.defineProperty(Qt,"VISITOR_KEYS",{enumerable:!0,get:function(){return Ft.VISITOR_KEYS}});var $n=Bv();Cd();b1();E1();T1();S1();_1();var Ft=dn(),Fa=Dd(),_d=O1();Object.keys(_d.DEPRECATED_ALIASES).forEach(e=>{Ft.FLIPPED_ALIAS_KEYS[e]=Ft.FLIPPED_ALIAS_KEYS[_d.DEPRECATED_ALIASES[e]]});$n(Ft.VISITOR_KEYS);$n(Ft.ALIAS_KEYS);$n(Ft.FLIPPED_ALIAS_KEYS);$n(Ft.NODE_FIELDS);$n(Ft.BUILDER_KEYS);$n(Ft.DEPRECATED_KEYS);$n(Fa.PLACEHOLDERS_ALIAS);$n(Fa.PLACEHOLDERS_FLIPPED_ALIAS);var u4=[].concat(Object.keys(Ft.VISITOR_KEYS),Object.keys(Ft.FLIPPED_ALIAS_KEYS),Object.keys(Ft.DEPRECATED_KEYS));Qt.TYPES=u4});var wl=g(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.default=c4;Ba.validateChild=F1;Ba.validateField=k1;var N1=xr();function c4(e,t,r){if(!e)return;let n=N1.NODE_FIELDS[e.type];if(!n)return;let i=n[t];k1(e,t,r,i),F1(e,t,r)}function k1(e,t,r,n){n!=null&&n.validate&&(n.optional&&r==null||n.validate(e,t,r))}function F1(e,t,r){if(r==null)return;let n=N1.NODE_PARENT_VALIDATIONS[r.type];n&&n(e,t,r)}});var B1=g(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.default=d4;var f4=wl(),p4=ye();function d4(e){let t=p4.BUILDER_KEYS[e.type];for(let r of t)(0,f4.default)(e,r,e[r]);return e}});var lr=g(y=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0});y.anyTypeAnnotation=$6;y.argumentPlaceholder=bR;y.arrayExpression=h4;y.arrayPattern=u6;y.arrayTypeAnnotation=K6;y.arrowFunctionExpression=c6;y.assignmentExpression=m4;y.assignmentPattern=l6;y.awaitExpression=O6;y.bigIntLiteral=k6;y.binaryExpression=y4;y.bindExpression=ER;y.blockStatement=v4;y.booleanLiteral=q4;y.booleanLiteralTypeAnnotation=z6;y.booleanTypeAnnotation=W6;y.breakStatement=T4;y.callExpression=S4;y.catchClause=x4;y.classAccessorProperty=M6;y.classBody=f6;y.classDeclaration=d6;y.classExpression=p6;y.classImplements=H6;y.classMethod=P6;y.classPrivateMethod=q6;y.classPrivateProperty=R6;y.classProperty=L6;y.conditionalExpression=P4;y.continueStatement=A4;y.debuggerStatement=C4;y.decimalLiteral=CR;y.declareClass=Y6;y.declareExportAllDeclaration=i5;y.declareExportDeclaration=n5;y.declareFunction=X6;y.declareInterface=J6;y.declareModule=Q6;y.declareModuleExports=Z6;y.declareOpaqueType=t5;y.declareTypeAlias=e5;y.declareVariable=r5;y.declaredPredicate=s5;y.decorator=TR;y.directive=b4;y.directiveLiteral=E4;y.doExpression=SR;y.doWhileStatement=w4;y.emptyStatement=D4;y.emptyTypeAnnotation=y5;y.enumBooleanBody=K5;y.enumBooleanMember=H5;y.enumDeclaration=$5;y.enumDefaultedMember=J5;y.enumNumberBody=W5;y.enumNumberMember=Y5;y.enumStringBody=z5;y.enumStringMember=X5;y.enumSymbolBody=G5;y.existsTypeAnnotation=a5;y.exportAllDeclaration=h6;y.exportDefaultDeclaration=m6;y.exportDefaultSpecifier=xR;y.exportNamedDeclaration=y6;y.exportNamespaceSpecifier=F6;y.exportSpecifier=g6;y.expressionStatement=I4;y.file=_4;y.forInStatement=O4;y.forOfStatement=b6;y.forStatement=N4;y.functionDeclaration=k4;y.functionExpression=F4;y.functionTypeAnnotation=o5;y.functionTypeParam=l5;y.genericTypeAnnotation=u5;y.identifier=B4;y.ifStatement=j4;y.import=N6;y.importAttribute=vR;y.importDeclaration=E6;y.importDefaultSpecifier=v6;y.importNamespaceSpecifier=T6;y.importSpecifier=S6;y.indexedAccessType=Q5;y.inferredPredicate=c5;y.interfaceDeclaration=p5;y.interfaceExtends=f5;y.interfaceTypeAnnotation=d5;y.interpreterDirective=g4;y.intersectionTypeAnnotation=h5;y.jSXAttribute=y.jsxAttribute=eR;y.jSXClosingElement=y.jsxClosingElement=tR;y.jSXClosingFragment=y.jsxClosingFragment=hR;y.jSXElement=y.jsxElement=rR;y.jSXEmptyExpression=y.jsxEmptyExpression=nR;y.jSXExpressionContainer=y.jsxExpressionContainer=iR;y.jSXFragment=y.jsxFragment=pR;y.jSXIdentifier=y.jsxIdentifier=aR;y.jSXMemberExpression=y.jsxMemberExpression=oR;y.jSXNamespacedName=y.jsxNamespacedName=lR;y.jSXOpeningElement=y.jsxOpeningElement=uR;y.jSXOpeningFragment=y.jsxOpeningFragment=dR;y.jSXSpreadAttribute=y.jsxSpreadAttribute=cR;y.jSXSpreadChild=y.jsxSpreadChild=sR;y.jSXText=y.jsxText=fR;y.labeledStatement=L4;y.logicalExpression=U4;y.memberExpression=V4;y.metaProperty=x6;y.mixedTypeAnnotation=m5;y.moduleExpression=wR;y.newExpression=$4;y.noop=mR;y.nullLiteral=R4;y.nullLiteralTypeAnnotation=G6;y.nullableTypeAnnotation=g5;y.numberLiteral=$9;y.numberLiteralTypeAnnotation=b5;y.numberTypeAnnotation=E5;y.numericLiteral=j1;y.objectExpression=W4;y.objectMethod=z4;y.objectPattern=A6;y.objectProperty=G4;y.objectTypeAnnotation=v5;y.objectTypeCallProperty=S5;y.objectTypeIndexer=x5;y.objectTypeInternalSlot=T5;y.objectTypeProperty=P5;y.objectTypeSpreadProperty=A5;y.opaqueType=C5;y.optionalCallExpression=j6;y.optionalIndexedAccessType=Z5;y.optionalMemberExpression=B6;y.parenthesizedExpression=X4;y.pipelineBareFunction=_R;y.pipelinePrimaryTopicReference=OR;y.pipelineTopicExpression=IR;y.placeholder=yR;y.privateName=U6;y.program=K4;y.qualifiedTypeIdentifier=w5;y.recordExpression=PR;y.regExpLiteral=L1;y.regexLiteral=K9;y.restElement=M1;y.restProperty=W9;y.returnStatement=H4;y.sequenceExpression=Y4;y.spreadElement=R1;y.spreadProperty=z9;y.staticBlock=V6;y.stringLiteral=M4;y.stringLiteralTypeAnnotation=D5;y.stringTypeAnnotation=I5;y.super=C6;y.switchCase=J4;y.switchStatement=Q4;y.symbolTypeAnnotation=_5;y.taggedTemplateExpression=w6;y.templateElement=D6;y.templateLiteral=I6;y.thisExpression=Z4;y.thisTypeAnnotation=O5;y.throwStatement=e6;y.topicReference=DR;y.tryStatement=t6;y.tSAnyKeyword=y.tsAnyKeyword=UR;y.tSArrayType=y.tsArrayType=o9;y.tSAsExpression=y.tsAsExpression=C9;y.tSBigIntKeyword=y.tsBigIntKeyword=$R;y.tSBooleanKeyword=y.tsBooleanKeyword=VR;y.tSCallSignatureDeclaration=y.tsCallSignatureDeclaration=jR;y.tSConditionalType=y.tsConditionalType=h9;y.tSConstructSignatureDeclaration=y.tsConstructSignatureDeclaration=LR;y.tSConstructorType=y.tsConstructorType=r9;y.tSDeclareFunction=y.tsDeclareFunction=kR;y.tSDeclareMethod=y.tsDeclareMethod=FR;y.tSEnumDeclaration=y.tsEnumDeclaration=I9;y.tSEnumMember=y.tsEnumMember=_9;y.tSExportAssignment=y.tsExportAssignment=L9;y.tSExpressionWithTypeArguments=y.tsExpressionWithTypeArguments=T9;y.tSExternalModuleReference=y.tsExternalModuleReference=B9;y.tSFunctionType=y.tsFunctionType=t9;y.tSImportEqualsDeclaration=y.tsImportEqualsDeclaration=F9;y.tSImportType=y.tsImportType=k9;y.tSIndexSignature=y.tsIndexSignature=qR;y.tSIndexedAccessType=y.tsIndexedAccessType=b9;y.tSInferType=y.tsInferType=m9;y.tSInstantiationExpression=y.tsInstantiationExpression=A9;y.tSInterfaceBody=y.tsInterfaceBody=x9;y.tSInterfaceDeclaration=y.tsInterfaceDeclaration=S9;y.tSIntersectionType=y.tsIntersectionType=d9;y.tSIntrinsicKeyword=y.tsIntrinsicKeyword=KR;y.tSLiteralType=y.tsLiteralType=v9;y.tSMappedType=y.tsMappedType=E9;y.tSMethodSignature=y.tsMethodSignature=RR;y.tSModuleBlock=y.tsModuleBlock=N9;y.tSModuleDeclaration=y.tsModuleDeclaration=O9;y.tSNamedTupleMember=y.tsNamedTupleMember=f9;y.tSNamespaceExportDeclaration=y.tsNamespaceExportDeclaration=M9;y.tSNeverKeyword=y.tsNeverKeyword=WR;y.tSNonNullExpression=y.tsNonNullExpression=j9;y.tSNullKeyword=y.tsNullKeyword=zR;y.tSNumberKeyword=y.tsNumberKeyword=GR;y.tSObjectKeyword=y.tsObjectKeyword=HR;y.tSOptionalType=y.tsOptionalType=u9;y.tSParameterProperty=y.tsParameterProperty=NR;y.tSParenthesizedType=y.tsParenthesizedType=y9;y.tSPropertySignature=y.tsPropertySignature=MR;y.tSQualifiedName=y.tsQualifiedName=BR;y.tSRestType=y.tsRestType=c9;y.tSSatisfiesExpression=y.tsSatisfiesExpression=w9;y.tSStringKeyword=y.tsStringKeyword=YR;y.tSSymbolKeyword=y.tsSymbolKeyword=XR;y.tSThisType=y.tsThisType=e9;y.tSTupleType=y.tsTupleType=l9;y.tSTypeAliasDeclaration=y.tsTypeAliasDeclaration=P9;y.tSTypeAnnotation=y.tsTypeAnnotation=R9;y.tSTypeAssertion=y.tsTypeAssertion=D9;y.tSTypeLiteral=y.tsTypeLiteral=a9;y.tSTypeOperator=y.tsTypeOperator=g9;y.tSTypeParameter=y.tsTypeParameter=V9;y.tSTypeParameterDeclaration=y.tsTypeParameterDeclaration=U9;y.tSTypeParameterInstantiation=y.tsTypeParameterInstantiation=q9;y.tSTypePredicate=y.tsTypePredicate=i9;y.tSTypeQuery=y.tsTypeQuery=s9;y.tSTypeReference=y.tsTypeReference=n9;y.tSUndefinedKeyword=y.tsUndefinedKeyword=JR;y.tSUnionType=y.tsUnionType=p9;y.tSUnknownKeyword=y.tsUnknownKeyword=QR;y.tSVoidKeyword=y.tsVoidKeyword=ZR;y.tupleExpression=AR;y.tupleTypeAnnotation=N5;y.typeAlias=F5;y.typeAnnotation=B5;y.typeCastExpression=j5;y.typeParameter=L5;y.typeParameterDeclaration=M5;y.typeParameterInstantiation=R5;y.typeofTypeAnnotation=k5;y.unaryExpression=r6;y.unionTypeAnnotation=q5;y.updateExpression=n6;y.v8IntrinsicIdentifier=gR;y.variableDeclaration=i6;y.variableDeclarator=s6;y.variance=U5;y.voidTypeAnnotation=V5;y.whileStatement=a6;y.withStatement=o6;y.yieldExpression=_6;var N=B1(),Fl=Aa();function h4(e=[]){return(0,N.default)({type:"ArrayExpression",elements:e})}function m4(e,t,r){return(0,N.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function y4(e,t,r){return(0,N.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function g4(e){return(0,N.default)({type:"InterpreterDirective",value:e})}function b4(e){return(0,N.default)({type:"Directive",value:e})}function E4(e){return(0,N.default)({type:"DirectiveLiteral",value:e})}function v4(e,t=[]){return(0,N.default)({type:"BlockStatement",body:e,directives:t})}function T4(e=null){return(0,N.default)({type:"BreakStatement",label:e})}function S4(e,t){return(0,N.default)({type:"CallExpression",callee:e,arguments:t})}function x4(e=null,t){return(0,N.default)({type:"CatchClause",param:e,body:t})}function P4(e,t,r){return(0,N.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function A4(e=null){return(0,N.default)({type:"ContinueStatement",label:e})}function C4(){return{type:"DebuggerStatement"}}function w4(e,t){return(0,N.default)({type:"DoWhileStatement",test:e,body:t})}function D4(){return{type:"EmptyStatement"}}function I4(e){return(0,N.default)({type:"ExpressionStatement",expression:e})}function _4(e,t=null,r=null){return(0,N.default)({type:"File",program:e,comments:t,tokens:r})}function O4(e,t,r){return(0,N.default)({type:"ForInStatement",left:e,right:t,body:r})}function N4(e=null,t=null,r=null,n){return(0,N.default)({type:"ForStatement",init:e,test:t,update:r,body:n})}function k4(e=null,t,r,n=!1,i=!1){return(0,N.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:i})}function F4(e=null,t,r,n=!1,i=!1){return(0,N.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:i})}function B4(e){return(0,N.default)({type:"Identifier",name:e})}function j4(e,t,r=null){return(0,N.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function L4(e,t){return(0,N.default)({type:"LabeledStatement",label:e,body:t})}function M4(e){return(0,N.default)({type:"StringLiteral",value:e})}function j1(e){return(0,N.default)({type:"NumericLiteral",value:e})}function R4(){return{type:"NullLiteral"}}function q4(e){return(0,N.default)({type:"BooleanLiteral",value:e})}function L1(e,t=""){return(0,N.default)({type:"RegExpLiteral",pattern:e,flags:t})}function U4(e,t,r){return(0,N.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function V4(e,t,r=!1,n=null){return(0,N.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:n})}function $4(e,t){return(0,N.default)({type:"NewExpression",callee:e,arguments:t})}function K4(e,t=[],r="script",n=null){return(0,N.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:n,sourceFile:null})}function W4(e){return(0,N.default)({type:"ObjectExpression",properties:e})}function z4(e="method",t,r,n,i=!1,s=!1,a=!1){return(0,N.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:i,generator:s,async:a})}function G4(e,t,r=!1,n=!1,i=null){return(0,N.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:i})}function M1(e){return(0,N.default)({type:"RestElement",argument:e})}function H4(e=null){return(0,N.default)({type:"ReturnStatement",argument:e})}function Y4(e){return(0,N.default)({type:"SequenceExpression",expressions:e})}function X4(e){return(0,N.default)({type:"ParenthesizedExpression",expression:e})}function J4(e=null,t){return(0,N.default)({type:"SwitchCase",test:e,consequent:t})}function Q4(e,t){return(0,N.default)({type:"SwitchStatement",discriminant:e,cases:t})}function Z4(){return{type:"ThisExpression"}}function e6(e){return(0,N.default)({type:"ThrowStatement",argument:e})}function t6(e,t=null,r=null){return(0,N.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function r6(e,t,r=!0){return(0,N.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function n6(e,t,r=!1){return(0,N.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function i6(e,t){return(0,N.default)({type:"VariableDeclaration",kind:e,declarations:t})}function s6(e,t=null){return(0,N.default)({type:"VariableDeclarator",id:e,init:t})}function a6(e,t){return(0,N.default)({type:"WhileStatement",test:e,body:t})}function o6(e,t){return(0,N.default)({type:"WithStatement",object:e,body:t})}function l6(e,t){return(0,N.default)({type:"AssignmentPattern",left:e,right:t})}function u6(e){return(0,N.default)({type:"ArrayPattern",elements:e})}function c6(e,t,r=!1){return(0,N.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function f6(e){return(0,N.default)({type:"ClassBody",body:e})}function p6(e=null,t=null,r,n=null){return(0,N.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:n})}function d6(e,t=null,r,n=null){return(0,N.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n})}function h6(e){return(0,N.default)({type:"ExportAllDeclaration",source:e})}function m6(e){return(0,N.default)({type:"ExportDefaultDeclaration",declaration:e})}function y6(e=null,t=[],r=null){return(0,N.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function g6(e,t){return(0,N.default)({type:"ExportSpecifier",local:e,exported:t})}function b6(e,t,r,n=!1){return(0,N.default)({type:"ForOfStatement",left:e,right:t,body:r,await:n})}function E6(e,t){return(0,N.default)({type:"ImportDeclaration",specifiers:e,source:t})}function v6(e){return(0,N.default)({type:"ImportDefaultSpecifier",local:e})}function T6(e){return(0,N.default)({type:"ImportNamespaceSpecifier",local:e})}function S6(e,t){return(0,N.default)({type:"ImportSpecifier",local:e,imported:t})}function x6(e,t){return(0,N.default)({type:"MetaProperty",meta:e,property:t})}function P6(e="method",t,r,n,i=!1,s=!1,a=!1,o=!1){return(0,N.default)({type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:i,static:s,generator:a,async:o})}function A6(e){return(0,N.default)({type:"ObjectPattern",properties:e})}function R1(e){return(0,N.default)({type:"SpreadElement",argument:e})}function C6(){return{type:"Super"}}function w6(e,t){return(0,N.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function D6(e,t=!1){return(0,N.default)({type:"TemplateElement",value:e,tail:t})}function I6(e,t){return(0,N.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function _6(e=null,t=!1){return(0,N.default)({type:"YieldExpression",argument:e,delegate:t})}function O6(e){return(0,N.default)({type:"AwaitExpression",argument:e})}function N6(){return{type:"Import"}}function k6(e){return(0,N.default)({type:"BigIntLiteral",value:e})}function F6(e){return(0,N.default)({type:"ExportNamespaceSpecifier",exported:e})}function B6(e,t,r=!1,n){return(0,N.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n})}function j6(e,t,r){return(0,N.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function L6(e,t=null,r=null,n=null,i=!1,s=!1){return(0,N.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:s})}function M6(e,t=null,r=null,n=null,i=!1,s=!1){return(0,N.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:s})}function R6(e,t=null,r=null,n=!1){return(0,N.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n})}function q6(e="method",t,r,n,i=!1){return(0,N.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:i})}function U6(e){return(0,N.default)({type:"PrivateName",id:e})}function V6(e){return(0,N.default)({type:"StaticBlock",body:e})}function $6(){return{type:"AnyTypeAnnotation"}}function K6(e){return(0,N.default)({type:"ArrayTypeAnnotation",elementType:e})}function W6(){return{type:"BooleanTypeAnnotation"}}function z6(e){return(0,N.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function G6(){return{type:"NullLiteralTypeAnnotation"}}function H6(e,t=null){return(0,N.default)({type:"ClassImplements",id:e,typeParameters:t})}function Y6(e,t=null,r=null,n){return(0,N.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n})}function X6(e){return(0,N.default)({type:"DeclareFunction",id:e})}function J6(e,t=null,r=null,n){return(0,N.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n})}function Q6(e,t,r=null){return(0,N.default)({type:"DeclareModule",id:e,body:t,kind:r})}function Z6(e){return(0,N.default)({type:"DeclareModuleExports",typeAnnotation:e})}function e5(e,t=null,r){return(0,N.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function t5(e,t=null,r=null){return(0,N.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function r5(e){return(0,N.default)({type:"DeclareVariable",id:e})}function n5(e=null,t=null,r=null){return(0,N.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function i5(e){return(0,N.default)({type:"DeclareExportAllDeclaration",source:e})}function s5(e){return(0,N.default)({type:"DeclaredPredicate",value:e})}function a5(){return{type:"ExistsTypeAnnotation"}}function o5(e=null,t,r=null,n){return(0,N.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n})}function l5(e=null,t){return(0,N.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function u5(e,t=null){return(0,N.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function c5(){return{type:"InferredPredicate"}}function f5(e,t=null){return(0,N.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function p5(e,t=null,r=null,n){return(0,N.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n})}function d5(e=null,t){return(0,N.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function h5(e){return(0,N.default)({type:"IntersectionTypeAnnotation",types:e})}function m5(){return{type:"MixedTypeAnnotation"}}function y5(){return{type:"EmptyTypeAnnotation"}}function g5(e){return(0,N.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function b5(e){return(0,N.default)({type:"NumberLiteralTypeAnnotation",value:e})}function E5(){return{type:"NumberTypeAnnotation"}}function v5(e,t=[],r=[],n=[],i=!1){return(0,N.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:i})}function T5(e,t,r,n,i){return(0,N.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:i})}function S5(e){return(0,N.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function x5(e=null,t,r,n=null){return(0,N.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null})}function P5(e,t,r=null){return(0,N.default)({type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function A5(e){return(0,N.default)({type:"ObjectTypeSpreadProperty",argument:e})}function C5(e,t=null,r=null,n){return(0,N.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n})}function w5(e,t){return(0,N.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function D5(e){return(0,N.default)({type:"StringLiteralTypeAnnotation",value:e})}function I5(){return{type:"StringTypeAnnotation"}}function _5(){return{type:"SymbolTypeAnnotation"}}function O5(){return{type:"ThisTypeAnnotation"}}function N5(e){return(0,N.default)({type:"TupleTypeAnnotation",types:e})}function k5(e){return(0,N.default)({type:"TypeofTypeAnnotation",argument:e})}function F5(e,t=null,r){return(0,N.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function B5(e){return(0,N.default)({type:"TypeAnnotation",typeAnnotation:e})}function j5(e,t){return(0,N.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function L5(e=null,t=null,r=null){return(0,N.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function M5(e){return(0,N.default)({type:"TypeParameterDeclaration",params:e})}function R5(e){return(0,N.default)({type:"TypeParameterInstantiation",params:e})}function q5(e){return(0,N.default)({type:"UnionTypeAnnotation",types:e})}function U5(e){return(0,N.default)({type:"Variance",kind:e})}function V5(){return{type:"VoidTypeAnnotation"}}function $5(e,t){return(0,N.default)({type:"EnumDeclaration",id:e,body:t})}function K5(e){return(0,N.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function W5(e){return(0,N.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function z5(e){return(0,N.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function G5(e){return(0,N.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function H5(e){return(0,N.default)({type:"EnumBooleanMember",id:e,init:null})}function Y5(e,t){return(0,N.default)({type:"EnumNumberMember",id:e,init:t})}function X5(e,t){return(0,N.default)({type:"EnumStringMember",id:e,init:t})}function J5(e){return(0,N.default)({type:"EnumDefaultedMember",id:e})}function Q5(e,t){return(0,N.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function Z5(e,t){return(0,N.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function eR(e,t=null){return(0,N.default)({type:"JSXAttribute",name:e,value:t})}function tR(e){return(0,N.default)({type:"JSXClosingElement",name:e})}function rR(e,t=null,r,n=null){return(0,N.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n})}function nR(){return{type:"JSXEmptyExpression"}}function iR(e){return(0,N.default)({type:"JSXExpressionContainer",expression:e})}function sR(e){return(0,N.default)({type:"JSXSpreadChild",expression:e})}function aR(e){return(0,N.default)({type:"JSXIdentifier",name:e})}function oR(e,t){return(0,N.default)({type:"JSXMemberExpression",object:e,property:t})}function lR(e,t){return(0,N.default)({type:"JSXNamespacedName",namespace:e,name:t})}function uR(e,t,r=!1){return(0,N.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function cR(e){return(0,N.default)({type:"JSXSpreadAttribute",argument:e})}function fR(e){return(0,N.default)({type:"JSXText",value:e})}function pR(e,t,r){return(0,N.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function dR(){return{type:"JSXOpeningFragment"}}function hR(){return{type:"JSXClosingFragment"}}function mR(){return{type:"Noop"}}function yR(e,t){return(0,N.default)({type:"Placeholder",expectedNode:e,name:t})}function gR(e){return(0,N.default)({type:"V8IntrinsicIdentifier",name:e})}function bR(){return{type:"ArgumentPlaceholder"}}function ER(e,t){return(0,N.default)({type:"BindExpression",object:e,callee:t})}function vR(e,t){return(0,N.default)({type:"ImportAttribute",key:e,value:t})}function TR(e){return(0,N.default)({type:"Decorator",expression:e})}function SR(e,t=!1){return(0,N.default)({type:"DoExpression",body:e,async:t})}function xR(e){return(0,N.default)({type:"ExportDefaultSpecifier",exported:e})}function PR(e){return(0,N.default)({type:"RecordExpression",properties:e})}function AR(e=[]){return(0,N.default)({type:"TupleExpression",elements:e})}function CR(e){return(0,N.default)({type:"DecimalLiteral",value:e})}function wR(e){return(0,N.default)({type:"ModuleExpression",body:e})}function DR(){return{type:"TopicReference"}}function IR(e){return(0,N.default)({type:"PipelineTopicExpression",expression:e})}function _R(e){return(0,N.default)({type:"PipelineBareFunction",callee:e})}function OR(){return{type:"PipelinePrimaryTopicReference"}}function NR(e){return(0,N.default)({type:"TSParameterProperty",parameter:e})}function kR(e=null,t=null,r,n=null){return(0,N.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n})}function FR(e=null,t,r=null,n,i=null){return(0,N.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:i})}function BR(e,t){return(0,N.default)({type:"TSQualifiedName",left:e,right:t})}function jR(e=null,t,r=null){return(0,N.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function LR(e=null,t,r=null){return(0,N.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function MR(e,t=null,r=null){return(0,N.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:r,kind:null})}function RR(e,t=null,r,n=null){return(0,N.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null})}function qR(e,t=null){return(0,N.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function UR(){return{type:"TSAnyKeyword"}}function VR(){return{type:"TSBooleanKeyword"}}function $R(){return{type:"TSBigIntKeyword"}}function KR(){return{type:"TSIntrinsicKeyword"}}function WR(){return{type:"TSNeverKeyword"}}function zR(){return{type:"TSNullKeyword"}}function GR(){return{type:"TSNumberKeyword"}}function HR(){return{type:"TSObjectKeyword"}}function YR(){return{type:"TSStringKeyword"}}function XR(){return{type:"TSSymbolKeyword"}}function JR(){return{type:"TSUndefinedKeyword"}}function QR(){return{type:"TSUnknownKeyword"}}function ZR(){return{type:"TSVoidKeyword"}}function e9(){return{type:"TSThisType"}}function t9(e=null,t,r=null){return(0,N.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function r9(e=null,t,r=null){return(0,N.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function n9(e,t=null){return(0,N.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function i9(e,t=null,r=null){return(0,N.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function s9(e,t=null){return(0,N.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function a9(e){return(0,N.default)({type:"TSTypeLiteral",members:e})}function o9(e){return(0,N.default)({type:"TSArrayType",elementType:e})}function l9(e){return(0,N.default)({type:"TSTupleType",elementTypes:e})}function u9(e){return(0,N.default)({type:"TSOptionalType",typeAnnotation:e})}function c9(e){return(0,N.default)({type:"TSRestType",typeAnnotation:e})}function f9(e,t,r=!1){return(0,N.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function p9(e){return(0,N.default)({type:"TSUnionType",types:e})}function d9(e){return(0,N.default)({type:"TSIntersectionType",types:e})}function h9(e,t,r,n){return(0,N.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n})}function m9(e){return(0,N.default)({type:"TSInferType",typeParameter:e})}function y9(e){return(0,N.default)({type:"TSParenthesizedType",typeAnnotation:e})}function g9(e){return(0,N.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function b9(e,t){return(0,N.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})}function E9(e,t=null,r=null){return(0,N.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r})}function v9(e){return(0,N.default)({type:"TSLiteralType",literal:e})}function T9(e,t=null){return(0,N.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function S9(e,t=null,r=null,n){return(0,N.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n})}function x9(e){return(0,N.default)({type:"TSInterfaceBody",body:e})}function P9(e,t=null,r){return(0,N.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r})}function A9(e,t=null){return(0,N.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})}function C9(e,t){return(0,N.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function w9(e,t){return(0,N.default)({type:"TSSatisfiesExpression",expression:e,typeAnnotation:t})}function D9(e,t){return(0,N.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function I9(e,t){return(0,N.default)({type:"TSEnumDeclaration",id:e,members:t})}function _9(e,t=null){return(0,N.default)({type:"TSEnumMember",id:e,initializer:t})}function O9(e,t){return(0,N.default)({type:"TSModuleDeclaration",id:e,body:t})}function N9(e){return(0,N.default)({type:"TSModuleBlock",body:e})}function k9(e,t=null,r=null){return(0,N.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function F9(e,t){return(0,N.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function B9(e){return(0,N.default)({type:"TSExternalModuleReference",expression:e})}function j9(e){return(0,N.default)({type:"TSNonNullExpression",expression:e})}function L9(e){return(0,N.default)({type:"TSExportAssignment",expression:e})}function M9(e){return(0,N.default)({type:"TSNamespaceExportDeclaration",id:e})}function R9(e){return(0,N.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function q9(e){return(0,N.default)({type:"TSTypeParameterInstantiation",params:e})}function U9(e){return(0,N.default)({type:"TSTypeParameterDeclaration",params:e})}function V9(e=null,t=null,r){return(0,N.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function $9(e){return(0,Fl.default)("NumberLiteral","NumericLiteral","The node type "),j1(e)}function K9(e,t=""){return(0,Fl.default)("RegexLiteral","RegExpLiteral","The node type "),L1(e,t)}function W9(e){return(0,Fl.default)("RestProperty","RestElement","The node type "),M1(e)}function z9(e){return(0,Fl.default)("SpreadProperty","SpreadElement","The node type "),R1(e)}});var q1=g(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.default=Y9;var G9=lr(),H9=ye();function Y9(e,t){let r=e.value.split(/\r\n|\n|\r/),n=0;for(let s=0;s<r.length;s++)r[s].match(/[^ \t]/)&&(n=s);let i="";for(let s=0;s<r.length;s++){let a=r[s],o=s===0,l=s===r.length-1,u=s===n,c=a.replace(/\t/g," ");o||(c=c.replace(/^[ ]+/,"")),l||(c=c.replace(/[ ]+$/,"")),c&&(u||(c+=" "),i+=c)}i&&t.push((0,H9.inherits)((0,G9.stringLiteral)(i),e))}});var U1=g(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.default=J9;var kd=St(),X9=q1();function J9(e){let t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];if((0,kd.isJSXText)(n)){(0,X9.default)(n,t);continue}(0,kd.isJSXExpressionContainer)(n)&&(n=n.expression),!(0,kd.isJSXEmptyExpression)(n)&&t.push(n)}return t}});var jd=g(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=Z9;var Q9=xr();function Z9(e){return!!(e&&Q9.VISITOR_KEYS[e.type])}});var V1=g(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.default=t7;var e7=jd();function t7(e){if(!(0,e7.default)(e)){var t;let r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}});var $1=g(T=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});T.assertAccessor=yK;T.assertAnyTypeAnnotation=jq;T.assertArgumentPlaceholder=fV;T.assertArrayExpression=n7;T.assertArrayPattern=tq;T.assertArrayTypeAnnotation=Lq;T.assertArrowFunctionExpression=rq;T.assertAssignmentExpression=i7;T.assertAssignmentPattern=eq;T.assertAwaitExpression=Pq;T.assertBigIntLiteral=Cq;T.assertBinary=M$;T.assertBinaryExpression=s7;T.assertBindExpression=pV;T.assertBlock=U$;T.assertBlockParent=q$;T.assertBlockStatement=u7;T.assertBooleanLiteral=_7;T.assertBooleanLiteralTypeAnnotation=Rq;T.assertBooleanTypeAnnotation=Mq;T.assertBreakStatement=c7;T.assertCallExpression=f7;T.assertCatchClause=p7;T.assertClass=pK;T.assertClassAccessorProperty=Oq;T.assertClassBody=nq;T.assertClassDeclaration=sq;T.assertClassExpression=iq;T.assertClassImplements=Uq;T.assertClassMethod=yq;T.assertClassPrivateMethod=kq;T.assertClassPrivateProperty=Nq;T.assertClassProperty=_q;T.assertCompletionStatement=K$;T.assertConditional=W$;T.assertConditionalExpression=d7;T.assertContinueStatement=h7;T.assertDebuggerStatement=m7;T.assertDecimalLiteral=EV;T.assertDeclaration=eK;T.assertDeclareClass=Vq;T.assertDeclareExportAllDeclaration=Jq;T.assertDeclareExportDeclaration=Xq;T.assertDeclareFunction=$q;T.assertDeclareInterface=Kq;T.assertDeclareModule=Wq;T.assertDeclareModuleExports=zq;T.assertDeclareOpaqueType=Hq;T.assertDeclareTypeAlias=Gq;T.assertDeclareVariable=Yq;T.assertDeclaredPredicate=Qq;T.assertDecorator=hV;T.assertDirective=o7;T.assertDirectiveLiteral=l7;T.assertDoExpression=mV;T.assertDoWhileStatement=y7;T.assertEmptyStatement=g7;T.assertEmptyTypeAnnotation=uU;T.assertEnumBody=xK;T.assertEnumBooleanBody=LU;T.assertEnumBooleanMember=UU;T.assertEnumDeclaration=jU;T.assertEnumDefaultedMember=KU;T.assertEnumMember=PK;T.assertEnumNumberBody=MU;T.assertEnumNumberMember=VU;T.assertEnumStringBody=RU;T.assertEnumStringMember=$U;T.assertEnumSymbolBody=qU;T.assertExistsTypeAnnotation=Zq;T.assertExportAllDeclaration=aq;T.assertExportDeclaration=hK;T.assertExportDefaultDeclaration=oq;T.assertExportDefaultSpecifier=yV;T.assertExportNamedDeclaration=lq;T.assertExportNamespaceSpecifier=wq;T.assertExportSpecifier=uq;T.assertExpression=L$;T.assertExpressionStatement=b7;T.assertExpressionWrapper=H$;T.assertFile=E7;T.assertFlow=bK;T.assertFlowBaseAnnotation=vK;T.assertFlowDeclaration=TK;T.assertFlowPredicate=SK;T.assertFlowType=EK;T.assertFor=Y$;T.assertForInStatement=v7;T.assertForOfStatement=cq;T.assertForStatement=T7;T.assertForXStatement=X$;T.assertFunction=J$;T.assertFunctionDeclaration=S7;T.assertFunctionExpression=x7;T.assertFunctionParent=Q$;T.assertFunctionTypeAnnotation=eU;T.assertFunctionTypeParam=tU;T.assertGenericTypeAnnotation=rU;T.assertIdentifier=P7;T.assertIfStatement=A7;T.assertImmutable=sK;T.assertImport=Aq;T.assertImportAttribute=dV;T.assertImportDeclaration=fq;T.assertImportDefaultSpecifier=pq;T.assertImportNamespaceSpecifier=dq;T.assertImportOrExportDeclaration=dK;T.assertImportSpecifier=hq;T.assertIndexedAccessType=WU;T.assertInferredPredicate=nU;T.assertInterfaceDeclaration=sU;T.assertInterfaceExtends=iU;T.assertInterfaceTypeAnnotation=aU;T.assertInterpreterDirective=a7;T.assertIntersectionTypeAnnotation=oU;T.assertJSX=AK;T.assertJSXAttribute=GU;T.assertJSXClosingElement=HU;T.assertJSXClosingFragment=oV;T.assertJSXElement=YU;T.assertJSXEmptyExpression=XU;T.assertJSXExpressionContainer=JU;T.assertJSXFragment=sV;T.assertJSXIdentifier=ZU;T.assertJSXMemberExpression=eV;T.assertJSXNamespacedName=tV;T.assertJSXOpeningElement=rV;T.assertJSXOpeningFragment=aV;T.assertJSXSpreadAttribute=nV;T.assertJSXSpreadChild=QU;T.assertJSXText=iV;T.assertLVal=rK;T.assertLabeledStatement=C7;T.assertLiteral=iK;T.assertLogicalExpression=N7;T.assertLoop=z$;T.assertMemberExpression=k7;T.assertMetaProperty=mq;T.assertMethod=oK;T.assertMiscellaneous=CK;T.assertMixedTypeAnnotation=lU;T.assertModuleDeclaration=BK;T.assertModuleExpression=vV;T.assertModuleSpecifier=mK;T.assertNewExpression=F7;T.assertNoop=lV;T.assertNullLiteral=I7;T.assertNullLiteralTypeAnnotation=qq;T.assertNullableTypeAnnotation=cU;T.assertNumberLiteral=OK;T.assertNumberLiteralTypeAnnotation=fU;T.assertNumberTypeAnnotation=pU;T.assertNumericLiteral=D7;T.assertObjectExpression=j7;T.assertObjectMember=lK;T.assertObjectMethod=L7;T.assertObjectPattern=gq;T.assertObjectProperty=M7;T.assertObjectTypeAnnotation=dU;T.assertObjectTypeCallProperty=mU;T.assertObjectTypeIndexer=yU;T.assertObjectTypeInternalSlot=hU;T.assertObjectTypeProperty=gU;T.assertObjectTypeSpreadProperty=bU;T.assertOpaqueType=EU;T.assertOptionalCallExpression=Iq;T.assertOptionalIndexedAccessType=zU;T.assertOptionalMemberExpression=Dq;T.assertParenthesizedExpression=V7;T.assertPattern=fK;T.assertPatternLike=tK;T.assertPipelineBareFunction=xV;T.assertPipelinePrimaryTopicReference=PV;T.assertPipelineTopicExpression=SV;T.assertPlaceholder=uV;T.assertPrivate=gK;T.assertPrivateName=Fq;T.assertProgram=B7;T.assertProperty=uK;T.assertPureish=Z$;T.assertQualifiedTypeIdentifier=vU;T.assertRecordExpression=gV;T.assertRegExpLiteral=O7;T.assertRegexLiteral=NK;T.assertRestElement=R7;T.assertRestProperty=kK;T.assertReturnStatement=q7;T.assertScopable=R$;T.assertSequenceExpression=U7;T.assertSpreadElement=bq;T.assertSpreadProperty=FK;T.assertStandardized=j$;T.assertStatement=V$;T.assertStaticBlock=Bq;T.assertStringLiteral=w7;T.assertStringLiteralTypeAnnotation=TU;T.assertStringTypeAnnotation=SU;T.assertSuper=Eq;T.assertSwitchCase=$7;T.assertSwitchStatement=K7;T.assertSymbolTypeAnnotation=xU;T.assertTSAnyKeyword=FV;T.assertTSArrayType=e$;T.assertTSAsExpression=E$;T.assertTSBaseType=_K;T.assertTSBigIntKeyword=jV;T.assertTSBooleanKeyword=BV;T.assertTSCallSignatureDeclaration=IV;T.assertTSConditionalType=o$;T.assertTSConstructSignatureDeclaration=_V;T.assertTSConstructorType=YV;T.assertTSDeclareFunction=CV;T.assertTSDeclareMethod=wV;T.assertTSEntityName=nK;T.assertTSEnumDeclaration=S$;T.assertTSEnumMember=x$;T.assertTSExportAssignment=_$;T.assertTSExpressionWithTypeArguments=h$;T.assertTSExternalModuleReference=D$;T.assertTSFunctionType=HV;T.assertTSImportEqualsDeclaration=w$;T.assertTSImportType=C$;T.assertTSIndexSignature=kV;T.assertTSIndexedAccessType=f$;T.assertTSInferType=l$;T.assertTSInstantiationExpression=b$;T.assertTSInterfaceBody=y$;T.assertTSInterfaceDeclaration=m$;T.assertTSIntersectionType=a$;T.assertTSIntrinsicKeyword=LV;T.assertTSLiteralType=d$;T.assertTSMappedType=p$;T.assertTSMethodSignature=NV;T.assertTSModuleBlock=A$;T.assertTSModuleDeclaration=P$;T.assertTSNamedTupleMember=i$;T.assertTSNamespaceExportDeclaration=O$;T.assertTSNeverKeyword=MV;T.assertTSNonNullExpression=I$;T.assertTSNullKeyword=RV;T.assertTSNumberKeyword=qV;T.assertTSObjectKeyword=UV;T.assertTSOptionalType=r$;T.assertTSParameterProperty=AV;T.assertTSParenthesizedType=u$;T.assertTSPropertySignature=OV;T.assertTSQualifiedName=DV;T.assertTSRestType=n$;T.assertTSSatisfiesExpression=v$;T.assertTSStringKeyword=VV;T.assertTSSymbolKeyword=$V;T.assertTSThisType=GV;T.assertTSTupleType=t$;T.assertTSType=IK;T.assertTSTypeAliasDeclaration=g$;T.assertTSTypeAnnotation=N$;T.assertTSTypeAssertion=T$;T.assertTSTypeElement=DK;T.assertTSTypeLiteral=ZV;T.assertTSTypeOperator=c$;T.assertTSTypeParameter=B$;T.assertTSTypeParameterDeclaration=F$;T.assertTSTypeParameterInstantiation=k$;T.assertTSTypePredicate=JV;T.assertTSTypeQuery=QV;T.assertTSTypeReference=XV;T.assertTSUndefinedKeyword=KV;T.assertTSUnionType=s$;T.assertTSUnknownKeyword=WV;T.assertTSVoidKeyword=zV;T.assertTaggedTemplateExpression=vq;T.assertTemplateElement=Tq;T.assertTemplateLiteral=Sq;T.assertTerminatorless=$$;T.assertThisExpression=W7;T.assertThisTypeAnnotation=PU;T.assertThrowStatement=z7;T.assertTopicReference=TV;T.assertTryStatement=G7;T.assertTupleExpression=bV;T.assertTupleTypeAnnotation=AU;T.assertTypeAlias=wU;T.assertTypeAnnotation=DU;T.assertTypeCastExpression=IU;T.assertTypeParameter=_U;T.assertTypeParameterDeclaration=OU;T.assertTypeParameterInstantiation=NU;T.assertTypeScript=wK;T.assertTypeofTypeAnnotation=CU;T.assertUnaryExpression=H7;T.assertUnaryLike=cK;T.assertUnionTypeAnnotation=kU;T.assertUpdateExpression=Y7;T.assertUserWhitespacable=aK;T.assertV8IntrinsicIdentifier=cV;T.assertVariableDeclaration=X7;T.assertVariableDeclarator=J7;T.assertVariance=FU;T.assertVoidTypeAnnotation=BU;T.assertWhile=G$;T.assertWhileStatement=Q7;T.assertWithStatement=Z7;T.assertYieldExpression=xq;var r7=ss(),ja=Aa();function x(e,t,r){if(!(0,r7.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}function n7(e,t){x("ArrayExpression",e,t)}function i7(e,t){x("AssignmentExpression",e,t)}function s7(e,t){x("BinaryExpression",e,t)}function a7(e,t){x("InterpreterDirective",e,t)}function o7(e,t){x("Directive",e,t)}function l7(e,t){x("DirectiveLiteral",e,t)}function u7(e,t){x("BlockStatement",e,t)}function c7(e,t){x("BreakStatement",e,t)}function f7(e,t){x("CallExpression",e,t)}function p7(e,t){x("CatchClause",e,t)}function d7(e,t){x("ConditionalExpression",e,t)}function h7(e,t){x("ContinueStatement",e,t)}function m7(e,t){x("DebuggerStatement",e,t)}function y7(e,t){x("DoWhileStatement",e,t)}function g7(e,t){x("EmptyStatement",e,t)}function b7(e,t){x("ExpressionStatement",e,t)}function E7(e,t){x("File",e,t)}function v7(e,t){x("ForInStatement",e,t)}function T7(e,t){x("ForStatement",e,t)}function S7(e,t){x("FunctionDeclaration",e,t)}function x7(e,t){x("FunctionExpression",e,t)}function P7(e,t){x("Identifier",e,t)}function A7(e,t){x("IfStatement",e,t)}function C7(e,t){x("LabeledStatement",e,t)}function w7(e,t){x("StringLiteral",e,t)}function D7(e,t){x("NumericLiteral",e,t)}function I7(e,t){x("NullLiteral",e,t)}function _7(e,t){x("BooleanLiteral",e,t)}function O7(e,t){x("RegExpLiteral",e,t)}function N7(e,t){x("LogicalExpression",e,t)}function k7(e,t){x("MemberExpression",e,t)}function F7(e,t){x("NewExpression",e,t)}function B7(e,t){x("Program",e,t)}function j7(e,t){x("ObjectExpression",e,t)}function L7(e,t){x("ObjectMethod",e,t)}function M7(e,t){x("ObjectProperty",e,t)}function R7(e,t){x("RestElement",e,t)}function q7(e,t){x("ReturnStatement",e,t)}function U7(e,t){x("SequenceExpression",e,t)}function V7(e,t){x("ParenthesizedExpression",e,t)}function $7(e,t){x("SwitchCase",e,t)}function K7(e,t){x("SwitchStatement",e,t)}function W7(e,t){x("ThisExpression",e,t)}function z7(e,t){x("ThrowStatement",e,t)}function G7(e,t){x("TryStatement",e,t)}function H7(e,t){x("UnaryExpression",e,t)}function Y7(e,t){x("UpdateExpression",e,t)}function X7(e,t){x("VariableDeclaration",e,t)}function J7(e,t){x("VariableDeclarator",e,t)}function Q7(e,t){x("WhileStatement",e,t)}function Z7(e,t){x("WithStatement",e,t)}function eq(e,t){x("AssignmentPattern",e,t)}function tq(e,t){x("ArrayPattern",e,t)}function rq(e,t){x("ArrowFunctionExpression",e,t)}function nq(e,t){x("ClassBody",e,t)}function iq(e,t){x("ClassExpression",e,t)}function sq(e,t){x("ClassDeclaration",e,t)}function aq(e,t){x("ExportAllDeclaration",e,t)}function oq(e,t){x("ExportDefaultDeclaration",e,t)}function lq(e,t){x("ExportNamedDeclaration",e,t)}function uq(e,t){x("ExportSpecifier",e,t)}function cq(e,t){x("ForOfStatement",e,t)}function fq(e,t){x("ImportDeclaration",e,t)}function pq(e,t){x("ImportDefaultSpecifier",e,t)}function dq(e,t){x("ImportNamespaceSpecifier",e,t)}function hq(e,t){x("ImportSpecifier",e,t)}function mq(e,t){x("MetaProperty",e,t)}function yq(e,t){x("ClassMethod",e,t)}function gq(e,t){x("ObjectPattern",e,t)}function bq(e,t){x("SpreadElement",e,t)}function Eq(e,t){x("Super",e,t)}function vq(e,t){x("TaggedTemplateExpression",e,t)}function Tq(e,t){x("TemplateElement",e,t)}function Sq(e,t){x("TemplateLiteral",e,t)}function xq(e,t){x("YieldExpression",e,t)}function Pq(e,t){x("AwaitExpression",e,t)}function Aq(e,t){x("Import",e,t)}function Cq(e,t){x("BigIntLiteral",e,t)}function wq(e,t){x("ExportNamespaceSpecifier",e,t)}function Dq(e,t){x("OptionalMemberExpression",e,t)}function Iq(e,t){x("OptionalCallExpression",e,t)}function _q(e,t){x("ClassProperty",e,t)}function Oq(e,t){x("ClassAccessorProperty",e,t)}function Nq(e,t){x("ClassPrivateProperty",e,t)}function kq(e,t){x("ClassPrivateMethod",e,t)}function Fq(e,t){x("PrivateName",e,t)}function Bq(e,t){x("StaticBlock",e,t)}function jq(e,t){x("AnyTypeAnnotation",e,t)}function Lq(e,t){x("ArrayTypeAnnotation",e,t)}function Mq(e,t){x("BooleanTypeAnnotation",e,t)}function Rq(e,t){x("BooleanLiteralTypeAnnotation",e,t)}function qq(e,t){x("NullLiteralTypeAnnotation",e,t)}function Uq(e,t){x("ClassImplements",e,t)}function Vq(e,t){x("DeclareClass",e,t)}function $q(e,t){x("DeclareFunction",e,t)}function Kq(e,t){x("DeclareInterface",e,t)}function Wq(e,t){x("DeclareModule",e,t)}function zq(e,t){x("DeclareModuleExports",e,t)}function Gq(e,t){x("DeclareTypeAlias",e,t)}function Hq(e,t){x("DeclareOpaqueType",e,t)}function Yq(e,t){x("DeclareVariable",e,t)}function Xq(e,t){x("DeclareExportDeclaration",e,t)}function Jq(e,t){x("DeclareExportAllDeclaration",e,t)}function Qq(e,t){x("DeclaredPredicate",e,t)}function Zq(e,t){x("ExistsTypeAnnotation",e,t)}function eU(e,t){x("FunctionTypeAnnotation",e,t)}function tU(e,t){x("FunctionTypeParam",e,t)}function rU(e,t){x("GenericTypeAnnotation",e,t)}function nU(e,t){x("InferredPredicate",e,t)}function iU(e,t){x("InterfaceExtends",e,t)}function sU(e,t){x("InterfaceDeclaration",e,t)}function aU(e,t){x("InterfaceTypeAnnotation",e,t)}function oU(e,t){x("IntersectionTypeAnnotation",e,t)}function lU(e,t){x("MixedTypeAnnotation",e,t)}function uU(e,t){x("EmptyTypeAnnotation",e,t)}function cU(e,t){x("NullableTypeAnnotation",e,t)}function fU(e,t){x("NumberLiteralTypeAnnotation",e,t)}function pU(e,t){x("NumberTypeAnnotation",e,t)}function dU(e,t){x("ObjectTypeAnnotation",e,t)}function hU(e,t){x("ObjectTypeInternalSlot",e,t)}function mU(e,t){x("ObjectTypeCallProperty",e,t)}function yU(e,t){x("ObjectTypeIndexer",e,t)}function gU(e,t){x("ObjectTypeProperty",e,t)}function bU(e,t){x("ObjectTypeSpreadProperty",e,t)}function EU(e,t){x("OpaqueType",e,t)}function vU(e,t){x("QualifiedTypeIdentifier",e,t)}function TU(e,t){x("StringLiteralTypeAnnotation",e,t)}function SU(e,t){x("StringTypeAnnotation",e,t)}function xU(e,t){x("SymbolTypeAnnotation",e,t)}function PU(e,t){x("ThisTypeAnnotation",e,t)}function AU(e,t){x("TupleTypeAnnotation",e,t)}function CU(e,t){x("TypeofTypeAnnotation",e,t)}function wU(e,t){x("TypeAlias",e,t)}function DU(e,t){x("TypeAnnotation",e,t)}function IU(e,t){x("TypeCastExpression",e,t)}function _U(e,t){x("TypeParameter",e,t)}function OU(e,t){x("TypeParameterDeclaration",e,t)}function NU(e,t){x("TypeParameterInstantiation",e,t)}function kU(e,t){x("UnionTypeAnnotation",e,t)}function FU(e,t){x("Variance",e,t)}function BU(e,t){x("VoidTypeAnnotation",e,t)}function jU(e,t){x("EnumDeclaration",e,t)}function LU(e,t){x("EnumBooleanBody",e,t)}function MU(e,t){x("EnumNumberBody",e,t)}function RU(e,t){x("EnumStringBody",e,t)}function qU(e,t){x("EnumSymbolBody",e,t)}function UU(e,t){x("EnumBooleanMember",e,t)}function VU(e,t){x("EnumNumberMember",e,t)}function $U(e,t){x("EnumStringMember",e,t)}function KU(e,t){x("EnumDefaultedMember",e,t)}function WU(e,t){x("IndexedAccessType",e,t)}function zU(e,t){x("OptionalIndexedAccessType",e,t)}function GU(e,t){x("JSXAttribute",e,t)}function HU(e,t){x("JSXClosingElement",e,t)}function YU(e,t){x("JSXElement",e,t)}function XU(e,t){x("JSXEmptyExpression",e,t)}function JU(e,t){x("JSXExpressionContainer",e,t)}function QU(e,t){x("JSXSpreadChild",e,t)}function ZU(e,t){x("JSXIdentifier",e,t)}function eV(e,t){x("JSXMemberExpression",e,t)}function tV(e,t){x("JSXNamespacedName",e,t)}function rV(e,t){x("JSXOpeningElement",e,t)}function nV(e,t){x("JSXSpreadAttribute",e,t)}function iV(e,t){x("JSXText",e,t)}function sV(e,t){x("JSXFragment",e,t)}function aV(e,t){x("JSXOpeningFragment",e,t)}function oV(e,t){x("JSXClosingFragment",e,t)}function lV(e,t){x("Noop",e,t)}function uV(e,t){x("Placeholder",e,t)}function cV(e,t){x("V8IntrinsicIdentifier",e,t)}function fV(e,t){x("ArgumentPlaceholder",e,t)}function pV(e,t){x("BindExpression",e,t)}function dV(e,t){x("ImportAttribute",e,t)}function hV(e,t){x("Decorator",e,t)}function mV(e,t){x("DoExpression",e,t)}function yV(e,t){x("ExportDefaultSpecifier",e,t)}function gV(e,t){x("RecordExpression",e,t)}function bV(e,t){x("TupleExpression",e,t)}function EV(e,t){x("DecimalLiteral",e,t)}function vV(e,t){x("ModuleExpression",e,t)}function TV(e,t){x("TopicReference",e,t)}function SV(e,t){x("PipelineTopicExpression",e,t)}function xV(e,t){x("PipelineBareFunction",e,t)}function PV(e,t){x("PipelinePrimaryTopicReference",e,t)}function AV(e,t){x("TSParameterProperty",e,t)}function CV(e,t){x("TSDeclareFunction",e,t)}function wV(e,t){x("TSDeclareMethod",e,t)}function DV(e,t){x("TSQualifiedName",e,t)}function IV(e,t){x("TSCallSignatureDeclaration",e,t)}function _V(e,t){x("TSConstructSignatureDeclaration",e,t)}function OV(e,t){x("TSPropertySignature",e,t)}function NV(e,t){x("TSMethodSignature",e,t)}function kV(e,t){x("TSIndexSignature",e,t)}function FV(e,t){x("TSAnyKeyword",e,t)}function BV(e,t){x("TSBooleanKeyword",e,t)}function jV(e,t){x("TSBigIntKeyword",e,t)}function LV(e,t){x("TSIntrinsicKeyword",e,t)}function MV(e,t){x("TSNeverKeyword",e,t)}function RV(e,t){x("TSNullKeyword",e,t)}function qV(e,t){x("TSNumberKeyword",e,t)}function UV(e,t){x("TSObjectKeyword",e,t)}function VV(e,t){x("TSStringKeyword",e,t)}function $V(e,t){x("TSSymbolKeyword",e,t)}function KV(e,t){x("TSUndefinedKeyword",e,t)}function WV(e,t){x("TSUnknownKeyword",e,t)}function zV(e,t){x("TSVoidKeyword",e,t)}function GV(e,t){x("TSThisType",e,t)}function HV(e,t){x("TSFunctionType",e,t)}function YV(e,t){x("TSConstructorType",e,t)}function XV(e,t){x("TSTypeReference",e,t)}function JV(e,t){x("TSTypePredicate",e,t)}function QV(e,t){x("TSTypeQuery",e,t)}function ZV(e,t){x("TSTypeLiteral",e,t)}function e$(e,t){x("TSArrayType",e,t)}function t$(e,t){x("TSTupleType",e,t)}function r$(e,t){x("TSOptionalType",e,t)}function n$(e,t){x("TSRestType",e,t)}function i$(e,t){x("TSNamedTupleMember",e,t)}function s$(e,t){x("TSUnionType",e,t)}function a$(e,t){x("TSIntersectionType",e,t)}function o$(e,t){x("TSConditionalType",e,t)}function l$(e,t){x("TSInferType",e,t)}function u$(e,t){x("TSParenthesizedType",e,t)}function c$(e,t){x("TSTypeOperator",e,t)}function f$(e,t){x("TSIndexedAccessType",e,t)}function p$(e,t){x("TSMappedType",e,t)}function d$(e,t){x("TSLiteralType",e,t)}function h$(e,t){x("TSExpressionWithTypeArguments",e,t)}function m$(e,t){x("TSInterfaceDeclaration",e,t)}function y$(e,t){x("TSInterfaceBody",e,t)}function g$(e,t){x("TSTypeAliasDeclaration",e,t)}function b$(e,t){x("TSInstantiationExpression",e,t)}function E$(e,t){x("TSAsExpression",e,t)}function v$(e,t){x("TSSatisfiesExpression",e,t)}function T$(e,t){x("TSTypeAssertion",e,t)}function S$(e,t){x("TSEnumDeclaration",e,t)}function x$(e,t){x("TSEnumMember",e,t)}function P$(e,t){x("TSModuleDeclaration",e,t)}function A$(e,t){x("TSModuleBlock",e,t)}function C$(e,t){x("TSImportType",e,t)}function w$(e,t){x("TSImportEqualsDeclaration",e,t)}function D$(e,t){x("TSExternalModuleReference",e,t)}function I$(e,t){x("TSNonNullExpression",e,t)}function _$(e,t){x("TSExportAssignment",e,t)}function O$(e,t){x("TSNamespaceExportDeclaration",e,t)}function N$(e,t){x("TSTypeAnnotation",e,t)}function k$(e,t){x("TSTypeParameterInstantiation",e,t)}function F$(e,t){x("TSTypeParameterDeclaration",e,t)}function B$(e,t){x("TSTypeParameter",e,t)}function j$(e,t){x("Standardized",e,t)}function L$(e,t){x("Expression",e,t)}function M$(e,t){x("Binary",e,t)}function R$(e,t){x("Scopable",e,t)}function q$(e,t){x("BlockParent",e,t)}function U$(e,t){x("Block",e,t)}function V$(e,t){x("Statement",e,t)}function $$(e,t){x("Terminatorless",e,t)}function K$(e,t){x("CompletionStatement",e,t)}function W$(e,t){x("Conditional",e,t)}function z$(e,t){x("Loop",e,t)}function G$(e,t){x("While",e,t)}function H$(e,t){x("ExpressionWrapper",e,t)}function Y$(e,t){x("For",e,t)}function X$(e,t){x("ForXStatement",e,t)}function J$(e,t){x("Function",e,t)}function Q$(e,t){x("FunctionParent",e,t)}function Z$(e,t){x("Pureish",e,t)}function eK(e,t){x("Declaration",e,t)}function tK(e,t){x("PatternLike",e,t)}function rK(e,t){x("LVal",e,t)}function nK(e,t){x("TSEntityName",e,t)}function iK(e,t){x("Literal",e,t)}function sK(e,t){x("Immutable",e,t)}function aK(e,t){x("UserWhitespacable",e,t)}function oK(e,t){x("Method",e,t)}function lK(e,t){x("ObjectMember",e,t)}function uK(e,t){x("Property",e,t)}function cK(e,t){x("UnaryLike",e,t)}function fK(e,t){x("Pattern",e,t)}function pK(e,t){x("Class",e,t)}function dK(e,t){x("ImportOrExportDeclaration",e,t)}function hK(e,t){x("ExportDeclaration",e,t)}function mK(e,t){x("ModuleSpecifier",e,t)}function yK(e,t){x("Accessor",e,t)}function gK(e,t){x("Private",e,t)}function bK(e,t){x("Flow",e,t)}function EK(e,t){x("FlowType",e,t)}function vK(e,t){x("FlowBaseAnnotation",e,t)}function TK(e,t){x("FlowDeclaration",e,t)}function SK(e,t){x("FlowPredicate",e,t)}function xK(e,t){x("EnumBody",e,t)}function PK(e,t){x("EnumMember",e,t)}function AK(e,t){x("JSX",e,t)}function CK(e,t){x("Miscellaneous",e,t)}function wK(e,t){x("TypeScript",e,t)}function DK(e,t){x("TSTypeElement",e,t)}function IK(e,t){x("TSType",e,t)}function _K(e,t){x("TSBaseType",e,t)}function OK(e,t){(0,ja.default)("assertNumberLiteral","assertNumericLiteral"),x("NumberLiteral",e,t)}function NK(e,t){(0,ja.default)("assertRegexLiteral","assertRegExpLiteral"),x("RegexLiteral",e,t)}function kK(e,t){(0,ja.default)("assertRestProperty","assertRestElement"),x("RestProperty",e,t)}function FK(e,t){(0,ja.default)("assertSpreadProperty","assertSpreadElement"),x("SpreadProperty",e,t)}function BK(e,t){(0,ja.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),x("ModuleDeclaration",e,t)}});var K1=g(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var Lr=lr(),jK=LK;Bl.default=jK;function LK(e){switch(e){case"string":return(0,Lr.stringTypeAnnotation)();case"number":return(0,Lr.numberTypeAnnotation)();case"undefined":return(0,Lr.voidTypeAnnotation)();case"boolean":return(0,Lr.booleanTypeAnnotation)();case"function":return(0,Lr.genericTypeAnnotation)((0,Lr.identifier)("Function"));case"object":return(0,Lr.genericTypeAnnotation)((0,Lr.identifier)("Object"));case"symbol":return(0,Lr.genericTypeAnnotation)((0,Lr.identifier)("Symbol"));case"bigint":return(0,Lr.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}});var Rd=g(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.default=z1;var La=St();function W1(e){return(0,La.isIdentifier)(e)?e.name:`${e.id.name}.${W1(e.qualification)}`}function z1(e){let t=Array.from(e),r=new Map,n=new Map,i=new Set,s=[];for(let a=0;a<t.length;a++){let o=t[a];if(o&&!(s.indexOf(o)>=0)){if((0,La.isAnyTypeAnnotation)(o))return[o];if((0,La.isFlowBaseAnnotation)(o)){n.set(o.type,o);continue}if((0,La.isUnionTypeAnnotation)(o)){i.has(o.types)||(t.push(...o.types),i.add(o.types));continue}if((0,La.isGenericTypeAnnotation)(o)){let l=W1(o.id);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=z1(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}s.push(o)}}for(let[,a]of n)s.push(a);for(let[,a]of r)s.push(a);return s}});var G1=g(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.default=qK;var MK=lr(),RK=Rd();function qK(e){let t=(0,RK.default)(e);return t.length===1?t[0]:(0,MK.unionTypeAnnotation)(t)}});var X1=g(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.default=Y1;var Ma=St();function H1(e){return(0,Ma.isIdentifier)(e)?e.name:`${e.right.name}.${H1(e.left)}`}function Y1(e){let t=Array.from(e),r=new Map,n=new Map,i=new Set,s=[];for(let a=0;a<t.length;a++){let o=t[a];if(o&&!(s.indexOf(o)>=0)){if((0,Ma.isTSAnyKeyword)(o))return[o];if((0,Ma.isTSBaseType)(o)){n.set(o.type,o);continue}if((0,Ma.isTSUnionType)(o)){i.has(o.types)||(t.push(...o.types),i.add(o.types));continue}if((0,Ma.isTSTypeReference)(o)&&o.typeParameters){let l=H1(o.typeName);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=Y1(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}s.push(o)}}for(let[,a]of n)s.push(a);for(let[,a]of r)s.push(a);return s}});var J1=g(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=KK;var UK=lr(),VK=X1(),$K=St();function KK(e){let t=e.map(n=>(0,$K.isTSTypeAnnotation)(n)?n.typeAnnotation:n),r=(0,VK.default)(t);return r.length===1?r[0]:(0,UK.tsUnionType)(r)}});var Q1=g(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});Object.defineProperty(C,"AnyTypeAnnotation",{enumerable:!0,get:function(){return w.anyTypeAnnotation}});Object.defineProperty(C,"ArgumentPlaceholder",{enumerable:!0,get:function(){return w.argumentPlaceholder}});Object.defineProperty(C,"ArrayExpression",{enumerable:!0,get:function(){return w.arrayExpression}});Object.defineProperty(C,"ArrayPattern",{enumerable:!0,get:function(){return w.arrayPattern}});Object.defineProperty(C,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return w.arrayTypeAnnotation}});Object.defineProperty(C,"ArrowFunctionExpression",{enumerable:!0,get:function(){return w.arrowFunctionExpression}});Object.defineProperty(C,"AssignmentExpression",{enumerable:!0,get:function(){return w.assignmentExpression}});Object.defineProperty(C,"AssignmentPattern",{enumerable:!0,get:function(){return w.assignmentPattern}});Object.defineProperty(C,"AwaitExpression",{enumerable:!0,get:function(){return w.awaitExpression}});Object.defineProperty(C,"BigIntLiteral",{enumerable:!0,get:function(){return w.bigIntLiteral}});Object.defineProperty(C,"BinaryExpression",{enumerable:!0,get:function(){return w.binaryExpression}});Object.defineProperty(C,"BindExpression",{enumerable:!0,get:function(){return w.bindExpression}});Object.defineProperty(C,"BlockStatement",{enumerable:!0,get:function(){return w.blockStatement}});Object.defineProperty(C,"BooleanLiteral",{enumerable:!0,get:function(){return w.booleanLiteral}});Object.defineProperty(C,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.booleanLiteralTypeAnnotation}});Object.defineProperty(C,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return w.booleanTypeAnnotation}});Object.defineProperty(C,"BreakStatement",{enumerable:!0,get:function(){return w.breakStatement}});Object.defineProperty(C,"CallExpression",{enumerable:!0,get:function(){return w.callExpression}});Object.defineProperty(C,"CatchClause",{enumerable:!0,get:function(){return w.catchClause}});Object.defineProperty(C,"ClassAccessorProperty",{enumerable:!0,get:function(){return w.classAccessorProperty}});Object.defineProperty(C,"ClassBody",{enumerable:!0,get:function(){return w.classBody}});Object.defineProperty(C,"ClassDeclaration",{enumerable:!0,get:function(){return w.classDeclaration}});Object.defineProperty(C,"ClassExpression",{enumerable:!0,get:function(){return w.classExpression}});Object.defineProperty(C,"ClassImplements",{enumerable:!0,get:function(){return w.classImplements}});Object.defineProperty(C,"ClassMethod",{enumerable:!0,get:function(){return w.classMethod}});Object.defineProperty(C,"ClassPrivateMethod",{enumerable:!0,get:function(){return w.classPrivateMethod}});Object.defineProperty(C,"ClassPrivateProperty",{enumerable:!0,get:function(){return w.classPrivateProperty}});Object.defineProperty(C,"ClassProperty",{enumerable:!0,get:function(){return w.classProperty}});Object.defineProperty(C,"ConditionalExpression",{enumerable:!0,get:function(){return w.conditionalExpression}});Object.defineProperty(C,"ContinueStatement",{enumerable:!0,get:function(){return w.continueStatement}});Object.defineProperty(C,"DebuggerStatement",{enumerable:!0,get:function(){return w.debuggerStatement}});Object.defineProperty(C,"DecimalLiteral",{enumerable:!0,get:function(){return w.decimalLiteral}});Object.defineProperty(C,"DeclareClass",{enumerable:!0,get:function(){return w.declareClass}});Object.defineProperty(C,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return w.declareExportAllDeclaration}});Object.defineProperty(C,"DeclareExportDeclaration",{enumerable:!0,get:function(){return w.declareExportDeclaration}});Object.defineProperty(C,"DeclareFunction",{enumerable:!0,get:function(){return w.declareFunction}});Object.defineProperty(C,"DeclareInterface",{enumerable:!0,get:function(){return w.declareInterface}});Object.defineProperty(C,"DeclareModule",{enumerable:!0,get:function(){return w.declareModule}});Object.defineProperty(C,"DeclareModuleExports",{enumerable:!0,get:function(){return w.declareModuleExports}});Object.defineProperty(C,"DeclareOpaqueType",{enumerable:!0,get:function(){return w.declareOpaqueType}});Object.defineProperty(C,"DeclareTypeAlias",{enumerable:!0,get:function(){return w.declareTypeAlias}});Object.defineProperty(C,"DeclareVariable",{enumerable:!0,get:function(){return w.declareVariable}});Object.defineProperty(C,"DeclaredPredicate",{enumerable:!0,get:function(){return w.declaredPredicate}});Object.defineProperty(C,"Decorator",{enumerable:!0,get:function(){return w.decorator}});Object.defineProperty(C,"Directive",{enumerable:!0,get:function(){return w.directive}});Object.defineProperty(C,"DirectiveLiteral",{enumerable:!0,get:function(){return w.directiveLiteral}});Object.defineProperty(C,"DoExpression",{enumerable:!0,get:function(){return w.doExpression}});Object.defineProperty(C,"DoWhileStatement",{enumerable:!0,get:function(){return w.doWhileStatement}});Object.defineProperty(C,"EmptyStatement",{enumerable:!0,get:function(){return w.emptyStatement}});Object.defineProperty(C,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return w.emptyTypeAnnotation}});Object.defineProperty(C,"EnumBooleanBody",{enumerable:!0,get:function(){return w.enumBooleanBody}});Object.defineProperty(C,"EnumBooleanMember",{enumerable:!0,get:function(){return w.enumBooleanMember}});Object.defineProperty(C,"EnumDeclaration",{enumerable:!0,get:function(){return w.enumDeclaration}});Object.defineProperty(C,"EnumDefaultedMember",{enumerable:!0,get:function(){return w.enumDefaultedMember}});Object.defineProperty(C,"EnumNumberBody",{enumerable:!0,get:function(){return w.enumNumberBody}});Object.defineProperty(C,"EnumNumberMember",{enumerable:!0,get:function(){return w.enumNumberMember}});Object.defineProperty(C,"EnumStringBody",{enumerable:!0,get:function(){return w.enumStringBody}});Object.defineProperty(C,"EnumStringMember",{enumerable:!0,get:function(){return w.enumStringMember}});Object.defineProperty(C,"EnumSymbolBody",{enumerable:!0,get:function(){return w.enumSymbolBody}});Object.defineProperty(C,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return w.existsTypeAnnotation}});Object.defineProperty(C,"ExportAllDeclaration",{enumerable:!0,get:function(){return w.exportAllDeclaration}});Object.defineProperty(C,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return w.exportDefaultDeclaration}});Object.defineProperty(C,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return w.exportDefaultSpecifier}});Object.defineProperty(C,"ExportNamedDeclaration",{enumerable:!0,get:function(){return w.exportNamedDeclaration}});Object.defineProperty(C,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return w.exportNamespaceSpecifier}});Object.defineProperty(C,"ExportSpecifier",{enumerable:!0,get:function(){return w.exportSpecifier}});Object.defineProperty(C,"ExpressionStatement",{enumerable:!0,get:function(){return w.expressionStatement}});Object.defineProperty(C,"File",{enumerable:!0,get:function(){return w.file}});Object.defineProperty(C,"ForInStatement",{enumerable:!0,get:function(){return w.forInStatement}});Object.defineProperty(C,"ForOfStatement",{enumerable:!0,get:function(){return w.forOfStatement}});Object.defineProperty(C,"ForStatement",{enumerable:!0,get:function(){return w.forStatement}});Object.defineProperty(C,"FunctionDeclaration",{enumerable:!0,get:function(){return w.functionDeclaration}});Object.defineProperty(C,"FunctionExpression",{enumerable:!0,get:function(){return w.functionExpression}});Object.defineProperty(C,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return w.functionTypeAnnotation}});Object.defineProperty(C,"FunctionTypeParam",{enumerable:!0,get:function(){return w.functionTypeParam}});Object.defineProperty(C,"GenericTypeAnnotation",{enumerable:!0,get:function(){return w.genericTypeAnnotation}});Object.defineProperty(C,"Identifier",{enumerable:!0,get:function(){return w.identifier}});Object.defineProperty(C,"IfStatement",{enumerable:!0,get:function(){return w.ifStatement}});Object.defineProperty(C,"Import",{enumerable:!0,get:function(){return w.import}});Object.defineProperty(C,"ImportAttribute",{enumerable:!0,get:function(){return w.importAttribute}});Object.defineProperty(C,"ImportDeclaration",{enumerable:!0,get:function(){return w.importDeclaration}});Object.defineProperty(C,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return w.importDefaultSpecifier}});Object.defineProperty(C,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return w.importNamespaceSpecifier}});Object.defineProperty(C,"ImportSpecifier",{enumerable:!0,get:function(){return w.importSpecifier}});Object.defineProperty(C,"IndexedAccessType",{enumerable:!0,get:function(){return w.indexedAccessType}});Object.defineProperty(C,"InferredPredicate",{enumerable:!0,get:function(){return w.inferredPredicate}});Object.defineProperty(C,"InterfaceDeclaration",{enumerable:!0,get:function(){return w.interfaceDeclaration}});Object.defineProperty(C,"InterfaceExtends",{enumerable:!0,get:function(){return w.interfaceExtends}});Object.defineProperty(C,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return w.interfaceTypeAnnotation}});Object.defineProperty(C,"InterpreterDirective",{enumerable:!0,get:function(){return w.interpreterDirective}});Object.defineProperty(C,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return w.intersectionTypeAnnotation}});Object.defineProperty(C,"JSXAttribute",{enumerable:!0,get:function(){return w.jsxAttribute}});Object.defineProperty(C,"JSXClosingElement",{enumerable:!0,get:function(){return w.jsxClosingElement}});Object.defineProperty(C,"JSXClosingFragment",{enumerable:!0,get:function(){return w.jsxClosingFragment}});Object.defineProperty(C,"JSXElement",{enumerable:!0,get:function(){return w.jsxElement}});Object.defineProperty(C,"JSXEmptyExpression",{enumerable:!0,get:function(){return w.jsxEmptyExpression}});Object.defineProperty(C,"JSXExpressionContainer",{enumerable:!0,get:function(){return w.jsxExpressionContainer}});Object.defineProperty(C,"JSXFragment",{enumerable:!0,get:function(){return w.jsxFragment}});Object.defineProperty(C,"JSXIdentifier",{enumerable:!0,get:function(){return w.jsxIdentifier}});Object.defineProperty(C,"JSXMemberExpression",{enumerable:!0,get:function(){return w.jsxMemberExpression}});Object.defineProperty(C,"JSXNamespacedName",{enumerable:!0,get:function(){return w.jsxNamespacedName}});Object.defineProperty(C,"JSXOpeningElement",{enumerable:!0,get:function(){return w.jsxOpeningElement}});Object.defineProperty(C,"JSXOpeningFragment",{enumerable:!0,get:function(){return w.jsxOpeningFragment}});Object.defineProperty(C,"JSXSpreadAttribute",{enumerable:!0,get:function(){return w.jsxSpreadAttribute}});Object.defineProperty(C,"JSXSpreadChild",{enumerable:!0,get:function(){return w.jsxSpreadChild}});Object.defineProperty(C,"JSXText",{enumerable:!0,get:function(){return w.jsxText}});Object.defineProperty(C,"LabeledStatement",{enumerable:!0,get:function(){return w.labeledStatement}});Object.defineProperty(C,"LogicalExpression",{enumerable:!0,get:function(){return w.logicalExpression}});Object.defineProperty(C,"MemberExpression",{enumerable:!0,get:function(){return w.memberExpression}});Object.defineProperty(C,"MetaProperty",{enumerable:!0,get:function(){return w.metaProperty}});Object.defineProperty(C,"MixedTypeAnnotation",{enumerable:!0,get:function(){return w.mixedTypeAnnotation}});Object.defineProperty(C,"ModuleExpression",{enumerable:!0,get:function(){return w.moduleExpression}});Object.defineProperty(C,"NewExpression",{enumerable:!0,get:function(){return w.newExpression}});Object.defineProperty(C,"Noop",{enumerable:!0,get:function(){return w.noop}});Object.defineProperty(C,"NullLiteral",{enumerable:!0,get:function(){return w.nullLiteral}});Object.defineProperty(C,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.nullLiteralTypeAnnotation}});Object.defineProperty(C,"NullableTypeAnnotation",{enumerable:!0,get:function(){return w.nullableTypeAnnotation}});Object.defineProperty(C,"NumberLiteral",{enumerable:!0,get:function(){return w.numberLiteral}});Object.defineProperty(C,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.numberLiteralTypeAnnotation}});Object.defineProperty(C,"NumberTypeAnnotation",{enumerable:!0,get:function(){return w.numberTypeAnnotation}});Object.defineProperty(C,"NumericLiteral",{enumerable:!0,get:function(){return w.numericLiteral}});Object.defineProperty(C,"ObjectExpression",{enumerable:!0,get:function(){return w.objectExpression}});Object.defineProperty(C,"ObjectMethod",{enumerable:!0,get:function(){return w.objectMethod}});Object.defineProperty(C,"ObjectPattern",{enumerable:!0,get:function(){return w.objectPattern}});Object.defineProperty(C,"ObjectProperty",{enumerable:!0,get:function(){return w.objectProperty}});Object.defineProperty(C,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return w.objectTypeAnnotation}});Object.defineProperty(C,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return w.objectTypeCallProperty}});Object.defineProperty(C,"ObjectTypeIndexer",{enumerable:!0,get:function(){return w.objectTypeIndexer}});Object.defineProperty(C,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return w.objectTypeInternalSlot}});Object.defineProperty(C,"ObjectTypeProperty",{enumerable:!0,get:function(){return w.objectTypeProperty}});Object.defineProperty(C,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return w.objectTypeSpreadProperty}});Object.defineProperty(C,"OpaqueType",{enumerable:!0,get:function(){return w.opaqueType}});Object.defineProperty(C,"OptionalCallExpression",{enumerable:!0,get:function(){return w.optionalCallExpression}});Object.defineProperty(C,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return w.optionalIndexedAccessType}});Object.defineProperty(C,"OptionalMemberExpression",{enumerable:!0,get:function(){return w.optionalMemberExpression}});Object.defineProperty(C,"ParenthesizedExpression",{enumerable:!0,get:function(){return w.parenthesizedExpression}});Object.defineProperty(C,"PipelineBareFunction",{enumerable:!0,get:function(){return w.pipelineBareFunction}});Object.defineProperty(C,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return w.pipelinePrimaryTopicReference}});Object.defineProperty(C,"PipelineTopicExpression",{enumerable:!0,get:function(){return w.pipelineTopicExpression}});Object.defineProperty(C,"Placeholder",{enumerable:!0,get:function(){return w.placeholder}});Object.defineProperty(C,"PrivateName",{enumerable:!0,get:function(){return w.privateName}});Object.defineProperty(C,"Program",{enumerable:!0,get:function(){return w.program}});Object.defineProperty(C,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return w.qualifiedTypeIdentifier}});Object.defineProperty(C,"RecordExpression",{enumerable:!0,get:function(){return w.recordExpression}});Object.defineProperty(C,"RegExpLiteral",{enumerable:!0,get:function(){return w.regExpLiteral}});Object.defineProperty(C,"RegexLiteral",{enumerable:!0,get:function(){return w.regexLiteral}});Object.defineProperty(C,"RestElement",{enumerable:!0,get:function(){return w.restElement}});Object.defineProperty(C,"RestProperty",{enumerable:!0,get:function(){return w.restProperty}});Object.defineProperty(C,"ReturnStatement",{enumerable:!0,get:function(){return w.returnStatement}});Object.defineProperty(C,"SequenceExpression",{enumerable:!0,get:function(){return w.sequenceExpression}});Object.defineProperty(C,"SpreadElement",{enumerable:!0,get:function(){return w.spreadElement}});Object.defineProperty(C,"SpreadProperty",{enumerable:!0,get:function(){return w.spreadProperty}});Object.defineProperty(C,"StaticBlock",{enumerable:!0,get:function(){return w.staticBlock}});Object.defineProperty(C,"StringLiteral",{enumerable:!0,get:function(){return w.stringLiteral}});Object.defineProperty(C,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.stringLiteralTypeAnnotation}});Object.defineProperty(C,"StringTypeAnnotation",{enumerable:!0,get:function(){return w.stringTypeAnnotation}});Object.defineProperty(C,"Super",{enumerable:!0,get:function(){return w.super}});Object.defineProperty(C,"SwitchCase",{enumerable:!0,get:function(){return w.switchCase}});Object.defineProperty(C,"SwitchStatement",{enumerable:!0,get:function(){return w.switchStatement}});Object.defineProperty(C,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return w.symbolTypeAnnotation}});Object.defineProperty(C,"TSAnyKeyword",{enumerable:!0,get:function(){return w.tsAnyKeyword}});Object.defineProperty(C,"TSArrayType",{enumerable:!0,get:function(){return w.tsArrayType}});Object.defineProperty(C,"TSAsExpression",{enumerable:!0,get:function(){return w.tsAsExpression}});Object.defineProperty(C,"TSBigIntKeyword",{enumerable:!0,get:function(){return w.tsBigIntKeyword}});Object.defineProperty(C,"TSBooleanKeyword",{enumerable:!0,get:function(){return w.tsBooleanKeyword}});Object.defineProperty(C,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return w.tsCallSignatureDeclaration}});Object.defineProperty(C,"TSConditionalType",{enumerable:!0,get:function(){return w.tsConditionalType}});Object.defineProperty(C,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return w.tsConstructSignatureDeclaration}});Object.defineProperty(C,"TSConstructorType",{enumerable:!0,get:function(){return w.tsConstructorType}});Object.defineProperty(C,"TSDeclareFunction",{enumerable:!0,get:function(){return w.tsDeclareFunction}});Object.defineProperty(C,"TSDeclareMethod",{enumerable:!0,get:function(){return w.tsDeclareMethod}});Object.defineProperty(C,"TSEnumDeclaration",{enumerable:!0,get:function(){return w.tsEnumDeclaration}});Object.defineProperty(C,"TSEnumMember",{enumerable:!0,get:function(){return w.tsEnumMember}});Object.defineProperty(C,"TSExportAssignment",{enumerable:!0,get:function(){return w.tsExportAssignment}});Object.defineProperty(C,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return w.tsExpressionWithTypeArguments}});Object.defineProperty(C,"TSExternalModuleReference",{enumerable:!0,get:function(){return w.tsExternalModuleReference}});Object.defineProperty(C,"TSFunctionType",{enumerable:!0,get:function(){return w.tsFunctionType}});Object.defineProperty(C,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return w.tsImportEqualsDeclaration}});Object.defineProperty(C,"TSImportType",{enumerable:!0,get:function(){return w.tsImportType}});Object.defineProperty(C,"TSIndexSignature",{enumerable:!0,get:function(){return w.tsIndexSignature}});Object.defineProperty(C,"TSIndexedAccessType",{enumerable:!0,get:function(){return w.tsIndexedAccessType}});Object.defineProperty(C,"TSInferType",{enumerable:!0,get:function(){return w.tsInferType}});Object.defineProperty(C,"TSInstantiationExpression",{enumerable:!0,get:function(){return w.tsInstantiationExpression}});Object.defineProperty(C,"TSInterfaceBody",{enumerable:!0,get:function(){return w.tsInterfaceBody}});Object.defineProperty(C,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return w.tsInterfaceDeclaration}});Object.defineProperty(C,"TSIntersectionType",{enumerable:!0,get:function(){return w.tsIntersectionType}});Object.defineProperty(C,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return w.tsIntrinsicKeyword}});Object.defineProperty(C,"TSLiteralType",{enumerable:!0,get:function(){return w.tsLiteralType}});Object.defineProperty(C,"TSMappedType",{enumerable:!0,get:function(){return w.tsMappedType}});Object.defineProperty(C,"TSMethodSignature",{enumerable:!0,get:function(){return w.tsMethodSignature}});Object.defineProperty(C,"TSModuleBlock",{enumerable:!0,get:function(){return w.tsModuleBlock}});Object.defineProperty(C,"TSModuleDeclaration",{enumerable:!0,get:function(){return w.tsModuleDeclaration}});Object.defineProperty(C,"TSNamedTupleMember",{enumerable:!0,get:function(){return w.tsNamedTupleMember}});Object.defineProperty(C,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return w.tsNamespaceExportDeclaration}});Object.defineProperty(C,"TSNeverKeyword",{enumerable:!0,get:function(){return w.tsNeverKeyword}});Object.defineProperty(C,"TSNonNullExpression",{enumerable:!0,get:function(){return w.tsNonNullExpression}});Object.defineProperty(C,"TSNullKeyword",{enumerable:!0,get:function(){return w.tsNullKeyword}});Object.defineProperty(C,"TSNumberKeyword",{enumerable:!0,get:function(){return w.tsNumberKeyword}});Object.defineProperty(C,"TSObjectKeyword",{enumerable:!0,get:function(){return w.tsObjectKeyword}});Object.defineProperty(C,"TSOptionalType",{enumerable:!0,get:function(){return w.tsOptionalType}});Object.defineProperty(C,"TSParameterProperty",{enumerable:!0,get:function(){return w.tsParameterProperty}});Object.defineProperty(C,"TSParenthesizedType",{enumerable:!0,get:function(){return w.tsParenthesizedType}});Object.defineProperty(C,"TSPropertySignature",{enumerable:!0,get:function(){return w.tsPropertySignature}});Object.defineProperty(C,"TSQualifiedName",{enumerable:!0,get:function(){return w.tsQualifiedName}});Object.defineProperty(C,"TSRestType",{enumerable:!0,get:function(){return w.tsRestType}});Object.defineProperty(C,"TSSatisfiesExpression",{enumerable:!0,get:function(){return w.tsSatisfiesExpression}});Object.defineProperty(C,"TSStringKeyword",{enumerable:!0,get:function(){return w.tsStringKeyword}});Object.defineProperty(C,"TSSymbolKeyword",{enumerable:!0,get:function(){return w.tsSymbolKeyword}});Object.defineProperty(C,"TSThisType",{enumerable:!0,get:function(){return w.tsThisType}});Object.defineProperty(C,"TSTupleType",{enumerable:!0,get:function(){return w.tsTupleType}});Object.defineProperty(C,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return w.tsTypeAliasDeclaration}});Object.defineProperty(C,"TSTypeAnnotation",{enumerable:!0,get:function(){return w.tsTypeAnnotation}});Object.defineProperty(C,"TSTypeAssertion",{enumerable:!0,get:function(){return w.tsTypeAssertion}});Object.defineProperty(C,"TSTypeLiteral",{enumerable:!0,get:function(){return w.tsTypeLiteral}});Object.defineProperty(C,"TSTypeOperator",{enumerable:!0,get:function(){return w.tsTypeOperator}});Object.defineProperty(C,"TSTypeParameter",{enumerable:!0,get:function(){return w.tsTypeParameter}});Object.defineProperty(C,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return w.tsTypeParameterDeclaration}});Object.defineProperty(C,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return w.tsTypeParameterInstantiation}});Object.defineProperty(C,"TSTypePredicate",{enumerable:!0,get:function(){return w.tsTypePredicate}});Object.defineProperty(C,"TSTypeQuery",{enumerable:!0,get:function(){return w.tsTypeQuery}});Object.defineProperty(C,"TSTypeReference",{enumerable:!0,get:function(){return w.tsTypeReference}});Object.defineProperty(C,"TSUndefinedKeyword",{enumerable:!0,get:function(){return w.tsUndefinedKeyword}});Object.defineProperty(C,"TSUnionType",{enumerable:!0,get:function(){return w.tsUnionType}});Object.defineProperty(C,"TSUnknownKeyword",{enumerable:!0,get:function(){return w.tsUnknownKeyword}});Object.defineProperty(C,"TSVoidKeyword",{enumerable:!0,get:function(){return w.tsVoidKeyword}});Object.defineProperty(C,"TaggedTemplateExpression",{enumerable:!0,get:function(){return w.taggedTemplateExpression}});Object.defineProperty(C,"TemplateElement",{enumerable:!0,get:function(){return w.templateElement}});Object.defineProperty(C,"TemplateLiteral",{enumerable:!0,get:function(){return w.templateLiteral}});Object.defineProperty(C,"ThisExpression",{enumerable:!0,get:function(){return w.thisExpression}});Object.defineProperty(C,"ThisTypeAnnotation",{enumerable:!0,get:function(){return w.thisTypeAnnotation}});Object.defineProperty(C,"ThrowStatement",{enumerable:!0,get:function(){return w.throwStatement}});Object.defineProperty(C,"TopicReference",{enumerable:!0,get:function(){return w.topicReference}});Object.defineProperty(C,"TryStatement",{enumerable:!0,get:function(){return w.tryStatement}});Object.defineProperty(C,"TupleExpression",{enumerable:!0,get:function(){return w.tupleExpression}});Object.defineProperty(C,"TupleTypeAnnotation",{enumerable:!0,get:function(){return w.tupleTypeAnnotation}});Object.defineProperty(C,"TypeAlias",{enumerable:!0,get:function(){return w.typeAlias}});Object.defineProperty(C,"TypeAnnotation",{enumerable:!0,get:function(){return w.typeAnnotation}});Object.defineProperty(C,"TypeCastExpression",{enumerable:!0,get:function(){return w.typeCastExpression}});Object.defineProperty(C,"TypeParameter",{enumerable:!0,get:function(){return w.typeParameter}});Object.defineProperty(C,"TypeParameterDeclaration",{enumerable:!0,get:function(){return w.typeParameterDeclaration}});Object.defineProperty(C,"TypeParameterInstantiation",{enumerable:!0,get:function(){return w.typeParameterInstantiation}});Object.defineProperty(C,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return w.typeofTypeAnnotation}});Object.defineProperty(C,"UnaryExpression",{enumerable:!0,get:function(){return w.unaryExpression}});Object.defineProperty(C,"UnionTypeAnnotation",{enumerable:!0,get:function(){return w.unionTypeAnnotation}});Object.defineProperty(C,"UpdateExpression",{enumerable:!0,get:function(){return w.updateExpression}});Object.defineProperty(C,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return w.v8IntrinsicIdentifier}});Object.defineProperty(C,"VariableDeclaration",{enumerable:!0,get:function(){return w.variableDeclaration}});Object.defineProperty(C,"VariableDeclarator",{enumerable:!0,get:function(){return w.variableDeclarator}});Object.defineProperty(C,"Variance",{enumerable:!0,get:function(){return w.variance}});Object.defineProperty(C,"VoidTypeAnnotation",{enumerable:!0,get:function(){return w.voidTypeAnnotation}});Object.defineProperty(C,"WhileStatement",{enumerable:!0,get:function(){return w.whileStatement}});Object.defineProperty(C,"WithStatement",{enumerable:!0,get:function(){return w.withStatement}});Object.defineProperty(C,"YieldExpression",{enumerable:!0,get:function(){return w.yieldExpression}});var w=lr()});var Kn=g($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.default=WK;var Z1=xr(),eT=St(),hn=Function.call.bind(Object.prototype.hasOwnProperty);function tT(e,t,r,n){return e&&typeof e.type=="string"?nT(e,t,r,n):e}function rT(e,t,r,n){return Array.isArray(e)?e.map(i=>tT(i,t,r,n)):tT(e,t,r,n)}function WK(e,t=!0,r=!1){return nT(e,t,r,new Map)}function nT(e,t=!0,r=!1,n){if(!e)return e;let{type:i}=e,s={type:e.type};if((0,eT.isIdentifier)(e))s.name=e.name,hn(e,"optional")&&typeof e.optional=="boolean"&&(s.optional=e.optional),hn(e,"typeAnnotation")&&(s.typeAnnotation=t?rT(e.typeAnnotation,!0,r,n):e.typeAnnotation);else if(hn(Z1.NODE_FIELDS,i))for(let a of Object.keys(Z1.NODE_FIELDS[i]))hn(e,a)&&(t?s[a]=(0,eT.isFile)(e)&&a==="comments"?jl(e.comments,t,r,n):rT(e[a],!0,r,n):s[a]=e[a]);else throw new Error(`Unknown node type: "${i}"`);return hn(e,"loc")&&(r?s.loc=null:s.loc=e.loc),hn(e,"leadingComments")&&(s.leadingComments=jl(e.leadingComments,t,r,n)),hn(e,"innerComments")&&(s.innerComments=jl(e.innerComments,t,r,n)),hn(e,"trailingComments")&&(s.trailingComments=jl(e.trailingComments,t,r,n)),hn(e,"extra")&&(s.extra=Object.assign({},e.extra)),s}function jl(e,t,r,n){return!e||!t?e:e.map(i=>{let s=n.get(i);if(s)return s;let{type:a,value:o,loc:l}=i,u={type:a,value:o,loc:l};return r&&(u.loc=null),n.set(i,u),u})}});var iT=g(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=GK;var zK=Kn();function GK(e){return(0,zK.default)(e,!1)}});var sT=g(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=YK;var HK=Kn();function YK(e){return(0,HK.default)(e)}});var aT=g(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=JK;var XK=Kn();function JK(e){return(0,XK.default)(e,!0,!0)}});var oT=g(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=ZK;var QK=Kn();function ZK(e){return(0,QK.default)(e,!1,!0)}});var Yd=g(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.default=eW;function eW(e,t,r){if(!r||!e)return e;let n=`${t}Comments`;return e[n]?t==="leading"?e[n]=r.concat(e[n]):e[n].push(...r):e[n]=r,e}});var lT=g(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=rW;var tW=Yd();function rW(e,t,r,n){return(0,tW.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])}});var Ll=g(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.default=nW;function nW(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}});var Zd=g(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=sW;var iW=Ll();function sW(e,t){(0,iW.default)("innerComments",e,t)}});var th=g(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.default=oW;var aW=Ll();function oW(e,t){(0,aW.default)("leadingComments",e,t)}});var nh=g(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.default=uW;var lW=Ll();function uW(e,t){(0,lW.default)("trailingComments",e,t)}});var sh=g(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.default=dW;var cW=nh(),fW=th(),pW=Zd();function dW(e,t){return(0,cW.default)(e,t),(0,fW.default)(e,t),(0,pW.default)(e,t),e}});var uT=g(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.default=mW;var hW=Un();function mW(e){return hW.COMMENT_KEYS.forEach(t=>{e[t]=null}),e}});var fT=g(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});G.WHILE_TYPES=G.USERWHITESPACABLE_TYPES=G.UNARYLIKE_TYPES=G.TYPESCRIPT_TYPES=G.TSTYPE_TYPES=G.TSTYPEELEMENT_TYPES=G.TSENTITYNAME_TYPES=G.TSBASETYPE_TYPES=G.TERMINATORLESS_TYPES=G.STATEMENT_TYPES=G.STANDARDIZED_TYPES=G.SCOPABLE_TYPES=G.PUREISH_TYPES=G.PROPERTY_TYPES=G.PRIVATE_TYPES=G.PATTERN_TYPES=G.PATTERNLIKE_TYPES=G.OBJECTMEMBER_TYPES=G.MODULESPECIFIER_TYPES=G.MODULEDECLARATION_TYPES=G.MISCELLANEOUS_TYPES=G.METHOD_TYPES=G.LVAL_TYPES=G.LOOP_TYPES=G.LITERAL_TYPES=G.JSX_TYPES=G.IMPORTOREXPORTDECLARATION_TYPES=G.IMMUTABLE_TYPES=G.FUNCTION_TYPES=G.FUNCTIONPARENT_TYPES=G.FOR_TYPES=G.FORXSTATEMENT_TYPES=G.FLOW_TYPES=G.FLOWTYPE_TYPES=G.FLOWPREDICATE_TYPES=G.FLOWDECLARATION_TYPES=G.FLOWBASEANNOTATION_TYPES=G.EXPRESSION_TYPES=G.EXPRESSIONWRAPPER_TYPES=G.EXPORTDECLARATION_TYPES=G.ENUMMEMBER_TYPES=G.ENUMBODY_TYPES=G.DECLARATION_TYPES=G.CONDITIONAL_TYPES=G.COMPLETIONSTATEMENT_TYPES=G.CLASS_TYPES=G.BLOCK_TYPES=G.BLOCKPARENT_TYPES=G.BINARY_TYPES=G.ACCESSOR_TYPES=void 0;var Ce=xr(),yW=Ce.FLIPPED_ALIAS_KEYS.Standardized;G.STANDARDIZED_TYPES=yW;var gW=Ce.FLIPPED_ALIAS_KEYS.Expression;G.EXPRESSION_TYPES=gW;var bW=Ce.FLIPPED_ALIAS_KEYS.Binary;G.BINARY_TYPES=bW;var EW=Ce.FLIPPED_ALIAS_KEYS.Scopable;G.SCOPABLE_TYPES=EW;var vW=Ce.FLIPPED_ALIAS_KEYS.BlockParent;G.BLOCKPARENT_TYPES=vW;var TW=Ce.FLIPPED_ALIAS_KEYS.Block;G.BLOCK_TYPES=TW;var SW=Ce.FLIPPED_ALIAS_KEYS.Statement;G.STATEMENT_TYPES=SW;var xW=Ce.FLIPPED_ALIAS_KEYS.Terminatorless;G.TERMINATORLESS_TYPES=xW;var PW=Ce.FLIPPED_ALIAS_KEYS.CompletionStatement;G.COMPLETIONSTATEMENT_TYPES=PW;var AW=Ce.FLIPPED_ALIAS_KEYS.Conditional;G.CONDITIONAL_TYPES=AW;var CW=Ce.FLIPPED_ALIAS_KEYS.Loop;G.LOOP_TYPES=CW;var wW=Ce.FLIPPED_ALIAS_KEYS.While;G.WHILE_TYPES=wW;var DW=Ce.FLIPPED_ALIAS_KEYS.ExpressionWrapper;G.EXPRESSIONWRAPPER_TYPES=DW;var IW=Ce.FLIPPED_ALIAS_KEYS.For;G.FOR_TYPES=IW;var _W=Ce.FLIPPED_ALIAS_KEYS.ForXStatement;G.FORXSTATEMENT_TYPES=_W;var OW=Ce.FLIPPED_ALIAS_KEYS.Function;G.FUNCTION_TYPES=OW;var NW=Ce.FLIPPED_ALIAS_KEYS.FunctionParent;G.FUNCTIONPARENT_TYPES=NW;var kW=Ce.FLIPPED_ALIAS_KEYS.Pureish;G.PUREISH_TYPES=kW;var FW=Ce.FLIPPED_ALIAS_KEYS.Declaration;G.DECLARATION_TYPES=FW;var BW=Ce.FLIPPED_ALIAS_KEYS.PatternLike;G.PATTERNLIKE_TYPES=BW;var jW=Ce.FLIPPED_ALIAS_KEYS.LVal;G.LVAL_TYPES=jW;var LW=Ce.FLIPPED_ALIAS_KEYS.TSEntityName;G.TSENTITYNAME_TYPES=LW;var MW=Ce.FLIPPED_ALIAS_KEYS.Literal;G.LITERAL_TYPES=MW;var RW=Ce.FLIPPED_ALIAS_KEYS.Immutable;G.IMMUTABLE_TYPES=RW;var qW=Ce.FLIPPED_ALIAS_KEYS.UserWhitespacable;G.USERWHITESPACABLE_TYPES=qW;var UW=Ce.FLIPPED_ALIAS_KEYS.Method;G.METHOD_TYPES=UW;var VW=Ce.FLIPPED_ALIAS_KEYS.ObjectMember;G.OBJECTMEMBER_TYPES=VW;var $W=Ce.FLIPPED_ALIAS_KEYS.Property;G.PROPERTY_TYPES=$W;var KW=Ce.FLIPPED_ALIAS_KEYS.UnaryLike;G.UNARYLIKE_TYPES=KW;var WW=Ce.FLIPPED_ALIAS_KEYS.Pattern;G.PATTERN_TYPES=WW;var zW=Ce.FLIPPED_ALIAS_KEYS.Class;G.CLASS_TYPES=zW;var cT=Ce.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;G.IMPORTOREXPORTDECLARATION_TYPES=cT;var GW=Ce.FLIPPED_ALIAS_KEYS.ExportDeclaration;G.EXPORTDECLARATION_TYPES=GW;var HW=Ce.FLIPPED_ALIAS_KEYS.ModuleSpecifier;G.MODULESPECIFIER_TYPES=HW;var YW=Ce.FLIPPED_ALIAS_KEYS.Accessor;G.ACCESSOR_TYPES=YW;var XW=Ce.FLIPPED_ALIAS_KEYS.Private;G.PRIVATE_TYPES=XW;var JW=Ce.FLIPPED_ALIAS_KEYS.Flow;G.FLOW_TYPES=JW;var QW=Ce.FLIPPED_ALIAS_KEYS.FlowType;G.FLOWTYPE_TYPES=QW;var ZW=Ce.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;G.FLOWBASEANNOTATION_TYPES=ZW;var ez=Ce.FLIPPED_ALIAS_KEYS.FlowDeclaration;G.FLOWDECLARATION_TYPES=ez;var tz=Ce.FLIPPED_ALIAS_KEYS.FlowPredicate;G.FLOWPREDICATE_TYPES=tz;var rz=Ce.FLIPPED_ALIAS_KEYS.EnumBody;G.ENUMBODY_TYPES=rz;var nz=Ce.FLIPPED_ALIAS_KEYS.EnumMember;G.ENUMMEMBER_TYPES=nz;var iz=Ce.FLIPPED_ALIAS_KEYS.JSX;G.JSX_TYPES=iz;var sz=Ce.FLIPPED_ALIAS_KEYS.Miscellaneous;G.MISCELLANEOUS_TYPES=sz;var az=Ce.FLIPPED_ALIAS_KEYS.TypeScript;G.TYPESCRIPT_TYPES=az;var oz=Ce.FLIPPED_ALIAS_KEYS.TSTypeElement;G.TSTYPEELEMENT_TYPES=oz;var lz=Ce.FLIPPED_ALIAS_KEYS.TSType;G.TSTYPE_TYPES=lz;var uz=Ce.FLIPPED_ALIAS_KEYS.TSBaseType;G.TSBASETYPE_TYPES=uz;var cz=cT;G.MODULEDECLARATION_TYPES=cz});var uh=g(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.default=fz;var Ml=St(),oh=lr();function fz(e,t){if((0,Ml.isBlockStatement)(e))return e;let r=[];return(0,Ml.isEmptyStatement)(e)?r=[]:((0,Ml.isStatement)(e)||((0,Ml.isFunction)(t)?e=(0,oh.returnStatement)(e):e=(0,oh.expressionStatement)(e)),r=[e]),(0,oh.blockStatement)(r)}});var pT=g(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.default=dz;var pz=uh();function dz(e,t="body"){let r=(0,pz.default)(e[t],e);return e[t]=r,r}});var ph=g(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.default=yz;var hz=os(),mz=as();function yz(e){e=e+"";let t="";for(let r of e)t+=(0,mz.isIdentifierChar)(r.codePointAt(0))?r:"-";return t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,function(r,n){return n?n.toUpperCase():""}),(0,hz.default)(t)||(t=`_${t}`),t||"_"}});var dT=g(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.default=bz;var gz=ph();function bz(e){return e=(0,gz.default)(e),(e==="eval"||e==="arguments")&&(e="_"+e),e}});var hT=g(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.default=Tz;var Ez=St(),vz=lr();function Tz(e,t=e.key||e.property){return!e.computed&&(0,Ez.isIdentifier)(t)&&(t=(0,vz.stringLiteral)(t.name)),t}});var mT=g(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var Ra=St(),Sz=xz;Rl.default=Sz;function xz(e){if((0,Ra.isExpressionStatement)(e)&&(e=e.expression),(0,Ra.isExpression)(e))return e;if((0,Ra.isClass)(e)?e.type="ClassExpression":(0,Ra.isFunction)(e)&&(e.type="FunctionExpression"),!(0,Ra.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e}});var gh=g(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.default=mh;var Pz=xr();function mh(e,t,r){if(!e)return;let n=Pz.VISITOR_KEYS[e.type];if(n){r=r||{},t(e,r);for(let i of n){let s=e[i];if(Array.isArray(s))for(let a of s)mh(a,t,r);else mh(s,t,r)}}}});var Eh=g(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.default=wz;var Az=Un(),yT=["tokens","start","end","loc","raw","rawValue"],Cz=[...Az.COMMENT_KEYS,"comments",...yT];function wz(e,t={}){let r=t.preserveComments?yT:Cz;for(let i of r)e[i]!=null&&(e[i]=void 0);for(let i of Object.keys(e))i[0]==="_"&&e[i]!=null&&(e[i]=void 0);let n=Object.getOwnPropertySymbols(e);for(let i of n)e[i]=null}});var Th=g(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.default=_z;var Dz=gh(),Iz=Eh();function _z(e,t){return(0,Dz.default)(e,Iz.default,t),e}});var bT=g(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.default=Ti;var gT=St(),Oz=Kn(),Nz=Th();function Ti(e,t=e.key){let r;return e.kind==="method"?Ti.increment()+"":((0,gT.isIdentifier)(t)?r=t.name:(0,gT.isStringLiteral)(t)?r=JSON.stringify(t.value):r=JSON.stringify((0,Nz.default)((0,Oz.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}Ti.uid=0;Ti.increment=function(){return Ti.uid>=Number.MAX_SAFE_INTEGER?Ti.uid=0:Ti.uid++}});var qa=g(Ph=>{"use strict";Object.defineProperty(Ph,"__esModule",{value:!0});Ph.default=xh;var cs=St();function xh(e,t,r){let n=[].concat(e),i=Object.create(null);for(;n.length;){let s=n.shift();if(!s)continue;let a=xh.keys[s.type];if((0,cs.isIdentifier)(s)){t?(i[s.name]=i[s.name]||[]).push(s):i[s.name]=s;continue}if((0,cs.isExportDeclaration)(s)&&!(0,cs.isExportAllDeclaration)(s)){(0,cs.isDeclaration)(s.declaration)&&n.push(s.declaration);continue}if(r){if((0,cs.isFunctionDeclaration)(s)){n.push(s.id);continue}if((0,cs.isFunctionExpression)(s))continue}if(a)for(let o=0;o<a.length;o++){let l=a[o],u=s[l];u&&(Array.isArray(u)?n.push(...u):n.push(u))}}return i}xh.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}});var ET=g(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.default=ql;var kz=qa(),Si=St(),Ah=lr(),Fz=Kn();function ql(e,t,r){let n=[],i=!0;for(let s of e)if((0,Si.isEmptyStatement)(s)||(i=!1),(0,Si.isExpression)(s))n.push(s);else if((0,Si.isExpressionStatement)(s))n.push(s.expression);else if((0,Si.isVariableDeclaration)(s)){if(s.kind!=="var")return;for(let a of s.declarations){let o=(0,kz.default)(a);for(let l of Object.keys(o))r.push({kind:s.kind,id:(0,Fz.default)(o[l])});a.init&&n.push((0,Ah.assignmentExpression)("=",a.id,a.init))}i=!0}else if((0,Si.isIfStatement)(s)){let a=s.consequent?ql([s.consequent],t,r):t.buildUndefinedNode(),o=s.alternate?ql([s.alternate],t,r):t.buildUndefinedNode();if(!a||!o)return;n.push((0,Ah.conditionalExpression)(s.test,a,o))}else if((0,Si.isBlockStatement)(s)){let a=ql(s.body,t,r);if(!a)return;n.push(a)}else if((0,Si.isEmptyStatement)(s))e.indexOf(s)===0&&(i=!0);else return;return i&&n.push(t.buildUndefinedNode()),n.length===1?n[0]:(0,Ah.sequenceExpression)(n)}});var vT=g(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.default=jz;var Bz=ET();function jz(e,t){if(!(e!=null&&e.length))return;let r=[],n=(0,Bz.default)(e,t,r);if(n){for(let i of r)t.push(i);return n}}});var TT=g(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var Ul=St(),Lz=lr(),Mz=Rz;Vl.default=Mz;function Rz(e,t){if((0,Ul.isStatement)(e))return e;let r=!1,n;if((0,Ul.isClass)(e))r=!0,n="ClassDeclaration";else if((0,Ul.isFunction)(e))r=!0,n="FunctionDeclaration";else if((0,Ul.isAssignmentExpression)(e))return(0,Lz.expressionStatement)(e);if(r&&!e.id&&(n=!1),!n){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=n,e}});var ST=g($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var qz=os(),$t=lr(),Uz=Dh;$l.default=Uz;var Vz=Function.call.bind(Object.prototype.toString);function $z(e){return Vz(e)==="[object RegExp]"}function Kz(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function Dh(e){if(e===void 0)return(0,$t.identifier)("undefined");if(e===!0||e===!1)return(0,$t.booleanLiteral)(e);if(e===null)return(0,$t.nullLiteral)();if(typeof e=="string")return(0,$t.stringLiteral)(e);if(typeof e=="number"){let t;if(Number.isFinite(e))t=(0,$t.numericLiteral)(Math.abs(e));else{let r;Number.isNaN(e)?r=(0,$t.numericLiteral)(0):r=(0,$t.numericLiteral)(1),t=(0,$t.binaryExpression)("/",r,(0,$t.numericLiteral)(0))}return(e<0||Object.is(e,-0))&&(t=(0,$t.unaryExpression)("-",t)),t}if($z(e)){let t=e.source,r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,$t.regExpLiteral)(t,r)}if(Array.isArray(e))return(0,$t.arrayExpression)(e.map(Dh));if(Kz(e)){let t=[];for(let r of Object.keys(e)){let n;(0,qz.default)(r)?n=(0,$t.identifier)(r):n=(0,$t.stringLiteral)(r),t.push((0,$t.objectProperty)(n,Dh(e[r])))}return(0,$t.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}});var xT=g(Ih=>{"use strict";Object.defineProperty(Ih,"__esModule",{value:!0});Ih.default=zz;var Wz=lr();function zz(e,t,r=!1){return e.object=(0,Wz.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e}});var AT=g(_h=>{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});_h.default=Hz;var PT=Un(),Gz=sh();function Hz(e,t){if(!e||!t)return e;for(let r of PT.INHERIT_KEYS.optional)e[r]==null&&(e[r]=t[r]);for(let r of Object.keys(t))r[0]==="_"&&r!=="__clone"&&(e[r]=t[r]);for(let r of PT.INHERIT_KEYS.force)e[r]=t[r];return(0,Gz.default)(e,t),e}});var CT=g(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});Oh.default=Jz;var Yz=lr(),Xz=ye();function Jz(e,t){if((0,Xz.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,Yz.memberExpression)(t,e.object),e}});var wT=g(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var Qz=qa(),Zz=eG;Kl.default=Zz;function eG(e,t){return(0,Qz.default)(e,t,!0)}});var DT=g(kh=>{"use strict";Object.defineProperty(kh,"__esModule",{value:!0});kh.default=rG;var tG=xr();function rG(e,t,r){typeof t=="function"&&(t={enter:t});let{enter:n,exit:i}=t;Nh(e,n,i,r,[])}function Nh(e,t,r,n,i){let s=tG.VISITOR_KEYS[e.type];if(s){t&&t(e,i,n);for(let a of s){let o=e[a];if(Array.isArray(o))for(let l=0;l<o.length;l++){let u=o[l];u&&(i.push({node:e,key:a,index:l}),Nh(u,t,r,n,i),i.pop())}else o&&(i.push({node:e,key:a}),Nh(o,t,r,n,i),i.pop())}r&&r(e,i,n)}}});var IT=g(Fh=>{"use strict";Object.defineProperty(Fh,"__esModule",{value:!0});Fh.default=iG;var nG=qa();function iG(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let n=nG.default.keys[t.type];if(n)for(let i=0;i<n.length;i++){let s=n[i],a=t[s];if(Array.isArray(a)){if(a.indexOf(e)>=0)return!0}else if(a===e)return!0}return!1}});var jh=g(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});Bh.default=oG;var sG=St(),aG=Un();function oG(e){return(0,sG.isVariableDeclaration)(e)&&(e.kind!=="var"||e[aG.BLOCK_SCOPED_SYMBOL])}});var OT=g(Lh=>{"use strict";Object.defineProperty(Lh,"__esModule",{value:!0});Lh.default=uG;var _T=St(),lG=jh();function uG(e){return(0,_T.isFunctionDeclaration)(e)||(0,_T.isClassDeclaration)(e)||(0,lG.default)(e)}});var NT=g(Mh=>{"use strict";Object.defineProperty(Mh,"__esModule",{value:!0});Mh.default=pG;var cG=Tl(),fG=St();function pG(e){return(0,cG.default)(e.type,"Immutable")?!0:(0,fG.isIdentifier)(e)?e.name==="undefined":!1}});var FT=g(qh=>{"use strict";Object.defineProperty(qh,"__esModule",{value:!0});qh.default=Rh;var kT=xr();function Rh(e,t){if(typeof e!="object"||typeof t!="object"||e==null||t==null)return e===t;if(e.type!==t.type)return!1;let r=Object.keys(kT.NODE_FIELDS[e.type]||e.type),n=kT.VISITOR_KEYS[e.type];for(let i of r){let s=e[i],a=t[i];if(typeof s!=typeof a)return!1;if(!(s==null&&a==null)){if(s==null||a==null)return!1;if(Array.isArray(s)){if(!Array.isArray(a)||s.length!==a.length)return!1;for(let o=0;o<s.length;o++)if(!Rh(s[o],a[o]))return!1;continue}if(typeof s=="object"&&!(n!=null&&n.includes(i))){for(let o of Object.keys(s))if(s[o]!==a[o])return!1;continue}if(!Rh(s,a))return!1}}return!0}});var BT=g(Uh=>{"use strict";Object.defineProperty(Uh,"__esModule",{value:!0});Uh.default=dG;function dG(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:!1;case"ObjectProperty":return t.key===e?!!t.computed:!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return t.key===e?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return r!=null&&r.source?!1:t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key===e?!!t.computed:!0}return!0}});var jT=g(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});Vh.default=hG;var xi=St();function hG(e,t){return(0,xi.isBlockStatement)(e)&&((0,xi.isFunction)(t)||(0,xi.isCatchClause)(t))?!1:(0,xi.isPattern)(e)&&((0,xi.isFunction)(t)||(0,xi.isCatchClause)(t))?!0:(0,xi.isScopable)(e)}});var MT=g($h=>{"use strict";Object.defineProperty($h,"__esModule",{value:!0});$h.default=mG;var LT=St();function mG(e){return(0,LT.isImportDefaultSpecifier)(e)||(0,LT.isIdentifier)(e.imported||e.exported,{name:"default"})}});var RT=g(Kh=>{"use strict";Object.defineProperty(Kh,"__esModule",{value:!0});Kh.default=bG;var yG=os(),gG=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 bG(e){return(0,yG.default)(e)&&!gG.has(e)}});var qT=g(Wh=>{"use strict";Object.defineProperty(Wh,"__esModule",{value:!0});Wh.default=TG;var EG=St(),vG=Un();function TG(e){return(0,EG.isVariableDeclaration)(e,{kind:"var"})&&!e[vG.BLOCK_SCOPED_SYMBOL]}});var ye=g(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var Wn={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,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(ee,"__internal__deprecationWarning",{enumerable:!0,get:function(){return PH.default}});Object.defineProperty(ee,"addComment",{enumerable:!0,get:function(){return kG.default}});Object.defineProperty(ee,"addComments",{enumerable:!0,get:function(){return FG.default}});Object.defineProperty(ee,"appendToMemberExpression",{enumerable:!0,get:function(){return XG.default}});Object.defineProperty(ee,"assertNode",{enumerable:!0,get:function(){return AG.default}});Object.defineProperty(ee,"buildMatchMemberExpression",{enumerable:!0,get:function(){return xH.default}});Object.defineProperty(ee,"clone",{enumerable:!0,get:function(){return IG.default}});Object.defineProperty(ee,"cloneDeep",{enumerable:!0,get:function(){return _G.default}});Object.defineProperty(ee,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return OG.default}});Object.defineProperty(ee,"cloneNode",{enumerable:!0,get:function(){return DG.default}});Object.defineProperty(ee,"cloneWithoutLoc",{enumerable:!0,get:function(){return NG.default}});Object.defineProperty(ee,"createFlowUnionType",{enumerable:!0,get:function(){return UT.default}});Object.defineProperty(ee,"createTSUnionType",{enumerable:!0,get:function(){return wG.default}});Object.defineProperty(ee,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return CG.default}});Object.defineProperty(ee,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return UT.default}});Object.defineProperty(ee,"ensureBlock",{enumerable:!0,get:function(){return qG.default}});Object.defineProperty(ee,"getBindingIdentifiers",{enumerable:!0,get:function(){return rH.default}});Object.defineProperty(ee,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return nH.default}});Object.defineProperty(ee,"inheritInnerComments",{enumerable:!0,get:function(){return BG.default}});Object.defineProperty(ee,"inheritLeadingComments",{enumerable:!0,get:function(){return jG.default}});Object.defineProperty(ee,"inheritTrailingComments",{enumerable:!0,get:function(){return MG.default}});Object.defineProperty(ee,"inherits",{enumerable:!0,get:function(){return JG.default}});Object.defineProperty(ee,"inheritsComments",{enumerable:!0,get:function(){return LG.default}});Object.defineProperty(ee,"is",{enumerable:!0,get:function(){return aH.default}});Object.defineProperty(ee,"isBinding",{enumerable:!0,get:function(){return oH.default}});Object.defineProperty(ee,"isBlockScoped",{enumerable:!0,get:function(){return lH.default}});Object.defineProperty(ee,"isImmutable",{enumerable:!0,get:function(){return uH.default}});Object.defineProperty(ee,"isLet",{enumerable:!0,get:function(){return cH.default}});Object.defineProperty(ee,"isNode",{enumerable:!0,get:function(){return fH.default}});Object.defineProperty(ee,"isNodesEquivalent",{enumerable:!0,get:function(){return pH.default}});Object.defineProperty(ee,"isPlaceholderType",{enumerable:!0,get:function(){return dH.default}});Object.defineProperty(ee,"isReferenced",{enumerable:!0,get:function(){return hH.default}});Object.defineProperty(ee,"isScope",{enumerable:!0,get:function(){return mH.default}});Object.defineProperty(ee,"isSpecifierDefault",{enumerable:!0,get:function(){return yH.default}});Object.defineProperty(ee,"isType",{enumerable:!0,get:function(){return gH.default}});Object.defineProperty(ee,"isValidES3Identifier",{enumerable:!0,get:function(){return bH.default}});Object.defineProperty(ee,"isValidIdentifier",{enumerable:!0,get:function(){return EH.default}});Object.defineProperty(ee,"isVar",{enumerable:!0,get:function(){return vH.default}});Object.defineProperty(ee,"matchesPattern",{enumerable:!0,get:function(){return TH.default}});Object.defineProperty(ee,"prependToMemberExpression",{enumerable:!0,get:function(){return QG.default}});ee.react=void 0;Object.defineProperty(ee,"removeComments",{enumerable:!0,get:function(){return RG.default}});Object.defineProperty(ee,"removeProperties",{enumerable:!0,get:function(){return ZG.default}});Object.defineProperty(ee,"removePropertiesDeep",{enumerable:!0,get:function(){return eH.default}});Object.defineProperty(ee,"removeTypeDuplicates",{enumerable:!0,get:function(){return tH.default}});Object.defineProperty(ee,"shallowEqual",{enumerable:!0,get:function(){return sH.default}});Object.defineProperty(ee,"toBindingIdentifierName",{enumerable:!0,get:function(){return UG.default}});Object.defineProperty(ee,"toBlock",{enumerable:!0,get:function(){return VG.default}});Object.defineProperty(ee,"toComputedKey",{enumerable:!0,get:function(){return $G.default}});Object.defineProperty(ee,"toExpression",{enumerable:!0,get:function(){return KG.default}});Object.defineProperty(ee,"toIdentifier",{enumerable:!0,get:function(){return WG.default}});Object.defineProperty(ee,"toKeyAlias",{enumerable:!0,get:function(){return zG.default}});Object.defineProperty(ee,"toSequenceExpression",{enumerable:!0,get:function(){return GG.default}});Object.defineProperty(ee,"toStatement",{enumerable:!0,get:function(){return HG.default}});Object.defineProperty(ee,"traverse",{enumerable:!0,get:function(){return Wl.default}});Object.defineProperty(ee,"traverseFast",{enumerable:!0,get:function(){return iH.default}});Object.defineProperty(ee,"validate",{enumerable:!0,get:function(){return SH.default}});Object.defineProperty(ee,"valueToNode",{enumerable:!0,get:function(){return YG.default}});var SG=Nv(),xG=kv(),PG=U1(),AG=V1(),zh=$1();Object.keys(zh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===zh[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return zh[e]}})});var CG=K1(),UT=G1(),wG=J1(),Gh=lr();Object.keys(Gh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===Gh[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return Gh[e]}})});var Hh=Q1();Object.keys(Hh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===Hh[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return Hh[e]}})});var DG=Kn(),IG=iT(),_G=sT(),OG=aT(),NG=oT(),kG=lT(),FG=Yd(),BG=Zd(),jG=th(),LG=sh(),MG=nh(),RG=uT(),Yh=fT();Object.keys(Yh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===Yh[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return Yh[e]}})});var Xh=Un();Object.keys(Xh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===Xh[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return Xh[e]}})});var qG=pT(),UG=dT(),VG=uh(),$G=hT(),KG=mT(),WG=ph(),zG=bT(),GG=vT(),HG=TT(),YG=ST(),Jh=xr();Object.keys(Jh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===Jh[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return Jh[e]}})});var XG=xT(),JG=AT(),QG=CT(),ZG=Eh(),eH=Th(),tH=Rd(),rH=qa(),nH=wT(),Wl=DT();Object.keys(Wl).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===Wl[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return Wl[e]}})});var iH=gh(),sH=El(),aH=ss(),oH=IT(),lH=OT(),uH=NT(),cH=jh(),fH=jd(),pH=FT(),dH=fd(),hH=BT(),mH=jT(),yH=MT(),gH=Tl(),bH=RT(),EH=os(),vH=qT(),TH=sd(),SH=wl(),xH=od(),Qh=St();Object.keys(Qh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(Wn,e)||e in ee&&ee[e]===Qh[e]||Object.defineProperty(ee,e,{enumerable:!0,get:function(){return Qh[e]}})});var PH=Aa(),AH={isReactComponent:SG.default,isCompatTag:xG.default,buildChildren:PG.default};ee.react=AH});var Va=g(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.explode=JT;fs.isExplodedVisitor=XT;fs.merge=IH;fs.verify=QT;var YT=td(),CH=ye(),{DEPRECATED_KEYS:VT,DEPRECATED_ALIASES:$T,FLIPPED_ALIAS_KEYS:KT,TYPES:wH,__internal__deprecationWarning:WT}=CH;function DH(e){return e in YT}function XT(e){return e==null?void 0:e._exploded}function JT(e){if(XT(e))return e;e._exploded=!0;for(let t of Object.keys(e)){if(Pi(t))continue;let r=t.split("|");if(r.length===1)continue;let n=e[t];delete e[t];for(let i of r)e[i]=n}QT(e),delete e.__esModule,_H(e),HT(e);for(let t of Object.keys(e)){if(Pi(t)||!DH(t))continue;let r=e[t];for(let i of Object.keys(r))r[i]=OH(t,r[i]);delete e[t];let n=YT[t];if(n!==null)for(let i of n)e[i]?Ua(e[i],r):e[i]=r;else Ua(e,r)}for(let t of Object.keys(e)){if(Pi(t))continue;let r=KT[t];if(t in VT){let i=VT[t];WT(t,i,"Visitor "),r=[i]}else if(t in $T){let i=$T[t];WT(t,i,"Visitor "),r=KT[i]}if(!r)continue;let n=e[t];delete e[t];for(let i of r){let s=e[i];s?Ua(s,n):e[i]=Object.assign({},n)}}for(let t of Object.keys(e))Pi(t)||HT(e[t]);return e}function QT(e){if(!e._verified){if(typeof e=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let t of Object.keys(e)){if((t==="enter"||t==="exit")&&zT(t,e[t]),Pi(t))continue;if(wH.indexOf(t)<0)throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`);let r=e[t];if(typeof r=="object")for(let n of Object.keys(r))if(n==="enter"||n==="exit")zT(`${t}.${n}`,r[n]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${n}`)}e._verified=!0}}function zT(e,t){let r=[].concat(t);for(let n of r)if(typeof n!="function")throw new TypeError(`Non-function found defined in ${e} with type ${typeof n}`)}function IH(e,t=[],r){let n={};for(let i=0;i<e.length;i++){let s=JT(e[i]),a=t[i],o=s;(a||r)&&(o=GT(o,a,r)),Ua(n,o);for(let l of Object.keys(s)){if(Pi(l))continue;let u=s[l];(a||r)&&(u=GT(u,a,r));let c=n[l]||(n[l]={});Ua(c,u)}}return n}function GT(e,t,r){let n={};for(let i of["enter","exit"]){let s=e[i];Array.isArray(s)&&(s=s.map(function(a){let o=a;return t&&(o=function(l){a.call(t,l,t)}),r&&(o=r(t==null?void 0:t.key,i,o)),o!==a&&(o.toString=()=>a.toString()),o}),n[i]=s)}return n}function _H(e){for(let t of Object.keys(e)){if(Pi(t))continue;let r=e[t];typeof r=="function"&&(e[t]={enter:r})}}function HT(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function OH(e,t){let r=function(n){if(n[`is${e}`]())return t.apply(this,arguments)};return r.toString=()=>t.toString(),r}function Pi(e){return e[0]==="_"||e==="enter"||e==="exit"||e==="shouldSkip"||e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"}function Ua(e,t){for(let r of["enter","exit"])t[r]&&(e[r]=[].concat(e[r]||[],t[r]))}});var Ai=g(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.clear=NH;Mr.clearPath=tS;Mr.clearScope=rS;Mr.scope=Mr.path=void 0;var ZT=new WeakMap;Mr.path=ZT;var eS=new WeakMap;Mr.scope=eS;function NH(){tS(),rS()}function tS(){Mr.path=ZT=new WeakMap}function rS(){Mr.scope=eS=new WeakMap}});var iS=g((XCe,nS)=>{var ps=1e3,ds=ps*60,hs=ds*60,Ci=hs*24,kH=Ci*7,FH=Ci*365.25;nS.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return BH(e);if(r==="number"&&isFinite(e))return t.long?LH(e):jH(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function BH(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*FH;case"weeks":case"week":case"w":return r*kH;case"days":case"day":case"d":return r*Ci;case"hours":case"hour":case"hrs":case"hr":case"h":return r*hs;case"minutes":case"minute":case"mins":case"min":case"m":return r*ds;case"seconds":case"second":case"secs":case"sec":case"s":return r*ps;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function jH(e){var t=Math.abs(e);return t>=Ci?Math.round(e/Ci)+"d":t>=hs?Math.round(e/hs)+"h":t>=ds?Math.round(e/ds)+"m":t>=ps?Math.round(e/ps)+"s":e+"ms"}function LH(e){var t=Math.abs(e);return t>=Ci?zl(e,t,Ci,"day"):t>=hs?zl(e,t,hs,"hour"):t>=ds?zl(e,t,ds,"minute"):t>=ps?zl(e,t,ps,"second"):e+" ms"}function zl(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var Zh=g((JCe,sS)=>{function MH(e){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=a,r.humanize=iS(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let f=0;for(let d=0;d<c.length;d++)f=(f<<5)-f+c.charCodeAt(d),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=t;function r(c){let f,d=null,m,S;function p(...E){if(!p.enabled)return;let b=p,_=Number(new Date),D=_-(f||_);b.diff=D,b.prev=f,b.curr=_,f=_,E[0]=r.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let A=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(O,F)=>{if(O==="%%")return"%";A++;let z=r.formatters[F];if(typeof z=="function"){let Y=E[A];O=z.call(b,Y),E.splice(A,1),A--}return O}),r.formatArgs.call(b,E),(b.log||r.log).apply(b,E)}return p.namespace=c,p.useColors=r.useColors(),p.color=r.selectColor(c),p.extend=n,p.destroy=r.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(m!==r.namespaces&&(m=r.namespaces,S=r.enabled(c)),S),set:E=>{d=E}}),typeof r.init=="function"&&r.init(p),p}function n(c,f){let d=r(this.namespace+(typeof f=="undefined"?":":f)+c);return d.log=this.log,d}function i(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f,d=(typeof c=="string"?c:"").split(/[\s,]+/),m=d.length;for(f=0;f<m;f++)d[f]&&(c=d[f].replace(/\*/g,".*?"),c[0]==="-"?r.skips.push(new RegExp("^"+c.slice(1)+"$")):r.names.push(new RegExp("^"+c+"$")))}function s(){let c=[...r.names.map(o),...r.skips.map(o).map(f=>"-"+f)].join(",");return r.enable(""),c}function a(c){if(c[c.length-1]==="*")return!0;let f,d;for(f=0,d=r.skips.length;f<d;f++)if(r.skips[f].test(c))return!1;for(f=0,d=r.names.length;f<d;f++)if(r.names[f].test(c))return!0;return!1}function o(c){return c.toString().substring(2,c.toString().length-2).replace(/\.\*\?$/,"*")}function l(c){return c instanceof Error?c.stack||c.message:c}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}sS.exports=MH});var aS=g((mr,Gl)=>{mr.formatArgs=qH;mr.save=UH;mr.load=VH;mr.useColors=RH;mr.storage=$H();mr.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();mr.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function RH(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function qH(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Gl.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}mr.log=console.debug||console.log||(()=>{});function UH(e){try{e?mr.storage.setItem("debug",e):mr.storage.removeItem("debug")}catch{}}function VH(){let e;try{e=mr.storage.getItem("debug")}catch{}return!e&&typeof process!="undefined"&&"env"in process&&(e=process.env.DEBUG),e}function $H(){try{return localStorage}catch{}}Gl.exports=Zh()(mr);var{formatters:KH}=Gl.exports;KH.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var lS=g((QCe,oS)=>{"use strict";oS.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1?!0:n<i)}});var tm=g((ZCe,uS)=>{"use strict";var WH=require("os"),Rr=lS(),Kt=process.env,ms;Rr("no-color")||Rr("no-colors")||Rr("color=false")?ms=!1:(Rr("color")||Rr("colors")||Rr("color=true")||Rr("color=always"))&&(ms=!0);"FORCE_COLOR"in Kt&&(ms=Kt.FORCE_COLOR.length===0||parseInt(Kt.FORCE_COLOR,10)!==0);function zH(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function GH(e){if(ms===!1)return 0;if(Rr("color=16m")||Rr("color=full")||Rr("color=truecolor"))return 3;if(Rr("color=256"))return 2;if(e&&!e.isTTY&&ms!==!0)return 0;let t=ms?1:0;if(process.platform==="win32"){let r=WH.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Kt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in Kt)||Kt.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in Kt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Kt.TEAMCITY_VERSION)?1:0;if(Kt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Kt){let r=parseInt((Kt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Kt.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Kt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Kt.TERM)||"COLORTERM"in Kt?1:(Kt.TERM==="dumb",t)}function em(e){let t=GH(e);return zH(t)}uS.exports={supportsColor:em,stdout:em(process.stdout),stderr:em(process.stderr)}});var fS=g((Mt,Yl)=>{var HH=require("tty"),Hl=require("util");Mt.init=tY;Mt.log=QH;Mt.formatArgs=XH;Mt.save=ZH;Mt.load=eY;Mt.useColors=YH;Mt.destroy=Hl.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Mt.colors=[6,2,3,4,5,1];try{let e=tm();e&&(e.stderr||e).level>=2&&(Mt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Mt.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function YH(){return"colors"in Mt.inspectOpts?!!Mt.inspectOpts.colors:HH.isatty(process.stderr.fd)}function XH(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${t} \x1B[0m`;e[0]=s+e[0].split(`
`).join(`
`+s),e.push(i+"m+"+Yl.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=JH()+t+" "+e[0]}function JH(){return Mt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function QH(...e){return process.stderr.write(Hl.format(...e)+`
`)}function ZH(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function eY(){return process.env.DEBUG}function tY(e){e.inspectOpts={};let t=Object.keys(Mt.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Mt.inspectOpts[t[r]]}Yl.exports=Zh()(Mt);var{formatters:cS}=Yl.exports;cS.o=function(e){return this.inspectOpts.colors=this.useColors,Hl.inspect(e,this.inspectOpts).split(`
`).map(t=>t.trim()).join(" ")};cS.O=function(e){return this.inspectOpts.colors=this.useColors,Hl.inspect(e,this.inspectOpts)}});var ys=g((ewe,rm)=>{typeof process=="undefined"||process.type==="renderer"||process.browser===!0||process.__nwjs?rm.exports=aS():rm.exports=fS()});var $a=g(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.default=sY;var rY=ye(),{cloneNode:nm,exportNamedDeclaration:pS,exportSpecifier:dS,identifier:im,variableDeclaration:nY,variableDeclarator:iY}=rY;function sY(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){let s=e.get("declaration"),a=s.isFunctionDeclaration()||s.isClassDeclaration(),o=s.isFunctionExpression()||s.isClassExpression(),l=s.isScope()?s.scope.parent:s.scope,u=s.node.id,c=!1;u?o&&l.hasBinding(u.name)&&(c=!0,u=l.generateUidIdentifier(u.name)):(c=!0,u=l.generateUidIdentifier("default"),(a||o)&&(s.node.id=nm(u)));let f=a?s.node:nY("var",[iY(nm(u),s.node)]),d=pS(null,[dS(nm(u),im("default"))]);return e.insertAfter(d),e.replaceWith(f),c&&l.registerDeclaration(e),e}else if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let t=e.get("declaration"),r=t.getOuterBindingIdentifiers(),n=Object.keys(r).map(s=>dS(im(s),im(s))),i=pS(null,n);return e.insertAfter(i),e.replaceWith(t.node),e}});var wi=g(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.default=void 0;gs.requeueComputedKeyAndDecorators=am;gs.skipAllButComputedKey=function(t){t.skip(),t.node.computed&&t.context.maybeQueue(t.get("key"))};function am(e){let{context:t,node:r}=e;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(let n of e.get("decorators"))t.maybeQueue(n)}var aY={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&am(e))},Property(e){e.isObjectProperty()||(e.skip(),am(e))}},oY=aY;gs.default=oY});var hS=g(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var lY=$a(),uY=ye(),cY=wi(),fY=Jl(),pY=Va(),dY={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&(0,cY.requeueComputedKeyAndDecorators)(e))},ObjectProperty({node:e,scope:t},r){let{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){var i;e.shorthand=!1,(i=e.extra)!=null&&i.shorthand&&(e.extra.shorthand=!1)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;let r=e.getOuterBindingIdentifiers();for(let n in r)n===t.oldName&&(r[n].name=t.newName)}},om=class{constructor(t,r,n){this.newName=n,this.oldName=r,this.binding=t}maybeConvertFromExportDeclaration(t){let r=t.parentPath;if(r.isExportDeclaration()){if(r.isExportDefaultDeclaration()){let{declaration:n}=r.node;if(uY.isDeclaration(n)&&!n.id)return}r.isExportAllDeclaration()||(0,lY.default)(r)}}maybeConvertFromClassFunctionDeclaration(t){return t}maybeConvertFromClassFunctionExpression(t){return t}rename(){let{binding:t,oldName:r,newName:n}=this,{scope:i,path:s}=t,a=s.find(l=>l.isDeclaration()||l.isFunctionExpression()||l.isClassExpression());a&&a.getOuterBindingIdentifiers()[r]===t.identifier&&this.maybeConvertFromExportDeclaration(a);let o=arguments[0]||i.block;(0,fY.traverseNode)(o,(0,pY.explode)(dY),i,this,i.path,{discriminant:!0}),arguments[0]||(i.removeOwnBinding(r),i.bindings[n]=t,this.binding.identifier.name=n),a&&(this.maybeConvertFromClassFunctionDeclaration(s),this.maybeConvertFromClassFunctionExpression(s))}};Xl.default=om});var mS=g(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var lm=class{constructor({identifier:t,scope:r,path:n,kind:i}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=n,this.kind=i,(i==="var"||i==="hoisted")&&hY(n||(()=>{throw new Error("Internal Babel error: unreachable ")})())&&this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(t){this.hasDeoptedValue||(this.hasValue=!0,this.value=t)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(t){this.constant=!1,this.constantViolations.indexOf(t)===-1&&this.constantViolations.push(t)}reference(t){this.referencePaths.indexOf(t)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(t))}dereference(){this.references--,this.referenced=!!this.references}};Ql.default=lm;function hY(e){for(let{parentPath:t,key:r}=e;t;{parentPath:t,key:r}=t){if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&r==="body")return!0}return!1}});var yS=g((swe,mY)=>{mY.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}});var bS=g((awe,gS)=>{"use strict";gS.exports=yS()});var pm=g(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.default=void 0;var yY=hS(),gY=yr(),bY=mS(),EY=bS(),DS=ye(),ES=DS,vS=Ai(),vY=Va(),{NOT_LOCAL_BINDING:TS,callExpression:SS,cloneNode:xS,getBindingIdentifiers:TY,identifier:bs,isArrayExpression:PS,isBinary:SY,isClass:xY,isClassBody:PY,isClassDeclaration:AY,isExportAllDeclaration:IS,isExportDefaultDeclaration:CY,isExportNamedDeclaration:um,isFunctionDeclaration:wY,isIdentifier:Zl,isImportDeclaration:cm,isLiteral:DY,isMethod:IY,isModuleSpecifier:_Y,isNullLiteral:OY,isObjectExpression:NY,isProperty:kY,isPureish:FY,isRegExpLiteral:BY,isSuper:jY,isTaggedTemplateExpression:LY,isTemplateLiteral:_S,isThisExpression:AS,isUnaryExpression:MY,isVariableDeclaration:RY,matchesPattern:qY,memberExpression:fm,numericLiteral:CS,toIdentifier:UY,unaryExpression:VY,variableDeclaration:$Y,variableDeclarator:KY,isRecordExpression:WY,isTupleExpression:zY,isObjectProperty:GY,isTopicReference:wS,isMetaProperty:HY,isPrivateName:YY,isExportDeclaration:XY}=DS;function ct(e,t){switch(e==null?void 0:e.type){default:if(cm(e)||XY(e))if((IS(e)||um(e)||cm(e))&&e.source)ct(e.source,t);else if((um(e)||cm(e))&&e.specifiers&&e.specifiers.length)for(let r of e.specifiers)ct(r,t);else(CY(e)||um(e))&&e.declaration&&ct(e.declaration,t);else _Y(e)?ct(e.local,t):DY(e)&&!OY(e)&&!BY(e)&&!_S(e)&&t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":ct(e.object,t),ct(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":ct(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(let r of e.properties)ct(r,t);break;case"SpreadElement":case"RestElement":ct(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":ct(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),ct(e.argument,t);break;case"AwaitExpression":t.push("await"),ct(e.argument,t);break;case"AssignmentExpression":ct(e.left,t);break;case"VariableDeclarator":ct(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":ct(e.id,t);break;case"PrivateName":ct(e.id,t);break;case"ParenthesizedExpression":ct(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":ct(e.argument,t);break;case"MetaProperty":ct(e.meta,t),ct(e.property,t);break;case"JSXElement":ct(e.openingElement,t);break;case"JSXOpeningElement":ct(e.name,t);break;case"JSXFragment":ct(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":ct(e.namespace,t),ct(e.name,t);break}}var eu={ForStatement(e){let t=e.get("init");if(t.isVar()){let{scope:r}=e;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration())return;(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){let r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){let{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit(e){let{node:t,scope:r}=e;if(IS(t))return;let n=t.declaration;if(AY(n)||wY(n)){let i=n.id;if(!i)return;let s=r.getBinding(i.name);s==null||s.reference(e)}else if(RY(n))for(let i of n.declarations)for(let s of Object.keys(TY(i))){let a=r.getBinding(s);a==null||a.reference(e)}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){e.node.operator==="delete"&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;if(t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e),e.isClassDeclaration()&&e.node.id){let i=e.node.id.name;e.scope.bindings[i]=e.scope.parent.getBinding(i)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){let t=e.get("params");for(let r of t)e.scope.registerBinding("param",r);e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[TS]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.has("id")&&!e.get("id").node[TS]&&e.scope.registerBinding("local",e)}},JY=0,Ka=class e{constructor(t){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:r}=t,n=vS.scope.get(r);if((n==null?void 0:n.path)===t)return n;vS.scope.set(r,this),this.uid=JY++,this.block=r,this.path=t,this.labels=new Map,this.inited=!1}get parent(){var t;let r,n=this.path;do{let i=n.key==="key"||n.listKey==="decorators";n=n.parentPath,i&&n.isMethod()&&(n=n.parentPath),n&&n.isScope()&&(r=n)}while(n&&!r);return(t=r)==null?void 0:t.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(t,r,n){(0,gY.default)(t,r,this,n,this.path)}generateDeclaredUidIdentifier(t){let r=this.generateUidIdentifier(t);return this.push({id:r}),xS(r)}generateUidIdentifier(t){return bs(this.generateUid(t))}generateUid(t="temp"){t=UY(t).replace(/^_+/,"").replace(/[0-9]+$/g,"");let r,n=1;do r=this._generateUid(t,n),n++;while(this.hasLabel(r)||this.hasBinding(r)||this.hasGlobal(r)||this.hasReference(r));let i=this.getProgramParent();return i.references[r]=!0,i.uids[r]=!0,r}_generateUid(t,r){let n=t;return r>1&&(n+=r),`_${n}`}generateUidBasedOnNode(t,r){let n=[];ct(t,n);let i=n.join("$");return i=i.replace(/^_/,"")||r||"ref",this.generateUid(i.slice(0,20))}generateUidIdentifierBasedOnNode(t,r){return bs(this.generateUidBasedOnNode(t,r))}isStatic(t){if(AS(t)||jY(t)||wS(t))return!0;if(Zl(t)){let r=this.getBinding(t.name);return r?r.constant:this.hasBinding(t.name)}return!1}maybeGenerateMemoised(t,r){if(this.isStatic(t))return null;{let n=this.generateUidIdentifierBasedOnNode(t);return r?n:(this.push({id:n}),xS(n))}}checkBlockScopedCollisions(t,r,n,i){if(r==="param"||t.kind==="local")return;if(r==="let"||t.kind==="let"||t.kind==="const"||t.kind==="module"||t.kind==="param"&&r==="const")throw this.hub.buildError(i,`Duplicate declaration "${n}"`,TypeError)}rename(t,r){let n=this.getBinding(t);n&&(r||(r=this.generateUidIdentifier(t).name),new yY.default(n,t,r).rename(arguments[2]))}_renameFromMap(t,r,n,i){t[r]&&(t[n]=i,t[r]=null)}dump(){let t="-".repeat(60);console.log(t);let r=this;do{console.log("#",r.block.type);for(let n of Object.keys(r.bindings)){let i=r.bindings[n];console.log(" -",n,{constant:i.constant,references:i.references,violations:i.constantViolations.length,kind:i.kind})}}while(r=r.parent);console.log(t)}toArray(t,r,n){if(Zl(t)){let a=this.getBinding(t.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return t}if(PS(t))return t;if(Zl(t,{name:"arguments"}))return SS(fm(fm(fm(bs("Array"),bs("prototype")),bs("slice")),bs("call")),[t]);let i,s=[t];return r===!0?i="toConsumableArray":typeof r=="number"?(s.push(CS(r)),i="slicedToArray"):i="toArray",n&&(s.unshift(this.hub.addHelper(i)),i="maybeArrayLike"),SS(this.hub.addHelper(i),s)}hasLabel(t){return!!this.getLabel(t)}getLabel(t){return this.labels.get(t)}registerLabel(t){this.labels.set(t.node.label.name,t)}registerDeclaration(t){if(t.isLabeledStatement())this.registerLabel(t);else if(t.isFunctionDeclaration())this.registerBinding("hoisted",t.get("id"),t);else if(t.isVariableDeclaration()){let r=t.get("declarations"),{kind:n}=t.node;for(let i of r)this.registerBinding(n==="using"||n==="await using"?"const":n,i)}else if(t.isClassDeclaration()){if(t.node.declare)return;this.registerBinding("let",t)}else if(t.isImportDeclaration()){let r=t.node.importKind==="type"||t.node.importKind==="typeof",n=t.get("specifiers");for(let i of n){let s=r||i.isImportSpecifier()&&(i.node.importKind==="type"||i.node.importKind==="typeof");this.registerBinding(s?"unknown":"module",i)}}else if(t.isExportDeclaration()){let r=t.get("declaration");(r.isClassDeclaration()||r.isFunctionDeclaration()||r.isVariableDeclaration())&&this.registerDeclaration(r)}else this.registerBinding("unknown",t)}buildUndefinedNode(){return VY("void",CS(0),!0)}registerConstantViolation(t){let r=t.getBindingIdentifiers();for(let i of Object.keys(r)){var n;(n=this.getBinding(i))==null||n.reassign(t)}}registerBinding(t,r,n=r){if(!t)throw new ReferenceError("no `kind`");if(r.isVariableDeclaration()){let a=r.get("declarations");for(let o of a)this.registerBinding(t,o);return}let i=this.getProgramParent(),s=r.getOuterBindingIdentifiers(!0);for(let a of Object.keys(s)){i.references[a]=!0;for(let o of s[a]){let l=this.getOwnBinding(a);if(l){if(l.identifier===o)continue;this.checkBlockScopedCollisions(l,t,a,o)}l?this.registerConstantViolation(n):this.bindings[a]=new bY.default({identifier:o,scope:this,path:n,kind:t})}}}addGlobal(t){this.globals[t.name]=t}hasUid(t){let r=this;do if(r.uids[t])return!0;while(r=r.parent);return!1}hasGlobal(t){let r=this;do if(r.globals[t])return!0;while(r=r.parent);return!1}hasReference(t){return!!this.getProgramParent().references[t]}isPure(t,r){if(Zl(t)){let a=this.getBinding(t.name);return a?r?a.constant:!0:!1}else{if(AS(t)||HY(t)||wS(t)||YY(t))return!0;if(xY(t)){var n;return t.superClass&&!this.isPure(t.superClass,r)||((n=t.decorators)==null?void 0:n.length)>0?!1:this.isPure(t.body,r)}else if(PY(t)){for(let a of t.body)if(!this.isPure(a,r))return!1;return!0}else{if(SY(t))return this.isPure(t.left,r)&&this.isPure(t.right,r);if(PS(t)||zY(t)){for(let a of t.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(NY(t)||WY(t)){for(let a of t.properties)if(!this.isPure(a,r))return!1;return!0}else if(IY(t)){var i;return!(t.computed&&!this.isPure(t.key,r)||((i=t.decorators)==null?void 0:i.length)>0)}else if(kY(t)){var s;return!(t.computed&&!this.isPure(t.key,r)||((s=t.decorators)==null?void 0:s.length)>0||(GY(t)||t.static)&&t.value!==null&&!this.isPure(t.value,r))}else{if(MY(t))return this.isPure(t.argument,r);if(LY(t))return qY(t.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(t.quasi,r);if(_S(t)){for(let a of t.expressions)if(!this.isPure(a,r))return!1;return!0}else return FY(t)}}}}setData(t,r){return this.data[t]=r}getData(t){let r=this;do{let n=r.data[t];if(n!=null)return n}while(r=r.parent)}removeData(t){let r=this;do r.data[t]!=null&&(r.data[t]=null);while(r=r.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let t=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let r=this.getProgramParent();if(r.crawling)return;let n={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,t.type!=="Program"&&(0,vY.isExplodedVisitor)(eu)){for(let s of eu.enter)s.call(n,t,n);let i=eu[t.type];if(i)for(let s of i.enter)s.call(n,t,n)}t.traverse(eu,n),this.crawling=!1;for(let i of n.assignments){let s=i.getBindingIdentifiers();for(let a of Object.keys(s))i.scope.getBinding(a)||r.addGlobal(s[a]);i.scope.registerConstantViolation(i)}for(let i of n.references){let s=i.scope.getBinding(i.node.name);s?s.reference(i):r.addGlobal(i.node)}for(let i of n.constantViolations)i.scope.registerConstantViolation(i)}push(t){let r=this.path;r.isPattern()?r=this.getPatternParent().path:!r.isBlockStatement()&&!r.isProgram()&&(r=this.getBlockParent().path),r.isSwitchStatement()&&(r=(this.getFunctionParent()||this.getProgramParent()).path);let{init:n,unique:i,kind:s="var",id:a}=t;if(!n&&!i&&(s==="var"||s==="let")&&r.isFunction()&&!r.node.name&&ES.isCallExpression(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&ES.isIdentifier(a)){r.pushContainer("params",a),r.scope.registerBinding("param",r.get("params")[r.node.params.length-1]);return}(r.isLoop()||r.isCatchClause()||r.isFunction())&&(r.ensureBlock(),r=r.get("body"));let o=t._blockHoist==null?2:t._blockHoist,l=`declaration:${s}:${o}`,u=!i&&r.getData(l);if(!u){let d=$Y(s,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),i||r.setData(l,u)}let c=KY(a,n),f=u.node.declarations.push(c);r.scope.registerBinding(s,u.get("declarations")[f-1])}getProgramParent(){let t=this;do if(t.path.isProgram())return t;while(t=t.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let t=this;do if(t.path.isFunctionParent())return t;while(t=t.parent);return null}getBlockParent(){let t=this;do if(t.path.isBlockParent())return t;while(t=t.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let t=this;do if(!t.path.isPattern())return t.getBlockParent();while(t=t.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let t=Object.create(null),r=this;do{for(let n of Object.keys(r.bindings))n in t||(t[n]=r.bindings[n]);r=r.parent}while(r);return t}getAllBindingsOfKind(...t){let r=Object.create(null);for(let n of t){let i=this;do{for(let s of Object.keys(i.bindings)){let a=i.bindings[s];a.kind===n&&(r[s]=a)}i=i.parent}while(i)}return r}bindingIdentifierEquals(t,r){return this.getBindingIdentifier(t)===r}getBinding(t){let r=this,n;do{let s=r.getOwnBinding(t);if(s){var i;if(!((i=n)!=null&&i.isPattern()&&s.kind!=="param"&&s.kind!=="local"))return s}else if(!s&&t==="arguments"&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;n=r.path}while(r=r.parent)}getOwnBinding(t){return this.bindings[t]}getBindingIdentifier(t){var r;return(r=this.getBinding(t))==null?void 0:r.identifier}getOwnBindingIdentifier(t){let r=this.bindings[t];return r==null?void 0:r.identifier}hasOwnBinding(t){return!!this.getOwnBinding(t)}hasBinding(t,r){var n,i,s;return t?!!(this.hasOwnBinding(t)||(typeof r=="boolean"&&(r={noGlobals:r}),this.parentHasBinding(t,r))||!((n=r)!=null&&n.noUids)&&this.hasUid(t)||!((i=r)!=null&&i.noGlobals)&&e.globals.includes(t)||!((s=r)!=null&&s.noGlobals)&&e.contextVariables.includes(t)):!1}parentHasBinding(t,r){var n;return(n=this.parent)==null?void 0:n.hasBinding(t,r)}moveBindingTo(t,r){let n=this.getBinding(t);n&&(n.scope.removeOwnBinding(t),n.scope=r,r.bindings[t]=n)}removeOwnBinding(t){delete this.bindings[t]}removeBinding(t){var r;(r=this.getBinding(t))==null||r.scope.removeOwnBinding(t);let n=this;do n.uids[t]&&(n.uids[t]=!1);while(n=n.parent)}};tu.default=Ka;Ka.globals=Object.keys(EY.builtin);Ka.contextVariables=["arguments","undefined","Infinity","NaN"]});var dm=g((ru,OS)=>{(function(e,t){typeof ru=="object"&&typeof OS!="undefined"?t(ru):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e.setArray={}))})(ru,function(e){"use strict";e.get=void 0,e.put=void 0,e.pop=void 0;class t{constructor(){this._indexes={__proto__:null},this.array=[]}}e.get=(r,n)=>r._indexes[n],e.put=(r,n)=>{let i=e.get(r,n);if(i!==void 0)return i;let{array:s,_indexes:a}=r;return a[n]=s.push(n)-1},e.pop=r=>{let{array:n,_indexes:i}=r;if(n.length===0)return;let s=n.pop();i[s]=void 0},e.SetArray=t,Object.defineProperty(e,"__esModule",{value:!0})})});var iu=g((nu,NS)=>{(function(e,t){typeof nu=="object"&&typeof NS!="undefined"?t(nu):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e.sourcemapCodec={}))})(nu,function(e){"use strict";let t=",".charCodeAt(0),r=";".charCodeAt(0),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),s=new Uint8Array(128);for(let p=0;p<n.length;p++){let E=n.charCodeAt(p);i[p]=E,s[E]=p}let a=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(p){return Buffer.from(p.buffer,p.byteOffset,p.byteLength).toString()}}:{decode(p){let E="";for(let b=0;b<p.length;b++)E+=String.fromCharCode(p[b]);return E}};function o(p){let E=new Int32Array(5),b=[],_=0;do{let D=l(p,_),A=[],I=!0,O=0;E[0]=0;for(let F=_;F<D;F++){let z;F=u(p,F,E,0);let Y=E[0];Y<O&&(I=!1),O=Y,c(p,F,D)?(F=u(p,F,E,1),F=u(p,F,E,2),F=u(p,F,E,3),c(p,F,D)?(F=u(p,F,E,4),z=[Y,E[1],E[2],E[3],E[4]]):z=[Y,E[1],E[2],E[3]]):z=[Y],A.push(z)}I||f(A),b.push(A),_=D+1}while(_<=p.length);return b}function l(p,E){let b=p.indexOf(";",E);return b===-1?p.length:b}function u(p,E,b,_){let D=0,A=0,I=0;do{let F=p.charCodeAt(E++);I=s[F],D|=(I&31)<<A,A+=5}while(I&32);let O=D&1;return D>>>=1,O&&(D=-2147483648|-D),b[_]+=D,E}function c(p,E,b){return E>=b?!1:p.charCodeAt(E)!==t}function f(p){p.sort(d)}function d(p,E){return p[0]-E[0]}function m(p){let E=new Int32Array(5),b=1024*16,_=b-36,D=new Uint8Array(b),A=D.subarray(0,_),I=0,O="";for(let F=0;F<p.length;F++){let z=p[F];if(F>0&&(I===b&&(O+=a.decode(D),I=0),D[I++]=r),z.length!==0){E[0]=0;for(let Y=0;Y<z.length;Y++){let Z=z[Y];I>_&&(O+=a.decode(A),D.copyWithin(0,_,I),I-=_),Y>0&&(D[I++]=t),I=S(D,I,E,Z,0),Z.length!==1&&(I=S(D,I,E,Z,1),I=S(D,I,E,Z,2),I=S(D,I,E,Z,3),Z.length!==4&&(I=S(D,I,E,Z,4)))}}}return O+a.decode(D.subarray(0,I))}function S(p,E,b,_,D){let A=_[D],I=A-b[D];b[D]=A,I=I<0?-I<<1|1:I<<1;do{let O=I&31;I>>>=5,I>0&&(O|=32),p[E++]=i[O]}while(I>0);return E}e.decode=o,e.encode=m,Object.defineProperty(e,"__esModule",{value:!0})})});var kS=g((hm,mm)=>{(function(e,t){typeof hm=="object"&&typeof mm!="undefined"?mm.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.resolveURI=t())})(hm,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(b){b[b.Empty=1]="Empty",b[b.Hash=2]="Hash",b[b.Query=3]="Query",b[b.RelativePath=4]="RelativePath",b[b.AbsolutePath=5]="AbsolutePath",b[b.SchemeRelative=6]="SchemeRelative",b[b.Absolute=7]="Absolute"})(n||(n={}));function i(b){return e.test(b)}function s(b){return b.startsWith("//")}function a(b){return b.startsWith("/")}function o(b){return b.startsWith("file:")}function l(b){return/^[.?#]/.test(b)}function u(b){let _=t.exec(b);return f(_[1],_[2]||"",_[3],_[4]||"",_[5]||"/",_[6]||"",_[7]||"")}function c(b){let _=r.exec(b),D=_[2];return f("file:","",_[1]||"","",a(D)?D:"/"+D,_[3]||"",_[4]||"")}function f(b,_,D,A,I,O,F){return{scheme:b,user:_,host:D,port:A,path:I,query:O,hash:F,type:n.Absolute}}function d(b){if(s(b)){let D=u("http:"+b);return D.scheme="",D.type=n.SchemeRelative,D}if(a(b)){let D=u("http://foo.com"+b);return D.scheme="",D.host="",D.type=n.AbsolutePath,D}if(o(b))return c(b);if(i(b))return u(b);let _=u("http://foo.com/"+b);return _.scheme="",_.host="",_.type=b?b.startsWith("?")?n.Query:b.startsWith("#")?n.Hash:n.RelativePath:n.Empty,_}function m(b){if(b.endsWith("/.."))return b;let _=b.lastIndexOf("/");return b.slice(0,_+1)}function S(b,_){p(_,_.type),b.path==="/"?b.path=_.path:b.path=m(_.path)+b.path}function p(b,_){let D=_<=n.RelativePath,A=b.path.split("/"),I=1,O=0,F=!1;for(let Y=1;Y<A.length;Y++){let Z=A[Y];if(!Z){F=!0;continue}if(F=!1,Z!=="."){if(Z===".."){O?(F=!0,O--,I--):D&&(A[I++]=Z);continue}A[I++]=Z,O++}}let z="";for(let Y=1;Y<I;Y++)z+="/"+A[Y];(!z||F&&!z.endsWith("/.."))&&(z+="/"),b.path=z}function E(b,_){if(!b&&!_)return"";let D=d(b),A=D.type;if(_&&A!==n.Absolute){let O=d(_),F=O.type;switch(A){case n.Empty:D.hash=O.hash;case n.Hash:D.query=O.query;case n.Query:case n.RelativePath:S(D,O);case n.AbsolutePath:D.user=O.user,D.host=O.host,D.port=O.port;case n.SchemeRelative:D.scheme=O.scheme}F>A&&(A=F)}p(D,A);let I=D.query+D.hash;switch(A){case n.Hash:case n.Query:return I;case n.RelativePath:{let O=D.path.slice(1);return O?l(_||b)&&!l(O)?"./"+O+I:O+I:I||"."}case n.AbsolutePath:return D.path+I;default:return D.scheme+"//"+D.user+D.host+D.port+D.path+I}}return E})});var au=g((su,FS)=>{(function(e,t){typeof su=="object"&&typeof FS!="undefined"?t(su,iu(),kS()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(su,function(e,t,r){"use strict";function n($){return $&&typeof $=="object"&&"default"in $?$:{default:$}}var i=n(r);function s($,V){return V&&!V.endsWith("/")&&(V+="/"),i.default($,V)}function a($){if(!$)return"";let V=$.lastIndexOf("/");return $.slice(0,V+1)}let o=0,l=1,u=2,c=3,f=4,d=1,m=2;function S($,V){let H=p($,0);if(H===$.length)return $;V||($=$.slice());for(let ne=H;ne<$.length;ne=p($,ne+1))$[ne]=b($[ne],V);return $}function p($,V){for(let H=V;H<$.length;H++)if(!E($[H]))return H;return $.length}function E($){for(let V=1;V<$.length;V++)if($[V][o]<$[V-1][o])return!1;return!0}function b($,V){return V||($=$.slice()),$.sort(_)}function _($,V){return $[o]-V[o]}let D=!1;function A($,V,H,ne){for(;H<=ne;){let De=H+(ne-H>>1),be=$[De][o]-V;if(be===0)return D=!0,De;be<0?H=De+1:ne=De-1}return D=!1,H-1}function I($,V,H){for(let ne=H+1;ne<$.length&&$[ne][o]===V;H=ne++);return H}function O($,V,H){for(let ne=H-1;ne>=0&&$[ne][o]===V;H=ne--);return H}function F(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function z($,V,H,ne){let{lastKey:De,lastNeedle:be,lastIndex:Ae}=H,at=0,Re=$.length-1;if(ne===De){if(V===be)return D=Ae!==-1&&$[Ae][o]===V,Ae;V>=be?at=Ae===-1?0:Ae:Re=Ae}return H.lastKey=ne,H.lastNeedle=V,H.lastIndex=A($,V,at,Re)}function Y($,V){let H=V.map(Te);for(let ne=0;ne<$.length;ne++){let De=$[ne];for(let be=0;be<De.length;be++){let Ae=De[be];if(Ae.length===1)continue;let at=Ae[l],Re=Ae[u],nt=Ae[c],kt=H[at],Ct=kt[Re]||(kt[Re]=[]),Vt=V[at],Yt=I(Ct,nt,z(Ct,nt,Vt,Re));Z(Ct,Vt.lastIndex=Yt+1,[nt,ne,Ae[o]])}}return H}function Z($,V,H){for(let ne=$.length;ne>V;ne--)$[ne]=$[ne-1];$[V]=H}function Te(){return{__proto__:null}}let Se=function($,V){let H=typeof $=="string"?JSON.parse($):$;if(!("sections"in H))return new Me(H,V);let ne=[],De=[],be=[],Ae=[];ut(H,V,ne,De,be,Ae,0,0,1/0,1/0);let at={version:3,file:H.file,names:Ae,sources:De,sourcesContent:be,mappings:ne};return e.presortedDecodedMap(at)};function ut($,V,H,ne,De,be,Ae,at,Re,nt){let{sections:kt}=$;for(let Ct=0;Ct<kt.length;Ct++){let{map:Vt,offset:Yt}=kt[Ct],hr=Re,pn=nt;if(Ct+1<kt.length){let Sr=kt[Ct+1].offset;hr=Math.min(Re,Ae+Sr.line),hr===Re?pn=Math.min(nt,at+Sr.column):hr<Re&&(pn=at+Sr.column)}se(Vt,V,H,ne,De,be,Ae+Yt.line,at+Yt.column,hr,pn)}}function se($,V,H,ne,De,be,Ae,at,Re,nt){if("sections"in $)return ut(...arguments);let kt=new Me($,V),Ct=ne.length,Vt=be.length,Yt=e.decodedMappings(kt),{resolvedSources:hr,sourcesContent:pn}=kt;if(M(ne,hr),M(be,kt.names),pn)M(De,pn);else for(let Sr=0;Sr<hr.length;Sr++)De.push(null);for(let Sr=0;Sr<Yt.length;Sr++){let Zp=Ae+Sr;if(Zp>Re)return;let Pv=L(H,Zp),Qk=Sr===0?at:0,Av=Yt[Sr];for(let ed=0;ed<Av.length;ed++){let bi=Av[ed],gl=Qk+bi[o];if(Zp===Re&&gl>=nt)return;if(bi.length===1){Pv.push([gl]);continue}let Cv=Ct+bi[l],wv=bi[u],Dv=bi[c];Pv.push(bi.length===4?[gl,Cv,wv,Dv]:[gl,Cv,wv,Dv,Vt+bi[f]])}}}function M($,V){for(let H=0;H<V.length;H++)$.push(V[H])}function L($,V){for(let H=$.length;H<=V;H++)$[H]=[];return $[V]}let J="`line` must be greater than 0 (lines start at line 1)",pe="`column` must be greater than or equal to 0 (columns start at column 0)",Ee=-1,Pe=1;e.encodedMappings=void 0,e.decodedMappings=void 0,e.traceSegment=void 0,e.originalPositionFor=void 0,e.generatedPositionFor=void 0,e.allGeneratedPositionsFor=void 0,e.eachMapping=void 0,e.sourceContentFor=void 0,e.presortedDecodedMap=void 0,e.decodedMap=void 0,e.encodedMap=void 0;class Me{constructor(V,H){let ne=typeof V=="string";if(!ne&&V._decodedMemo)return V;let De=ne?JSON.parse(V):V,{version:be,file:Ae,names:at,sourceRoot:Re,sources:nt,sourcesContent:kt}=De;this.version=be,this.file=Ae,this.names=at,this.sourceRoot=Re,this.sources=nt,this.sourcesContent=kt;let Ct=s(Re||"",a(H));this.resolvedSources=nt.map(Yt=>s(Yt||"",Ct));let{mappings:Vt}=De;typeof Vt=="string"?(this._encoded=Vt,this._decoded=void 0):(this._encoded=void 0,this._decoded=S(Vt,ne)),this._decodedMemo=F(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{e.encodedMappings=V=>{var H;return(H=V._encoded)!==null&&H!==void 0?H:V._encoded=t.encode(V._decoded)},e.decodedMappings=V=>V._decoded||(V._decoded=t.decode(V._encoded)),e.traceSegment=(V,H,ne)=>{let De=e.decodedMappings(V);if(H>=De.length)return null;let be=De[H],Ae=st(be,V._decodedMemo,H,ne,Pe);return Ae===-1?null:be[Ae]},e.originalPositionFor=(V,{line:H,column:ne,bias:De})=>{if(H--,H<0)throw new Error(J);if(ne<0)throw new Error(pe);let be=e.decodedMappings(V);if(H>=be.length)return At(null,null,null,null);let Ae=be[H],at=st(Ae,V._decodedMemo,H,ne,De||Pe);if(at===-1)return At(null,null,null,null);let Re=Ae[at];if(Re.length===1)return At(null,null,null,null);let{names:nt,resolvedSources:kt}=V;return At(kt[Re[l]],Re[u]+1,Re[c],Re.length===5?nt[Re[f]]:null)},e.allGeneratedPositionsFor=(V,{source:H,line:ne,column:De,bias:be})=>$(V,H,ne,De,be||Ee,!0),e.generatedPositionFor=(V,{source:H,line:ne,column:De,bias:be})=>$(V,H,ne,De,be||Pe,!1),e.eachMapping=(V,H)=>{let ne=e.decodedMappings(V),{names:De,resolvedSources:be}=V;for(let Ae=0;Ae<ne.length;Ae++){let at=ne[Ae];for(let Re=0;Re<at.length;Re++){let nt=at[Re],kt=Ae+1,Ct=nt[0],Vt=null,Yt=null,hr=null,pn=null;nt.length!==1&&(Vt=be[nt[1]],Yt=nt[2]+1,hr=nt[3]),nt.length===5&&(pn=De[nt[4]]),H({generatedLine:kt,generatedColumn:Ct,source:Vt,originalLine:Yt,originalColumn:hr,name:pn})}}},e.sourceContentFor=(V,H)=>{let{sources:ne,resolvedSources:De,sourcesContent:be}=V;if(be==null)return null;let Ae=ne.indexOf(H);return Ae===-1&&(Ae=De.indexOf(H)),Ae===-1?null:be[Ae]},e.presortedDecodedMap=(V,H)=>{let ne=new Me(Ke(V,[]),H);return ne._decoded=V.mappings,ne},e.decodedMap=V=>Ke(V,e.decodedMappings(V)),e.encodedMap=V=>Ke(V,e.encodedMappings(V));function $(V,H,ne,De,be,Ae){if(ne--,ne<0)throw new Error(J);if(De<0)throw new Error(pe);let{sources:at,resolvedSources:Re}=V,nt=at.indexOf(H);if(nt===-1&&(nt=Re.indexOf(H)),nt===-1)return Ae?[]:We(null,null);let Ct=(V._bySources||(V._bySources=Y(e.decodedMappings(V),V._bySourceMemos=at.map(F))))[nt][ne];if(Ct==null)return Ae?[]:We(null,null);let Vt=V._bySourceMemos[nt];if(Ae)return Tt(Ct,Vt,ne,De,be);let Yt=st(Ct,Vt,ne,De,be);if(Yt===-1)return We(null,null);let hr=Ct[Yt];return We(hr[d]+1,hr[m])}})();function Ke($,V){return{version:$.version,file:$.file,names:$.names,sourceRoot:$.sourceRoot,sources:$.sources,sourcesContent:$.sourcesContent,mappings:V}}function At($,V,H,ne){return{source:$,line:V,column:H,name:ne}}function We($,V){return{line:$,column:V}}function st($,V,H,ne,De){let be=z($,ne,V,H);return D?be=(De===Ee?I:O)($,ne,be):De===Ee&&be++,be===-1||be===$.length?-1:be}function Tt($,V,H,ne,De){let be=st($,V,H,ne,Pe);if(!D&&De===Ee&&be++,be===-1||be===$.length)return[];let Ae=D?ne:$[be][o];D||(be=O($,Ae,be));let at=I($,Ae,be),Re=[];for(;be<=at;be++){let nt=$[be];Re.push(We(nt[d]+1,nt[m]))}return Re}e.AnyMap=Se,e.GREATEST_LOWER_BOUND=Pe,e.LEAST_UPPER_BOUND=Ee,e.TraceMap=Me,Object.defineProperty(e,"__esModule",{value:!0})})});var jS=g((ou,BS)=>{(function(e,t){typeof ou=="object"&&typeof BS!="undefined"?t(ou,dm(),iu(),au()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(ou,function(e,t,r,n){"use strict";e.addSegment=void 0,e.addMapping=void 0,e.maybeAddSegment=void 0,e.maybeAddMapping=void 0,e.setSourceContent=void 0,e.toDecodedMap=void 0,e.toEncodedMap=void 0,e.fromMap=void 0,e.allMappings=void 0;let c;class f{constructor({file:I,sourceRoot:O}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=I,this.sourceRoot=O}}e.addSegment=(A,I,O,F,z,Y,Z,Te)=>c(!1,A,I,O,F,z,Y,Z,Te),e.maybeAddSegment=(A,I,O,F,z,Y,Z,Te)=>c(!0,A,I,O,F,z,Y,Z,Te),e.addMapping=(A,I)=>D(!1,A,I),e.maybeAddMapping=(A,I)=>D(!0,A,I),e.setSourceContent=(A,I,O)=>{let{_sources:F,_sourcesContent:z}=A;z[t.put(F,I)]=O},e.toDecodedMap=A=>{let{file:I,sourceRoot:O,_mappings:F,_sources:z,_sourcesContent:Y,_names:Z}=A;return p(F),{version:3,file:I||void 0,names:Z.array,sourceRoot:O||void 0,sources:z.array,sourcesContent:Y,mappings:F}},e.toEncodedMap=A=>{let I=e.toDecodedMap(A);return Object.assign(Object.assign({},I),{mappings:r.encode(I.mappings)})},e.allMappings=A=>{let I=[],{_mappings:O,_sources:F,_names:z}=A;for(let Y=0;Y<O.length;Y++){let Z=O[Y];for(let Te=0;Te<Z.length;Te++){let Se=Z[Te],ut={line:Y+1,column:Se[0]},se,M,L;Se.length!==1&&(se=F.array[Se[1]],M={line:Se[2]+1,column:Se[3]},Se.length===5&&(L=z.array[Se[4]])),I.push({generated:ut,source:se,original:M,name:L})}}return I},e.fromMap=A=>{let I=new n.TraceMap(A),O=new f({file:I.file,sourceRoot:I.sourceRoot});return E(O._names,I.names),E(O._sources,I.sources),O._sourcesContent=I.sourcesContent||I.sources.map(()=>null),O._mappings=n.decodedMappings(I),O},c=(A,I,O,F,z,Y,Z,Te,Se)=>{let{_mappings:ut,_sources:se,_sourcesContent:M,_names:L}=I,J=d(ut,O),pe=m(J,F);if(!z)return A&&b(J,pe)?void 0:S(J,pe,[F]);let Ee=t.put(se,z),Pe=Te?t.put(L,Te):-1;if(Ee===M.length&&(M[Ee]=Se!=null?Se:null),!(A&&_(J,pe,Ee,Y,Z,Pe)))return S(J,pe,Te?[F,Ee,Y,Z,Pe]:[F,Ee,Y,Z])};function d(A,I){for(let O=A.length;O<=I;O++)A[O]=[];return A[I]}function m(A,I){let O=A.length;for(let F=O-1;F>=0;O=F--){let z=A[F];if(I>=z[0])break}return O}function S(A,I,O){for(let F=A.length;F>I;F--)A[F]=A[F-1];A[I]=O}function p(A){let{length:I}=A,O=I;for(let F=O-1;F>=0&&!(A[F].length>0);O=F,F--);O<I&&(A.length=O)}function E(A,I){for(let O=0;O<I.length;O++)t.put(A,I[O])}function b(A,I){return I===0?!0:A[I-1].length===1}function _(A,I,O,F,z,Y){if(I===0)return!1;let Z=A[I-1];return Z.length===1?!1:O===Z[1]&&F===Z[2]&&z===Z[3]&&Y===(Z.length===5?Z[4]:-1)}function D(A,I,O){let{generated:F,source:z,original:Y,name:Z,content:Te}=O;if(!z)return c(A,I,F.line-1,F.column,null,null,null,null,null);let Se=z;return c(A,I,F.line-1,F.column,Se,Y.line-1,Y.column,Z,Te)}e.GenMapping=f,Object.defineProperty(e,"__esModule",{value:!0})})});var LS=g(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.default=void 0;var zn=jS(),ym=au(),gm=class{constructor(t,r){var n;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let i=this._map=new zn.GenMapping({sourceRoot:t.sourceRoot});if(this._sourceFileName=(n=t.sourceFileName)==null?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,t.inputSourceMap){this._inputMap=new ym.TraceMap(t.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var s;(0,zn.setSourceContent)(i,a[o],(s=this._inputMap.sourcesContent)==null?void 0:s[o])}}if(typeof r=="string"&&!t.inputSourceMap)(0,zn.setSourceContent)(i,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,zn.setSourceContent)(i,a.replace(/\\/g,"/"),r[a])}get(){return(0,zn.toEncodedMap)(this._map)}getDecoded(){return(0,zn.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,zn.allMappings)(this._map))}mark(t,r,n,i,s,a){var o;this._rawMappings=void 0;let l;if(r!=null)if(this._inputMap){if(l=(0,ym.originalPositionFor)(this._inputMap,{line:r,column:n}),!l.name&&s){let u=(0,ym.originalPositionFor)(this._inputMap,s);u.name&&(i=u.name)}}else l={source:(a==null?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:r,column:n};(0,zn.maybeAddMapping)(this._map,{name:i,generated:t,source:(o=l)==null?void 0:o.source,original:l})}};lu.default=gm});var MS=g(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var bm=class{constructor(t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=t,this._allocQueue()}_allocQueue(){let t=this._queue;for(let r=0;r<16;r++)t.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(t,r,n,i,s){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let o=this._queue[a];o.char=t,o.repeat=r,o.line=n,o.column=i,o.filename=s,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let t=this._map,r={code:(this._buf+this._str).trimRight(),decodedMap:t==null?void 0:t.getDecoded(),get __mergedMap(){return this.map},get map(){let n=t?t.get():null;return r.map=n,n},set map(n){Object.defineProperty(r,"map",{value:n,writable:!0})},get rawMappings(){let n=t==null?void 0:t.getRawMappings();return r.rawMappings=n,n},set rawMappings(n){Object.defineProperty(r,"rawMappings",{value:n,writable:!0})}};return r}append(t,r){this._flush(),this._append(t,this._sourcePosition,r)}appendChar(t){this._flush(),this._appendChar(t,1,this._sourcePosition)}queue(t){if(t===10)for(;this._queueCursor!==0;){let n=this._queue[this._queueCursor-1].char;if(n!==32&&n!==9)break;this._queueCursor--}let r=this._sourcePosition;this._pushQueue(t,1,r.line,r.column,r.filename)}queueIndentation(t,r){this._pushQueue(t,r,void 0,void 0,void 0)}_flush(){let t=this._queueCursor,r=this._queue;for(let n=0;n<t;n++){let i=r[n];this._appendChar(i.char,i.repeat,i)}this._queueCursor=0}_appendChar(t,r,n){this._last=t,this._str+=r>1?String.fromCharCode(t).repeat(r):String.fromCharCode(t),t!==10?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=r):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(t,r,n){let i=t.length,s=this._position;if(this._last=t.charCodeAt(i-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=t,this._appendCount=0):this._str+=t,!n&&!this._map){s.column+=i;return}let{column:a,identifierName:o,identifierNamePos:l,filename:u}=r,c=r.line;(o!=null||l!=null)&&this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0);let f=t.indexOf(`
`),d=0;for(f!==0&&this._mark(c,a,o,l,u);f!==-1;)s.line++,s.column=0,d=f+1,d<i&&c!==void 0&&this._mark(++c,0,null,null,u),f=t.indexOf(`
`,d);s.column+=i-d}_mark(t,r,n,i,s){var a;(a=this._map)==null||a.mark(this._position,t,r,n,i,s)}removeTrailingNewline(){let t=this._queueCursor;t!==0&&this._queue[t-1].char===10&&this._queueCursor--}removeLastSemicolon(){let t=this._queueCursor;t!==0&&this._queue[t-1].char===59&&this._queueCursor--}getLastChar(){let t=this._queueCursor;return t!==0?this._queue[t-1].char:this._last}getNewlineCount(){let t=this._queueCursor,r=0;if(t===0)return this._last===10?1:0;for(let n=t-1;n>=0&&this._queue[n].char===10;n--)r++;return r===t&&this._last===10?r+1:r}endsWithCharAndNewline(){let t=this._queue,r=this._queueCursor;if(r!==0)return t[r-1].char!==10?void 0:r>1?t[r-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(t,r){if(!this._map){r();return}this.source("start",t);let n=t.identifierName,i=this._sourcePosition;n&&(this._canMarkIdName=!1,i.identifierName=n),r(),n&&(this._canMarkIdName=!0,i.identifierName=void 0,i.identifierNamePos=void 0),this.source("end",t)}source(t,r){this._map&&this._normalizePosition(t,r,0)}sourceWithOffset(t,r,n){this._map&&this._normalizePosition(t,r,n)}withSource(t,r,n){this._map&&this.source(t,r),n()}_normalizePosition(t,r,n){let i=r[t],s=this._sourcePosition;i&&(s.line=i.line,s.column=Math.max(i.column+n,0),s.filename=r.filename)}getCurrentColumn(){let t=this._queue,r=this._queueCursor,n=-1,i=0;for(let s=0;s<r;s++){let a=t[s];a.char===10&&(n=i),i+=a.repeat}return n===-1?this._position.column+i:i-1-n}getCurrentLine(){let t=0,r=this._queue;for(let n=0;n<this._queueCursor;n++)r[n].char===10&&t++;return this._position.line+t}};uu.default=bm});var $S=g(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.nodes=void 0;var QY=ye(),{FLIPPED_ALIAS_KEYS:ZY,isArrayExpression:eX,isAssignmentExpression:qS,isBinary:US,isBlockStatement:tX,isCallExpression:VS,isFunction:Wa,isIdentifier:cu,isLiteral:rX,isMemberExpression:Em,isObjectExpression:nX,isOptionalCallExpression:iX,isOptionalMemberExpression:sX,isStringLiteral:aX}=QY;function Es(e,t){return e&&(Em(e)||sX(e)?(Es(e.object,t),e.computed&&Es(e.property,t)):US(e)||qS(e)?(Es(e.left,t),Es(e.right,t)):VS(e)||iX(e)?(t.hasCall=!0,Es(e.callee,t)):Wa(e)?t.hasFunction=!0:cu(e)&&(t.hasHelper=t.hasHelper||e.callee&&mn(e.callee))),t}function RS(e){return Es(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function mn(e){return e?Em(e)?mn(e.object)||mn(e.property):cu(e)?e.name==="require"||e.name.charCodeAt(0)===95:VS(e)?mn(e.callee):US(e)||qS(e)?cu(e.left)&&mn(e.left)||mn(e.right):!1:!1}function oX(e){return rX(e)||nX(e)||eX(e)||cu(e)||Em(e)}var Gn={AssignmentExpression(e){let t=RS(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase(e,t){return(e.consequent.length||t.cases[0]===e?1:0)|(!e.consequent.length&&t.cases[t.cases.length-1]===e?2:0)},LogicalExpression(e){if(Wa(e.left)||Wa(e.right))return 2},Literal(e){if(aX(e)&&e.value==="use strict")return 2},CallExpression(e){if(Wa(e.callee)||mn(e))return 3},OptionalCallExpression(e){if(Wa(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){let r=e.declarations[t],n=mn(r.id)&&!oX(r.init);if(!n&&r.init){let i=RS(r.init);n=mn(r.init)&&i.hasCall||i.hasFunction}if(n)return 3}},IfStatement(e){if(tX(e.consequent))return 3}};fu.nodes=Gn;Gn.ObjectProperty=Gn.ObjectTypeProperty=Gn.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1};Gn.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&!((r=t.properties)!=null&&r.length))return 1};Gn.ObjectTypeIndexer=function(e,t){var r,n;if(t.indexers[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length))return 1};Gn.ObjectTypeInternalSlot=function(e,t){var r,n,i;if(t.internalSlots[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)&&!((i=t.indexers)!=null&&i.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([e,t]){[e].concat(ZY[e]||[]).forEach(function(r){let n=t?3:0;Gn[r]=()=>n})})});var ox=g(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.ArrowFunctionExpression=tJ;Ye.AssignmentExpression=nJ;Ye.Binary=$X;Ye.BinaryExpression=XX;Ye.ClassExpression=ZX;Ye.ConditionalExpression=Cm;Ye.DoExpression=VX;Ye.FunctionExpression=eJ;Ye.FunctionTypeAnnotation=RX;Ye.Identifier=sJ;Ye.LogicalExpression=iJ;Ye.NullableTypeAnnotation=MX;Ye.ObjectExpression=UX;Ye.OptionalIndexedAccessType=WX;Ye.OptionalCallExpression=Ye.OptionalMemberExpression=rJ;Ye.SequenceExpression=JX;Ye.TSTypeAssertion=Ye.TSSatisfiesExpression=Ye.TSAsExpression=zX;Ye.TSInferType=HX;Ye.TSInstantiationExpression=YX;Ye.TSIntersectionType=Ye.TSUnionType=GX;Ye.UnaryLike=ax;Ye.IntersectionTypeAnnotation=Ye.UnionTypeAnnotation=KX;Ye.UpdateExpression=qX;Ye.AwaitExpression=Ye.YieldExpression=QX;var lX=ye(),{isArrayTypeAnnotation:vm,isArrowFunctionExpression:WS,isAssignmentExpression:zS,isAwaitExpression:Tm,isBinary:du,isBinaryExpression:GS,isUpdateExpression:uX,isCallExpression:Sm,isClass:cX,isClassExpression:fX,isConditional:pX,isConditionalExpression:HS,isExportDeclaration:dX,isExportDefaultDeclaration:hX,isExpressionStatement:YS,isFor:mX,isForInStatement:XS,isForOfStatement:JS,isForStatement:QS,isFunctionExpression:yX,isIfStatement:gX,isIndexedAccessType:bX,isIntersectionTypeAnnotation:ZS,isLogicalExpression:pu,isMemberExpression:xm,isNewExpression:Pm,isNullableTypeAnnotation:EX,isObjectPattern:vX,isOptionalCallExpression:ex,isOptionalMemberExpression:tx,isReturnStatement:TX,isSequenceExpression:SX,isSwitchStatement:xX,isTSArrayType:rx,isTSAsExpression:PX,isTSInstantiationExpression:AX,isTSIntersectionType:CX,isTSNonNullExpression:wX,isTSOptionalType:nx,isTSRestType:DX,isTSTypeAssertion:IX,isTSUnionType:_X,isTaggedTemplateExpression:OX,isThrowStatement:NX,isTypeAnnotation:kX,isUnaryLike:Am,isUnionTypeAnnotation:ix,isVariableDeclarator:FX,isWhileStatement:BX,isYieldExpression:jX,isTSSatisfiesExpression:LX}=lX,KS={"||":0,"??":0,"|>":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};function sx(e){return PX(e)||LX(e)||IX(e)}var hu=(e,t)=>cX(t,{superClass:e}),za=(e,t)=>(xm(t)||tx(t))&&t.object===e||(Sm(t)||ex(t)||Pm(t))&&t.callee===e||OX(t)&&t.tag===e||wX(t);function MX(e,t){return vm(t)}function RX(e,t,r){if(!(r.length<3))return ix(t)||ZS(t)||vm(t)||kX(t)&&WS(r[r.length-3])}function qX(e,t){return za(e,t)||hu(e,t)}function UX(e,t,r){return Ga(r,3)}function VX(e,t,r){return!e.async&&Ga(r,1)}function $X(e,t){if(e.operator==="**"&&GS(t,{operator:"**"}))return t.left===e;if(hu(e,t)||za(e,t)||Am(t)||Tm(t))return!0;if(du(t)){let r=t.operator,n=KS[r],i=e.operator,s=KS[i];if(n===s&&t.right===e&&!pu(t)||n>s)return!0}}function KX(e,t){return vm(t)||EX(t)||ZS(t)||ix(t)}function WX(e,t){return bX(t,{objectType:e})}function zX(){return!0}function GX(e,t){return rx(t)||nx(t)||CX(t)||_X(t)||DX(t)}function HX(e,t){return rx(t)||nx(t)}function YX(e,t){return(Sm(t)||ex(t)||Pm(t)||AX(t))&&!!t.typeParameters}function XX(e,t){return e.operator==="in"&&(FX(t)||mX(t))}function JX(e,t){return!(QS(t)||NX(t)||TX(t)||gX(t)&&t.test===e||BX(t)&&t.test===e||XS(t)&&t.right===e||xX(t)&&t.discriminant===e||YS(t)&&t.expression===e)}function QX(e,t){return du(t)||Am(t)||za(e,t)||Tm(t)&&jX(e)||HS(t)&&e===t.test||hu(e,t)}function ZX(e,t,r){return Ga(r,5)}function ax(e,t){return za(e,t)||GS(t,{operator:"**",left:e})||hu(e,t)}function eJ(e,t,r){return Ga(r,5)}function tJ(e,t){return dX(t)||Cm(e,t)}function Cm(e,t){return Am(t)||du(t)||HS(t,{test:e})||Tm(t)||sx(t)?!0:ax(e,t)}function rJ(e,t){return Sm(t,{callee:e})||xm(t,{object:e})}function nJ(e,t){return vX(e.left)?!0:Cm(e,t)}function iJ(e,t){if(sx(t))return!0;switch(e.operator){case"||":return pu(t)?t.operator==="??"||t.operator==="&&":!1;case"&&":return pu(t,{operator:"??"});case"??":return pu(t)&&t.operator!=="??"}}function sJ(e,t,r){var n;if((n=e.extra)!=null&&n.parenthesized&&zS(t,{left:e})&&(yX(t.right)||fX(t.right))&&t.right.id==null)return!0;if(e.name==="let"){let i=xm(t,{object:e,computed:!0})||tx(t,{object:e,computed:!0,optional:!1});return Ga(r,i?57:32)}return e.name==="async"&&JS(t)&&e===t.left}function Ga(e,t){let r=t&1,n=t&2,i=t&4,s=t&8,a=t&16,o=t&32,l=e.length-1;if(l<=0)return;let u=e[l];l--;let c=e[l];for(;l>=0;){if(r&&YS(c,{expression:u})||i&&hX(c,{declaration:u})||n&&WS(c,{body:u})||s&&QS(c,{init:u})||a&&XS(c,{left:u})||o&&JS(c,{left:u}))return!0;if(l>0&&(za(u,c)&&!Pm(c)||SX(c)&&c.expressions[0]===u||uX(c)&&!c.prefix||pX(c,{test:u})||du(c,{left:u})||zS(c,{left:u})))u=c,l--,c=e[l];else return!1}return!1}});var Dm=g(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.needsParens=bJ;vs.needsWhitespace=wm;vs.needsWhitespaceAfter=gJ;vs.needsWhitespaceBefore=yJ;var aJ=$S(),oJ=ox(),lJ=ye(),{FLIPPED_ALIAS_KEYS:uJ,isCallExpression:cJ,isExpressionStatement:fJ,isMemberExpression:pJ,isNewExpression:dJ}=lJ;function lx(e){let t={};function r(n,i){let s=t[n];t[n]=s?function(a,o,l){let u=s(a,o,l);return u==null?i(a,o,l):u}:i}for(let n of Object.keys(e)){let i=uJ[n];if(i)for(let s of i)r(s,e[n]);else r(n,e[n])}return t}var hJ=lx(oJ),mJ=lx(aJ.nodes);function ux(e,t,r,n){let i=e[t.type];return i?i(t,r,n):null}function cx(e){return cJ(e)?!0:pJ(e)&&cx(e.object)}function wm(e,t,r){if(!e)return!1;fJ(e)&&(e=e.expression);let n=ux(mJ,e,t);return typeof n=="number"?(n&r)!==0:!1}function yJ(e,t){return wm(e,t,1)}function gJ(e,t){return wm(e,t,2)}function bJ(e,t,r){return t?dJ(t)&&t.callee===e&&cx(e)?!0:ux(hJ,e,t,r):!1}});var fx=g(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.TaggedTemplateExpression=EJ;Ha.TemplateElement=vJ;Ha.TemplateLiteral=TJ;function EJ(e){this.print(e.tag,e),this.print(e.typeParameters,e),this.print(e.quasi,e)}function vJ(e,t){let r=t.quasis[0]===e,n=t.quasis[t.quasis.length-1]===e,i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i,!0)}function TJ(e){let t=e.quasis;for(let r=0;r<t.length;r++)this.print(t[r],e),r+1<t.length&&this.print(e.expressions[r],e)}});var hx=g(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.LogicalExpression=et.BinaryExpression=et.AssignmentExpression=GJ;et.AssignmentPattern=zJ;et.AwaitExpression=VJ;et.BindExpression=HJ;et.CallExpression=qJ;et.ConditionalExpression=_J;et.Decorator=LJ;et.DoExpression=wJ;et.EmptyStatement=KJ;et.ExpressionStatement=WJ;et.Import=UJ;et.MemberExpression=YJ;et.MetaProperty=XJ;et.ModuleExpression=ZJ;et.NewExpression=OJ;et.OptionalCallExpression=RJ;et.OptionalMemberExpression=MJ;et.ParenthesizedExpression=DJ;et.PrivateName=JJ;et.SequenceExpression=NJ;et.Super=FJ;et.ThisExpression=kJ;et.UnaryExpression=CJ;et.UpdateExpression=IJ;et.V8IntrinsicIdentifier=QJ;et.YieldExpression=$J;et._shouldPrintDecoratorsBeforeExport=jJ;var SJ=ye(),xJ=Dm(),{isCallExpression:PJ,isLiteral:px,isMemberExpression:Im,isNewExpression:AJ}=SJ;function CJ(e){let{operator:t}=e;t==="void"||t==="delete"||t==="typeof"||t==="throw"?(this.word(t),this.space()):this.token(t),this.print(e.argument,e)}function wJ(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body,e)}function DJ(e){this.tokenChar(40),this.print(e.expression,e),this.rightParens(e)}function IJ(e){e.prefix?(this.token(e.operator),this.print(e.argument,e)):(this.printTerminatorless(e.argument,e,!0),this.token(e.operator))}function _J(e){this.print(e.test,e),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent,e),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate,e)}function OJ(e,t){this.word("new"),this.space(),this.print(e.callee,e),!(this.format.minified&&e.arguments.length===0&&!e.optional&&!PJ(t,{callee:e})&&!Im(t)&&!AJ(t))&&(this.print(e.typeArguments,e),this.print(e.typeParameters,e),e.optional&&this.token("?."),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e))}function NJ(e){this.printList(e.expressions,e)}function kJ(){this.word("this")}function FJ(){this.word("super")}function dx(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&e.property.type==="Identifier"&&dx(e.object);default:return!1}}function BJ(e){return e.type==="ParenthesizedExpression"?!1:!dx(e.type==="CallExpression"?e.callee:e)}function jJ(e){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof e.start=="number"&&e.start===e.declaration.start}function LJ(e){this.tokenChar(64);let{expression:t}=e;BJ(t)?(this.tokenChar(40),this.print(t,e),this.tokenChar(41)):this.print(t,e),this.newline()}function MJ(e){let{computed:t}=e,{optional:r,property:n}=e;if(this.print(e.object,e),!t&&Im(n))throw new TypeError("Got a MemberExpression for MemberExpression property");px(n)&&typeof n.value=="number"&&(t=!0),r&&this.token("?."),t?(this.tokenChar(91),this.print(n,e),this.tokenChar(93)):(r||this.tokenChar(46),this.print(n,e))}function RJ(e){this.print(e.callee,e),this.print(e.typeParameters,e),e.optional&&this.token("?."),this.print(e.typeArguments,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)}function qJ(e){this.print(e.callee,e),this.print(e.typeArguments,e),this.print(e.typeParameters,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)}function UJ(){this.word("import")}function VJ(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))}function $J(e){this.word("yield",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument,e))):e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))}function KJ(){this.semicolon(!0)}function WJ(e){this.print(e.expression,e),this.semicolon()}function zJ(e){this.print(e.left,e),e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e)}function GJ(e,t){let r=this.inForStatementInitCounter&&e.operator==="in"&&!xJ.needsParens(e,t);r&&this.tokenChar(40),this.print(e.left,e),this.space(),e.operator==="in"||e.operator==="instanceof"?this.word(e.operator):this.token(e.operator),this.space(),this.print(e.right,e),r&&this.tokenChar(41)}function HJ(e){this.print(e.object,e),this.token("::"),this.print(e.callee,e)}function YJ(e){if(this.print(e.object,e),!e.computed&&Im(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;px(e.property)&&typeof e.property.value=="number"&&(t=!0),t?(this.tokenChar(91),this.print(e.property,e),this.tokenChar(93)):(this.tokenChar(46),this.print(e.property,e))}function XJ(e){this.print(e.meta,e),this.tokenChar(46),this.print(e.property,e)}function JJ(e){this.tokenChar(35),this.print(e.id,e)}function QJ(e){this.tokenChar(37),this.word(e.name)}function ZJ(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t,e),this.dedent(),this.rightBrace(e)}});var bx=g(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.BreakStatement=fQ;yt.CatchClause=gQ;yt.ContinueStatement=pQ;yt.DebuggerStatement=vQ;yt.DoWhileStatement=cQ;yt.ForOfStatement=yt.ForInStatement=void 0;yt.ForStatement=aQ;yt.IfStatement=sQ;yt.LabeledStatement=mQ;yt.ReturnStatement=dQ;yt.SwitchCase=EQ;yt.SwitchStatement=bQ;yt.ThrowStatement=hQ;yt.TryStatement=yQ;yt.VariableDeclaration=TQ;yt.VariableDeclarator=SQ;yt.WhileStatement=oQ;yt.WithStatement=iQ;var eQ=ye(),{isFor:mx,isForStatement:tQ,isIfStatement:rQ,isStatement:nQ}=eQ;function iQ(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object,e),this.tokenChar(41),this.printBlock(e)}function sQ(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.space();let t=e.alternate&&rQ(yx(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))}function yx(e){let{body:t}=e;return nQ(t)===!1?e:yx(t)}function aQ(e){this.word("for"),this.space(),this.tokenChar(40),this.inForStatementInitCounter++,this.print(e.init,e),this.inForStatementInitCounter--,this.tokenChar(59),e.test&&(this.space(),this.print(e.test,e)),this.tokenChar(59),e.update&&(this.space(),this.print(e.update,e)),this.tokenChar(41),this.printBlock(e)}function oQ(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.printBlock(e)}function gx(e){this.word("for"),this.space();let t=e.type==="ForOfStatement";t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.print(e.left,e),this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right,e),this.tokenChar(41),this.printBlock(e)}var lQ=gx;yt.ForInStatement=lQ;var uQ=gx;yt.ForOfStatement=uQ;function cQ(e){this.word("do"),this.space(),this.print(e.body,e),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.semicolon()}function mu(e,t,r,n){t&&(e.space(),e.printTerminatorless(t,r,n)),e.semicolon()}function fQ(e){this.word("break"),mu(this,e.label,e,!0)}function pQ(e){this.word("continue"),mu(this,e.label,e,!0)}function dQ(e){this.word("return"),mu(this,e.argument,e,!1)}function hQ(e){this.word("throw"),mu(this,e.argument,e,!1)}function mQ(e){this.print(e.label,e),this.tokenChar(58),this.space(),this.print(e.body,e)}function yQ(e){this.word("try"),this.space(),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer,e))}function gQ(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param,e),this.print(e.param.typeAnnotation,e),this.tokenChar(41),this.space()),this.print(e.body,e)}function bQ(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant,e),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,e,{indent:!0,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}}),this.rightBrace(e)}function EQ(e){e.test?(this.word("case"),this.space(),this.print(e.test,e),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))}function vQ(){this.word("debugger"),this.semicolon()}function TQ(e,t){e.declare&&(this.word("declare"),this.space());let{kind:r}=e;this.word(r,r==="using"||r==="await using"),this.space();let n=!1;if(!mx(t))for(let i of e.declarations)i.init&&(n=!0);if(this.printList(e.declarations,e,{separator:n?function(){this.tokenChar(44),this.newline()}:void 0,indent:e.declarations.length>1}),mx(t)){if(tQ(t)){if(t.init===e)return}else if(t.left===e)return}this.semicolon()}function SQ(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))}});var Ex=g(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.ClassAccessorProperty=IQ;Pr.ClassBody=wQ;Pr.ClassExpression=Pr.ClassDeclaration=CQ;Pr.ClassMethod=OQ;Pr.ClassPrivateMethod=NQ;Pr.ClassPrivateProperty=_Q;Pr.ClassProperty=DQ;Pr.StaticBlock=FQ;Pr._classMethodHead=kQ;var xQ=ye(),{isExportDefaultDeclaration:PQ,isExportNamedDeclaration:AQ}=xQ;function CQ(e,t){(!(PQ(t)||AQ(t))||!this._shouldPrintDecoratorsBeforeExport(t))&&this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)}function wQ(e){this.tokenChar(123),e.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))}function DQ(e){var t,r;this.printJoin(e.decorators,e);let n=(t=e.key.loc)==null||(r=t.end)==null?void 0:r.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function IQ(e){var t,r;this.printJoin(e.decorators,e);let n=(t=e.key.loc)==null||(r=t.end)==null?void 0:r.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function _Q(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space()),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function OQ(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function NQ(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function kQ(e){var t,r;this.printJoin(e.decorators,e);let n=(t=e.key.loc)==null||(r=t.end)==null?void 0:r.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function FQ(e){this.word("static"),this.space(),this.tokenChar(123),e.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e))}});var vx=g(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.ArrowFunctionExpression=KQ;qr.FunctionDeclaration=qr.FunctionExpression=$Q;qr._functionHead=VQ;qr._methodHead=qQ;qr._param=RQ;qr._parameters=MQ;qr._params=LQ;qr._predicate=UQ;var BQ=ye(),{isIdentifier:jQ}=BQ;function LQ(e,t,r){this.print(e.typeParameters,e);let n=zQ.call(this,t,r);n&&this.sourceIdentifierName(n.name,n.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);let i=e.type==="ArrowFunctionExpression";this.print(e.returnType,e,i),this._noLineTerminator=i}function MQ(e,t){let r=e.length;for(let n=0;n<r;n++)this._param(e[n],t),n<e.length-1&&(this.tokenChar(44),this.space())}function RQ(e,t){this.printJoin(e.decorators,e),this.print(e,t),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)}function qQ(e){let t=e.kind,r=e.key;(t==="get"||t==="set")&&(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),(t==="method"||t==="init")&&e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(r,e),this.tokenChar(93)):this.print(r,e),e.optional&&this.tokenChar(63),this._params(e,e.computed&&e.key.type!=="StringLiteral"?void 0:e.key,void 0)}function UQ(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,e,t))}function VQ(e,t){e.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space()),this.word("function"),e.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42)),this.space(),e.id&&this.print(e.id,e),this._params(e,e.id,t),e.type!=="TSDeclareFunction"&&this._predicate(e)}function $Q(e,t){this._functionHead(e,t),this.space(),this.print(e.body,e)}function KQ(e,t){e.async&&(this.word("async",!0),this.space());let r;!this.format.retainLines&&e.params.length===1&&jQ(r=e.params[0])&&!WQ(e,r)?this.print(r,e,!0):this._params(e,void 0,t),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(e.body,e)}function WQ(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}function zQ(e,t){let r=e;if(!r&&t){let l=t.type;l==="VariableDeclarator"?r=t.id:l==="AssignmentExpression"||l==="AssignmentPattern"?r=t.left:l==="ObjectProperty"||l==="ClassProperty"?(!t.computed||t.key.type==="StringLiteral")&&(r=t.key):(l==="ClassPrivateProperty"||l==="ClassAccessorProperty")&&(r=t.key)}if(!r)return;let n;if(r.type==="Identifier"){var i,s;n={pos:(i=r.loc)==null?void 0:i.start,name:((s=r.loc)==null?void 0:s.identifierName)||r.name}}else if(r.type==="PrivateName"){var a;n={pos:(a=r.loc)==null?void 0:a.start,name:"#"+r.id.name}}else if(r.type==="StringLiteral"){var o;n={pos:(o=r.loc)==null?void 0:o.start,name:r.value}}return n}});var _m=g(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur.ExportAllDeclaration=sZ;ur.ExportDefaultDeclaration=oZ;ur.ExportDefaultSpecifier=tZ;ur.ExportNamedDeclaration=aZ;ur.ExportNamespaceSpecifier=nZ;ur.ExportSpecifier=rZ;ur.ImportAttribute=uZ;ur.ImportDeclaration=lZ;ur.ImportDefaultSpecifier=eZ;ur.ImportNamespaceSpecifier=cZ;ur.ImportSpecifier=ZQ;ur._printAttributes=iZ;var GQ=ye(),{isClassDeclaration:HQ,isExportDefaultSpecifier:YQ,isExportNamespaceSpecifier:XQ,isImportDefaultSpecifier:JQ,isImportNamespaceSpecifier:QQ,isStatement:Sx}=GQ;function ZQ(e){(e.importKind==="type"||e.importKind==="typeof")&&(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function eZ(e){this.print(e.local,e)}function tZ(e){this.print(e.exported,e)}function rZ(e){e.exportKind==="type"&&(this.word("type"),this.space()),this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function nZ(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}var Tx=!1;function iZ(e){let{importAttributesKeyword:t}=this.format,{attributes:r,assertions:n}=e;r&&!t&&!Tx&&(Tx=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let i=t==="assert"||!t&&n;if(this.word(i?"assert":"with"),this.space(),!i&&t!=="with"){this.printList(r||n,e);return}this.tokenChar(123),this.space(),this.printList(r||n,e),this.space(),this.tokenChar(125)}function sZ(e){var t,r;this.word("export"),this.space(),e.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function xx(e,t){HQ(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}function aZ(e){if(xx(this,e),this.word("export"),this.space(),e.declaration){let n=e.declaration;this.print(n,e),Sx(n)||this.semicolon()}else{e.exportKind==="type"&&(this.word("type"),this.space());let n=e.specifiers.slice(0),i=!1;for(;;){let s=n[0];if(YQ(s)||XQ(s))i=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space());else break}if((n.length||!n.length&&!i)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source){var t,r;this.space(),this.word("from"),this.space(),(t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e)}this.semicolon()}}function oZ(e){xx(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();let t=e.declaration;this.print(t,e),Sx(t)||this.semicolon()}function lZ(e){var t,r;this.word("import"),this.space();let n=e.importKind==="type"||e.importKind==="typeof";n?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module&&(this.noIndentInnerCommentsHere(),this.word("module"),this.space());let i=e.specifiers.slice(0),s=!!i.length;for(;s;){let a=i[0];if(JQ(a)||QQ(a))this.print(i.shift(),e),i.length&&(this.tokenChar(44),this.space());else break}i.length?(this.tokenChar(123),this.space(),this.printList(i,e),this.space(),this.tokenChar(125)):n&&!s&&(this.tokenChar(123),this.tokenChar(125)),(s||n)&&(this.space(),this.word("from"),this.space()),(t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function uZ(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function cZ(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)}});var wx=g((Ewe,Cx)=>{"use strict";var Px={},fZ=Px.hasOwnProperty,Ax=(e,t)=>{for(let r in e)fZ.call(e,r)&&t(r,e[r])},pZ=(e,t)=>(t&&Ax(t,(r,n)=>{e[r]=n}),e),dZ=(e,t)=>{let r=e.length,n=-1;for(;++n<r;)t(e[n])},Ya=Px.toString,hZ=Array.isArray,mZ=Buffer.isBuffer,yZ=e=>Ya.call(e)=="[object Object]",gZ=e=>typeof e=="string"||Ya.call(e)=="[object String]",bZ=e=>typeof e=="number"||Ya.call(e)=="[object Number]",EZ=e=>typeof e=="function",vZ=e=>Ya.call(e)=="[object Map]",TZ=e=>Ya.call(e)=="[object Set]",SZ={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},xZ=/["'\\\b\f\n\r\t]/,PZ=/[0-9]/,AZ=/[ !#-&\(-\[\]-_a-~]/,Hn=(e,t)=>{let r=()=>{u=l,++t.indentLevel,l=t.indent.repeat(t.indentLevel)},n={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},i=t&&t.json;i&&(n.quotes="double",n.wrap=!0),t=pZ(n,t),t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"&&(t.quotes="single");let s=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'",a=t.compact,o=t.lowercaseHex,l=t.indent.repeat(t.indentLevel),u="",c=t.__inline1__,f=t.__inline2__,d=a?"":`
`,m,S=!0,p=t.numbers=="binary",E=t.numbers=="octal",b=t.numbers=="decimal",_=t.numbers=="hexadecimal";if(i&&e&&EZ(e.toJSON)&&(e=e.toJSON()),!gZ(e)){if(vZ(e))return e.size==0?"new Map()":(a||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Hn(Array.from(e),t)+")");if(TZ(e))return e.size==0?"new Set()":"new Set("+Hn(Array.from(e),t)+")";if(mZ(e))return e.length==0?"Buffer.from([])":"Buffer.from("+Hn(Array.from(e),t)+")";if(hZ(e))return m=[],t.wrap=!0,c&&(t.__inline1__=!1,t.__inline2__=!0),f||r(),dZ(e,O=>{S=!1,f&&(t.__inline2__=!1),m.push((a||f?"":l)+Hn(O,t))}),S?"[]":f?"["+m.join(", ")+"]":"["+d+m.join(","+d)+d+(a?"":u)+"]";if(bZ(e)){if(i)return JSON.stringify(e);if(b)return String(e);if(_){let O=e.toString(16);return o||(O=O.toUpperCase()),"0x"+O}if(p)return"0b"+e.toString(2);if(E)return"0o"+e.toString(8)}else return yZ(e)?(m=[],t.wrap=!0,r(),Ax(e,(O,F)=>{S=!1,m.push((a?"":l)+Hn(O,t)+":"+(a?"":" ")+Hn(F,t))}),S?"{}":"{"+d+m.join(","+d)+d+(a?"":u)+"}"):i?JSON.stringify(e)||"null":String(e)}let D=e,A=-1,I=D.length;for(m="";++A<I;){let O=D.charAt(A);if(t.es6){let Te=D.charCodeAt(A);if(Te>=55296&&Te<=56319&&I>A+1){let Se=D.charCodeAt(A+1);if(Se>=56320&&Se<=57343){let se=((Te-55296)*1024+Se-56320+65536).toString(16);o||(se=se.toUpperCase()),m+="\\u{"+se+"}",++A;continue}}}if(!t.escapeEverything){if(AZ.test(O)){m+=O;continue}if(O=='"'){m+=s==O?'\\"':O;continue}if(O=="`"){m+=s==O?"\\`":O;continue}if(O=="'"){m+=s==O?"\\'":O;continue}}if(O=="\0"&&!i&&!PZ.test(D.charAt(A+1))){m+="\\0";continue}if(xZ.test(O)){m+=SZ[O];continue}let F=O.charCodeAt(0);if(t.minimal&&F!=8232&&F!=8233){m+=O;continue}let z=F.toString(16);o||(z=z.toUpperCase());let Y=z.length>2||i,Z="\\"+(Y?"u":"x")+("0000"+z).slice(Y?-4:-2);m+=Z}return t.wrap&&(m=s+m+s),s=="`"&&(m=m.replace(/\$\{/g,"\\${")),t.isScriptContext?m.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,i?"\\u003C!--":"\\x3C!--"):m};Hn.version="2.5.2";Cx.exports=Hn});var Nm=g(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.ArgumentPlaceholder=IZ;pt.ArrayPattern=pt.ArrayExpression=FZ;pt.BigIntLiteral=VZ;pt.BooleanLiteral=MZ;pt.DecimalLiteral=$Z;pt.Identifier=DZ;pt.NullLiteral=RZ;pt.NumericLiteral=qZ;pt.ObjectPattern=pt.ObjectExpression=OZ;pt.ObjectMethod=NZ;pt.ObjectProperty=kZ;pt.PipelineBareFunction=zZ;pt.PipelinePrimaryTopicReference=GZ;pt.PipelineTopicExpression=WZ;pt.RecordExpression=BZ;pt.RegExpLiteral=LZ;pt.SpreadElement=pt.RestElement=_Z;pt.StringLiteral=UZ;pt.TopicReference=KZ;pt.TupleExpression=jZ;var CZ=ye(),Ix=wx(),{isAssignmentPattern:wZ,isIdentifier:Om}=CZ;function DZ(e){var t;this.sourceIdentifierName(((t=e.loc)==null?void 0:t.identifierName)||e.name),this.word(e.name)}function IZ(){this.tokenChar(63)}function _Z(e){this.token("..."),this.print(e.argument,e)}function OZ(e){let t=e.properties;this.tokenChar(123),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space()),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}function NZ(e){this.printJoin(e.decorators,e),this._methodHead(e),this.space(),this.print(e.body,e)}function kZ(e){if(this.printJoin(e.decorators,e),e.computed)this.tokenChar(91),this.print(e.key,e),this.tokenChar(93);else{if(wZ(e.value)&&Om(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}if(this.print(e.key,e),e.shorthand&&Om(e.key)&&Om(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value,e)}function FZ(e){let t=e.elements,r=t.length;this.tokenChar(91);for(let n=0;n<t.length;n++){let i=t[n];i?(n>0&&this.space(),this.print(i,e),n<r-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)}function BZ(e){let t=e.properties,r,n;if(this.format.recordAndTupleSyntaxType==="bar")r="{|",n="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);r="#{",n="}"}this.token(r),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space()),this.token(n)}function jZ(e){let t=e.elements,r=t.length,n,i;if(this.format.recordAndTupleSyntaxType==="bar")n="[|",i="|]";else if(this.format.recordAndTupleSyntaxType==="hash")n="#[",i="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(n);for(let s=0;s<t.length;s++){let a=t[s];a&&(s>0&&this.space(),this.print(a,e),s<r-1&&this.tokenChar(44))}this.token(i)}function LZ(e){this.word(`/${e.pattern}/${e.flags}`)}function MZ(e){this.word(e.value?"true":"false")}function RZ(){this.word("null")}function qZ(e){let t=this.getPossibleRaw(e),r=this.format.jsescOption,n=e.value+"";r.numbers?this.number(Ix(e.value,r)):t==null?this.number(n):this.format.minified?this.number(t.length<n.length?t:n):this.number(t)}function UZ(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let r=Ix(e.value,this.format.jsescOption);this.token(r)}function VZ(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.word(t);return}this.word(e.value+"n")}function $Z(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.word(t);return}this.word(e.value+"m")}var Dx=new Set(["^^","@@","^","%","#"]);function KZ(){let{topicToken:e}=this.format;if(Dx.has(e))this.token(e);else{let t=JSON.stringify(e),r=Array.from(Dx,n=>JSON.stringify(n));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${t} received instead).`)}}function WZ(e){this.print(e.expression,e)}function zZ(e){this.print(e.callee,e)}function GZ(){this.tokenChar(35)}});var Ox=g(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});le.AnyTypeAnnotation=JZ;le.ArrayTypeAnnotation=QZ;le.BooleanLiteralTypeAnnotation=eee;le.BooleanTypeAnnotation=ZZ;le.DeclareClass=ree;le.DeclareExportAllDeclaration=dee;le.DeclareExportDeclaration=pee;le.DeclareFunction=nee;le.DeclareInterface=aee;le.DeclareModule=oee;le.DeclareModuleExports=lee;le.DeclareOpaqueType=cee;le.DeclareTypeAlias=uee;le.DeclareVariable=fee;le.DeclaredPredicate=see;le.EmptyTypeAnnotation=Bee;le.EnumBooleanBody=mee;le.EnumBooleanMember=vee;le.EnumDeclaration=hee;le.EnumDefaultedMember=Eee;le.EnumNumberBody=yee;le.EnumNumberMember=Tee;le.EnumStringBody=gee;le.EnumStringMember=See;le.EnumSymbolBody=bee;le.ExistsTypeAnnotation=Pee;le.FunctionTypeAnnotation=Aee;le.FunctionTypeParam=Cee;le.IndexedAccessType=ate;le.InferredPredicate=iee;le.InterfaceDeclaration=_ee;le.GenericTypeAnnotation=le.ClassImplements=le.InterfaceExtends=wee;le.InterfaceTypeAnnotation=Nee;le.IntersectionTypeAnnotation=kee;le.MixedTypeAnnotation=Fee;le.NullLiteralTypeAnnotation=tee;le.NullableTypeAnnotation=jee;Object.defineProperty(le,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return _x.NumericLiteral}});le.NumberTypeAnnotation=Lee;le.ObjectTypeAnnotation=Gee;le.ObjectTypeCallProperty=Yee;le.ObjectTypeIndexer=Xee;le.ObjectTypeInternalSlot=Hee;le.ObjectTypeProperty=Jee;le.ObjectTypeSpreadProperty=Qee;le.OpaqueType=zee;le.OptionalIndexedAccessType=ote;le.QualifiedTypeIdentifier=Zee;Object.defineProperty(le,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return _x.StringLiteral}});le.StringTypeAnnotation=Mee;le.SymbolTypeAnnotation=ete;le.ThisTypeAnnotation=Ree;le.TupleTypeAnnotation=qee;le.TypeAlias=Vee;le.TypeAnnotation=$ee;le.TypeCastExpression=nte;le.TypeParameter=Wee;le.TypeParameterDeclaration=le.TypeParameterInstantiation=Kee;le.TypeofTypeAnnotation=Uee;le.UnionTypeAnnotation=rte;le.Variance=ite;le.VoidTypeAnnotation=ste;le._interfaceish=Dee;le._variance=Iee;var HZ=ye(),YZ=_m(),_x=Nm(),{isDeclareExportDeclaration:yu,isStatement:XZ}=HZ;function JZ(){this.word("any")}function QZ(e){this.print(e.elementType,e,!0),this.tokenChar(91),this.tokenChar(93)}function ZZ(){this.word("boolean")}function eee(e){this.word(e.value?"true":"false")}function tee(){this.word("null")}function ree(e,t){yu(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)}function nee(e,t){yu(t)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation.typeAnnotation,e),e.predicate&&(this.space(),this.print(e.predicate,e)),this.semicolon()}function iee(){this.tokenChar(37),this.word("checks")}function see(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value,e),this.tokenChar(41)}function aee(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)}function oee(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id,e),this.space(),this.print(e.body,e)}function lee(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation,e)}function uee(e){this.word("declare"),this.space(),this.TypeAlias(e)}function cee(e,t){yu(t)||(this.word("declare"),this.space()),this.OpaqueType(e)}function fee(e,t){yu(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation,e),this.semicolon()}function pee(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),xee.call(this,e)}function dee(e){this.word("declare"),this.space(),YZ.ExportAllDeclaration.call(this,e)}function hee(e){let{id:t,body:r}=e;this.word("enum"),this.space(),this.print(t,e),this.print(r,e)}function gu(e,t,r){r&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function bu(e,t){let{members:r}=t;e.token("{"),e.indent(),e.newline();for(let n of r)e.print(n,t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function mee(e){let{explicitType:t}=e;gu(this,"boolean",t),bu(this,e)}function yee(e){let{explicitType:t}=e;gu(this,"number",t),bu(this,e)}function gee(e){let{explicitType:t}=e;gu(this,"string",t),bu(this,e)}function bee(e){gu(this,"symbol",!0),bu(this,e)}function Eee(e){let{id:t}=e;this.print(t,e),this.tokenChar(44)}function km(e,t){let{id:r,init:n}=t;e.print(r,t),e.space(),e.token("="),e.space(),e.print(n,t),e.token(",")}function vee(e){km(this,e)}function Tee(e){km(this,e)}function See(e){km(this,e)}function xee(e){if(e.declaration){let t=e.declaration;this.print(t,e),XZ(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers,e),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}function Pee(){this.tokenChar(42)}function Aee(e,t){this.print(e.typeParameters,e),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation,e),(e.params.length||e.rest)&&(this.tokenChar(44),this.space())),this.printList(e.params,e),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest,e)),this.tokenChar(41);let r=t==null?void 0:t.type;r!=null&&(r==="ObjectTypeCallProperty"||r==="ObjectTypeInternalSlot"||r==="DeclareFunction"||r==="ObjectTypeProperty"&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType,e)}function Cee(e){this.print(e.name,e),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation,e)}function wee(e){this.print(e.id,e),this.print(e.typeParameters,e,!0)}function Dee(e){var t;if(this.print(e.id,e),this.print(e.typeParameters,e),(t=e.extends)!=null&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e)),e.type==="DeclareClass"){var r,n;(r=e.mixins)!=null&&r.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e)),(n=e.implements)!=null&&n.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e))}this.space(),this.print(e.body,e)}function Iee(e){var t;let r=(t=e.variance)==null?void 0:t.kind;r!=null&&(r==="plus"?this.tokenChar(43):r==="minus"&&this.tokenChar(45))}function _ee(e){this.word("interface"),this.space(),this._interfaceish(e)}function Oee(){this.space(),this.tokenChar(38),this.space()}function Nee(e){var t;this.word("interface"),(t=e.extends)!=null&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e)),this.space(),this.print(e.body,e)}function kee(e){this.printJoin(e.types,e,{separator:Oee})}function Fee(){this.word("mixed")}function Bee(){this.word("empty")}function jee(e){this.tokenChar(63),this.print(e.typeAnnotation,e)}function Lee(){this.word("number")}function Mee(){this.word("string")}function Ree(){this.word("this")}function qee(e){this.tokenChar(91),this.printList(e.types,e),this.tokenChar(93)}function Uee(e){this.word("typeof"),this.space(),this.print(e.argument,e)}function Vee(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e),this.semicolon()}function $ee(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)}function Kee(e){this.tokenChar(60),this.printList(e.params,e,{}),this.tokenChar(62)}function Wee(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))}function zee(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype,e)),e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype,e)),this.semicolon()}function Gee(e){e.exact?this.token("{|"):this.tokenChar(123);let t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.newline(),this.space(),this.printJoin(t,e,{addNewlines(r){if(r&&!t[0])return 1},indent:!0,statement:!0,iterator:()=>{(t.length!==1||e.inexact)&&(this.tokenChar(44),this.space())}}),this.space()),e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent()),e.exact?this.token("|}"):this.tokenChar(125)}function Hee(e){e.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(e.id,e),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value,e)}function Yee(e){e.static&&(this.word("static"),this.space()),this.print(e.value,e)}function Xee(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id,e),this.tokenChar(58),this.space()),this.print(e.key,e),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value,e)}function Jee(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),(e.kind==="get"||e.kind==="set")&&(this.word(e.kind),this.space()),this._variance(e),this.print(e.key,e),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value,e)}function Qee(e){this.token("..."),this.print(e.argument,e)}function Zee(e){this.print(e.qualification,e),this.tokenChar(46),this.print(e.id,e)}function ete(){this.word("symbol")}function tte(){this.space(),this.tokenChar(124),this.space()}function rte(e){this.printJoin(e.types,e,{separator:tte})}function nte(e){this.tokenChar(40),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.tokenChar(41)}function ite(e){e.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function ste(){this.word("void")}function ate(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)}function ote(e){this.print(e.objectType,e),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)}});var Nx=g(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.BlockStatement=cte;yn.Directive=fte;yn.DirectiveLiteral=hte;yn.File=lte;yn.InterpreterDirective=mte;yn.Placeholder=yte;yn.Program=ute;function lte(e){e.program&&this.print(e.program.interpreter,e),this.print(e.program,e)}function ute(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();let r=(t=e.directives)==null?void 0:t.length;if(r){var n;let i=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:i}),(n=e.directives[r-1].trailingComments)!=null&&n.length||this.newline(i)}this.printSequence(e.body,e)}function cte(e){var t;this.tokenChar(123);let r=(t=e.directives)==null?void 0:t.length;if(r){var n;let i=e.body.length?2:1;this.printSequence(e.directives,e,{indent:!0,trailingCommentsLineOffset:i}),(n=e.directives[r-1].trailingComments)!=null&&n.length||this.newline(i)}this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e)}function fte(e){this.print(e.value,e),this.semicolon()}var pte=/(?:^|[^\\])(?:\\\\)*'/,dte=/(?:^|[^\\])(?:\\\\)*"/;function hte(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let{value:r}=e;if(!dte.test(r))this.token(`"${r}"`);else if(!pte.test(r))this.token(`'${r}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function mte(e){this.token(`#!${e.value}`),this.newline(1,!0)}function yte(e){this.token("%%"),this.print(e.name),this.token("%%"),e.expectedNode==="Statement"&&this.semicolon()}});var kx=g(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt.JSXAttribute=gte;Rt.JSXClosingElement=Dte;Rt.JSXClosingFragment=Nte;Rt.JSXElement=Ate;Rt.JSXEmptyExpression=Ite;Rt.JSXExpressionContainer=Ste;Rt.JSXFragment=_te;Rt.JSXIdentifier=bte;Rt.JSXMemberExpression=vte;Rt.JSXNamespacedName=Ete;Rt.JSXOpeningElement=wte;Rt.JSXOpeningFragment=Ote;Rt.JSXSpreadAttribute=Tte;Rt.JSXSpreadChild=xte;Rt.JSXText=Pte;function gte(e){this.print(e.name,e),e.value&&(this.tokenChar(61),this.print(e.value,e))}function bte(e){this.word(e.name)}function Ete(e){this.print(e.namespace,e),this.tokenChar(58),this.print(e.name,e)}function vte(e){this.print(e.object,e),this.tokenChar(46),this.print(e.property,e)}function Tte(e){this.tokenChar(123),this.token("..."),this.print(e.argument,e),this.tokenChar(125)}function Ste(e){this.tokenChar(123),this.print(e.expression,e),this.tokenChar(125)}function xte(e){this.tokenChar(123),this.token("..."),this.print(e.expression,e),this.tokenChar(125)}function Pte(e){let t=this.getPossibleRaw(e);t!==void 0?this.token(t,!0):this.token(e.value,!0)}function Ate(e){let t=e.openingElement;if(this.print(t,e),!t.selfClosing){this.indent();for(let r of e.children)this.print(r,e);this.dedent(),this.print(e.closingElement,e)}}function Cte(){this.space()}function wte(e){this.tokenChar(60),this.print(e.name,e),this.print(e.typeParameters,e),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,e,{separator:Cte})),e.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)}function Dte(e){this.token("</"),this.print(e.name,e),this.tokenChar(62)}function Ite(){this.printInnerComments()}function _te(e){this.print(e.openingFragment,e),this.indent();for(let t of e.children)this.print(t,e);this.dedent(),this.print(e.closingFragment,e)}function Ote(){this.tokenChar(60),this.tokenChar(62)}function Nte(){this.token("</"),this.tokenChar(62)}});var jx=g(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.TSAnyKeyword=zte;ae.TSArrayType=hre;ae.TSSatisfiesExpression=ae.TSAsExpression=Nre;ae.TSBigIntKeyword=Gte;ae.TSBooleanKeyword=Jte;ae.TSCallSignatureDeclaration=qte;ae.TSConditionalType=Tre;ae.TSConstructSignatureDeclaration=Ute;ae.TSConstructorType=ore;ae.TSDeclareFunction=Lte;ae.TSDeclareMethod=Mte;ae.TSEnumDeclaration=Bre;ae.TSEnumMember=jre;ae.TSExportAssignment=$re;ae.TSExpressionWithTypeArguments=Dre;ae.TSExternalModuleReference=Ure;ae.TSFunctionType=are;ae.TSImportEqualsDeclaration=qre;ae.TSImportType=Rre;ae.TSIndexSignature=Wte;ae.TSIndexedAccessType=Are;ae.TSInferType=Sre;ae.TSInstantiationExpression=Fre;ae.TSInterfaceBody=_re;ae.TSInterfaceDeclaration=Ire;ae.TSIntersectionType=vre;ae.TSIntrinsicKeyword=ire;ae.TSLiteralType=wre;ae.TSMappedType=Cre;ae.TSMethodSignature=Kte;ae.TSModuleBlock=Mre;ae.TSModuleDeclaration=Lre;ae.TSNamedTupleMember=bre;ae.TSNamespaceExportDeclaration=Kre;ae.TSNeverKeyword=nre;ae.TSNonNullExpression=Vre;ae.TSNullKeyword=rre;ae.TSNumberKeyword=Yte;ae.TSObjectKeyword=Xte;ae.TSOptionalType=yre;ae.TSParameterProperty=jte;ae.TSParenthesizedType=xre;ae.TSPropertySignature=Vte;ae.TSQualifiedName=Rte;ae.TSRestType=gre;ae.TSStringKeyword=Qte;ae.TSSymbolKeyword=Zte;ae.TSThisType=sre;ae.TSTupleType=mre;ae.TSTypeAliasDeclaration=Ore;ae.TSTypeAnnotation=kte;ae.TSTypeAssertion=kre;ae.TSTypeLiteral=pre;ae.TSTypeOperator=Pre;ae.TSTypeParameter=Bte;ae.TSTypeParameterDeclaration=ae.TSTypeParameterInstantiation=Fte;ae.TSTypePredicate=cre;ae.TSTypeQuery=fre;ae.TSTypeReference=ure;ae.TSUndefinedKeyword=tre;ae.TSUnionType=Ere;ae.TSUnknownKeyword=Hte;ae.TSVoidKeyword=ere;ae.tsPrintClassMemberModifiers=zre;ae.tsPrintFunctionOrConstructorType=lre;ae.tsPrintPropertyOrMethodName=$te;ae.tsPrintSignatureDeclarationBase=Wre;ae.tsPrintTypeLiteralOrInterfaceBody=dre;function kte(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)}function Fte(e,t){this.tokenChar(60),this.printList(e.params,e,{}),t.type==="ArrowFunctionExpression"&&e.params.length===1&&this.tokenChar(44),this.tokenChar(62)}function Bte(e){e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint,e)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))}function jte(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)}function Lte(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.tokenChar(59)}function Mte(e){this._classMethodHead(e),this.tokenChar(59)}function Rte(e){this.print(e.left,e),this.tokenChar(46),this.print(e.right,e)}function qte(e){this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)}function Ute(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)}function Vte(e){let{readonly:t,initializer:r}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,e),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r,e)),this.tokenChar(59)}function $te(e){e.computed&&this.tokenChar(91),this.print(e.key,e),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)}function Kte(e){let{kind:t}=e;(t==="set"||t==="get")&&(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)}function Wte(e){let{readonly:t,static:r}=e;r&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,e),this.tokenChar(93),this.print(e.typeAnnotation,e),this.tokenChar(59)}function zte(){this.word("any")}function Gte(){this.word("bigint")}function Hte(){this.word("unknown")}function Yte(){this.word("number")}function Xte(){this.word("object")}function Jte(){this.word("boolean")}function Qte(){this.word("string")}function Zte(){this.word("symbol")}function ere(){this.word("void")}function tre(){this.word("undefined")}function rre(){this.word("null")}function nre(){this.word("never")}function ire(){this.word("intrinsic")}function sre(){this.word("this")}function are(e){this.tsPrintFunctionOrConstructorType(e)}function ore(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)}function lre(e){let{typeParameters:t}=e,r=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(r,e),this.tokenChar(41),this.space(),this.token("=>"),this.space();let n=e.typeAnnotation;this.print(n.typeAnnotation,e)}function ure(e){this.print(e.typeName,e,!0),this.print(e.typeParameters,e,!0)}function cre(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))}function fre(e){this.word("typeof"),this.space(),this.print(e.exprName),e.typeParameters&&this.print(e.typeParameters,e)}function pre(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function dre(e,t){Fm(this,e,t)}function Fm(e,t,r){if(e.token("{"),t.length){e.indent(),e.newline();for(let n of t)e.print(n,r),e.newline();e.dedent()}e.rightBrace(r)}function hre(e){this.print(e.elementType,e,!0),this.token("[]")}function mre(e){this.tokenChar(91),this.printList(e.elementTypes,e),this.tokenChar(93)}function yre(e){this.print(e.typeAnnotation,e),this.tokenChar(63)}function gre(e){this.token("..."),this.print(e.typeAnnotation,e)}function bre(e){this.print(e.label,e),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType,e)}function Ere(e){Bx(this,e,"|")}function vre(e){Bx(this,e,"&")}function Bx(e,t,r){e.printJoin(t.types,t,{separator(){this.space(),this.token(r),this.space()}})}function Tre(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)}function Sre(e){this.token("infer"),this.space(),this.print(e.typeParameter)}function xre(e){this.tokenChar(40),this.print(e.typeAnnotation,e),this.tokenChar(41)}function Pre(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation,e)}function Are(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)}function Cre(e){let{nameType:t,optional:r,readonly:n,typeParameter:i}=e;this.tokenChar(123),this.space(),n&&(Fx(this,n),this.word("readonly"),this.space()),this.tokenChar(91),this.word(i.name),this.space(),this.word("in"),this.space(),this.print(i.constraint,i),t&&(this.space(),this.word("as"),this.space(),this.print(t,e)),this.tokenChar(93),r&&(Fx(this,r),this.tokenChar(63)),this.tokenChar(58),this.space(),this.print(e.typeAnnotation,e),this.space(),this.tokenChar(125)}function Fx(e,t){t!==!0&&e.token(t)}function wre(e){this.print(e.literal,e)}function Dre(e){this.print(e.expression,e),this.print(e.typeParameters,e)}function Ire(e){let{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r,e),this.print(n,e),i!=null&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i,e)),this.space(),this.print(s,e)}function _re(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function Ore(e){let{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(r,e),this.print(n,e),this.space(),this.tokenChar(61),this.space(),this.print(i,e),this.tokenChar(59)}function Nre(e){var t;let{type:r,expression:n,typeAnnotation:i}=e,s=!!((t=n.trailingComments)!=null&&t.length);this.print(n,e,!0,void 0,s),this.space(),this.word(r==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(i,e)}function kre(e){let{typeAnnotation:t,expression:r}=e;this.tokenChar(60),this.print(t,e),this.tokenChar(62),this.space(),this.print(r,e)}function Fre(e){this.print(e.expression,e),this.print(e.typeParameters,e)}function Bre(e){let{declare:t,const:r,id:n,members:i}=e;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(n,e),this.space(),Fm(this,i,e)}function jre(e){let{id:t,initializer:r}=e;this.print(t,e),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r,e)),this.tokenChar(44)}function Lre(e){let{declare:t,id:r}=e;if(t&&(this.word("declare"),this.space()),e.global||(this.word(r.type==="Identifier"?"namespace":"module"),this.space()),this.print(r,e),!e.body){this.tokenChar(59);return}let n=e.body;for(;n.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(n.id,n),n=n.body;this.space(),this.print(n,e)}function Mre(e){Fm(this,e.body,e)}function Rre(e){let{argument:t,qualifier:r,typeParameters:n}=e;this.word("import"),this.tokenChar(40),this.print(t,e),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r,e)),n&&this.print(n,e)}function qre(e){let{isExport:t,id:r,moduleReference:n}=e;t&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(r,e),this.space(),this.tokenChar(61),this.space(),this.print(n,e),this.tokenChar(59)}function Ure(e){this.token("require("),this.print(e.expression,e),this.tokenChar(41)}function Vre(e){this.print(e.expression,e),this.tokenChar(33)}function $re(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression,e),this.tokenChar(59)}function Kre(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id,e)}function Wre(e){let{typeParameters:t}=e,r=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(r,e),this.tokenChar(41);let n=e.typeAnnotation;this.print(n,e)}function zre(e){let t=e.type==="ClassAccessorProperty"||e.type==="ClassProperty";t&&e.declare&&(this.word("declare"),this.space()),e.accessibility&&(this.word(e.accessibility),this.space()),e.static&&(this.word("static"),this.space()),e.override&&(this.word("override"),this.space()),e.abstract&&(this.word("abstract"),this.space()),t&&e.readonly&&(this.word("readonly"),this.space())}});var Lx=g(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});var Bm=fx();Object.keys(Bm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Bm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Bm[e]}})});var jm=hx();Object.keys(jm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===jm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return jm[e]}})});var Lm=bx();Object.keys(Lm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Lm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Lm[e]}})});var Mm=Ex();Object.keys(Mm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Mm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Mm[e]}})});var Rm=vx();Object.keys(Rm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Rm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Rm[e]}})});var qm=_m();Object.keys(qm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===qm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return qm[e]}})});var Um=Nm();Object.keys(Um).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Um[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Um[e]}})});var Vm=Ox();Object.keys(Vm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Vm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Vm[e]}})});var $m=Nx();Object.keys($m).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===$m[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return $m[e]}})});var Km=kx();Object.keys(Km).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Km[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Km[e]}})});var Wm=jx();Object.keys(Wm).forEach(function(e){e==="default"||e==="__esModule"||e in Ve&&Ve[e]===Wm[e]||Object.defineProperty(Ve,e,{enumerable:!0,get:function(){return Wm[e]}})})});var Rx=g(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=void 0;var Gre=MS(),Hre=Dm(),Yre=ye(),Xre=Lx(),{isFunction:Jre,isStatement:Qre,isClassBody:Zre,isTSInterfaceBody:ene,isTSEnumDeclaration:tne}=Yre,rne=/e/i,nne=/\.0+$/,ine=/^0[box]/,sne=/^\s*[@#]__PURE__\s*$/,Mx=/[\n\r\u2028\u2029]/,ane=/\*\//,{needsParens:one}=Hre,Xa=class{constructor(t,r){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._indentChar=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=t,this._buf=new Gre.default(r),this._indentChar=t.indent.style.charCodeAt(0),this._indentRepeat=t.indent.style.length,this._inputMap=r==null?void 0:r._inputMap}generate(t){return this.print(t),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(t=!1){this._maybeAddAuxComment(),t?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(t){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",t.loc,-1),this.tokenChar(125)}rightParens(t){this.sourceWithOffset("end",t.loc,-1),this.tokenChar(41)}space(t=!1){if(!this.format.compact){if(t)this._space();else if(this._buf.hasContent()){let r=this.getLastChar();r!==32&&r!==10&&this._space()}}}word(t,r=!1){this._maybePrintInnerComments(),(this._endsWithWord||t.charCodeAt(0)===47&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(t,!1),this._endsWithWord=!0,this._noLineTerminator=r}number(t){this.word(t),this._endsWithInteger=Number.isInteger(+t)&&!ine.test(t)&&!rne.test(t)&&!nne.test(t)&&t.charCodeAt(t.length-1)!==46}token(t,r=!1){this._maybePrintInnerComments();let n=this.getLastChar(),i=t.charCodeAt(0);(n===33&&(t==="--"||i===61)||i===43&&n===43||i===45&&n===45||i===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(t,r),this._noLineTerminator=!1}tokenChar(t){this._maybePrintInnerComments();let r=this.getLastChar();(t===43&&r===43||t===45&&r===45||t===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(t),this._noLineTerminator=!1}newline(t=1,r){if(!(t<=0)){if(!r){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}t>2&&(t=2),t-=this._buf.getNewlineCount();for(let n=0;n<t;n++)this._newline()}}endsWith(t){return this.getLastChar()===t}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(t,r){if(!t){r();return}this._catchUp("start",t),this._buf.exactSource(t,r)}source(t,r){r&&(this._catchUp(t,r),this._buf.source(t,r))}sourceWithOffset(t,r,n){r&&(this._catchUp(t,r),this._buf.sourceWithOffset(t,r,n))}withSource(t,r,n){if(!r){n();return}this._catchUp(t,r),this._buf.withSource(t,r,n)}sourceIdentifierName(t,r){if(!this._buf._canMarkIdName)return;let n=this._buf._sourcePosition;n.identifierNamePos=r,n.identifierName=t}_space(){this._queue(32)}_newline(){this._queue(10)}_append(t,r){this._maybeAddParen(t),this._maybeIndent(t.charCodeAt(0)),this._buf.append(t,r),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(t){this._maybeAddParenChar(t),this._maybeIndent(t),this._buf.appendChar(t),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(t){this._maybeAddParenChar(t),this._maybeIndent(t),this._buf.queue(t),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(t){this._indent&&t!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._indentChar,this._getIndent())}_shouldIndent(t){if(this._indent&&t!==10&&this.endsWith(10))return!0}_maybeAddParenChar(t){let r=this._parenPushNewlineState;if(r&&t!==32){if(t!==10){this._parenPushNewlineState=null;return}this.tokenChar(40),this.indent(),r.printed=!0}}_maybeAddParen(t){let r=this._parenPushNewlineState;if(!r)return;let n=t.length,i;for(i=0;i<n&&t.charCodeAt(i)===32;i++);if(i===n)return;let s=t.charCodeAt(i);if(s!==10){if(s!==47||i+1===n){this._parenPushNewlineState=null;return}let a=t.charCodeAt(i+1);if(a===42){if(sne.test(t.slice(i+2,n-2)))return}else if(a!==47){this._parenPushNewlineState=null;return}}this.tokenChar(40),this.indent(),r.printed=!0}catchUp(t){if(!this.format.retainLines)return;let r=t-this._buf.getCurrentLine();for(let n=0;n<r;n++)this._newline()}_catchUp(t,r){var n;if(!this.format.retainLines)return;let i=r==null||(n=r[t])==null?void 0:n.line;if(i!=null){let s=i-this._buf.getCurrentLine();for(let a=0;a<s;a++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(t,r,n){if(n)this._noLineTerminator=!0,this.print(t,r);else{let i={printed:!1};this._parenPushNewlineState=i,this.print(t,r),i.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(t,r,n,i,s){var a;if(!t)return;this._endsWithInnerRaw=!1;let o=t.type,l=this.format,u=l.concise;t._compact&&(l.concise=!0);let c=this[o];if(c===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(o)} with constructor ${JSON.stringify(t.constructor.name)}`);this._printStack.push(t);let f=this._insideAux;this._insideAux=t.loc==null,this._maybeAddAuxComment(this._insideAux&&!f);let d=s||l.retainFunctionParens&&o==="FunctionExpression"&&((a=t.extra)==null?void 0:a.parenthesized)||one(t,r,this._printStack);d&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(t,r);let m=o==="Program"||o==="File"?null:t.loc;this.exactSource(m,c.bind(this,t,r)),d?(this._printTrailingComments(t,r),this.tokenChar(41),this._noLineTerminator=n):n&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(t,r)):this._printTrailingComments(t,r,i),this._printStack.pop(),l.concise=u,this._insideAux=f,this._endsWithInnerRaw=!1}_maybeAddAuxComment(t){t&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let t=this.format.auxiliaryCommentBefore;t&&this._printComment({type:"CommentBlock",value:t},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let t=this.format.auxiliaryCommentAfter;t&&this._printComment({type:"CommentBlock",value:t},0)}getPossibleRaw(t){let r=t.extra;if(r&&r.raw!=null&&r.rawValue!=null&&t.value===r.rawValue)return r.raw}printJoin(t,r,n={}){if(!(t!=null&&t.length))return;let{indent:i}=n;if(i==null&&this.format.retainLines){var s;let c=(s=t[0].loc)==null?void 0:s.start.line;c!=null&&c!==this._buf.getCurrentLine()&&(i=!0)}i&&this.indent();let a={addNewlines:n.addNewlines,nextNodeStartLine:0},o=n.separator?n.separator.bind(this):null,l=t.length;for(let c=0;c<l;c++){let f=t[c];if(f&&(n.statement&&this._printNewline(c===0,a),this.print(f,r,void 0,n.trailingCommentsLineOffset||0),n.iterator==null||n.iterator(f,c),c<l-1&&(o==null||o()),n.statement))if(c+1===l)this.newline(1);else{var u;let d=t[c+1];a.nextNodeStartLine=((u=d.loc)==null?void 0:u.start.line)||0,this._printNewline(!0,a)}}i&&this.dedent()}printAndIndentOnComments(t,r){let n=t.leadingComments&&t.leadingComments.length>0;n&&this.indent(),this.print(t,r),n&&this.dedent()}printBlock(t){let r=t.body;r.type!=="EmptyStatement"&&this.space(),this.print(r,t)}_printTrailingComments(t,r,n){let{innerComments:i,trailingComments:s}=t;i!=null&&i.length&&this._printComments(2,i,t,r,n),s!=null&&s.length&&this._printComments(2,s,t,r,n)}_printLeadingComments(t,r){let n=t.leadingComments;n!=null&&n.length&&this._printComments(0,n,t,r)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){let t=this._printStack[this._printStack.length-1],r=t.innerComments;if(!(r!=null&&r.length))return;let n=this.endsWith(32),i=this._indentInnerComments,s=this._printedComments.size;i&&this.indent(),this._printComments(1,r,t),n&&s!==this._printedComments.size&&this.space(),i&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(t,r,n={}){var i;n.statement=!0,(i=n.indent)!=null||(n.indent=!1),this.printJoin(t,r,n)}printList(t,r,n={}){n.separator==null&&(n.separator=une),this.printJoin(t,r,n)}_printNewline(t,r){let n=this.format;if(n.retainLines||n.compact)return;if(n.concise){this.space();return}if(!t)return;let i=r.nextNodeStartLine,s=this._lastCommentLine;if(i>0&&s>0){let a=i-s;if(a>=0){this.newline(a||1);return}}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(t){return t.ignore||this._printedComments.has(t)?0:this._noLineTerminator&&(Mx.test(t.value)||ane.test(t.value))?2:(this._printedComments.add(t),this.format.shouldPrintComment(t.value)?1:0)}_printComment(t,r){let n=this._noLineTerminator,i=t.type==="CommentBlock",s=i&&r!==1&&!this._noLineTerminator;s&&this._buf.hasContent()&&r!==2&&this.newline(1);let a=this.getLastChar();a!==91&&a!==123&&this.space();let o;if(i){if(o=`/*${t.value}*/`,this.format.indent.adjustMultilineComment){var l;let u=(l=t.loc)==null?void 0:l.start.column;if(u){let f=new RegExp("\\n\\s{1,"+u+"}","g");o=o.replace(f,`
`)}let c=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(c+=this._getIndent()),o=o.replace(/\n(?!$)/g,`
${" ".repeat(c)}`)}}else n?o=`/*${t.value}*/`:o=`//${t.value}`;this.endsWith(47)&&this._space(),this.source("start",t.loc),this._append(o,i),!i&&!n&&this.newline(1,!0),s&&r!==3&&this.newline(1)}_printComments(t,r,n,i,s=0){let a=n.loc,o=r.length,l=!!a,u=l?a.start.line:0,c=l?a.end.line:0,f=0,d=0,m=this._noLineTerminator?function(){}:this.newline.bind(this);for(let S=0;S<o;S++){let p=r[S],E=this._shouldPrintComment(p);if(E===2){l=!1;break}if(l&&p.loc&&E===1){let b=p.loc.start.line,_=p.loc.end.line;if(t===0){let D=0;S===0?this._buf.hasContent()&&(p.type==="CommentLine"||b!=_)&&(D=d=1):D=b-f,f=_,m(D),this._printComment(p,1),S+1===o&&(m(Math.max(u-f,d)),f=u)}else if(t===1){let D=b-(S===0?u:f);f=_,m(D),this._printComment(p,1),S+1===o&&(m(Math.min(1,c-f)),f=c)}else{let D=b-(S===0?c-s:f);f=_,m(D),this._printComment(p,1)}}else{if(l=!1,E!==1)continue;if(o===1){let b=p.loc?p.loc.start.line===p.loc.end.line:!Mx.test(p.value),_=b&&!Qre(n)&&!Zre(i)&&!ene(i)&&!tne(i);t===0?this._printComment(p,_&&n.type!=="ObjectExpression"||b&&Jre(i,{body:n})?1:0):_&&t===2?this._printComment(p,1):this._printComment(p,0)}else t===1&&!(n.type==="ObjectExpression"&&n.properties.length>1)&&n.type!=="ClassBody"&&n.type!=="TSInterfaceBody"?this._printComment(p,S===0?2:S===o-1?3:0):this._printComment(p,0)}}t===2&&l&&f&&(this._lastCommentLine=f)}};Object.assign(Xa.prototype,Xre);Xa.prototype.Noop=function(){};var lne=Xa;Eu.default=lne;function une(){this.tokenChar(44),this.space()}});var Tu=g(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.CodeGenerator=void 0;Ja.default=dne;var cne=LS(),fne=Rx(),vu=class extends fne.default{constructor(t,r={},n){let i=pne(n,r),s=r.sourceMaps?new cne.default(r,n):null;super(i,s),this.ast=void 0,this.ast=t}generate(){return super.generate(this.ast)}};function pne(e,t){let r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(a=>r.comments||a.includes("@license")||a.includes("@preserve")),r.compact==="auto"&&(r.compact=typeof e=="string"&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),r.compact&&(r.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:n,auxiliaryCommentAfter:i,shouldPrintComment:s}=r;return n&&!s(n)&&(r.auxiliaryCommentBefore=void 0),i&&!s(i)&&(r.auxiliaryCommentAfter=void 0),r}var zm=class{constructor(t,r,n){this._generator=void 0,this._generator=new vu(t,r,n)}generate(){return this._generator.generate()}};Ja.CodeGenerator=zm;function dne(e,t,r){return new vu(e,t,r).generate()}});var qx=g(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.find=gne;Ar.findParent=yne;Ar.getAncestry=Sne;Ar.getDeepestCommonAncestorFrom=Tne;Ar.getEarliestCommonAncestorFrom=vne;Ar.getFunctionParent=bne;Ar.getStatementParent=Ene;Ar.inType=Ane;Ar.isAncestor=xne;Ar.isDescendant=Pne;var hne=ye(),{VISITOR_KEYS:mne}=hne;function yne(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null}function gne(e){let t=this;do if(e(t))return t;while(t=t.parentPath);return null}function bne(){return this.findParent(e=>e.isFunction())}function Ene(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e}function vne(e){return this.getDeepestCommonAncestorFrom(e,function(t,r,n){let i,s=mne[t.type];for(let a of n){let o=a[r+1];if(!i){i=o;continue}if(o.listKey&&i.listKey===o.listKey&&o.key<i.key){i=o;continue}let l=s.indexOf(i.parentKey),u=s.indexOf(o.parentKey);l>u&&(i=o)}return i})}function Tne(e,t){if(!e.length)return this;if(e.length===1)return e[0];let r=1/0,n,i,s=e.map(o=>{let l=[];do l.unshift(o);while((o=o.parentPath)&&o!==this);return l.length<r&&(r=l.length),l}),a=s[0];e:for(let o=0;o<r;o++){let l=a[o];for(let u of s)if(u[o]!==l)break e;n=o,i=l}if(i)return t?t(i,n,s):i;throw new Error("Couldn't find intersection")}function Sne(){let e=this,t=[];do t.push(e);while(e=e.parentPath);return t}function xne(e){return e.isDescendant(this)}function Pne(e){return!!this.findParent(t=>t===e)}function Ane(...e){let t=this;for(;t;){for(let r of e)if(t.node.type===r)return!0;t=t.parentPath}return!1}});var Hm=g(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.createUnionType=Ine;var Cne=ye(),{createFlowUnionType:Ux,createTSUnionType:Vx,createUnionTypeAnnotation:wne,isFlowType:Dne,isTSType:Iwe}=Cne;function Ine(e){{if(Dne(e[0]))return Ux?Ux(e):wne(e);if(Vx)return Vx(e)}}});var Gx=g(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.default=Fne;var _ne=ye(),Kx=Hm(),{BOOLEAN_NUMBER_BINARY_OPERATORS:One,createTypeAnnotationBasedOnTypeof:Nne,numberTypeAnnotation:Wx,voidTypeAnnotation:kne}=_ne;function Fne(e){if(!this.isReferenced())return;let t=this.scope.getBinding(e.name);if(t)return t.identifier.typeAnnotation?t.identifier.typeAnnotation:Bne(t,this,e.name);if(e.name==="undefined")return kne();if(e.name==="NaN"||e.name==="Infinity")return Wx();e.name}function Bne(e,t,r){let n=[],i=[],s=$x(e,t,i),a=zx(e,t,r);if(a){let o=$x(e,a.ifStatement);s=s.filter(l=>o.indexOf(l)<0),n.push(a.typeAnnotation)}if(s.length){s.push(...i);for(let o of s)n.push(o.getTypeAnnotation())}if(n.length)return(0,Kx.createUnionType)(n)}function $x(e,t,r){let n=e.constantViolations.slice();return n.unshift(e.path),n.filter(i=>{i=i.resolve();let s=i._guessExecutionStatusRelativeTo(t);return r&&s==="unknown"&&r.push(i),s==="before"})}function jne(e,t){let r=t.node.operator,n=t.get("right").resolve(),i=t.get("left").resolve(),s;if(i.isIdentifier({name:e})?s=n:n.isIdentifier({name:e})&&(s=i),s)return r==="==="?s.getTypeAnnotation():One.indexOf(r)>=0?Wx():void 0;if(r!=="==="&&r!=="==")return;let a,o;if(i.isUnaryExpression({operator:"typeof"})?(a=i,o=n):n.isUnaryExpression({operator:"typeof"})&&(a=n,o=i),!a||!a.get("argument").isIdentifier({name:e})||(o=o.resolve(),!o.isLiteral()))return;let l=o.node.value;if(typeof l=="string")return Nne(l)}function Lne(e,t,r){let n;for(;n=t.parentPath;){if(n.isIfStatement()||n.isConditionalExpression())return t.key==="test"?void 0:n;if(n.isFunction()&&n.parentPath.scope.getBinding(r)!==e)return;t=n}}function zx(e,t,r){let n=Lne(e,t,r);if(!n)return;let s=[n.get("test")],a=[];for(let o=0;o<s.length;o++){let l=s[o];if(l.isLogicalExpression())l.node.operator==="&&"&&(s.push(l.get("left")),s.push(l.get("right")));else if(l.isBinaryExpression()){let u=jne(r,l);u&&a.push(u)}}return a.length?{typeAnnotation:(0,Kx.createUnionType)(a),ifStatement:n}:zx(e,n,r)}});var tP=g(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.ArrayExpression=Qx;Xe.AssignmentExpression=aie;Xe.BinaryExpression=tie;Xe.BooleanLiteral=cie;Xe.CallExpression=Eie;Xe.ConditionalExpression=nie;Xe.ClassDeclaration=Xe.ClassExpression=Xe.FunctionDeclaration=Xe.ArrowFunctionExpression=Xe.FunctionExpression=hie;Object.defineProperty(Xe,"Identifier",{enumerable:!0,get:function(){return Rne.default}});Xe.LogicalExpression=rie;Xe.NewExpression=Qne;Xe.NullLiteral=fie;Xe.NumericLiteral=uie;Xe.ObjectExpression=die;Xe.ParenthesizedExpression=sie;Xe.RegExpLiteral=pie;Xe.RestElement=Zx;Xe.SequenceExpression=iie;Xe.StringLiteral=lie;Xe.TSAsExpression=Jx;Xe.TSNonNullExpression=Jne;Xe.TaggedTemplateExpression=vie;Xe.TemplateLiteral=Zne;Xe.TypeCastExpression=Xx;Xe.UnaryExpression=eie;Xe.UpdateExpression=oie;Xe.VariableDeclarator=Xne;var Mne=ye(),Rne=Gx(),Yx=Hm(),{BOOLEAN_BINARY_OPERATORS:qne,BOOLEAN_UNARY_OPERATORS:Une,NUMBER_BINARY_OPERATORS:Vne,NUMBER_UNARY_OPERATORS:$ne,STRING_UNARY_OPERATORS:Kne,anyTypeAnnotation:Hx,arrayTypeAnnotation:Xm,booleanTypeAnnotation:Jm,buildMatchMemberExpression:Su,genericTypeAnnotation:Yn,identifier:Di,nullLiteralTypeAnnotation:Wne,numberTypeAnnotation:Ts,stringTypeAnnotation:Ii,tupleTypeAnnotation:zne,unionTypeAnnotation:Gne,voidTypeAnnotation:Hne,isIdentifier:Yne}=Mne;function Xne(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function Xx(e){return e.typeAnnotation}Xx.validParent=!0;function Jx(e){return e.typeAnnotation}Jx.validParent=!0;function Jne(){return this.get("expression").getTypeAnnotation()}function Qne(e){if(e.callee.type==="Identifier")return Yn(e.callee)}function Zne(){return Ii()}function eie(e){let t=e.operator;if(t==="void")return Hne();if($ne.indexOf(t)>=0)return Ts();if(Kne.indexOf(t)>=0)return Ii();if(Une.indexOf(t)>=0)return Jm()}function tie(e){let t=e.operator;if(Vne.indexOf(t)>=0)return Ts();if(qne.indexOf(t)>=0)return Jm();if(t==="+"){let r=this.get("right"),n=this.get("left");return n.isBaseType("number")&&r.isBaseType("number")?Ts():n.isBaseType("string")||r.isBaseType("string")?Ii():Gne([Ii(),Ts()])}}function rie(){let e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,Yx.createUnionType)(e)}function nie(){let e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,Yx.createUnionType)(e)}function iie(){return this.get("expressions").pop().getTypeAnnotation()}function sie(){return this.get("expression").getTypeAnnotation()}function aie(){return this.get("right").getTypeAnnotation()}function oie(e){let t=e.operator;if(t==="++"||t==="--")return Ts()}function lie(){return Ii()}function uie(){return Ts()}function cie(){return Jm()}function fie(){return Wne()}function pie(){return Yn(Di("RegExp"))}function die(){return Yn(Di("Object"))}function Qx(){return Yn(Di("Array"))}function Zx(){return Qx()}Zx.validParent=!0;function hie(){return Yn(Di("Function"))}var mie=Su("Array.from"),yie=Su("Object.keys"),gie=Su("Object.values"),bie=Su("Object.entries");function Eie(){let{callee:e}=this.node;return yie(e)?Xm(Ii()):mie(e)||gie(e)||Yne(e,{name:"Array"})?Xm(Hx()):bie(e)?Xm(zne([Ii(),Hx()])):eP(this.get("callee"))}function vie(){return eP(this.get("tag"))}function eP(e){if(e=e.resolve(),e.isFunction()){let{node:t}=e;if(t.async)return t.generator?Yn(Di("AsyncIterator")):Yn(Di("Promise"));if(t.generator)return Yn(Di("Iterator"));if(e.node.returnType)return e.node.returnType}}});var sP=g(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn._getTypeAnnotation=qie;Xn.baseTypeStrictlyMatches=$ie;Xn.couldBeBaseType=Vie;Xn.getTypeAnnotation=Rie;Xn.isBaseType=Uie;Xn.isGenericType=Kie;var rP=tP(),Tie=ye(),{anyTypeAnnotation:iP,isAnyTypeAnnotation:xu,isArrayTypeAnnotation:Sie,isBooleanTypeAnnotation:xie,isEmptyTypeAnnotation:Pie,isFlowBaseAnnotation:Aie,isGenericTypeAnnotation:Cie,isIdentifier:nP,isMixedTypeAnnotation:wie,isNumberTypeAnnotation:Die,isStringTypeAnnotation:Iie,isTSArrayType:_ie,isTSTypeAnnotation:Oie,isTSTypeReference:Nie,isTupleTypeAnnotation:kie,isTypeAnnotation:Fie,isUnionTypeAnnotation:Bie,isVoidTypeAnnotation:jie,stringTypeAnnotation:Lie,voidTypeAnnotation:Mie}=Tie;function Rie(){let e=this.getData("typeAnnotation");return e!=null||(e=this._getTypeAnnotation()||iP(),(Fie(e)||Oie(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e}var Qm=new WeakSet;function qie(){let e=this.node;if(!e)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let r=this.parentPath.parentPath,n=r.parentPath;return r.key==="left"&&n.isForInStatement()?Lie():r.key==="left"&&n.isForOfStatement()?iP():Mie()}else return;if(e.typeAnnotation)return e.typeAnnotation;if(!Qm.has(e)){Qm.add(e);try{var t;let r=rP[e.type];if(r)return r.call(this,e);if(r=rP[this.parentPath.type],(t=r)!=null&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{Qm.delete(e)}}}function Uie(e,t){return Zm(e,this.getTypeAnnotation(),t)}function Zm(e,t,r){if(e==="string")return Iie(t);if(e==="number")return Die(t);if(e==="boolean")return xie(t);if(e==="any")return xu(t);if(e==="mixed")return wie(t);if(e==="empty")return Pie(t);if(e==="void")return jie(t);if(r)return!1;throw new Error(`Unknown base type ${e}`)}function Vie(e){let t=this.getTypeAnnotation();if(xu(t))return!0;if(Bie(t)){for(let r of t.types)if(xu(r)||Zm(e,r,!0))return!0;return!1}else return Zm(e,t,!0)}function $ie(e){let t=this.getTypeAnnotation(),r=e.getTypeAnnotation();return!xu(t)&&Aie(t)?r.type===t.type:!1}function Kie(e){let t=this.getTypeAnnotation();return e==="Array"&&(_ie(t)||Sie(t)||kie(t))?!0:Cie(t)&&nP(t.id,{name:e})||Nie(t)&&nP(t.typeName,{name:e})}});var aP=g(Pu=>{Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;Pu.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}});var lP=g((Bwe,oP)=>{"use strict";var Wie=/[|\\{}()[\]^$+*?.]/g;oP.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(Wie,"\\$&")}});var cP=g((jwe,uP)=>{"use strict";uP.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var ey=g((Lwe,hP)=>{var _i=cP(),dP={};for(Au in _i)_i.hasOwnProperty(Au)&&(dP[_i[Au]]=Au);var Au,de=hP.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(Zt in de)if(de.hasOwnProperty(Zt)){if(!("channels"in de[Zt]))throw new Error("missing channels property: "+Zt);if(!("labels"in de[Zt]))throw new Error("missing channel labels property: "+Zt);if(de[Zt].labels.length!==de[Zt].channels)throw new Error("channel and label counts mismatch: "+Zt);fP=de[Zt].channels,pP=de[Zt].labels,delete de[Zt].channels,delete de[Zt].labels,Object.defineProperty(de[Zt],"channels",{value:fP}),Object.defineProperty(de[Zt],"labels",{value:pP})}var fP,pP,Zt;de.rgb.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),s=Math.max(t,r,n),a=s-i,o,l,u;return s===i?o=0:t===s?o=(r-n)/a:r===s?o=2+(n-t)/a:n===s&&(o=4+(t-r)/a),o=Math.min(o*60,360),o<0&&(o+=360),u=(i+s)/2,s===i?l=0:u<=.5?l=a/(s+i):l=a/(2-s-i),[o,l*100,u*100]};de.rgb.hsv=function(e){var t,r,n,i,s,a=e[0]/255,o=e[1]/255,l=e[2]/255,u=Math.max(a,o,l),c=u-Math.min(a,o,l),f=function(d){return(u-d)/6/c+1/2};return c===0?i=s=0:(s=c/u,t=f(a),r=f(o),n=f(l),a===u?i=n-r:o===u?i=1/3+t-n:l===u&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,u*100]};de.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=de.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,s*100,n*100]};de.rgb.cmyk=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i,s,a,o;return o=Math.min(1-t,1-r,1-n),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,[i*100,s*100,a*100,o*100]};function zie(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}de.rgb.keyword=function(e){var t=dP[e];if(t)return t;var r=1/0,n;for(var i in _i)if(_i.hasOwnProperty(i)){var s=_i[i],a=zie(e,s);a<r&&(r=a,n=i)}return n};de.keyword.rgb=function(e){return _i[e]};de.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=t*.4124+r*.3576+n*.1805,s=t*.2126+r*.7152+n*.0722,a=t*.0193+r*.1192+n*.9505;return[i*100,s*100,a*100]};de.rgb.lab=function(e){var t=de.rgb.xyz(e),r=t[0],n=t[1],i=t[2],s,a,o;return r/=95.047,n/=100,i/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=116*n-16,a=500*(r-n),o=200*(n-i),[s,a,o]};de.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,s,a,o,l;if(r===0)return l=n*255,[l,l,l];n<.5?s=n*(1+r):s=n+r-n*r,i=2*n-s,o=[0,0,0];for(var u=0;u<3;u++)a=t+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?l=i+(s-i)*6*a:2*a<1?l=s:3*a<2?l=i+(s-i)*(2/3-a)*6:l=i,o[u]=l*255;return o};de.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,s=Math.max(n,.01),a,o;return n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s,o=(n+r)/2,a=n===0?2*i/(s+i):2*r/(n+r),[t,a*100,o*100]};de.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,s=t-Math.floor(t),a=255*n*(1-r),o=255*n*(1-r*s),l=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}};de.hsv.hsl=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01),s,a,o;return o=(2-r)*n,s=(2-r)*i,a=r*i,a/=s<=1?s:2-s,a=a||0,o/=2,[t,a*100,o*100]};de.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i=r+n,s,a,o,l;i>1&&(r/=i,n/=i),s=Math.floor(6*t),a=1-n,o=6*t-s,s&1&&(o=1-o),l=r+o*(a-r);var u,c,f;switch(s){default:case 6:case 0:u=a,c=l,f=r;break;case 1:u=l,c=a,f=r;break;case 2:u=r,c=a,f=l;break;case 3:u=r,c=l,f=a;break;case 4:u=l,c=r,f=a;break;case 5:u=a,c=r,f=l;break}return[u*255,c*255,f*255]};de.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,s,a,o;return s=1-Math.min(1,t*(1-i)+i),a=1-Math.min(1,r*(1-i)+i),o=1-Math.min(1,n*(1-i)+i),[s*255,a*255,o*255]};de.xyz.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i,s,a;return i=t*3.2406+r*-1.5372+n*-.4986,s=t*-.9689+r*1.8758+n*.0415,a=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),a=Math.min(Math.max(0,a),1),[i*255,s*255,a*255]};de.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,a;return t/=95.047,r/=100,n/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=116*r-16,s=500*(t-r),a=200*(r-n),[i,s,a]};de.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],i,s,a;s=(t+16)/116,i=r/500+s,a=s-n/200;var o=Math.pow(s,3),l=Math.pow(i,3),u=Math.pow(a,3);return s=o>.008856?o:(s-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,a=u>.008856?u:(a-16/116)/7.787,i*=95.047,s*=100,a*=108.883,[i,s,a]};de.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],i,s,a;return i=Math.atan2(n,r),s=i*360/2/Math.PI,s<0&&(s+=360),a=Math.sqrt(r*r+n*n),[t,a,s]};de.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,a;return a=n/360*2*Math.PI,i=r*Math.cos(a),s=r*Math.sin(a),[t,i,s]};de.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:de.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return i===2&&(s+=60),s};de.hsv.ansi16=function(e){return de.rgb.ansi16(de.hsv.rgb(e),e[2])};de.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i};de.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,s=(t>>2&1)*r*255;return[n,i,s]};de.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r,n=Math.floor(e/36)/5*255,i=Math.floor((r=e%36)/6)/5*255,s=r%6/5*255;return[n,i,s]};de.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};de.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];t[0].length===3&&(r=r.split("").map(function(o){return o+o}).join(""));var n=parseInt(r,16),i=n>>16&255,s=n>>8&255,a=n&255;return[i,s,a]};de.rgb.hcg=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),s=Math.min(Math.min(t,r),n),a=i-s,o,l;return a<1?o=s/(1-a):o=0,a<=0?l=0:i===t?l=(r-n)/a%6:i===r?l=2+(n-t)/a:l=4+(t-r)/a+4,l/=6,l%=1,[l*360,a*100,o*100]};de.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};de.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};de.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];var i=[0,0,0],s=t%1*6,a=s%1,o=1-a,l=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return l=(1-r)*n,[(r*i[0]+l)*255,(r*i[1]+l)*255,(r*i[2]+l)*255]};de.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};de.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};de.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};de.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,i=n-t,s=0;return i<1&&(s=(n-i)/(1-i)),[e[0],i*100,s*100]};de.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};de.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};de.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};de.gray.hsl=de.gray.hsv=function(e){return[0,0,e[0]]};de.gray.hwb=function(e){return[0,100,e[0]]};de.gray.cmyk=function(e){return[0,0,0,e[0]]};de.gray.lab=function(e){return[e[0],0,0]};de.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};de.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var yP=g((Mwe,mP)=>{var Cu=ey();function Gie(){for(var e={},t=Object.keys(Cu),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function Hie(e){var t=Gie(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),i=Object.keys(Cu[n]),s=i.length,a=0;a<s;a++){var o=i[a],l=t[o];l.distance===-1&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(o))}return t}function Yie(e,t){return function(r){return t(e(r))}}function Xie(e,t){for(var r=[t[e].parent,e],n=Cu[t[e].parent][e],i=t[e].parent;t[i].parent;)r.unshift(t[i].parent),n=Yie(Cu[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}mP.exports=function(e){for(var t=Hie(e),r={},n=Object.keys(t),i=n.length,s=0;s<i;s++){var a=n[s],o=t[a];o.parent!==null&&(r[a]=Xie(a,t))}return r}});var bP=g((Rwe,gP)=>{var ty=ey(),Jie=yP(),Ss={},Qie=Object.keys(ty);function Zie(e){var t=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function ese(e){var t=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=e(r);if(typeof n=="object")for(var i=n.length,s=0;s<i;s++)n[s]=Math.round(n[s]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}Qie.forEach(function(e){Ss[e]={},Object.defineProperty(Ss[e],"channels",{value:ty[e].channels}),Object.defineProperty(Ss[e],"labels",{value:ty[e].labels});var t=Jie(e),r=Object.keys(t);r.forEach(function(n){var i=t[n];Ss[e][n]=ese(i),Ss[e][n].raw=Zie(i)})});gP.exports=Ss});var vP=g((qwe,EP)=>{"use strict";var xs=bP(),wu=(e,t)=>function(){return`\x1B[${e.apply(xs,arguments)+t}m`},Du=(e,t)=>function(){let r=e.apply(xs,arguments);return`\x1B[${38+t};5;${r}m`},Iu=(e,t)=>function(){let r=e.apply(xs,arguments);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function tse(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let i of Object.keys(t)){let s=t[i];for(let a of Object.keys(s)){let o=s[a];t[a]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},s[a]=t[a],e.set(o[0],o[1])}Object.defineProperty(t,i,{value:s,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let r=i=>i,n=(i,s,a)=>[i,s,a];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:wu(r,0)},t.color.ansi256={ansi256:Du(r,0)},t.color.ansi16m={rgb:Iu(n,0)},t.bgColor.ansi={ansi:wu(r,10)},t.bgColor.ansi256={ansi256:Du(r,10)},t.bgColor.ansi16m={rgb:Iu(n,10)};for(let i of Object.keys(xs)){if(typeof xs[i]!="object")continue;let s=xs[i];i==="ansi16"&&(i="ansi"),"ansi16"in s&&(t.color.ansi[i]=wu(s.ansi16,0),t.bgColor.ansi[i]=wu(s.ansi16,10)),"ansi256"in s&&(t.color.ansi256[i]=Du(s.ansi256,0),t.bgColor.ansi256[i]=Du(s.ansi256,10)),"rgb"in s&&(t.color.ansi16m[i]=Iu(s.rgb,0),t.bgColor.ansi16m[i]=Iu(s.rgb,10))}return t}Object.defineProperty(EP,"exports",{enumerable:!0,get:tse})});var AP=g((Uwe,PP)=>{"use strict";var rse=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,TP=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,nse=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ise=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,sse=new Map([["n",`
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function xP(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):sse.get(e)||e}function ase(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),i;for(let s of n)if(!isNaN(s))r.push(Number(s));else if(i=s.match(nse))r.push(i[2].replace(ise,(a,o,l)=>o?xP(o):l));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`);return r}function ose(e){TP.lastIndex=0;let t=[],r;for(;(r=TP.exec(e))!==null;){let n=r[1];if(r[2]){let i=ase(n,r[2]);t.push([n].concat(i))}else t.push([n])}return t}function SP(e,t){let r={};for(let i of t)for(let s of i.styles)r[s[0]]=i.inverse?null:s.slice(1);let n=e;for(let i of Object.keys(r))if(Array.isArray(r[i])){if(!(i in n))throw new Error(`Unknown Chalk style: ${i}`);r[i].length>0?n=n[i].apply(n,r[i]):n=n[i]}return n}PP.exports=(e,t)=>{let r=[],n=[],i=[];if(t.replace(rse,(s,a,o,l,u,c)=>{if(a)i.push(xP(a));else if(l){let f=i.join("");i=[],n.push(r.length===0?f:SP(e,r)(f)),r.push({inverse:o,styles:ose(l)})}else if(u){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(SP(e,r)(i.join(""))),i=[],r.pop()}else i.push(c)}),n.push(i.join("")),r.length>0){let s=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(s)}return n.join("")}});var _P=g((Vwe,Za)=>{"use strict";var ny=lP(),wt=vP(),ry=tm().stdout,lse=AP(),wP=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),DP=["ansi","ansi","ansi256","ansi16m"],IP=new Set(["gray"]),Ps=Object.create(null);function CP(e,t){t=t||{};let r=ry?ry.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function Qa(e){if(!this||!(this instanceof Qa)||this.template){let t={};return CP(t,e),t.template=function(){let r=[].slice.call(arguments);return fse.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,Qa.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Qa,t.template}CP(this,e)}wP&&(wt.blue.open="\x1B[94m");for(let e of Object.keys(wt))wt[e].closeRe=new RegExp(ny(wt[e].close),"g"),Ps[e]={get(){let t=wt[e];return _u.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Ps.visible={get(){return _u.call(this,this._styles||[],!0,"visible")}};wt.color.closeRe=new RegExp(ny(wt.color.close),"g");for(let e of Object.keys(wt.color.ansi))IP.has(e)||(Ps[e]={get(){let t=this.level;return function(){let n={open:wt.color[DP[t]][e].apply(null,arguments),close:wt.color.close,closeRe:wt.color.closeRe};return _u.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});wt.bgColor.closeRe=new RegExp(ny(wt.bgColor.close),"g");for(let e of Object.keys(wt.bgColor.ansi)){if(IP.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Ps[t]={get(){let r=this.level;return function(){let i={open:wt.bgColor[DP[r]][e].apply(null,arguments),close:wt.bgColor.close,closeRe:wt.bgColor.closeRe};return _u.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var use=Object.defineProperties(()=>{},Ps);function _u(e,t,r){let n=function(){return cse.apply(n,arguments)};n._styles=e,n._empty=t;let i=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return i.level},set(s){i.level=s}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return i.enabled},set(s){i.enabled=s}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=use,n}function cse(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i<t;i++)r+=" "+e[i];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;let n=wt.dim.open;wP&&this.hasGrey&&(wt.dim.open="");for(let i of this._styles.slice().reverse())r=i.open+r.replace(i.closeRe,i.open)+i.close,r=r.replace(/\r?\n/g,`${i.close}$&${i.open}`);return wt.dim.open=n,r}function fse(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let r=[].slice.call(arguments,2),n=[t.raw[0]];for(let i=1;i<t.length;i++)n.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[i]));return lse(e,n.join(""))}Object.defineProperties(Qa.prototype,Ps);Za.exports=Qa();Za.exports.supportsColor=ry;Za.exports.default=Za.exports});var jP=g(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=gse;eo.getChalk=BP;eo.shouldHighlight=FP;var OP=aP(),NP=as(),iy=_P(),pse=new Set(["as","async","from","get","of","set"]);function dse(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}var hse=/\r\n|[\n\r\u2028\u2029]/,mse=/^[()[\]{}]$/,kP;{let e=/^[a-z][\w-]*$/i,t=function(r,n,i){if(r.type==="name"){if((0,NP.isKeyword)(r.value)||(0,NP.isStrictReservedWord)(r.value,!0)||pse.has(r.value))return"keyword";if(e.test(r.value)&&(i[n-1]==="<"||i.slice(n-2,n)=="</"))return"jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return"capitalized"}return r.type==="punctuator"&&mse.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};kP=function*(r){let n;for(;n=OP.default.exec(r);){let i=OP.matchToToken(n);yield{type:t(i,n.index,r),value:i.value}}}}function yse(e,t){let r="";for(let{type:n,value:i}of kP(t)){let s=e[n];s?r+=i.split(hse).map(a=>s(a)).join(`
`):r+=i}return r}function FP(e){return!!iy.supportsColor||e.forceColor}function BP(e){return e.forceColor?new iy.constructor({enabled:!0,level:1}):iy}function gse(e,t={}){if(e!==""&&FP(t)){let r=BP(t),n=dse(r);return yse(n,e)}else return e}});var As=g(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.codeFrameColumns=RP;Ou.default=vse;var sy=jP(),LP=!1;function bse(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var MP=/\r\n|[\n\r\u2028\u2029]/;function Ese(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:a=3}=r||{},o=n.line,l=n.column,u=i.line,c=i.column,f=Math.max(o-(s+1),0),d=Math.min(t.length,u+a);o===-1&&(f=0),u===-1&&(d=t.length);let m=u-o,S={};if(m)for(let p=0;p<=m;p++){let E=p+o;if(!l)S[E]=!0;else if(p===0){let b=t[E-1].length;S[E]=[l,b-l+1]}else if(p===m)S[E]=[0,c];else{let b=t[E-p].length;S[E]=[0,b]}}else l===c?l?S[o]=[l,0]:S[o]=!0:S[o]=[l,c-l];return{start:f,end:d,markerLines:S}}function RP(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,sy.shouldHighlight)(r),i=(0,sy.getChalk)(r),s=bse(i),a=(p,E)=>n?p(E):E,o=e.split(MP),{start:l,end:u,markerLines:c}=Ese(t,o,r),f=t.start&&typeof t.start.column=="number",d=String(u).length,S=(n?(0,sy.default)(e,r):e).split(MP,u).slice(l,u).map((p,E)=>{let b=l+1+E,D=` ${` ${b}`.slice(-d)} |`,A=c[b],I=!c[b+1];if(A){let O="";if(Array.isArray(A)){let F=p.slice(0,Math.max(A[0]-1,0)).replace(/[^\t]/g," "),z=A[1]||1;O=[`
`,a(s.gutter,D.replace(/\d/g," "))," ",F,a(s.marker,"^").repeat(z)].join(""),I&&r.message&&(O+=" "+a(s.message,r.message))}return[a(s.marker,">"),a(s.gutter,D),p.length>0?` ${p}`:"",O].join("")}else return` ${a(s.gutter,D)}${p.length>0?` ${p}`:""}`}).join(`
`);return r.message&&!f&&(S=`${" ".repeat(d+1)}${r.message}
${S}`),n?i.reset(S):S}function vse(e,t,r,n={}){if(!LP){LP=!0;let s="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(s,"DeprecationWarning");else{let a=new Error(s);a.name="DeprecationWarning",console.warn(new Error(s))}}return r=Math.max(r,0),RP(e,{start:{column:r,line:t}},n)}});var Ms=g(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});function Ru(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,s;for(s=0;s<n.length;s++)i=n[s],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var en=class{constructor(t,r,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=r,this.index=n}},Bs=class{constructor(t,r){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=r}};function tr(e,t){let{line:r,column:n,index:i}=e;return new en(r,n+t,i+t)}var py={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Tse=(e,t=e.length-1)=>({get(){return e.reduce((r,n)=>r[n],this)},set(r){e.reduce((n,i,s)=>s===t?n[i]=r:n[i],this)}}),Sse=(e,t,r)=>Object.keys(r).map(n=>[n,r[n]]).filter(([,n])=>!!n).map(([n,i])=>[n,typeof i=="function"?{value:i,enumerable:!1}:typeof i.reflect=="string"?Object.assign({},i,Tse(i.reflect.split("."))):i]).reduce((n,[i,s])=>Object.defineProperty(n,i,Object.assign({configurable:!0},s)),Object.assign(new e,t)),xse={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:py.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:py.SourceTypeModuleError}},qP={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},dy=({type:e,prefix:t})=>e==="UpdateExpression"?qP.UpdateExpression[String(t)]:qP[e],Pse={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.
- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.
- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${e===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${dy(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${dy(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Ase={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Cse=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),wse={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${dy({type:e})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},Dse=["toMessage"],Ise=["message"];function _se(e){let{toMessage:t}=e,r=Ru(e,Dse);return function n({loc:i,details:s}){return Sse(SyntaxError,Object.assign({},r,{loc:i}),{clone(a={}){let o=a.loc||{};return n({loc:new en("line"in o?o.line:this.loc.line,"column"in o?o.column:this.loc.column,"index"in o?o.index:this.loc.index),details:Object.assign({},this.details,a.details)})},details:{value:s,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(a){Object.defineProperty(this,"message",{value:a})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in s&&{reflect:"details.missingPlugin",enumerable:!0}})}}function vn(e,t){if(Array.isArray(e))return n=>vn(n,e[0]);let r={};for(let n of Object.keys(e)){let i=e[n],s=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:a}=s,o=Ru(s,Ise),l=typeof a=="string"?()=>a:a;r[n]=_se(Object.assign({code:py.SyntaxError,reasonCode:n,toMessage:l},t?{syntaxPlugin:t}:{},o))}return r}var k=Object.assign({},vn(xse),vn(Pse),vn(Ase),vn`pipelineOperator`(wse)),{defineProperty:Ose}=Object,UP=(e,t)=>Ose(e,t,{enumerable:!1,value:e[t]});function to(e){return e.loc.start&&UP(e.loc.start,"index"),e.loc.end&&UP(e.loc.end,"index"),e}var Nse=e=>class extends e{parse(){let r=to(super.parse());return this.options.tokens&&(r.tokens=r.tokens.map(to)),r}parseRegExpLiteral({pattern:r,flags:n}){let i=null;try{i=new RegExp(r,n)}catch{}let s=this.estreeParseLiteral(i);return s.regex={pattern:r,flags:n},s}parseBigIntLiteral(r){let n;try{n=BigInt(r)}catch{n=null}let i=this.estreeParseLiteral(n);return i.bigint=String(i.value||r),i}parseDecimalLiteral(r){let i=this.estreeParseLiteral(null);return i.decimal=String(i.value||r),i}estreeParseLiteral(r){return this.parseLiteral(r,"Literal")}parseStringLiteral(r){return this.estreeParseLiteral(r)}parseNumericLiteral(r){return this.estreeParseLiteral(r)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(r){return this.estreeParseLiteral(r)}directiveToStmt(r){let n=r.value;delete r.value,n.type="Literal",n.raw=n.extra.raw,n.value=n.extra.expressionValue;let i=r;return i.type="ExpressionStatement",i.expression=n,i.directive=n.extra.rawValue,delete n.extra,i}initFunction(r,n){super.initFunction(r,n),r.expression=!1}checkDeclaration(r){r!=null&&this.isObjectProperty(r)?this.checkDeclaration(r.value):super.checkDeclaration(r)}getObjectOrClassMethodParams(r){return r.value.params}isValidDirective(r){var n;return r.type==="ExpressionStatement"&&r.expression.type==="Literal"&&typeof r.expression.value=="string"&&!((n=r.expression.extra)!=null&&n.parenthesized)}parseBlockBody(r,n,i,s,a){super.parseBlockBody(r,n,i,s,a);let o=r.directives.map(l=>this.directiveToStmt(l));r.body=o.concat(r.body),delete r.directives}pushClassMethod(r,n,i,s,a,o){this.parseMethod(n,i,s,a,o,"ClassMethod",!0),n.typeParameters&&(n.value.typeParameters=n.typeParameters,delete n.typeParameters),r.body.push(n)}parsePrivateName(){let r=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(r):r}convertPrivateNameToPrivateIdentifier(r){let n=super.getPrivateNameSV(r);return r=r,delete r.id,r.name=n,r.type="PrivateIdentifier",r}isPrivateName(r){return this.getPluginOption("estree","classFeatures")?r.type==="PrivateIdentifier":super.isPrivateName(r)}getPrivateNameSV(r){return this.getPluginOption("estree","classFeatures")?r.name:super.getPrivateNameSV(r)}parseLiteral(r,n){let i=super.parseLiteral(r,n);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(r,n,i=!1){super.parseFunctionBody(r,n,i),r.expression=r.body.type!=="BlockStatement"}parseMethod(r,n,i,s,a,o,l=!1){let u=this.startNode();return u.kind=r.kind,u=super.parseMethod(u,n,i,s,a,o,l),u.type="FunctionExpression",delete u.kind,r.value=u,o==="ClassPrivateMethod"&&(r.computed=!1),this.finishNode(r,"MethodDefinition")}parseClassProperty(...r){let n=super.parseClassProperty(...r);return this.getPluginOption("estree","classFeatures")&&(n.type="PropertyDefinition"),n}parseClassPrivateProperty(...r){let n=super.parseClassPrivateProperty(...r);return this.getPluginOption("estree","classFeatures")&&(n.type="PropertyDefinition",n.computed=!1),n}parseObjectMethod(r,n,i,s,a){let o=super.parseObjectMethod(r,n,i,s,a);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(r,n,i,s){let a=super.parseObjectProperty(r,n,i,s);return a&&(a.kind="init",a.type="Property"),a}isValidLVal(r,n,i){return r==="Property"?"value":super.isValidLVal(r,n,i)}isAssignable(r,n){return r!=null&&this.isObjectProperty(r)?this.isAssignable(r.value,n):super.isAssignable(r,n)}toAssignable(r,n=!1){if(r!=null&&this.isObjectProperty(r)){let{key:i,value:s}=r;this.isPrivateName(i)&&this.classScope.usePrivateName(this.getPrivateNameSV(i),i.loc.start),this.toAssignable(s,n)}else super.toAssignable(r,n)}toAssignableObjectExpressionProp(r,n,i){r.kind==="get"||r.kind==="set"?this.raise(k.PatternHasAccessor,{at:r.key}):r.method?this.raise(k.PatternHasMethod,{at:r.key}):super.toAssignableObjectExpressionProp(r,n,i)}finishCallExpression(r,n){let i=super.finishCallExpression(r,n);if(i.callee.type==="Import"){if(i.type="ImportExpression",i.source=i.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var s;i.attributes=(s=i.arguments[1])!=null?s:null}delete i.arguments,delete i.callee}return i}toReferencedArguments(r){r.type!=="ImportExpression"&&super.toReferencedArguments(r)}parseExport(r,n){let i=this.state.lastTokStartLoc,s=super.parseExport(r,n);switch(s.type){case"ExportAllDeclaration":s.exported=null;break;case"ExportNamedDeclaration":s.specifiers.length===1&&s.specifiers[0].type==="ExportNamespaceSpecifier"&&(s.type="ExportAllDeclaration",s.exported=s.specifiers[0].exported,delete s.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=s;(o==null?void 0:o.type)==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===s.start&&this.resetStartLocation(s,i)}break}return s}parseSubscript(r,n,i,s){let a=super.parseSubscript(r,n,i,s);if(s.optionalChainMember){if((a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression")&&(a.type=a.type.substring(8)),s.stop){let o=this.startNodeAtNode(a);return o.expression=a,this.finishNode(o,"ChainExpression")}}else(a.type==="MemberExpression"||a.type==="CallExpression")&&(a.optional=!1);return a}hasPropertyAsPrivateName(r){return r.type==="ChainExpression"&&(r=r.expression),super.hasPropertyAsPrivateName(r)}isObjectProperty(r){return r.type==="Property"&&r.kind==="init"&&!r.method}isObjectMethod(r){return r.method||r.kind==="get"||r.kind==="set"}finishNodeAt(r,n,i){return to(super.finishNodeAt(r,n,i))}resetStartLocation(r,n){super.resetStartLocation(r,n),to(r)}resetEndLocation(r,n=this.state.lastTokEndLoc){super.resetEndLocation(r,n),to(r)}},ki=class{constructor(t,r){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!r}},ot={brace:new ki("{"),j_oTag:new ki("<tag"),j_cTag:new ki("</tag"),j_expr:new ki("<tag>...</tag>",!0)};ot.template=new ki("`",!0);var ke=!0,ie=!0,ay=!0,ro=!0,Jn=!0,kse=!0,qu=class{constructor(t,r={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop!=null?r.binop:null,this.updateContext=null}},Ly=new Map;function $e(e,t={}){t.keyword=e;let r=ge(e,t);return Ly.set(e,r),r}function er(e,t){return ge(e,{beforeExpr:ke,binop:t})}var ao=-1,bn=[],My=[],Ry=[],qy=[],Uy=[],Vy=[];function ge(e,t={}){var r,n,i,s;return++ao,My.push(e),Ry.push((r=t.binop)!=null?r:-1),qy.push((n=t.beforeExpr)!=null?n:!1),Uy.push((i=t.startsExpr)!=null?i:!1),Vy.push((s=t.prefix)!=null?s:!1),bn.push(new qu(e,t)),ao}function Le(e,t={}){var r,n,i,s;return++ao,Ly.set(e,ao),My.push(e),Ry.push((r=t.binop)!=null?r:-1),qy.push((n=t.beforeExpr)!=null?n:!1),Uy.push((i=t.startsExpr)!=null?i:!1),Vy.push((s=t.prefix)!=null?s:!1),bn.push(new qu("name",t)),ao}var Fse={bracketL:ge("[",{beforeExpr:ke,startsExpr:ie}),bracketHashL:ge("#[",{beforeExpr:ke,startsExpr:ie}),bracketBarL:ge("[|",{beforeExpr:ke,startsExpr:ie}),bracketR:ge("]"),bracketBarR:ge("|]"),braceL:ge("{",{beforeExpr:ke,startsExpr:ie}),braceBarL:ge("{|",{beforeExpr:ke,startsExpr:ie}),braceHashL:ge("#{",{beforeExpr:ke,startsExpr:ie}),braceR:ge("}"),braceBarR:ge("|}"),parenL:ge("(",{beforeExpr:ke,startsExpr:ie}),parenR:ge(")"),comma:ge(",",{beforeExpr:ke}),semi:ge(";",{beforeExpr:ke}),colon:ge(":",{beforeExpr:ke}),doubleColon:ge("::",{beforeExpr:ke}),dot:ge("."),question:ge("?",{beforeExpr:ke}),questionDot:ge("?."),arrow:ge("=>",{beforeExpr:ke}),template:ge("template"),ellipsis:ge("...",{beforeExpr:ke}),backQuote:ge("`",{startsExpr:ie}),dollarBraceL:ge("${",{beforeExpr:ke,startsExpr:ie}),templateTail:ge("...`",{startsExpr:ie}),templateNonTail:ge("...${",{beforeExpr:ke,startsExpr:ie}),at:ge("@"),hash:ge("#",{startsExpr:ie}),interpreterDirective:ge("#!..."),eq:ge("=",{beforeExpr:ke,isAssign:ro}),assign:ge("_=",{beforeExpr:ke,isAssign:ro}),slashAssign:ge("_=",{beforeExpr:ke,isAssign:ro}),xorAssign:ge("_=",{beforeExpr:ke,isAssign:ro}),moduloAssign:ge("_=",{beforeExpr:ke,isAssign:ro}),incDec:ge("++/--",{prefix:Jn,postfix:kse,startsExpr:ie}),bang:ge("!",{beforeExpr:ke,prefix:Jn,startsExpr:ie}),tilde:ge("~",{beforeExpr:ke,prefix:Jn,startsExpr:ie}),doubleCaret:ge("^^",{startsExpr:ie}),doubleAt:ge("@@",{startsExpr:ie}),pipeline:er("|>",0),nullishCoalescing:er("??",1),logicalOR:er("||",1),logicalAND:er("&&",2),bitwiseOR:er("|",3),bitwiseXOR:er("^",4),bitwiseAND:er("&",5),equality:er("==/!=/===/!==",6),lt:er("</>/<=/>=",7),gt:er("</>/<=/>=",7),relational:er("</>/<=/>=",7),bitShift:er("<</>>/>>>",8),bitShiftL:er("<</>>/>>>",8),bitShiftR:er("<</>>/>>>",8),plusMin:ge("+/-",{beforeExpr:ke,binop:9,prefix:Jn,startsExpr:ie}),modulo:ge("%",{binop:10,startsExpr:ie}),star:ge("*",{binop:10}),slash:er("/",10),exponent:ge("**",{beforeExpr:ke,binop:11,rightAssociative:!0}),_in:$e("in",{beforeExpr:ke,binop:7}),_instanceof:$e("instanceof",{beforeExpr:ke,binop:7}),_break:$e("break"),_case:$e("case",{beforeExpr:ke}),_catch:$e("catch"),_continue:$e("continue"),_debugger:$e("debugger"),_default:$e("default",{beforeExpr:ke}),_else:$e("else",{beforeExpr:ke}),_finally:$e("finally"),_function:$e("function",{startsExpr:ie}),_if:$e("if"),_return:$e("return",{beforeExpr:ke}),_switch:$e("switch"),_throw:$e("throw",{beforeExpr:ke,prefix:Jn,startsExpr:ie}),_try:$e("try"),_var:$e("var"),_const:$e("const"),_with:$e("with"),_new:$e("new",{beforeExpr:ke,startsExpr:ie}),_this:$e("this",{startsExpr:ie}),_super:$e("super",{startsExpr:ie}),_class:$e("class",{startsExpr:ie}),_extends:$e("extends",{beforeExpr:ke}),_export:$e("export"),_import:$e("import",{startsExpr:ie}),_null:$e("null",{startsExpr:ie}),_true:$e("true",{startsExpr:ie}),_false:$e("false",{startsExpr:ie}),_typeof:$e("typeof",{beforeExpr:ke,prefix:Jn,startsExpr:ie}),_void:$e("void",{beforeExpr:ke,prefix:Jn,startsExpr:ie}),_delete:$e("delete",{beforeExpr:ke,prefix:Jn,startsExpr:ie}),_do:$e("do",{isLoop:ay,beforeExpr:ke}),_for:$e("for",{isLoop:ay}),_while:$e("while",{isLoop:ay}),_as:Le("as",{startsExpr:ie}),_assert:Le("assert",{startsExpr:ie}),_async:Le("async",{startsExpr:ie}),_await:Le("await",{startsExpr:ie}),_from:Le("from",{startsExpr:ie}),_get:Le("get",{startsExpr:ie}),_let:Le("let",{startsExpr:ie}),_meta:Le("meta",{startsExpr:ie}),_of:Le("of",{startsExpr:ie}),_sent:Le("sent",{startsExpr:ie}),_set:Le("set",{startsExpr:ie}),_static:Le("static",{startsExpr:ie}),_using:Le("using",{startsExpr:ie}),_yield:Le("yield",{startsExpr:ie}),_asserts:Le("asserts",{startsExpr:ie}),_checks:Le("checks",{startsExpr:ie}),_exports:Le("exports",{startsExpr:ie}),_global:Le("global",{startsExpr:ie}),_implements:Le("implements",{startsExpr:ie}),_intrinsic:Le("intrinsic",{startsExpr:ie}),_infer:Le("infer",{startsExpr:ie}),_is:Le("is",{startsExpr:ie}),_mixins:Le("mixins",{startsExpr:ie}),_proto:Le("proto",{startsExpr:ie}),_require:Le("require",{startsExpr:ie}),_satisfies:Le("satisfies",{startsExpr:ie}),_keyof:Le("keyof",{startsExpr:ie}),_readonly:Le("readonly",{startsExpr:ie}),_unique:Le("unique",{startsExpr:ie}),_abstract:Le("abstract",{startsExpr:ie}),_declare:Le("declare",{startsExpr:ie}),_enum:Le("enum",{startsExpr:ie}),_module:Le("module",{startsExpr:ie}),_namespace:Le("namespace",{startsExpr:ie}),_interface:Le("interface",{startsExpr:ie}),_type:Le("type",{startsExpr:ie}),_opaque:Le("opaque",{startsExpr:ie}),name:ge("name",{startsExpr:ie}),string:ge("string",{startsExpr:ie}),num:ge("num",{startsExpr:ie}),bigint:ge("bigint",{startsExpr:ie}),decimal:ge("decimal",{startsExpr:ie}),regexp:ge("regexp",{startsExpr:ie}),privateName:ge("#name",{startsExpr:ie}),eof:ge("eof"),jsxName:ge("jsxName"),jsxText:ge("jsxText",{beforeExpr:!0}),jsxTagStart:ge("jsxTagStart",{startsExpr:!0}),jsxTagEnd:ge("jsxTagEnd"),placeholder:ge("%%",{startsExpr:!0})};function Je(e){return e>=93&&e<=130}function Bse(e){return e<=92}function Ur(e){return e>=58&&e<=130}function nA(e){return e>=58&&e<=134}function jse(e){return qy[e]}function hy(e){return Uy[e]}function Lse(e){return e>=29&&e<=33}function VP(e){return e>=127&&e<=129}function Mse(e){return e>=90&&e<=92}function $y(e){return e>=58&&e<=92}function Rse(e){return e>=39&&e<=59}function qse(e){return e===34}function Use(e){return Vy[e]}function Vse(e){return e>=119&&e<=121}function $se(e){return e>=122&&e<=128}function ei(e){return My[e]}function Bu(e){return Ry[e]}function Kse(e){return e===57}function Uu(e){return e>=24&&e<=25}function gn(e){return bn[e]}bn[8].updateContext=e=>{e.pop()},bn[5].updateContext=bn[7].updateContext=bn[23].updateContext=e=>{e.push(ot.brace)},bn[22].updateContext=e=>{e[e.length-1]===ot.template?e.pop():e.push(ot.template)},bn[140].updateContext=e=>{e.push(ot.j_expr,ot.j_oTag)};var Ky="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",iA="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Wse=new RegExp("["+Ky+"]"),zse=new RegExp("["+Ky+iA+"]");Ky=iA=null;var sA=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],Gse=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function my(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function En(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Wse.test(String.fromCharCode(e)):my(e,sA)}function _s(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&zse.test(String.fromCharCode(e)):my(e,sA)||my(e,Gse)}var Wy={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"]},Hse=new Set(Wy.keyword),Yse=new Set(Wy.strict),Xse=new Set(Wy.strictBind);function aA(e,t){return t&&e==="await"||e==="enum"}function oA(e,t){return aA(e,t)||Yse.has(e)}function lA(e){return Xse.has(e)}function uA(e,t){return oA(e,t)||lA(e)}function Jse(e){return Hse.has(e)}function Qse(e,t,r){return e===64&&t===64&&En(r)}var Zse=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function eae(e){return Zse.has(e)}var ws=0,Ds=1,Tn=2,zy=4,cA=8,Vu=16,fA=32,Fi=64,$u=128,Os=256,Nu=Ds|Tn|$u|Os,tn=1,ji=2,pA=4,Bi=8,ju=16,dA=64,Ku=128,yy=256,gy=512,Gy=1024,by=2048,oo=4096,Yu=8192,hA=tn|ji|Bi|Ku|Yu,Ns=tn|0|Bi|Yu,tae=tn|0|Bi|0,Wu=tn|0|pA|0,mA=tn|0|ju|0,rae=0|ji|0|Ku,nae=0|ji|0|0,yA=tn|ji|Bi|yy|Yu,$P=0|Gy,Zn=0|dA,iae=tn|0|0|dA,sae=yA|gy,aae=0|Gy,KP=0|ji|0|oo,oae=by,zu=4,Hy=2,Yy=1,oy=Hy|Yy,lae=Hy|zu,uae=Yy|zu,cae=Hy,fae=Yy,ly=0,uo=class{constructor(t){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=t}},co=class{constructor(t,r){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=r}get inTopLevel(){return(this.currentScope().flags&Ds)>0}get inFunction(){return(this.currentVarScopeFlags()&Tn)>0}get allowSuper(){return(this.currentThisScopeFlags()&Vu)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&fA)>0}get inClass(){return(this.currentThisScopeFlags()&Fi)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&Fi)>0&&(t&Tn)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&$u)return!0;if(r&(Nu|Fi))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Tn)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new uo(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&(Tn|$u)||!this.parser.inModule&&t.flags&Ds)}declareName(t,r,n){let i=this.currentScope();if(r&Bi||r&ju)this.checkRedeclarationInScope(i,t,r,n),r&ju?i.functions.add(t):i.lexical.add(t),r&Bi&&this.maybeExportDefined(i,t);else if(r&pA)for(let s=this.scopeStack.length-1;s>=0&&(i=this.scopeStack[s],this.checkRedeclarationInScope(i,t,r,n),i.var.add(t),this.maybeExportDefined(i,t),!(i.flags&Nu));--s);this.parser.inModule&&i.flags&Ds&&this.undefinedExports.delete(t)}maybeExportDefined(t,r){this.parser.inModule&&t.flags&Ds&&this.undefinedExports.delete(r)}checkRedeclarationInScope(t,r,n,i){this.isRedeclaredInScope(t,r,n)&&this.parser.raise(k.VarRedeclaration,{at:i,identifierName:r})}isRedeclaredInScope(t,r,n){return n&tn?n&Bi?t.lexical.has(r)||t.functions.has(r)||t.var.has(r):n&ju?t.lexical.has(r)||!this.treatFunctionsAsVarInScope(t)&&t.var.has(r):t.lexical.has(r)&&!(t.flags&cA&&t.lexical.values().next().value===r)||!this.treatFunctionsAsVarInScope(t)&&t.functions.has(r):!1}checkLocalExport(t){let{name:r}=t,n=this.scopeStack[0];!n.lexical.has(r)&&!n.var.has(r)&&!n.functions.has(r)&&this.undefinedExports.set(r,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&Nu)return r}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&(Nu|Fi)&&!(r&zy))return r}}},Ey=class extends uo{constructor(...t){super(...t),this.declareFunctions=new Set}},vy=class extends co{createScope(t){return new Ey(t)}declareName(t,r,n){let i=this.currentScope();if(r&by){this.checkRedeclarationInScope(i,t,r,n),this.maybeExportDefined(i,t),i.declareFunctions.add(t);return}super.declareName(t,r,n)}isRedeclaredInScope(t,r,n){return super.isRedeclaredInScope(t,r,n)?!0:n&by?!t.declareFunctions.has(r)&&(t.lexical.has(r)||t.functions.has(r)):!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},Ty=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[r,n]=t;if(!this.hasPlugin(r))return!1;let i=this.plugins.get(r);for(let s of Object.keys(n))if((i==null?void 0:i[s])!==n[s])return!1;return!0}}getPluginOption(t,r){var n;return(n=this.plugins.get(t))==null?void 0:n[r]}};function gA(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function pae(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function fo(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function no(e,t,r){let n=null,i=t.length;for(;n===null&&i>0;)n=t[--i];n===null||n.start>r.start?fo(e,r.comments):gA(n,r.comments)}var Sy=class extends Ty{addComment(t){this.filename&&(t.loc.filename=this.filename),this.state.comments.push(t)}processComment(t){let{commentStack:r}=this.state,n=r.length;if(n===0)return;let i=n-1,s=r[i];s.start===t.end&&(s.leadingNode=t,i--);let{start:a}=t;for(;i>=0;i--){let o=r[i],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),r.splice(i,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){let{comments:r}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&gA(t.leadingNode,r),t.trailingNode!==null&&pae(t.trailingNode,r);else{let{containingNode:n,start:i}=t;if(this.input.charCodeAt(i-1)===44)switch(n.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":no(n,n.properties,t);break;case"CallExpression":case"OptionalCallExpression":no(n,n.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":no(n,n.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":no(n,n.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":no(n,n.specifiers,t);break;default:fo(n,r)}else fo(n,r)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let r=t.length-1;r>=0;r--)this.finalizeComment(t[r]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:r}=this.state,{length:n}=r;if(n===0)return;let i=r[n-1];i.leadingNode===t&&(i.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){let{commentStack:r}=this.state,{length:n}=r;n!==0&&(r[n-1].trailingNode===t?r[n-1].trailingNode=null:n>=2&&r[n-2].trailingNode===t&&(r[n-2].trailingNode=null))}takeSurroundingComments(t,r,n){let{commentStack:i}=this.state,s=i.length;if(s===0)return;let a=s-1;for(;a>=0;a--){let o=i[a],l=o.end;if(o.start===n)o.leadingNode=t;else if(l===r)o.trailingNode=t;else if(l<r)break}}},bA=/\r\n?|[\n\u2028\u2029]/,ku=new RegExp(bA.source,"g");function lo(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var uy=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Lu=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,WP=new RegExp("(?=("+Lu.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function dae(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var xy=class e{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[ot.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:t,sourceType:r,startLine:n,startColumn:i}){this.strict=t===!1?!1:t===!0?!0:r==="module",this.curLine=n,this.lineStart=-i,this.startLoc=this.endLoc=new en(n,i,0)}curPosition(){return new en(this.curLine,this.pos-this.lineStart,this.pos)}clone(t){let r=new e,n=Object.keys(this);for(let i=0,s=n.length;i<s;i++){let a=n[i],o=this[a];!t&&Array.isArray(o)&&(o=o.slice()),r[a]=o}return r}},hae=function(t){return t>=48&&t<=57},zP={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Fu={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function GP(e,t,r,n,i,s){let a=r,o=n,l=i,u="",c=null,f=r,{length:d}=t;for(;;){if(r>=d){s.unterminated(a,o,l),u+=t.slice(f,r);break}let m=t.charCodeAt(r);if(mae(e,m,t,r)){u+=t.slice(f,r);break}if(m===92){u+=t.slice(f,r);let S=yae(t,r,n,i,e==="template",s);S.ch===null&&!c?c={pos:r,lineStart:n,curLine:i}:u+=S.ch,{pos:r,lineStart:n,curLine:i}=S,f=r}else m===8232||m===8233?(++r,++i,n=r):m===10||m===13?e==="template"?(u+=t.slice(f,r)+`
`,++r,m===13&&t.charCodeAt(r)===10&&++r,++i,f=n=r):s.unterminated(a,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:i,containsInvalid:!!c}}function mae(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function yae(e,t,r,n,i,s){let a=!i;t++;let o=u=>({pos:t,ch:u,lineStart:r,curLine:n}),l=e.charCodeAt(t++);switch(l){case 110:return o(`
`);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=Py(e,t,r,n,2,!1,a,s),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=vA(e,t,r,n,a,s),o(u===null?null:String.fromCodePoint(u))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:e.charCodeAt(t)===10&&++t;case 10:r=t,++n;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);s.strictNumericEscape(t-1,r,n);default:if(l>=48&&l<=55){let u=t-1,f=e.slice(u,t+2).match(/^[0-7]+/)[0],d=parseInt(f,8);d>255&&(f=f.slice(0,-1),d=parseInt(f,8)),t+=f.length-1;let m=e.charCodeAt(t);if(f!=="0"||m===56||m===57){if(i)return o(null);s.strictNumericEscape(u,r,n)}return o(String.fromCharCode(d))}return o(String.fromCharCode(l))}}function Py(e,t,r,n,i,s,a,o){let l=t,u;return{n:u,pos:t}=EA(e,t,r,n,16,i,s,!1,o,!a),u===null&&(a?o.invalidEscapeSequence(l,r,n):t=l-1),{code:u,pos:t}}function EA(e,t,r,n,i,s,a,o,l,u){let c=t,f=i===16?zP.hex:zP.decBinOct,d=i===16?Fu.hex:i===10?Fu.dec:i===8?Fu.oct:Fu.bin,m=!1,S=0;for(let p=0,E=s==null?1/0:s;p<E;++p){let b=e.charCodeAt(t),_;if(b===95&&o!=="bail"){let D=e.charCodeAt(t-1),A=e.charCodeAt(t+1);if(o){if(Number.isNaN(A)||!d(A)||f.has(D)||f.has(A)){if(u)return{n:null,pos:t};l.unexpectedNumericSeparator(t,r,n)}}else{if(u)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,r,n)}++t;continue}if(b>=97?_=b-97+10:b>=65?_=b-65+10:hae(b)?_=b-48:_=1/0,_>=i){if(_<=9&&u)return{n:null,pos:t};if(_<=9&&l.invalidDigit(t,r,n,i))_=0;else if(a)_=0,m=!0;else break}++t,S=S*i+_}return t===c||s!=null&&t-c!==s||m?{n:null,pos:t}:{n:S,pos:t}}function vA(e,t,r,n,i,s){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=Py(e,t,r,n,e.indexOf("}",t)-t,!0,i,s),++t,o!==null&&o>1114111)if(i)s.invalidCodePoint(t,r,n);else return{code:null,pos:t}}else({code:o,pos:t}=Py(e,t,r,n,4,!1,i,s));return{code:o,pos:t}}var gae=["at"],bae=["at"];function io(e,t,r){return new en(r,e-t,e)}var Eae=new Set([103,109,115,105,121,117,100,118]),Zr=class{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new Bs(t.startLoc,t.endLoc)}},Ay=class extends Sy{constructor(t,r){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(n,i,s,a)=>this.options.errorRecovery?(this.raise(k.InvalidDigit,{at:io(n,i,s),radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(k.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(k.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(k.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(k.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(n,i,s)=>{this.recordStrictModeErrors(k.StrictNumericEscape,{at:io(n,i,s)})},unterminated:(n,i,s)=>{throw this.raise(k.UnterminatedString,{at:io(n-1,i,s)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(k.StrictNumericEscape),unterminated:(n,i,s)=>{throw this.raise(k.UnterminatedTemplate,{at:io(n,i,s)})}}),this.state=new xy,this.state.init(t),this.input=r,this.length=r.length,this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Zr(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let r=this.state;return this.state=t,r}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return uy.lastIndex=t,uy.test(this.input)?uy.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Lu.lastIndex=t,Lu.test(this.input)?Lu.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let r=this.input.charCodeAt(t);if((r&64512)===55296&&++t<this.input.length){let n=this.input.charCodeAt(t);(n&64512)===56320&&(r=65536+((r&1023)<<10)+(n&1023))}return r}setStrict(t){this.state.strict=t,t&&(this.state.strictErrors.forEach(([r,n])=>this.raise(r,{at:n})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let r;this.isLookahead||(r=this.state.curPosition());let n=this.state.pos,i=this.input.indexOf(t,n+2);if(i===-1)throw this.raise(k.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=i+t.length,ku.lastIndex=n+2;ku.test(this.input)&&ku.lastIndex<=i;)++this.state.curLine,this.state.lineStart=ku.lastIndex;if(this.isLookahead)return;let s={type:"CommentBlock",value:this.input.slice(n+2,i),start:n,end:i+t.length,loc:new Bs(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(s),s}skipLineComment(t){let r=this.state.pos,n;this.isLookahead||(n=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!lo(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let s=this.state.pos,o={type:"CommentLine",value:this.input.slice(r+t,s),start:r,end:s,loc:new Bs(n,this.state.curPosition())};return this.options.tokens&&this.pushToken(o),o}skipSpace(){let t=this.state.pos,r=[];e:for(;this.state.pos<this.length;){let n=this.input.charCodeAt(this.state.pos);switch(n){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let i=this.skipBlockComment("*/");i!==void 0&&(this.addComment(i),this.options.attachComment&&r.push(i));break}case 47:{let i=this.skipLineComment(2);i!==void 0&&(this.addComment(i),this.options.attachComment&&r.push(i));break}default:break e}break;default:if(dae(n))++this.state.pos;else if(n===45&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===45&&this.input.charCodeAt(i+2)===62&&(t===0||this.state.lineStart>t)){let s=this.skipLineComment(3);s!==void 0&&(this.addComment(s),this.options.attachComment&&r.push(s))}else break e}else if(n===60&&!this.inModule&&this.options.annexB){let i=this.state.pos;if(this.input.charCodeAt(i+1)===33&&this.input.charCodeAt(i+2)===45&&this.input.charCodeAt(i+3)===45){let s=this.skipLineComment(4);s!==void 0&&(this.addComment(s),this.options.attachComment&&r.push(s))}else break e}else break e}}if(r.length>0){let n=this.state.pos,i={start:t,end:n,comments:r,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(t,r){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let n=this.state.type;this.state.type=t,this.state.value=r,this.isLookahead||this.updateContext(n)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,r=this.codePointAtPos(t);if(r>=48&&r<=57)throw this.raise(k.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(r===123||r===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(r===123?k.RecordExpressionHashIncorrectStartSyntaxType:k.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,r===123?this.finishToken(7):this.finishToken(1)}else En(r)?(++this.state.pos,this.finishToken(136,this.readWord1(r))):r===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let r=this.state.pos;for(this.state.pos+=1;!lo(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);let n=this.input.slice(r+2,this.state.pos);return this.finishToken(28,n),!0}readToken_mult_modulo(t){let r=t===42?55:54,n=1,i=this.input.charCodeAt(this.state.pos+1);t===42&&i===42&&(n++,i=this.input.charCodeAt(this.state.pos+2),r=57),i===61&&!this.state.inType&&(n++,r=t===37?33:30),this.finishOp(r,n)}readToken_pipe_amp(t){let r=this.input.charCodeAt(this.state.pos+1);if(r===t){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(t===124?41:42,2);return}if(t===124){if(r===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&r===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(k.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&r===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(k.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(r===61){this.finishOp(30,2);return}this.finishOp(t===124?43:45,1)}readToken_caret(){let t=this.input.charCodeAt(this.state.pos+1);t===61&&!this.state.inType?this.finishOp(32,2):t===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(t){let r=this.input.charCodeAt(this.state.pos+1);if(r===t){this.finishOp(34,2);return}r===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:t}=this.state,r=this.input.charCodeAt(t+1);if(r===60){if(this.input.charCodeAt(t+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(r===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:t}=this.state,r=this.input.charCodeAt(t+1);if(r===62){let n=this.input.charCodeAt(t+2)===62?3:2;if(this.input.charCodeAt(t+n)===61){this.finishOp(30,n+1);return}this.finishOp(52,n);return}if(r===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(t){let r=this.input.charCodeAt(this.state.pos+1);if(r===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(t===61&&r===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(t===61?29:35,1)}readToken_question(){let t=this.input.charCodeAt(this.state.pos+1),r=this.input.charCodeAt(this.state.pos+2);t===63?r===61?this.finishOp(30,3):this.finishOp(40,2):t===46&&!(r>=48&&r<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(k.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(k.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let r=this.input.charCodeAt(this.state.pos+1);if(r===120||r===88){this.readRadixNumber(16);return}if(r===111||r===79){this.readRadixNumber(8);return}if(r===98||r===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(En(t)){this.readWord(t);return}}throw this.raise(k.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(t)})}finishOp(t,r){let n=this.input.slice(this.state.pos,this.state.pos+r);this.state.pos+=r,this.finishToken(t,n)}readRegexp(){let t=this.state.startLoc,r=this.state.start+1,n,i,{pos:s}=this.state;for(;;++s){if(s>=this.length)throw this.raise(k.UnterminatedRegExp,{at:tr(t,1)});let u=this.input.charCodeAt(s);if(lo(u))throw this.raise(k.UnterminatedRegExp,{at:tr(t,1)});if(n)n=!1;else{if(u===91)i=!0;else if(u===93&&i)i=!1;else if(u===47&&!i)break;n=u===92}}let a=this.input.slice(r,s);++s;let o="",l=()=>tr(t,s+2-r);for(;s<this.length;){let u=this.codePointAtPos(s),c=String.fromCharCode(u);if(Eae.has(u))u===118?o.includes("u")&&this.raise(k.IncompatibleRegExpUVFlags,{at:l()}):u===117&&o.includes("v")&&this.raise(k.IncompatibleRegExpUVFlags,{at:l()}),o.includes(c)&&this.raise(k.DuplicateRegExpFlags,{at:l()});else if(_s(u)||u===92)this.raise(k.MalformedRegExpFlags,{at:l()});else break;++s,o+=c}this.state.pos=s,this.finishToken(135,{pattern:a,flags:o})}readInt(t,r,n=!1,i=!0){let{n:s,pos:a}=EA(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,r,n,i,this.errorHandlers_readInt,!1);return this.state.pos=a,s}readRadixNumber(t){let r=this.state.curPosition(),n=!1;this.state.pos+=2;let i=this.readInt(t);i==null&&this.raise(k.InvalidDigit,{at:tr(r,2),radix:t});let s=this.input.charCodeAt(this.state.pos);if(s===110)++this.state.pos,n=!0;else if(s===109)throw this.raise(k.InvalidDecimal,{at:r});if(En(this.codePointAtPos(this.state.pos)))throw this.raise(k.NumberIdentifier,{at:this.state.curPosition()});if(n){let a=this.input.slice(r.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,a);return}this.finishToken(132,i)}readNumber(t){let r=this.state.pos,n=this.state.curPosition(),i=!1,s=!1,a=!1,o=!1,l=!1;!t&&this.readInt(10)===null&&this.raise(k.InvalidNumber,{at:this.state.curPosition()});let u=this.state.pos-r>=2&&this.input.charCodeAt(r)===48;if(u){let m=this.input.slice(r,this.state.pos);if(this.recordStrictModeErrors(k.StrictOctalLiteral,{at:n}),!this.state.strict){let S=m.indexOf("_");S>0&&this.raise(k.ZeroDigitNumericSeparator,{at:tr(n,S)})}l=u&&!/[89]/.test(m)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!l&&(++this.state.pos,this.readInt(10),i=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!l&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(k.InvalidOrMissingExponent,{at:n}),i=!0,o=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((i||u)&&this.raise(k.InvalidBigIntLiteral,{at:n}),++this.state.pos,s=!0),c===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(k.InvalidDecimal,{at:n}),++this.state.pos,a=!0),En(this.codePointAtPos(this.state.pos)))throw this.raise(k.NumberIdentifier,{at:this.state.curPosition()});let f=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(s){this.finishToken(133,f);return}if(a){this.finishToken(134,f);return}let d=l?parseInt(f,8):parseFloat(f);this.finishToken(132,d)}readCodePoint(t){let{code:r,pos:n}=vA(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=n,r}readString(t){let{str:r,pos:n,curLine:i,lineStart:s}=GP(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=n+1,this.state.lineStart=s,this.state.curLine=i,this.finishToken(131,r)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:r,firstInvalidLoc:n,pos:i,curLine:s,lineStart:a}=GP("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=a,this.state.curLine=s,n&&(this.state.firstInvalidTemplateEscapePos=new en(n.curLine,n.pos-n.lineStart,n.pos)),this.input.codePointAt(i)===96?this.finishToken(24,n?null:t+r+"`"):(this.state.pos++,this.finishToken(25,n?null:t+r+"${"))}recordStrictModeErrors(t,{at:r}){let n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(t,{at:r}):this.state.strictErrors.set(n,[t,r])}readWord1(t){this.state.containsEsc=!1;let r="",n=this.state.pos,i=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){let s=this.codePointAtPos(this.state.pos);if(_s(s))this.state.pos+=s<=65535?1:2;else if(s===92){this.state.containsEsc=!0,r+=this.input.slice(i,this.state.pos);let a=this.state.curPosition(),o=this.state.pos===n?En:_s;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(k.MissingUnicodeEscape,{at:this.state.curPosition()}),i=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(k.EscapedCharNotAnIdentifier,{at:a}),r+=String.fromCodePoint(l)),i=this.state.pos}else break}return r+this.input.slice(i,this.state.pos)}readWord(t){let r=this.readWord1(t),n=Ly.get(r);n!==void 0?this.finishToken(n,ei(n)):this.finishToken(130,r)}checkKeywordEscapes(){let{type:t}=this.state;$y(t)&&this.state.containsEsc&&this.raise(k.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:ei(t)})}raise(t,r){let{at:n}=r,i=Ru(r,gae),s=n instanceof en?n:n.loc.start,a=t({loc:s,details:i});if(!this.options.errorRecovery)throw a;return this.isLookahead||this.state.errors.push(a),a}raiseOverwrite(t,r){let{at:n}=r,i=Ru(r,bae),s=n instanceof en?n:n.loc.start,a=s.index,o=this.state.errors;for(let l=o.length-1;l>=0;l--){let u=o[l];if(u.loc.index===a)return o[l]=t({loc:s,details:i});if(u.loc.index<a)break}return this.raise(t,r)}updateContext(t){}unexpected(t,r){throw this.raise(k.UnexpectedToken,{expected:r?ei(r):null,at:t!=null?t:this.state.startLoc})}expectPlugin(t,r){if(this.hasPlugin(t))return!0;throw this.raise(k.MissingPlugin,{at:r!=null?r:this.state.startLoc,missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(r=>this.hasPlugin(r)))throw this.raise(k.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:t})}errorBuilder(t){return(r,n,i)=>{this.raise(t,{at:io(r,n,i)})}}},Cy=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},wy=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Cy)}exit(){let t=this.stack.pop(),r=this.current();for(let[n,i]of Array.from(t.undefinedPrivateNames))r?r.undefinedPrivateNames.has(n)||r.undefinedPrivateNames.set(n,i):this.parser.raise(k.InvalidPrivateFieldResolution,{at:i,identifierName:n})}declarePrivateName(t,r,n){let{privateNames:i,loneAccessors:s,undefinedPrivateNames:a}=this.current(),o=i.has(t);if(r&oy){let l=o&&s.get(t);if(l){let u=l&zu,c=r&zu,f=l&oy,d=r&oy;o=f===d||u!==c,o||s.delete(t)}else o||s.set(t,r)}o&&this.parser.raise(k.PrivateNameRedeclaration,{at:n,identifierName:t}),i.add(t),a.delete(t)}usePrivateName(t,r){let n;for(n of this.stack)if(n.privateNames.has(t))return;n?n.undefinedPrivateNames.set(t,r):this.parser.raise(k.InvalidPrivateFieldResolution,{at:r,identifierName:t})}},vae=0,TA=1,Xy=2,SA=3,js=class{constructor(t=vae){this.type=void 0,this.type=t}canBeArrowParameterDeclaration(){return this.type===Xy||this.type===TA}isCertainlyParameterDeclaration(){return this.type===SA}},Gu=class extends js{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,{at:r}){let n=r.index;this.declarationErrors.set(n,[t,r])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Dy=class{constructor(t){this.parser=void 0,this.stack=[new js],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,{at:r}){let n={at:r.loc.start},{stack:i}=this,s=i.length-1,a=i[s];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,n);else return;a=i[--s]}this.parser.raise(t,n)}recordArrowParameterBindingError(t,{at:r}){let{stack:n}=this,i=n[n.length-1],s={at:r.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(t,s);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(t,s);else return}recordAsyncArrowParametersError({at:t}){let{stack:r}=this,n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)i.type===Xy&&i.recordDeclarationError(k.AwaitBindingIdentifier,{at:t}),i=r[--n]}validateAsPattern(){let{stack:t}=this,r=t[t.length-1];r.canBeArrowParameterDeclaration()&&r.iterateErrors(([n,i])=>{this.parser.raise(n,{at:i});let s=t.length-2,a=t[s];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(i.index),a=t[--s]})}};function Tae(){return new js(SA)}function Sae(){return new Gu(TA)}function xae(){return new Gu(Xy)}function xA(){return new js}var ks=0,PA=1,Xu=2,AA=4,Cs=8,Iy=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Xu)>0}get hasYield(){return(this.currentFlags()&PA)>0}get hasReturn(){return(this.currentFlags()&AA)>0}get hasIn(){return(this.currentFlags()&Cs)>0}};function Mu(e,t){return(e?Xu:0)|(t?PA:0)}var _y=class extends Ay{addExtra(t,r,n,i=!0){if(!t)return;let s=t.extra=t.extra||{};i?s[r]=n:Object.defineProperty(s,r,{enumerable:i,value:n})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,r){let n=t+r.length;if(this.input.slice(t,n)===r){let i=this.input.charCodeAt(n);return!(_s(i)||(i&64512)===55296)}return!1}isLookaheadContextual(t){let r=this.nextTokenStart();return this.isUnparsedContextual(r,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,r){if(!this.eatContextual(t)){if(r!=null)throw this.raise(r,{at:this.state.startLoc});this.unexpected(null,t)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return bA.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return WP.lastIndex=this.state.end,WP.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(k.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(t,r){this.eat(t)||this.unexpected(r,t)}tryParse(t,r=this.state.clone()){let n={node:null};try{let i=t((s=null)=>{throw n.node=s,n});if(this.state.errors.length>r.errors.length){let s=this.state;return this.state=r,this.state.tokensLength=s.tokensLength,{node:i,error:s.errors[r.errors.length],thrown:!1,aborted:!1,failState:s}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){let s=this.state;if(this.state=r,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:s};if(i===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:s};throw i}}checkExpressionErrors(t,r){if(!t)return!1;let{shorthandAssignLoc:n,doubleProtoLoc:i,privateKeyLoc:s,optionalParametersLoc:a}=t,o=!!n||!!i||!!a||!!s;if(!r)return o;n!=null&&this.raise(k.InvalidCoverInitializedName,{at:n}),i!=null&&this.raise(k.DuplicateProto,{at:i}),s!=null&&this.raise(k.UnexpectedPrivateField,{at:s}),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return nA(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let r=this.state.labels;this.state.labels=[];let n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let i=this.inModule;this.inModule=t;let s=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);let o=this.prodParam;this.prodParam=new Iy;let l=this.classScope;this.classScope=new wy(this);let u=this.expressionScope;return this.expressionScope=new Dy(this),()=>{this.state.labels=r,this.exportedIdentifiers=n,this.inModule=i,this.scope=s,this.prodParam=o,this.classScope=l,this.expressionScope=u}}enterInitialScopes(){let t=ks;this.inModule&&(t|=Xu),this.scope.enter(Ds),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:r}=t;r!==null&&this.expectPlugin("destructuringPrivate",r)}},Fs=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Ls=class{constructor(t,r,n){this.type="",this.start=r,this.end=0,this.loc=new Bs(n),t!=null&&t.options.ranges&&(this.range=[r,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},Jy=Ls.prototype;Jy.__clone=function(){let e=new Ls(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){let i=t[r];i!=="leadingComments"&&i!=="trailingComments"&&i!=="innerComments"&&(e[i]=this[i])}return e};function Pae(e){return Sn(e)}function Sn(e){let{type:t,start:r,end:n,loc:i,range:s,extra:a,name:o}=e,l=Object.create(Jy);return l.type=t,l.start=r,l.end=n,l.loc=i,l.range=s,l.extra=a,l.name=o,t==="Placeholder"&&(l.expectedNode=e.expectedNode),l}function Aae(e){let{type:t,start:r,end:n,loc:i,range:s,extra:a}=e;if(t==="Placeholder")return Pae(e);let o=Object.create(Jy);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=s,e.raw!==void 0?o.raw=e.raw:o.extra=a,o.value=e.value,o}var Oy=class extends _y{startNode(){return new Ls(this,this.state.start,this.state.startLoc)}startNodeAt(t){return new Ls(this,t.index,t)}startNodeAtNode(t){return this.startNodeAt(t.loc.start)}finishNode(t,r){return this.finishNodeAt(t,r,this.state.lastTokEndLoc)}finishNodeAt(t,r,n){return t.type=r,t.end=n.index,t.loc.end=n,this.options.ranges&&(t.range[1]=n.index),this.options.attachComment&&this.processComment(t),t}resetStartLocation(t,r){t.start=r.index,t.loc.start=r,this.options.ranges&&(t.range[0]=r.index)}resetEndLocation(t,r=this.state.lastTokEndLoc){t.end=r.index,t.loc.end=r,this.options.ranges&&(t.range[1]=r.index)}resetStartLocationFromNode(t,r){this.resetStartLocation(t,r.loc.start)}},Cae=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ve=vn`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function wae(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function HP(e){return e.importKind==="type"||e.importKind==="typeof"}var Dae={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Iae(e,t){let r=[],n=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?r:n).push(e[i]);return[r,n]}var _ae=/\*?\s*@((?:no)?flow)\b/,Oae=e=>class extends e{constructor(...r){super(...r),this.flowPragma=void 0}getScopeHandler(){return vy}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(r,n){r!==131&&r!==13&&r!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(r,n)}addComment(r){if(this.flowPragma===void 0){let n=_ae.exec(r.value);if(n)if(n[1]==="flow")this.flowPragma="flow";else if(n[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(r)}flowParseTypeInitialiser(r){let n=this.state.inType;this.state.inType=!0,this.expect(r||14);let i=this.flowParseType();return this.state.inType=n,i}flowParsePredicate(){let r=this.startNode(),n=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>n.index+1&&this.raise(ve.UnexpectedSpaceBetweenModuloChecks,{at:n}),this.eat(10)?(r.value=super.parseExpression(),this.expect(11),this.finishNode(r,"DeclaredPredicate")):this.finishNode(r,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let r=this.state.inType;this.state.inType=!0,this.expect(14);let n=null,i=null;return this.match(54)?(this.state.inType=r,i=this.flowParsePredicate()):(n=this.flowParseType(),this.state.inType=r,this.match(54)&&(i=this.flowParsePredicate())),[n,i]}flowParseDeclareClass(r){return this.next(),this.flowParseInterfaceish(r,!0),this.finishNode(r,"DeclareClass")}flowParseDeclareFunction(r){this.next();let n=r.id=this.parseIdentifier(),i=this.startNode(),s=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return i.params=a.params,i.rest=a.rest,i.this=a._this,this.expect(11),[i.returnType,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),n.typeAnnotation=this.finishNode(s,"TypeAnnotation"),this.resetEndLocation(n),this.semicolon(),this.scope.declareName(r.id.name,oae,r.id.loc.start),this.finishNode(r,"DeclareFunction")}flowParseDeclare(r,n){if(this.match(80))return this.flowParseDeclareClass(r);if(this.match(68))return this.flowParseDeclareFunction(r);if(this.match(74))return this.flowParseDeclareVariable(r);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(r):(n&&this.raise(ve.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(r));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(r);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(r);if(this.isContextual(127))return this.flowParseDeclareInterface(r);if(this.match(82))return this.flowParseDeclareExportDeclaration(r,n);this.unexpected()}flowParseDeclareVariable(r){return this.next(),r.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(r.id.name,Wu,r.id.loc.start),this.semicolon(),this.finishNode(r,"DeclareVariable")}flowParseDeclareModule(r){this.scope.enter(ws),this.match(131)?r.id=super.parseExprAtom():r.id=this.parseIdentifier();let n=r.body=this.startNode(),i=n.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(ve.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(o)):(this.expectContextual(123,ve.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),i.push(o)}this.scope.exit(),this.expect(8),this.finishNode(n,"BlockStatement");let s=null,a=!1;return i.forEach(o=>{wae(o)?(s==="CommonJS"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:o}),s="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(ve.DuplicateDeclareModuleExports,{at:o}),s==="ES"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:o}),s="CommonJS",a=!0)}),r.kind=s||"CommonJS",this.finishNode(r,"DeclareModule")}flowParseDeclareExportDeclaration(r,n){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?r.declaration=this.flowParseDeclare(this.startNode()):(r.declaration=this.flowParseType(),this.semicolon()),r.default=!0,this.finishNode(r,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!n){let i=this.state.value;throw this.raise(ve.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:i,suggestion:Dae[i]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return r.declaration=this.flowParseDeclare(this.startNode()),r.default=!1,this.finishNode(r,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return r=this.parseExport(r,null),r.type==="ExportNamedDeclaration"&&(r.type="ExportDeclaration",r.default=!1,delete r.exportKind),r.type="Declare"+r.type,r;this.unexpected()}flowParseDeclareModuleExports(r){return this.next(),this.expectContextual(109),r.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(r,"DeclareModuleExports")}flowParseDeclareTypeAlias(r){this.next();let n=this.flowParseTypeAlias(r);return n.type="DeclareTypeAlias",n}flowParseDeclareOpaqueType(r){this.next();let n=this.flowParseOpaqueType(r,!0);return n.type="DeclareOpaqueType",n}flowParseDeclareInterface(r){return this.next(),this.flowParseInterfaceish(r,!1),this.finishNode(r,"DeclareInterface")}flowParseInterfaceish(r,n){if(r.id=this.flowParseRestrictedIdentifier(!n,!0),this.scope.declareName(r.id.name,n?mA:Ns,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(!n&&this.eat(12));if(n){if(r.implements=[],r.mixins=[],this.eatContextual(115))do r.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do r.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}r.body=this.flowParseObjectType({allowStatic:n,allowExact:!1,allowSpread:!1,allowProto:n,allowInexact:!1})}flowParseInterfaceExtends(){let r=this.startNode();return r.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,this.finishNode(r,"InterfaceExtends")}flowParseInterface(r){return this.flowParseInterfaceish(r,!1),this.finishNode(r,"InterfaceDeclaration")}checkNotUnderscore(r){r==="_"&&this.raise(ve.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(r,n,i){Cae.has(r)&&this.raise(i?ve.AssignReservedType:ve.UnexpectedReservedType,{at:n,reservedType:r})}flowParseRestrictedIdentifier(r,n){return this.checkReservedType(this.state.value,this.state.startLoc,n),this.parseIdentifier(r)}flowParseTypeAlias(r){return r.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(r.id.name,Ns,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(r,"TypeAlias")}flowParseOpaqueType(r,n){return this.expectContextual(128),r.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(r.id.name,Ns,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.supertype=null,this.match(14)&&(r.supertype=this.flowParseTypeInitialiser(14)),r.impltype=null,n||(r.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(r,"OpaqueType")}flowParseTypeParameter(r=!1){let n=this.state.startLoc,i=this.startNode(),s=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return i.name=a.name,i.variance=s,i.bound=a.typeAnnotation,this.match(29)?(this.eat(29),i.default=this.flowParseType()):r&&this.raise(ve.MissingTypeParamDefault,{at:n}),this.finishNode(i,"TypeParameter")}flowParseTypeParameterDeclaration(){let r=this.state.inType,n=this.startNode();n.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let i=!1;do{let s=this.flowParseTypeParameter(i);n.params.push(s),s.default&&(i=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=r,this.finishNode(n,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let r=this.startNode(),n=this.state.inType;r.params=[],this.state.inType=!0,this.expect(47);let i=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)r.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=i,this.expect(48),this.state.inType=n,this.finishNode(r,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let r=this.startNode(),n=this.state.inType;for(r.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)r.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=n,this.finishNode(r,"TypeParameterInstantiation")}flowParseInterfaceType(){let r=this.startNode();if(this.expectContextual(127),r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return r.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(r,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(r,n,i){return r.static=n,this.lookahead().type===14?(r.id=this.flowParseObjectPropertyKey(),r.key=this.flowParseTypeInitialiser()):(r.id=null,r.key=this.flowParseType()),this.expect(3),r.value=this.flowParseTypeInitialiser(),r.variance=i,this.finishNode(r,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(r,n){return r.static=n,r.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(r.method=!0,r.optional=!1,r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start))):(r.method=!1,this.eat(17)&&(r.optional=!0),r.value=this.flowParseTypeInitialiser()),this.finishNode(r,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(r){for(r.params=[],r.rest=null,r.typeParameters=null,r.this=null,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(r.this=this.flowParseFunctionTypeParam(!0),r.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(r.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),r.returnType=this.flowParseTypeInitialiser(),this.finishNode(r,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(r,n){let i=this.startNode();return r.static=n,r.value=this.flowParseObjectTypeMethodish(i),this.finishNode(r,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:r,allowExact:n,allowSpread:i,allowProto:s,allowInexact:a}){let o=this.state.inType;this.state.inType=!0;let l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let u,c,f=!1;for(n&&this.match(6)?(this.expect(6),u=9,c=!0):(this.expect(5),u=8,c=!1),l.exact=c;!this.match(u);){let m=!1,S=null,p=null,E=this.startNode();if(s&&this.isContextual(116)){let _=this.lookahead();_.type!==14&&_.type!==17&&(this.next(),S=this.state.startLoc,r=!1)}if(r&&this.isContextual(104)){let _=this.lookahead();_.type!==14&&_.type!==17&&(this.next(),m=!0)}let b=this.flowParseVariance();if(this.eat(0))S!=null&&this.unexpected(S),this.eat(0)?(b&&this.unexpected(b.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(E,m))):l.indexers.push(this.flowParseObjectTypeIndexer(E,m,b));else if(this.match(10)||this.match(47))S!=null&&this.unexpected(S),b&&this.unexpected(b.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(E,m));else{let _="init";if(this.isContextual(98)||this.isContextual(103)){let A=this.lookahead();nA(A.type)&&(_=this.state.value,this.next())}let D=this.flowParseObjectTypeProperty(E,m,S,b,_,i,a!=null?a:!c);D===null?(f=!0,p=this.state.lastTokStartLoc):l.properties.push(D)}this.flowObjectTypeSemicolon(),p&&!this.match(8)&&!this.match(9)&&this.raise(ve.UnexpectedExplicitInexactInObject,{at:p})}this.expect(u),i&&(l.inexact=f);let d=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,d}flowParseObjectTypeProperty(r,n,i,s,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(ve.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(ve.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),s&&this.raise(ve.InexactVariance,{at:s}),null):(o||this.raise(ve.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),i!=null&&this.unexpected(i),s&&this.raise(ve.SpreadVariance,{at:s}),r.argument=this.flowParseType(),this.finishNode(r,"ObjectTypeSpreadProperty"));{r.key=this.flowParseObjectPropertyKey(),r.static=n,r.proto=i!=null,r.kind=a;let u=!1;return this.match(47)||this.match(10)?(r.method=!0,i!=null&&this.unexpected(i),s&&this.unexpected(s.loc.start),r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(r),!o&&r.key.name==="constructor"&&r.value.this&&this.raise(ve.ThisParamBannedInConstructor,{at:r.value.this})):(a!=="init"&&this.unexpected(),r.method=!1,this.eat(17)&&(u=!0),r.value=this.flowParseTypeInitialiser(),r.variance=s),r.optional=u,this.finishNode(r,"ObjectTypeProperty")}}flowCheckGetterSetterParams(r){let n=r.kind==="get"?0:1,i=r.value.params.length+(r.value.rest?1:0);r.value.this&&this.raise(r.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam,{at:r.value.this}),i!==n&&this.raise(r.kind==="get"?k.BadGetterArity:k.BadSetterArity,{at:r}),r.kind==="set"&&r.value.rest&&this.raise(k.BadSetterRestParameter,{at:r})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(r,n){var i;(i=r)!=null||(r=this.state.startLoc);let s=n||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let a=this.startNodeAt(r);a.qualification=s,a.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(a,"QualifiedTypeIdentifier")}return s}flowParseGenericType(r,n){let i=this.startNodeAt(r);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(r,n),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){let r=this.startNode();return this.expect(87),r.argument=this.flowParsePrimaryType(),this.finishNode(r,"TypeofTypeAnnotation")}flowParseTupleType(){let r=this.startNode();for(r.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(r.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(r,"TupleTypeAnnotation")}flowParseFunctionTypeParam(r){let n=null,i=!1,s=null,a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!r&&this.raise(ve.ThisParamMustBeFirst,{at:a}),n=this.parseIdentifier(l),this.eat(17)&&(i=!0,l&&this.raise(ve.ThisParamMayNotBeOptional,{at:a})),s=this.flowParseTypeInitialiser()):s=this.flowParseType(),a.name=n,a.optional=i,a.typeAnnotation=s,this.finishNode(a,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(r){let n=this.startNodeAt(r.loc.start);return n.name=null,n.optional=!1,n.typeAnnotation=r,this.finishNode(n,"FunctionTypeParam")}flowParseFunctionTypeParams(r=[]){let n=null,i=null;for(this.match(78)&&(i=this.flowParseFunctionTypeParam(!0),i.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(n=this.flowParseFunctionTypeParam(!1)),{params:r,rest:n,_this:i}}flowIdentToTypeAnnotation(r,n,i){switch(i.name){case"any":return this.finishNode(n,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(n,"BooleanTypeAnnotation");case"mixed":return this.finishNode(n,"MixedTypeAnnotation");case"empty":return this.finishNode(n,"EmptyTypeAnnotation");case"number":return this.finishNode(n,"NumberTypeAnnotation");case"string":return this.finishNode(n,"StringTypeAnnotation");case"symbol":return this.finishNode(n,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(i.name),this.flowParseGenericType(r,i)}}flowParsePrimaryType(){let r=this.state.startLoc,n=this.startNode(),i,s,a=!1,o=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,s=this.flowParseTupleType(),this.state.noAnonFunctionType=o,s;case 47:return n.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),i=this.flowParseFunctionTypeParams(),n.params=i.params,n.rest=i.rest,n.this=i._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),this.finishNode(n,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(Je(this.state.type)||this.match(78)){let l=this.lookahead().type;a=l!==17&&l!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,s=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),s;this.eat(12)}return s?i=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(s)]):i=this.flowParseFunctionTypeParams(),n.params=i.params,n.rest=i.rest,n.this=i._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return n.value=this.match(85),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(ve.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(n,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(n,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(n,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if($y(this.state.type)){let l=ei(this.state.type);return this.next(),super.createIdentifier(n,l)}else if(Je(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let r=this.state.startLoc,n=this.flowParsePrimaryType(),i=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let s=this.startNodeAt(r),a=this.eat(18);i=i||a,this.expect(0),!a&&this.match(3)?(s.elementType=n,this.next(),n=this.finishNode(s,"ArrayTypeAnnotation")):(s.objectType=n,s.indexType=this.flowParseType(),this.expect(3),i?(s.optional=a,n=this.finishNode(s,"OptionalIndexedAccessType")):n=this.finishNode(s,"IndexedAccessType"))}return n}flowParsePrefixType(){let r=this.startNode();return this.eat(17)?(r.typeAnnotation=this.flowParsePrefixType(),this.finishNode(r,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let r=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let n=this.startNodeAt(r.loc.start);return n.params=[this.reinterpretTypeAsFunctionTypeParam(r)],n.rest=null,n.this=null,n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation")}return r}flowParseIntersectionType(){let r=this.startNode();this.eat(45);let n=this.flowParseAnonFunctionWithoutParens();for(r.types=[n];this.eat(45);)r.types.push(this.flowParseAnonFunctionWithoutParens());return r.types.length===1?n:this.finishNode(r,"IntersectionTypeAnnotation")}flowParseUnionType(){let r=this.startNode();this.eat(43);let n=this.flowParseIntersectionType();for(r.types=[n];this.eat(43);)r.types.push(this.flowParseIntersectionType());return r.types.length===1?n:this.finishNode(r,"UnionTypeAnnotation")}flowParseType(){let r=this.state.inType;this.state.inType=!0;let n=this.flowParseUnionType();return this.state.inType=r,n}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){let r=this.state.startLoc,n=this.parseIdentifier();return this.flowParseGenericType(r,n)}else return this.flowParseType()}flowParseTypeAnnotation(){let r=this.startNode();return r.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(r,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(r){let n=r?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(n)),n}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}flowParseVariance(){let r=null;return this.match(53)?(r=this.startNode(),this.state.value==="+"?r.kind="plus":r.kind="minus",this.next(),this.finishNode(r,"Variance")):r}parseFunctionBody(r,n,i=!1){if(n){this.forwardNoArrowParamsConversionAt(r,()=>super.parseFunctionBody(r,!0,i));return}super.parseFunctionBody(r,!1,i)}parseFunctionBodyAndFinish(r,n,i=!1){if(this.match(14)){let s=this.startNode();[s.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.returnType=s.typeAnnotation?this.finishNode(s,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(r,n,i)}parseStatementLike(r){if(this.state.strict&&this.isContextual(127)){let i=this.lookahead();if(Ur(i.type)){let s=this.startNode();return this.next(),this.flowParseInterface(s)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}let n=super.parseStatementLike(r);return this.flowPragma===void 0&&!this.isValidDirective(n)&&(this.flowPragma=null),n}parseExpressionStatement(r,n,i){if(n.type==="Identifier"){if(n.name==="declare"){if(this.match(80)||Je(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(r)}else if(Je(this.state.type)){if(n.name==="interface")return this.flowParseInterface(r);if(n.name==="type")return this.flowParseTypeAlias(r);if(n.name==="opaque")return this.flowParseOpaqueType(r,!1)}}return super.parseExpressionStatement(r,n,i)}shouldParseExportDeclaration(){let{type:r}=this.state;return VP(r)||this.shouldParseEnums()&&r===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:r}=this.state;return VP(r)||this.shouldParseEnums()&&r===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}return super.parseExportDefaultExpression()}parseConditional(r,n,i){if(!this.match(17))return r;if(this.state.maybeInArrowParameters){let d=this.lookaheadCharCode();if(d===44||d===61||d===58||d===41)return this.setOptionalParametersError(i),r}this.expect(17);let s=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(n),{consequent:l,failed:u}=this.tryParseConditionalConsequent(),[c,f]=this.getArrowLikeExpressions(l);if(u||f.length>0){let d=[...a];if(f.length>0){this.state=s,this.state.noArrowAt=d;for(let m=0;m<f.length;m++)d.push(f[m].start);({consequent:l,failed:u}=this.tryParseConditionalConsequent()),[c,f]=this.getArrowLikeExpressions(l)}u&&c.length>1&&this.raise(ve.AmbiguousConditionalArrow,{at:s.startLoc}),u&&c.length===1&&(this.state=s,d.push(c[0].start),this.state.noArrowAt=d,{consequent:l,failed:u}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=r,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let r=this.parseMaybeAssignAllowIn(),n=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:r,failed:n}}getArrowLikeExpressions(r,n){let i=[r],s=[];for(;i.length!==0;){let a=i.pop();a.type==="ArrowFunctionExpression"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):s.push(a),i.push(a.body)):a.type==="ConditionalExpression"&&(i.push(a.consequent),i.push(a.alternate))}return n?(s.forEach(a=>this.finishArrowValidation(a)),[s,[]]):Iae(s,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(r){var n;this.toAssignableList(r.params,(n=r.extra)==null?void 0:n.trailingCommaLoc,!1),this.scope.enter(Tn|zy),super.checkParams(r,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(r,n){let i;return this.state.noArrowParamsConversionAt.indexOf(r.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),i=n(),this.state.noArrowParamsConversionAt.pop()):i=n(),i}parseParenItem(r,n){if(r=super.parseParenItem(r,n),this.eat(17)&&(r.optional=!0,this.resetEndLocation(r)),this.match(14)){let i=this.startNodeAt(n);return i.expression=r,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return r}assertModuleNodeAllowed(r){r.type==="ImportDeclaration"&&(r.importKind==="type"||r.importKind==="typeof")||r.type==="ExportNamedDeclaration"&&r.exportKind==="type"||r.type==="ExportAllDeclaration"&&r.exportKind==="type"||super.assertModuleNodeAllowed(r)}parseExportDeclaration(r){if(this.isContextual(128)){r.exportKind="type";let n=this.startNode();return this.next(),this.match(5)?(r.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(r),null):this.flowParseTypeAlias(n)}else if(this.isContextual(129)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseOpaqueType(n,!1)}else if(this.isContextual(127)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseInterface(n)}else if(this.shouldParseEnums()&&this.isContextual(124)){r.exportKind="value";let n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}else return super.parseExportDeclaration(r)}eatExportStar(r){return super.eatExportStar(r)?!0:this.isContextual(128)&&this.lookahead().type===55?(r.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(r){let{startLoc:n}=this.state,i=super.maybeParseExportNamespaceSpecifier(r);return i&&r.exportKind==="type"&&this.unexpected(n),i}parseClassId(r,n,i){super.parseClassId(r,n,i),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(r,n,i){let{startLoc:s}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(r,n))return;n.declare=!0}super.parseClassMember(r,n,i),n.declare&&(n.type!=="ClassProperty"&&n.type!=="ClassPrivateProperty"&&n.type!=="PropertyDefinition"?this.raise(ve.DeclareClassElement,{at:s}):n.value&&this.raise(ve.DeclareClassFieldInitializer,{at:n.value}))}isIterator(r){return r==="iterator"||r==="asyncIterator"}readIterator(){let r=super.readWord1(),n="@@"+r;(!this.isIterator(r)||!this.state.inType)&&this.raise(k.InvalidIdentifier,{at:this.state.curPosition(),identifierName:n}),this.finishToken(130,n)}getTokenFromCode(r){let n=this.input.charCodeAt(this.state.pos+1);r===123&&n===124?this.finishOp(6,2):this.state.inType&&(r===62||r===60)?this.finishOp(r===62?48:47,1):this.state.inType&&r===63?n===46?this.finishOp(18,2):this.finishOp(17,1):Qse(r,n,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(r)}isAssignable(r,n){return r.type==="TypeCastExpression"?this.isAssignable(r.expression,n):super.isAssignable(r,n)}toAssignable(r,n=!1){!n&&r.type==="AssignmentExpression"&&r.left.type==="TypeCastExpression"&&(r.left=this.typeCastToParameter(r.left)),super.toAssignable(r,n)}toAssignableList(r,n,i){for(let s=0;s<r.length;s++){let a=r[s];(a==null?void 0:a.type)==="TypeCastExpression"&&(r[s]=this.typeCastToParameter(a))}super.toAssignableList(r,n,i)}toReferencedList(r,n){for(let s=0;s<r.length;s++){var i;let a=r[s];a&&a.type==="TypeCastExpression"&&!((i=a.extra)!=null&&i.parenthesized)&&(r.length>1||!n)&&this.raise(ve.TypeCastInPattern,{at:a.typeAnnotation})}return r}parseArrayLike(r,n,i,s){let a=super.parseArrayLike(r,n,i,s);return n&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(r,n,i){return r==="TypeCastExpression"||super.isValidLVal(r,n,i)}parseClassProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(r)}parseClassPrivateProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(r){return!this.match(14)&&super.isNonstaticConstructor(r)}pushClassMethod(r,n,i,s,a,o){if(n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(r,n,i,s,a,o),n.params&&a){let l=n.params;l.length>0&&this.isThisParam(l[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:n})}else if(n.type==="MethodDefinition"&&a&&n.value.params){let l=n.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:n})}}pushClassPrivateMethod(r,n,i,s){n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(r,n,i,s)}parseClassSuper(r){if(super.parseClassSuper(r),r.superClass&&this.match(47)&&(r.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let n=r.implements=[];do{let i=this.startNode();i.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?i.typeParameters=this.flowParseTypeParameterInstantiation():i.typeParameters=null,n.push(this.finishNode(i,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(r){super.checkGetterSetterParams(r);let n=this.getObjectOrClassMethodParams(r);if(n.length>0){let i=n[0];this.isThisParam(i)&&r.kind==="get"?this.raise(ve.GetterMayNotHaveThisParam,{at:i}):this.isThisParam(i)&&this.raise(ve.SetterMayNotHaveThisParam,{at:i})}}parsePropertyNamePrefixOperator(r){r.variance=this.flowParseVariance()}parseObjPropValue(r,n,i,s,a,o,l){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance;let u;this.match(47)&&!o&&(u=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(r,n,i,s,a,o,l);return u&&((c.value||c).typeParameters=u),c}parseAssignableListItemTypes(r){return this.eat(17)&&(r.type!=="Identifier"&&this.raise(ve.PatternIsOptional,{at:r}),this.isThisParam(r)&&this.raise(ve.ThisParamMayNotBeOptional,{at:r}),r.optional=!0),this.match(14)?r.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(r)&&this.raise(ve.ThisParamAnnotationRequired,{at:r}),this.match(29)&&this.isThisParam(r)&&this.raise(ve.ThisParamNoDefault,{at:r}),this.resetEndLocation(r),r}parseMaybeDefault(r,n){let i=super.parseMaybeDefault(r,n);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(ve.TypeBeforeInitializer,{at:i.typeAnnotation}),i}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(ve.ImportReflectionHasImportType,{at:r.specifiers[0].loc.start})}parseImportSpecifierLocal(r,n,i){n.local=HP(r)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),r.specifiers.push(this.finishImportSpecifier(n,i))}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(128)){if(!r)return!0;let n=this.lookaheadCharCode();return n===123||n===42}return!r&&this.isContextual(87)}applyImportPhase(r,n,i,s){if(super.applyImportPhase(r,n,i,s),n){if(!i&&this.match(65))return;r.exportKind=i==="type"?i:"value"}else i==="type"&&this.match(55)&&this.unexpected(),r.importKind=i==="type"||i==="typeof"?i:"value"}parseImportSpecifier(r,n,i,s,a){let o=r.imported,l=null;o.type==="Identifier"&&(o.name==="type"?l="type":o.name==="typeof"&&(l="typeof"));let u=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let f=this.parseIdentifier(!0);l!==null&&!Ur(this.state.type)?(r.imported=f,r.importKind=l,r.local=Sn(f)):(r.imported=o,r.importKind=null,r.local=this.parseIdentifier())}else{if(l!==null&&Ur(this.state.type))r.imported=this.parseIdentifier(!0),r.importKind=l;else{if(n)throw this.raise(k.ImportBindingIsString,{at:r,importName:o.value});r.imported=o,r.importKind=null}this.eatContextual(93)?r.local=this.parseIdentifier():(u=!0,r.local=Sn(r.imported))}let c=HP(r);return i&&c&&this.raise(ve.ImportTypeShorthandOnlyInPureImport,{at:r}),(i||c)&&this.checkReservedType(r.local.name,r.local.loc.start,!0),u&&!i&&!c&&this.checkReservedWord(r.local.name,r.loc.start,!0,!0),this.finishImportSpecifier(r,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(r,n){let i=r.kind;i!=="get"&&i!=="set"&&this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(r,n)}parseVarId(r,n){super.parseVarId(r,n),this.match(14)&&(r.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,n){if(this.match(14)){let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,r.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=i}return super.parseAsyncArrowFromCallExpression(r,n)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(r,n){var i;let s=null,a;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(s=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(r,n),s),!a.error)return a.node;let{context:u}=this.state,c=u[u.length-1];(c===ot.j_oTag||c===ot.j_expr)&&u.pop()}if((i=a)!=null&&i.error||this.match(47)){var o,l;s=s||this.state.clone();let u,c=this.tryParse(d=>{var m;u=this.flowParseTypeParameterDeclaration();let S=this.forwardNoArrowParamsConversionAt(u,()=>{let E=super.parseMaybeAssign(r,n);return this.resetStartLocationFromNode(E,u),E});(m=S.extra)!=null&&m.parenthesized&&d();let p=this.maybeUnwrapTypeCastExpression(S);return p.type!=="ArrowFunctionExpression"&&d(),p.typeParameters=u,this.resetStartLocationFromNode(p,u),S},s),f=null;if(c.node&&this.maybeUnwrapTypeCastExpression(c.node).type==="ArrowFunctionExpression"){if(!c.error&&!c.aborted)return c.node.async&&this.raise(ve.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:u}),c.node;f=c.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(f)return this.state=c.failState,f;throw(l=a)!=null&&l.thrown?a.error:c.thrown?c.error:this.raise(ve.UnexpectedTokenAfterTypeParameter,{at:u})}return super.parseMaybeAssign(r,n)}parseArrow(r){if(this.match(14)){let n=this.tryParse(()=>{let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let s=this.startNode();return[s.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=i,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s});if(n.thrown)return null;n.error&&(this.state=n.failState),r.returnType=n.node.typeAnnotation?this.finishNode(n.node,"TypeAnnotation"):null}return super.parseArrow(r)}shouldParseArrow(r){return this.match(14)||super.shouldParseArrow(r)}setArrowFunctionParameters(r,n){this.state.noArrowParamsConversionAt.indexOf(r.start)!==-1?r.params=n:super.setArrowFunctionParameters(r,n)}checkParams(r,n,i,s=!0){if(!(i&&this.state.noArrowParamsConversionAt.indexOf(r.start)!==-1)){for(let a=0;a<r.params.length;a++)this.isThisParam(r.params[a])&&a>0&&this.raise(ve.ThisParamMustBeFirst,{at:r.params[a]});super.checkParams(r,n,i,s)}}parseParenAndDistinguishExpression(r){return super.parseParenAndDistinguishExpression(r&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(r,n,i){if(r.type==="Identifier"&&r.name==="async"&&this.state.noArrowAt.indexOf(n.index)!==-1){this.next();let s=this.startNodeAt(n);s.callee=r,s.arguments=super.parseCallExpressionArguments(11,!1),r=this.finishNode(s,"CallExpression")}else if(r.type==="Identifier"&&r.name==="async"&&this.match(47)){let s=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(n)||l(),s);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse(()=>super.parseSubscripts(r,n,i),s);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(r,n,i)}parseSubscript(r,n,i,s){if(this.match(18)&&this.isLookaheadToken_lt()){if(s.optionalChainMember=!0,i)return s.stop=!0,r;this.next();let a=this.startNodeAt(n);return a.callee=r,a.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11,!1),a.optional=!0,this.finishCallExpression(a,!0)}else if(!i&&this.shouldParseTypes()&&this.match(47)){let a=this.startNodeAt(n);a.callee=r;let o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11,!1),s.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,s.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(r,n,i,s)}parseNewCallee(r){super.parseNewCallee(r);let n=null;this.shouldParseTypes()&&this.match(47)&&(n=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),r.typeArguments=n}parseAsyncArrowWithTypeParameters(r){let n=this.startNodeAt(r);if(this.parseFunctionParams(n,!1),!!this.parseArrow(n))return super.parseArrowExpression(n,void 0,!0)}readToken_mult_modulo(r){let n=this.input.charCodeAt(this.state.pos+1);if(r===42&&n===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(r)}readToken_pipe_amp(r){let n=this.input.charCodeAt(this.state.pos+1);if(r===124&&n===125){this.finishOp(9,2);return}super.readToken_pipe_amp(r)}parseTopLevel(r,n){let i=super.parseTopLevel(r,n);return this.state.hasFlowComment&&this.raise(ve.UnterminatedFlowComment,{at:this.state.curPosition()}),i}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ve.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let r=this.skipFlowComment();r&&(this.state.pos+=r,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:r}=this.state,n=2;for(;[32,9].includes(this.input.charCodeAt(r+n));)n++;let i=this.input.charCodeAt(n+r),s=this.input.charCodeAt(n+r+1);return i===58&&s===58?n+2:this.input.slice(n+r,n+r+12)==="flow-include"?n+12:i===58&&s!==58?n:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(k.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(r,{enumName:n,memberName:i}){this.raise(ve.EnumBooleanMemberNotInitialized,{at:r,memberName:i,enumName:n})}flowEnumErrorInvalidMemberInitializer(r,n){return this.raise(n.explicitType?n.explicitType==="symbol"?ve.EnumInvalidMemberInitializerSymbolType:ve.EnumInvalidMemberInitializerPrimaryType:ve.EnumInvalidMemberInitializerUnknownType,Object.assign({at:r},n))}flowEnumErrorNumberMemberNotInitialized(r,{enumName:n,memberName:i}){this.raise(ve.EnumNumberMemberNotInitialized,{at:r,enumName:n,memberName:i})}flowEnumErrorStringMemberInconsistentlyInitailized(r,{enumName:n}){this.raise(ve.EnumStringMemberInconsistentlyInitailized,{at:r,enumName:n})}flowEnumMemberInit(){let r=this.state.startLoc,n=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let i=this.parseNumericLiteral(this.state.value);return n()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:r}}case 131:{let i=this.parseStringLiteral(this.state.value);return n()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:r}}case 85:case 86:{let i=this.parseBooleanLiteral(this.match(85));return n()?{type:"boolean",loc:i.loc.start,value:i}:{type:"invalid",loc:r}}default:return{type:"invalid",loc:r}}}flowEnumMemberRaw(){let r=this.state.startLoc,n=this.parseIdentifier(!0),i=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:r};return{id:n,init:i}}flowEnumCheckExplicitTypeMismatch(r,n,i){let{explicitType:s}=n;s!==null&&s!==i&&this.flowEnumErrorInvalidMemberInitializer(r,n)}flowEnumMembers({enumName:r,explicitType:n}){let i=new Set,s={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let o=this.startNode(),{id:l,init:u}=this.flowEnumMemberRaw(),c=l.name;if(c==="")continue;/^[a-z]/.test(c)&&this.raise(ve.EnumInvalidMemberName,{at:l,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:r}),i.has(c)&&this.raise(ve.EnumDuplicateMemberName,{at:l,memberName:c,enumName:r}),i.add(c);let f={enumName:r,explicitType:n,memberName:c};switch(o.id=l,u.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"boolean"),o.init=u.value,s.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"number"),o.init=u.value,s.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"string"),o.init=u.value,s.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(u.loc,f);case"none":switch(n){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(u.loc,f);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(u.loc,f);break;default:s.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:s,hasUnknownMembers:a}}flowEnumStringMembers(r,n,{enumName:i}){if(r.length===0)return n;if(n.length===0)return r;if(n.length>r.length){for(let s of r)this.flowEnumErrorStringMemberInconsistentlyInitailized(s,{enumName:i});return n}else{for(let s of n)this.flowEnumErrorStringMemberInconsistentlyInitailized(s,{enumName:i});return r}}flowEnumParseExplicitType({enumName:r}){if(!this.eatContextual(101))return null;if(!Je(this.state.type))throw this.raise(ve.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:r});let{value:n}=this.state;return this.next(),n!=="boolean"&&n!=="number"&&n!=="string"&&n!=="symbol"&&this.raise(ve.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:r,invalidEnumType:n}),n}flowEnumBody(r,n){let i=n.name,s=n.loc.start,a=this.flowEnumParseExplicitType({enumName:i});this.expect(5);let{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:i,explicitType:a});switch(r.hasUnknownMembers=l,a){case"boolean":return r.explicitType=!0,r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody");case"number":return r.explicitType=!0,r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody");case"string":return r.explicitType=!0,r.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(r,"EnumStringBody");case"symbol":return r.members=o.defaultedMembers,this.expect(8),this.finishNode(r,"EnumSymbolBody");default:{let u=()=>(r.members=[],this.expect(8),this.finishNode(r,"EnumStringBody"));r.explicitType=!1;let c=o.booleanMembers.length,f=o.numberMembers.length,d=o.stringMembers.length,m=o.defaultedMembers.length;if(!c&&!f&&!d&&!m)return u();if(!c&&!f)return r.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(r,"EnumStringBody");if(!f&&!d&&c>=m){for(let S of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(S.loc.start,{enumName:i,memberName:S.id.name});return r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody")}else if(!c&&!d&&f>=m){for(let S of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(S.loc.start,{enumName:i,memberName:S.id.name});return r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody")}else return this.raise(ve.EnumInconsistentMemberValues,{at:s,enumName:i}),u()}}}flowParseEnumDeclaration(r){let n=this.parseIdentifier();return r.id=n,r.body=this.flowEnumBody(this.startNode(),n),this.finishNode(r,"EnumDeclaration")}isLookaheadToken_lt(){let r=this.nextTokenStart();if(this.input.charCodeAt(r)===60){let n=this.input.charCodeAt(r+1);return n!==60&&n!==61}return!1}maybeUnwrapTypeCastExpression(r){return r.type==="TypeCastExpression"?r.expression:r}},Nae={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Oi=vn`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Qn(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":!1}function Is(e){if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return Is(e.object)+"."+Is(e.property);throw new Error("Node had unexpected type: "+e.type)}var kae=e=>class extends e{jsxReadToken(){let r="",n=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Oi.UnterminatedJsxContent,{at:this.state.startLoc});let i=this.input.charCodeAt(this.state.pos);switch(i){case 60:case 123:if(this.state.pos===this.state.start){i===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(i);return}r+=this.input.slice(n,this.state.pos),this.finishToken(139,r);return;case 38:r+=this.input.slice(n,this.state.pos),r+=this.jsxReadEntity(),n=this.state.pos;break;case 62:case 125:default:lo(i)?(r+=this.input.slice(n,this.state.pos),r+=this.jsxReadNewLine(!0),n=this.state.pos):++this.state.pos}}}jsxReadNewLine(r){let n=this.input.charCodeAt(this.state.pos),i;return++this.state.pos,n===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,i=r?`
`:`\r
`):i=String.fromCharCode(n),++this.state.curLine,this.state.lineStart=this.state.pos,i}jsxReadString(r){let n="",i=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(k.UnterminatedString,{at:this.state.startLoc});let s=this.input.charCodeAt(this.state.pos);if(s===r)break;s===38?(n+=this.input.slice(i,this.state.pos),n+=this.jsxReadEntity(),i=this.state.pos):lo(s)?(n+=this.input.slice(i,this.state.pos),n+=this.jsxReadNewLine(!1),i=this.state.pos):++this.state.pos}n+=this.input.slice(i,this.state.pos++),this.finishToken(131,n)}jsxReadEntity(){let r=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let n=10;this.codePointAtPos(this.state.pos)===120&&(n=16,++this.state.pos);let i=this.readInt(n,void 0,!1,"bail");if(i!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(i)}else{let n=0,i=!1;for(;n++<10&&this.state.pos<this.length&&!(i=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(i){let s=this.input.slice(r,this.state.pos),a=Nae[s];if(++this.state.pos,a)return a}}return this.state.pos=r,"&"}jsxReadWord(){let r,n=this.state.pos;do r=this.input.charCodeAt(++this.state.pos);while(_s(r)||r===45);this.finishToken(138,this.input.slice(n,this.state.pos))}jsxParseIdentifier(){let r=this.startNode();return this.match(138)?r.name=this.state.value:$y(this.state.type)?r.name=ei(this.state.type):this.unexpected(),this.next(),this.finishNode(r,"JSXIdentifier")}jsxParseNamespacedName(){let r=this.state.startLoc,n=this.jsxParseIdentifier();if(!this.eat(14))return n;let i=this.startNodeAt(r);return i.namespace=n,i.name=this.jsxParseIdentifier(),this.finishNode(i,"JSXNamespacedName")}jsxParseElementName(){let r=this.state.startLoc,n=this.jsxParseNamespacedName();if(n.type==="JSXNamespacedName")return n;for(;this.eat(16);){let i=this.startNodeAt(r);i.object=n,i.property=this.jsxParseIdentifier(),n=this.finishNode(i,"JSXMemberExpression")}return n}jsxParseAttributeValue(){let r;switch(this.state.type){case 5:return r=this.startNode(),this.setContext(ot.brace),this.next(),r=this.jsxParseExpressionContainer(r,ot.j_oTag),r.expression.type==="JSXEmptyExpression"&&this.raise(Oi.AttributeIsEmpty,{at:r}),r;case 140:case 131:return this.parseExprAtom();default:throw this.raise(Oi.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let r=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(r,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(r){return this.next(),r.expression=this.parseExpression(),this.setContext(ot.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXSpreadChild")}jsxParseExpressionContainer(r,n){if(this.match(8))r.expression=this.jsxParseEmptyExpression();else{let i=this.parseExpression();r.expression=i}return this.setContext(n),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXExpressionContainer")}jsxParseAttribute(){let r=this.startNode();return this.match(5)?(this.setContext(ot.brace),this.next(),this.expect(21),r.argument=this.parseMaybeAssignAllowIn(),this.setContext(ot.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXSpreadAttribute")):(r.name=this.jsxParseNamespacedName(),r.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(r,"JSXAttribute"))}jsxParseOpeningElementAt(r){let n=this.startNodeAt(r);return this.eat(141)?this.finishNode(n,"JSXOpeningFragment"):(n.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(n))}jsxParseOpeningElementAfterName(r){let n=[];for(;!this.match(56)&&!this.match(141);)n.push(this.jsxParseAttribute());return r.attributes=n,r.selfClosing=this.eat(56),this.expect(141),this.finishNode(r,"JSXOpeningElement")}jsxParseClosingElementAt(r){let n=this.startNodeAt(r);return this.eat(141)?this.finishNode(n,"JSXClosingFragment"):(n.name=this.jsxParseElementName(),this.expect(141),this.finishNode(n,"JSXClosingElement"))}jsxParseElementAt(r){let n=this.startNodeAt(r),i=[],s=this.jsxParseOpeningElementAt(r),a=null;if(!s.selfClosing){e:for(;;)switch(this.state.type){case 140:if(r=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(r);break e}i.push(this.jsxParseElementAt(r));break;case 139:i.push(this.parseExprAtom());break;case 5:{let o=this.startNode();this.setContext(ot.brace),this.next(),this.match(21)?i.push(this.jsxParseSpreadChild(o)):i.push(this.jsxParseExpressionContainer(o,ot.j_expr));break}default:this.unexpected()}Qn(s)&&!Qn(a)&&a!==null?this.raise(Oi.MissingClosingTagFragment,{at:a}):!Qn(s)&&Qn(a)?this.raise(Oi.MissingClosingTagElement,{at:a,openingTagName:Is(s.name)}):!Qn(s)&&!Qn(a)&&Is(a.name)!==Is(s.name)&&this.raise(Oi.MissingClosingTagElement,{at:a,openingTagName:Is(s.name)})}if(Qn(s)?(n.openingFragment=s,n.closingFragment=a):(n.openingElement=s,n.closingElement=a),n.children=i,this.match(47))throw this.raise(Oi.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Qn(s)?this.finishNode(n,"JSXFragment"):this.finishNode(n,"JSXElement")}jsxParseElement(){let r=this.state.startLoc;return this.next(),this.jsxParseElementAt(r)}setContext(r){let{context:n}=this.state;n[n.length-1]=r}parseExprAtom(r){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(r)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(r){let n=this.curContext();if(n===ot.j_expr){this.jsxReadToken();return}if(n===ot.j_oTag||n===ot.j_cTag){if(En(r)){this.jsxReadWord();return}if(r===62){++this.state.pos,this.finishToken(141);return}if((r===34||r===39)&&n===ot.j_oTag){this.jsxReadString(r);return}}if(r===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(140);return}super.getTokenFromCode(r)}updateContext(r){let{context:n,type:i}=this.state;if(i===56&&r===140)n.splice(-2,2,ot.j_cTag),this.state.canStartJSXElement=!1;else if(i===140)n.push(ot.j_oTag);else if(i===141){let s=n[n.length-1];s===ot.j_oTag&&r===56||s===ot.j_cTag?(n.pop(),this.state.canStartJSXElement=n[n.length-1]===ot.j_expr):(this.setContext(ot.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=jse(i)}},Ny=class extends uo{constructor(...t){super(...t),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},ky=class extends co{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new Ny(t)}enter(t){t==Os&&this.importsStack.push(new Set),super.enter(t)}exit(){let t=super.exit();return t==Os&&this.importsStack.pop(),t}hasImport(t,r){let n=this.importsStack.length;if(this.importsStack[n-1].has(t))return!0;if(!r&&n>1){for(let i=0;i<n-1;i++)if(this.importsStack[i].has(t))return!0}return!1}declareName(t,r,n){if(r&oo){this.hasImport(t,!0)&&this.parser.raise(k.VarRedeclaration,{at:n,identifierName:t}),this.importsStack[this.importsStack.length-1].add(t);return}let i=this.currentScope();if(r&Gy){this.maybeExportDefined(i,t),i.exportOnlyBindings.add(t);return}super.declareName(t,r,n),r&ji&&(r&tn||(this.checkRedeclarationInScope(i,t,r,n),this.maybeExportDefined(i,t)),i.types.add(t)),r&yy&&i.enums.add(t),r&gy&&i.constEnums.add(t),r&Ku&&i.classes.add(t)}isRedeclaredInScope(t,r,n){if(t.enums.has(r)){if(n&yy){let i=!!(n&gy),s=t.constEnums.has(r);return i!==s}return!0}return n&Ku&&t.classes.has(r)?t.lexical.has(r)?!!(n&tn):!1:n&ji&&t.types.has(r)?!0:super.isRedeclaredInScope(t,r,n)}checkLocalExport(t){let{name:r}=t;if(this.hasImport(r))return;let n=this.scopeStack.length;for(let i=n-1;i>=0;i--){let s=this.scopeStack[i];if(s.types.has(r)||s.exportOnlyBindings.has(r))return}super.checkLocalExport(t)}},Fae=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],CA=e=>e.type==="ParenthesizedExpression"?CA(e.expression):e,Fy=class extends Oy{toAssignable(t,r=!1){var n,i;let s;switch((t.type==="ParenthesizedExpression"||(n=t.extra)!=null&&n.parenthesized)&&(s=CA(t),r?s.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(k.InvalidParenthesizedAssignment,{at:t}):s.type!=="MemberExpression"&&this.raise(k.InvalidParenthesizedAssignment,{at:t}):this.raise(k.InvalidParenthesizedAssignment,{at:t})),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,l=t.properties.length,u=l-1;o<l;o++){var a;let c=t.properties[o],f=o===u;this.toAssignableObjectExpressionProp(c,f,r),f&&c.type==="RestElement"&&(a=t.extra)!=null&&a.trailingCommaLoc&&this.raise(k.RestTrailingComma,{at:t.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:o,value:l}=t;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(l,r);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":t.type="ArrayPattern",this.toAssignableList(t.elements,(i=t.extra)==null?void 0:i.trailingCommaLoc,r);break;case"AssignmentExpression":t.operator!=="="&&this.raise(k.MissingEqInAssignment,{at:t.left.loc.end}),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,r);break;case"ParenthesizedExpression":this.toAssignable(s,r);break}}toAssignableObjectExpressionProp(t,r,n){if(t.type==="ObjectMethod")this.raise(t.kind==="get"||t.kind==="set"?k.PatternHasAccessor:k.PatternHasMethod,{at:t.key});else if(t.type==="SpreadElement"){t.type="RestElement";let i=t.argument;this.checkToRestConversion(i,!1),this.toAssignable(i,n),r||this.raise(k.RestTrailingComma,{at:t})}else this.toAssignable(t,n)}toAssignableList(t,r,n){let i=t.length-1;for(let s=0;s<=i;s++){let a=t[s];if(a){if(a.type==="SpreadElement"){a.type="RestElement";let o=a.argument;this.checkToRestConversion(o,!0),this.toAssignable(o,n)}else this.toAssignable(a,n);a.type==="RestElement"&&(s<i?this.raise(k.RestTrailingComma,{at:a}):r&&this.raise(k.RestTrailingComma,{at:r}))}}}isAssignable(t,r){switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let n=t.properties.length-1;return t.properties.every((i,s)=>i.type!=="ObjectMethod"&&(s===n||i.type!=="SpreadElement")&&this.isAssignable(i))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(n=>n===null||this.isAssignable(n));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!r;default:return!1}}toReferencedList(t,r){return t}toReferencedListDeep(t,r){this.toReferencedList(t,r);for(let n of t)(n==null?void 0:n.type)==="ArrayExpression"&&this.toReferencedListDeep(n.elements)}parseSpread(t){let r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(r,"SpreadElement")}parseRestBinding(){let t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,r,n){let i=n&1,s=[],a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),i&&this.match(12))s.push(null);else{if(this.eat(t))break;if(this.match(21)){if(s.push(this.parseAssignableListItemTypes(this.parseRestBinding(),n)),!this.checkCommaAfterRest(r)){this.expect(t);break}}else{let o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(k.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());s.push(this.parseAssignableListItem(n,o))}}return s}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let t=this.startNode(),{type:r,startLoc:n}=this.state;return r===21?this.parseBindingRestProperty(t):(r===136?(this.expectPlugin("destructuringPrivate",n),this.classScope.usePrivateName(this.state.value,n),t.key=this.parsePrivateName()):this.parsePropertyName(t),t.method=!1,this.parseObjPropValue(t,n,!1,!1,!0,!1))}parseAssignableListItem(t,r){let n=this.parseMaybeDefault();this.parseAssignableListItemTypes(n,t);let i=this.parseMaybeDefault(n.loc.start,n);return r.length&&(n.decorators=r),i}parseAssignableListItemTypes(t,r){return t}parseMaybeDefault(t,r){var n,i;if((n=t)!=null||(t=this.state.startLoc),r=(i=r)!=null?i:this.parseBindingAtom(),!this.eat(29))return r;let s=this.startNodeAt(t);return s.left=r,s.right=this.parseMaybeAssignAllowIn(),this.finishNode(s,"AssignmentPattern")}isValidLVal(t,r,n){return Fae({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},t)}checkLVal(t,{in:r,binding:n=Zn,checkClashes:i=!1,strictModeChanged:s=!1,hasParenthesizedAncestor:a=!1}){var o;let l=t.type;if(this.isObjectMethod(t))return;if(l==="MemberExpression"){n!==Zn&&this.raise(k.InvalidPropertyBindingPattern,{at:t});return}if(l==="Identifier"){this.checkIdentifier(t,n,s);let{name:m}=t;i&&(i.has(m)?this.raise(k.ParamDupe,{at:t}):i.add(m));return}let u=this.isValidLVal(l,!(a||(o=t.extra)!=null&&o.parenthesized)&&r.type==="AssignmentExpression",n);if(u===!0)return;if(u===!1){let m=n===Zn?k.InvalidLhs:k.InvalidLhsBinding;this.raise(m,{at:t,ancestor:r});return}let[c,f]=Array.isArray(u)?u:[u,l==="ParenthesizedExpression"],d=l==="ArrayPattern"||l==="ObjectPattern"||l==="ParenthesizedExpression"?{type:l}:r;for(let m of[].concat(t[c]))m&&this.checkLVal(m,{in:d,binding:n,checkClashes:i,strictModeChanged:s,hasParenthesizedAncestor:f})}checkIdentifier(t,r,n=!1){this.state.strict&&(n?uA(t.name,this.inModule):lA(t.name))&&(r===Zn?this.raise(k.StrictEvalArguments,{at:t,referenceName:t.name}):this.raise(k.StrictEvalArgumentsBinding,{at:t,bindingName:t.name})),r&Yu&&t.name==="let"&&this.raise(k.LetInLexicalBinding,{at:t}),r&Zn||this.declareNameFromIdentifier(t,r)}declareNameFromIdentifier(t,r){this.scope.declareName(t.name,r,t.loc.start)}checkToRestConversion(t,r){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,r);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(r)break;default:this.raise(k.InvalidRestAssignmentPattern,{at:t})}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?k.RestTrailingComma:k.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},Bae=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function jae(e){if(e==null)throw new Error(`Unexpected ${e} value.`);return e}function YP(e){if(!e)throw new Error("Assert fail")}var ue=vn`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function Lae(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function XP(e){return e==="private"||e==="public"||e==="protected"}function Mae(e){return e==="in"||e==="out"}var Rae=e=>class extends e{constructor(...r){super(...r),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:ue.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ue.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ue.InvalidModifierOnTypeParameter})}getScopeHandler(){return ky}tsIsIdentifier(){return Je(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(r,n){if(!Je(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(r.indexOf(i)!==-1){if(n&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:i,errorTemplate:s=ue.InvalidModifierOnTypeMember},a){let o=(u,c,f,d)=>{c===f&&a[d]&&this.raise(ue.InvalidModifiersOrder,{at:u,orderedModifiers:[f,d]})},l=(u,c,f,d)=>{(a[f]&&c===d||a[d]&&c===f)&&this.raise(ue.IncompatibleModifiers,{at:u,modifiers:[f,d]})};for(;;){let{startLoc:u}=this.state,c=this.tsParseModifier(r.concat(n!=null?n:[]),i);if(!c)break;XP(c)?a.accessibility?this.raise(ue.DuplicateAccessibilityModifier,{at:u,modifier:c}):(o(u,c,c,"override"),o(u,c,c,"static"),o(u,c,c,"readonly"),a.accessibility=c):Mae(c)?(a[c]&&this.raise(ue.DuplicateModifier,{at:u,modifier:c}),a[c]=!0,o(u,c,"in","out")):(Object.hasOwnProperty.call(a,c)?this.raise(ue.DuplicateModifier,{at:u,modifier:c}):(o(u,c,"static","readonly"),o(u,c,"static","override"),o(u,c,"override","readonly"),o(u,c,"abstract","override"),l(u,c,"declare","override"),l(u,c,"static","abstract")),a[c]=!0),n!=null&&n.includes(c)&&this.raise(s,{at:u,modifier:c})}}tsIsListTerminator(r){switch(r){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(r,n){let i=[];for(;!this.tsIsListTerminator(r);)i.push(n());return i}tsParseDelimitedList(r,n,i){return jae(this.tsParseDelimitedListWorker(r,n,!0,i))}tsParseDelimitedListWorker(r,n,i,s){let a=[],o=-1;for(;!this.tsIsListTerminator(r);){o=-1;let l=n();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStart;continue}if(this.tsIsListTerminator(r))break;i&&this.expect(12);return}return s&&(s.value=o),a}tsParseBracketedList(r,n,i,s,a){s||(i?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(r,n,a);return i?this.expect(3):this.expect(48),o}tsParseImportType(){let r=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(ue.UnsupportedImportTypeArgument,{at:this.state.startLoc}),r.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(r.qualifier=this.tsParseEntityName()),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSImportType")}tsParseEntityName(r=!0){let n=this.parseIdentifier(r);for(;this.eat(16);){let i=this.startNodeAtNode(n);i.left=n,i.right=this.parseIdentifier(r),n=this.finishNode(i,"TSQualifiedName")}return n}tsParseTypeReference(){let r=this.startNode();return r.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeReference")}tsParseThisTypePredicate(r){this.next();let n=this.startNodeAtNode(r);return n.parameterName=r,n.typeAnnotation=this.tsParseTypeAnnotation(!1),n.asserts=!1,this.finishNode(n,"TSTypePredicate")}tsParseThisTypeNode(){let r=this.startNode();return this.next(),this.finishNode(r,"TSThisType")}tsParseTypeQuery(){let r=this.startNode();return this.expect(87),this.match(83)?r.exprName=this.tsParseImportType():r.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeQuery")}tsParseTypeParameter(r){let n=this.startNode();return r(n),n.name=this.tsParseTypeParameterName(),n.constraint=this.tsEatThenParseType(81),n.default=this.tsEatThenParseType(29),this.finishNode(n,"TSTypeParameter")}tsTryParseTypeParameters(r){if(this.match(47))return this.tsParseTypeParameters(r)}tsParseTypeParameters(r){let n=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let i={value:-1};return n.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,r),!1,!0,i),n.params.length===0&&this.raise(ue.EmptyTypeParameters,{at:n}),i.value!==-1&&this.addExtra(n,"trailingComma",i.value),this.finishNode(n,"TSTypeParameterDeclaration")}tsFillSignature(r,n){let i=r===19,s="parameters",a="typeAnnotation";n.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),n[s]=this.tsParseBindingListForSignature(),i?n[a]=this.tsParseTypeOrTypePredicateAnnotation(r):this.match(r)&&(n[a]=this.tsParseTypeOrTypePredicateAnnotation(r))}tsParseBindingListForSignature(){let r=super.parseBindingList(11,41,2);for(let n of r){let{type:i}=n;(i==="AssignmentPattern"||i==="TSParameterProperty")&&this.raise(ue.UnsupportedSignatureParameterKind,{at:n,type:i})}return r}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(r,n){return this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon(),this.finishNode(n,r)}tsIsUnambiguouslyIndexSignature(){return this.next(),Je(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(r){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let n=this.parseIdentifier();n.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(n),this.expect(3),r.parameters=[n];let i=this.tsTryParseTypeAnnotation();return i&&(r.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSIndexSignature")}tsParsePropertyOrMethodSignature(r,n){this.eat(17)&&(r.optional=!0);let i=r;if(this.match(10)||this.match(47)){n&&this.raise(ue.ReadonlyForMethodSignature,{at:r});let s=i;s.kind&&this.match(47)&&this.raise(ue.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon();let a="parameters",o="typeAnnotation";if(s.kind==="get")s[a].length>0&&(this.raise(k.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(s[a][0])&&this.raise(ue.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(s.kind==="set"){if(s[a].length!==1)this.raise(k.BadSetterArity,{at:this.state.curPosition()});else{let l=s[a][0];this.isThisParam(l)&&this.raise(ue.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),l.type==="Identifier"&&l.optional&&this.raise(ue.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),l.type==="RestElement"&&this.raise(ue.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}s[o]&&this.raise(ue.SetAccesorCannotHaveReturnType,{at:s[o]})}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}else{let s=i;n&&(s.readonly=!0);let a=this.tsTryParseTypeAnnotation();return a&&(s.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSPropertySignature")}}tsParseTypeMember(){let r=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",r);if(this.match(77)){let i=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",r):(r.key=this.createIdentifier(i,"new"),this.tsParsePropertyOrMethodSignature(r,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},r);let n=this.tsTryParseIndexSignature(r);return n||(super.parsePropertyName(r),!r.computed&&r.key.type==="Identifier"&&(r.key.name==="get"||r.key.name==="set")&&this.tsTokenCanFollowModifier()&&(r.kind=r.key.name,super.parsePropertyName(r)),this.tsParsePropertyOrMethodSignature(r,!!r.readonly))}tsParseTypeLiteral(){let r=this.startNode();return r.members=this.tsParseObjectTypeMembers(),this.finishNode(r,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let r=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),r}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsExpectThenParseType(58),this.finishNode(r,"TSTypeParameter")}tsParseMappedType(){let r=this.startNode();return this.expect(5),this.match(53)?(r.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(r.readonly=!0),this.expect(0),r.typeParameter=this.tsParseMappedTypeParameter(),r.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(r.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(r.optional=!0),r.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(r,"TSMappedType")}tsParseTupleType(){let r=this.startNode();r.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let n=!1,i=null;return r.elementTypes.forEach(s=>{var a;let{type:o}=s;n&&o!=="TSRestType"&&o!=="TSOptionalType"&&!(o==="TSNamedTupleMember"&&s.optional)&&this.raise(ue.OptionalTypeBeforeRequired,{at:s}),n||(n=o==="TSNamedTupleMember"&&s.optional||o==="TSOptionalType");let l=o;o==="TSRestType"&&(s=s.typeAnnotation,l=s.type);let u=l==="TSNamedTupleMember";(a=i)!=null||(i=u),i!==u&&this.raise(ue.MixedLabeledAndUnlabeledElements,{at:s})}),this.finishNode(r,"TSTupleType")}tsParseTupleElementType(){let{startLoc:r}=this.state,n=this.eat(21),i,s,a,o,u=Ur(this.state.type)?this.lookaheadCharCode():null;if(u===58)i=!0,a=!1,s=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(u===63){a=!0;let c=this.state.startLoc,f=this.state.value,d=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,s=this.createIdentifier(this.startNodeAt(c),f),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=d,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),i=this.eat(14);if(i){let c;s?(c=this.startNodeAtNode(s),c.optional=a,c.label=s,c.elementType=o,this.eat(17)&&(c.optional=!0,this.raise(ue.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(c=this.startNodeAtNode(o),c.optional=a,this.raise(ue.InvalidTupleMemberLabel,{at:o}),c.label=o,c.elementType=this.tsParseType()),o=this.finishNode(c,"TSNamedTupleMember")}else if(a){let c=this.startNodeAtNode(o);c.typeAnnotation=o,o=this.finishNode(c,"TSOptionalType")}if(n){let c=this.startNodeAt(r);c.typeAnnotation=o,o=this.finishNode(c,"TSRestType")}return o}tsParseParenthesizedType(){let r=this.startNode();return this.expect(10),r.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(r,"TSParenthesizedType")}tsParseFunctionOrConstructorType(r,n){let i=this.startNode();return r==="TSConstructorType"&&(i.abstract=!!n,n&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,i)),this.finishNode(i,r)}tsParseLiteralTypeNode(){let r=this.startNode();switch(this.state.type){case 132:case 133:case 131:case 85:case 86:r.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(r,"TSLiteralType")}tsParseTemplateLiteralType(){let r=this.startNode();return r.literal=super.parseTemplate(!1),this.finishNode(r,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let r=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(r):r}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let r=this.startNode(),n=this.lookahead();return n.type!==132&&n.type!==133&&this.unexpected(),r.literal=this.parseMaybeUnary(),this.finishNode(r,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:r}=this.state;if(Je(r)||r===88||r===84){let n=r===88?"TSVoidKeyword":r===84?"TSNullKeyword":Lae(this.state.value);if(n!==void 0&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,n)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let r=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let n=this.startNodeAtNode(r);n.elementType=r,this.expect(3),r=this.finishNode(n,"TSArrayType")}else{let n=this.startNodeAtNode(r);n.objectType=r,n.indexType=this.tsParseType(),this.expect(3),r=this.finishNode(n,"TSIndexedAccessType")}return r}tsParseTypeOperator(){let r=this.startNode(),n=this.state.value;return this.next(),r.operator=n,r.typeAnnotation=this.tsParseTypeOperatorOrHigher(),n==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(r),this.finishNode(r,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(r){switch(r.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(ue.UnexpectedReadonly,{at:r})}}tsParseInferType(){let r=this.startNode();this.expectContextual(113);let n=this.startNode();return n.name=this.tsParseTypeParameterName(),n.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),r.typeParameter=this.finishNode(n,"TSTypeParameter"),this.finishNode(r,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let r=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return r}}tsParseTypeOperatorOrHigher(){return Vse(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(r,n,i){let s=this.startNode(),a=this.eat(i),o=[];do o.push(n());while(this.eat(i));return o.length===1&&!a?o[0]:(s.types=o,this.finishNode(s,r))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Je(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:r}=this.state,n=r.length;try{return this.parseObjectLike(8,!0),r.length===n}catch{return!1}}if(this.match(0)){this.next();let{errors:r}=this.state,n=r.length;try{return super.parseBindingList(3,93,1),r.length===n}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(r){return this.tsInType(()=>{let n=this.startNode();this.expect(r);let i=this.startNode(),s=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(s&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(i.parameterName=l,i.asserts=!0,i.typeAnnotation=null,l=this.finishNode(i,"TSTypePredicate")):(this.resetStartLocationFromNode(l,i),l.asserts=!0),n.typeAnnotation=l,this.finishNode(n,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return s?(i.parameterName=this.parseIdentifier(),i.asserts=s,i.typeAnnotation=null,n.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,n);let o=this.tsParseTypeAnnotation(!1);return i.parameterName=a,i.typeAnnotation=o,i.asserts=s,n.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let r=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),r}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let r=this.state.containsEsc;return this.next(),!Je(this.state.type)&&!this.match(78)?!1:(r&&this.raise(k.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(r=!0,n=this.startNode()){return this.tsInType(()=>{r&&this.expect(14),n.typeAnnotation=this.tsParseType()}),this.finishNode(n,"TSTypeAnnotation")}tsParseType(){YP(this.state.inType);let r=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return r;let n=this.startNodeAtNode(r);return n.checkType=r,n.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),n.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),n.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(n,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ue.ReservedTypeAssertion,{at:this.state.startLoc});let r=this.startNode();return r.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),r.expression=this.parseMaybeUnary(),this.finishNode(r,"TSTypeAssertion")}tsParseHeritageClause(r){let n=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",()=>{let s=this.startNode();return s.expression=this.tsParseEntityName(),this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSExpressionWithTypeArguments")});return i.length||this.raise(ue.EmptyHeritageClauseType,{at:n,token:r}),i}tsParseInterfaceDeclaration(r,n={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),n.declare&&(r.declare=!0),Je(this.state.type)?(r.id=this.parseIdentifier(),this.checkIdentifier(r.id,rae)):(r.id=null,this.raise(ue.MissingInterfaceName,{at:this.state.startLoc})),r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(r.extends=this.tsParseHeritageClause("extends"));let i=this.startNode();return i.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),r.body=this.finishNode(i,"TSInterfaceBody"),this.finishNode(r,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(r){return r.id=this.parseIdentifier(),this.checkIdentifier(r.id,nae),r.typeAnnotation=this.tsInType(()=>{if(r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let n=this.startNode();return this.next(),this.finishNode(n,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(r,"TSTypeAliasDeclaration")}tsInNoContext(r){let n=this.state.context;this.state.context=[n[0]];try{return r()}finally{this.state.context=n}}tsInType(r){let n=this.state.inType;this.state.inType=!0;try{return r()}finally{this.state.inType=n}}tsInDisallowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsInAllowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsEatThenParseType(r){if(this.match(r))return this.tsNextThenParseType()}tsExpectThenParseType(r){return this.tsInType(()=>(this.expect(r),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let r=this.startNode();return r.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(r.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(r,"TSEnumMember")}tsParseEnumDeclaration(r,n={}){return n.const&&(r.const=!0),n.declare&&(r.declare=!0),this.expectContextual(124),r.id=this.parseIdentifier(),this.checkIdentifier(r.id,r.const?sae:yA),this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumDeclaration")}tsParseModuleBlock(){let r=this.startNode();return this.scope.enter(ws),this.expect(5),super.parseBlockOrModuleBlockBody(r.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(r,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(r,n=!1){if(r.id=this.parseIdentifier(),n||this.checkIdentifier(r.id,aae),this.eat(16)){let i=this.startNode();this.tsParseModuleOrNamespaceDeclaration(i,!0),r.body=i}else this.scope.enter(Os),this.prodParam.enter(ks),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(r,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(r){return this.isContextual(110)?(r.global=!0,r.id=this.parseIdentifier()):this.match(131)?r.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(Os),this.prodParam.enter(ks),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(r,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(r,n,i){r.isExport=i||!1,r.id=n||this.parseIdentifier(),this.checkIdentifier(r.id,oo),this.expect(29);let s=this.tsParseModuleReference();return r.importKind==="type"&&s.type!=="TSExternalModuleReference"&&this.raise(ue.ImportAliasHasImportType,{at:s}),r.moduleReference=s,this.semicolon(),this.finishNode(r,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let r=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),r.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExternalModuleReference")}tsLookAhead(r){let n=this.state.clone(),i=r();return this.state=n,i}tsTryParseAndCatch(r){let n=this.tryParse(i=>r()||i());if(!(n.aborted||!n.node))return n.error&&(this.state=n.failState),n.node}tsTryParse(r){let n=this.state.clone(),i=r();if(i!==void 0&&i!==!1)return i;this.state=n}tsTryParseDeclare(r){if(this.isLineTerminator())return;let n=this.state.type,i;return this.isContextual(99)&&(n=74,i="let"),this.tsInAmbientContext(()=>{switch(n){case 68:return r.declare=!0,super.parseFunctionStatement(r,!1,!1);case 80:return r.declare=!0,this.parseClass(r,!0,!1);case 124:return this.tsParseEnumDeclaration(r,{declare:!0});case 110:return this.tsParseAmbientExternalModuleDeclaration(r);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(r.declare=!0,this.parseVarStatement(r,i||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(r,{const:!0,declare:!0}));case 127:{let s=this.tsParseInterfaceDeclaration(r,{declare:!0});if(s)return s}default:if(Je(n))return this.tsParseDeclaration(r,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(r,n,i){switch(n.name){case"declare":{let s=this.tsTryParseDeclare(r);return s&&(s.declare=!0),s}case"global":if(this.match(5)){this.scope.enter(Os),this.prodParam.enter(ks);let s=r;return s.global=!0,s.id=n,s.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(r,n.name,!1,i)}}tsParseDeclaration(r,n,i,s){switch(n){case"abstract":if(this.tsCheckLineTerminator(i)&&(this.match(80)||Je(this.state.type)))return this.tsParseAbstractDeclaration(r,s);break;case"module":if(this.tsCheckLineTerminator(i)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(r);if(Je(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(r)}break;case"namespace":if(this.tsCheckLineTerminator(i)&&Je(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(r);break;case"type":if(this.tsCheckLineTerminator(i)&&Je(this.state.type))return this.tsParseTypeAliasDeclaration(r);break}}tsCheckLineTerminator(r){return r?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(r){if(!this.match(47))return;let n=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let i=this.tsTryParseAndCatch(()=>{let s=this.startNodeAt(r);return s.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(s),s.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),s});if(this.state.maybeInArrowParameters=n,!!i)return super.parseArrowExpression(i,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let r=this.startNode();return r.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),r.params.length===0?this.raise(ue.EmptyTypeArguments,{at:r}):!this.state.inType&&this.curContext()===ot.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return $se(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(r,n){let i=this.state.startLoc,s={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},s);let a=s.accessibility,o=s.override,l=s.readonly;!(r&4)&&(a||l||o)&&this.raise(ue.UnexpectedParameterModifier,{at:i});let u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,r);let c=this.parseMaybeDefault(u.loc.start,u);if(a||l||o){let f=this.startNodeAt(i);return n.length&&(f.decorators=n),a&&(f.accessibility=a),l&&(f.readonly=l),o&&(f.override=o),c.type!=="Identifier"&&c.type!=="AssignmentPattern"&&this.raise(ue.UnsupportedParameterPropertyKind,{at:f}),f.parameter=c,this.finishNode(f,"TSParameterProperty")}return n.length&&(u.decorators=n),c}isSimpleParameter(r){return r.type==="TSParameterProperty"&&super.isSimpleParameter(r.parameter)||super.isSimpleParameter(r)}tsDisallowOptionalPattern(r){for(let n of r.params)n.type!=="Identifier"&&n.optional&&!this.state.isAmbientContext&&this.raise(ue.PatternIsOptional,{at:n})}setArrowFunctionParameters(r,n,i){super.setArrowFunctionParameters(r,n,i),this.tsDisallowOptionalPattern(r)}parseFunctionBodyAndFinish(r,n,i=!1){this.match(14)&&(r.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let s=n==="FunctionDeclaration"?"TSDeclareFunction":n==="ClassMethod"||n==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return s&&!this.match(5)&&this.isLineTerminator()?this.finishNode(r,s):s==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(ue.DeclareFunctionHasImplementation,{at:r}),r.declare)?super.parseFunctionBodyAndFinish(r,s,i):(this.tsDisallowOptionalPattern(r),super.parseFunctionBodyAndFinish(r,n,i))}registerFunctionStatementId(r){!r.body&&r.id?this.checkIdentifier(r.id,$P):super.registerFunctionStatementId(r)}tsCheckForInvalidTypeCasts(r){r.forEach(n=>{(n==null?void 0:n.type)==="TSTypeCastExpression"&&this.raise(ue.UnexpectedTypeAnnotation,{at:n.typeAnnotation})})}toReferencedList(r,n){return this.tsCheckForInvalidTypeCasts(r),r}parseArrayLike(r,n,i,s){let a=super.parseArrayLike(r,n,i,s);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(r,n,i,s){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(n);return o.expression=r,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(i)return s.stop=!0,r;s.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,l=this.tsTryParseAndCatch(()=>{if(!i&&this.atPossibleAsyncArrow(r)){let d=this.tsTryParseGenericAsyncArrowFunction(n);if(d)return d}let u=this.tsParseTypeArgumentsInExpression();if(!u)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(Uu(this.state.type)){let d=super.parseTaggedTemplateExpression(r,n,s);return d.typeParameters=u,d}if(!i&&this.eat(10)){let d=this.startNodeAt(n);return d.callee=r,d.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(d.arguments),d.typeParameters=u,s.optionalChainMember&&(d.optional=a),this.finishCallExpression(d,s.optionalChainMember)}let c=this.state.type;if(c===48||c===52||c!==10&&hy(c)&&!this.hasPrecedingLineBreak())return;let f=this.startNodeAt(n);return f.expression=r,f.typeParameters=u,this.finishNode(f,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(ue.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),l}return super.parseSubscript(r,n,i,s)}parseNewCallee(r){var n;super.parseNewCallee(r);let{callee:i}=r;i.type==="TSInstantiationExpression"&&!((n=i.extra)!=null&&n.parenthesized)&&(r.typeParameters=i.typeParameters,r.callee=i.expression)}parseExprOp(r,n,i){let s;if(Bu(58)>i&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(s=this.isContextual(118)))){let a=this.startNodeAt(n);return a.expression=r,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(s&&this.raise(k.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,s?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,n,i)}return super.parseExprOp(r,n,i)}checkReservedWord(r,n,i,s){this.state.isAmbientContext||super.checkReservedWord(r,n,i,s)}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(ue.ImportReflectionHasImportType,{at:r.specifiers[0].loc.start})}checkDuplicateExports(){}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(128)){let n=this.lookaheadCharCode();return r?n===123||n===42:n!==61}return!r&&this.isContextual(87)}applyImportPhase(r,n,i,s){super.applyImportPhase(r,n,i,s),n?r.exportKind=i==="type"?"type":"value":r.importKind=i==="type"||i==="typeof"?i:"value"}parseImport(r){if(this.match(131))return r.importKind="value",super.parseImport(r);let n;if(Je(this.state.type)&&this.lookaheadCharCode()===61)return r.importKind="value",this.tsParseImportEqualsDeclaration(r);if(this.isContextual(128)){let i=this.parseMaybeImportPhase(r,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(r,i);n=super.parseImportSpecifiersAndAfter(r,i)}else n=super.parseImport(r);return n.importKind==="type"&&n.specifiers.length>1&&n.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(ue.TypeImportCannotSpecifyDefaultAndNamed,{at:n}),n}parseExport(r,n){if(this.match(83)){this.next();let i=null;return this.isContextual(128)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(r,!1):r.importKind="value",this.tsParseImportEqualsDeclaration(r,i,!0)}else if(this.eat(29)){let i=r;return i.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(i,"TSExportAssignment")}else if(this.eatContextual(93)){let i=r;return this.expectContextual(126),i.id=this.parseIdentifier(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration")}else return super.parseExport(r,n)}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let r=this.startNode();return this.next(),r.abstract=!0,this.parseClass(r,!0,!0)}if(this.match(127)){let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseExportDefaultExpression()}parseVarStatement(r,n,i=!1){let{isAmbientContext:s}=this.state,a=super.parseVarStatement(r,n,i||s);if(!s)return a;for(let{id:o,init:l}of a.declarations)l&&(n!=="const"||o.typeAnnotation?this.raise(ue.InitializerNotAllowedInAmbientContext,{at:l}):Uae(l,this.hasPlugin("estree"))||this.raise(ue.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:l}));return a}parseStatementContent(r,n){if(this.match(75)&&this.isLookaheadContextual("enum")){let i=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(i,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return super.parseStatementContent(r,n)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(r,n){return n.some(i=>XP(i)?r.accessibility===i:!!r[i])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(r,n,i){let s=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:s,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:ue.InvalidModifierOnTypeParameterPositions},n);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(n,s)&&this.raise(ue.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(r,n)):this.parseClassMemberWithIsStatic(r,n,i,!!n.static)};n.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(r,n,i,s){let a=this.tsTryParseIndexSignature(n);if(a){r.body.push(a),n.abstract&&this.raise(ue.IndexSignatureHasAbstract,{at:n}),n.accessibility&&this.raise(ue.IndexSignatureHasAccessibility,{at:n,modifier:n.accessibility}),n.declare&&this.raise(ue.IndexSignatureHasDeclare,{at:n}),n.override&&this.raise(ue.IndexSignatureHasOverride,{at:n});return}!this.state.inAbstractClass&&n.abstract&&this.raise(ue.NonAbstractClassHasAbstractMethod,{at:n}),n.override&&(i.hadSuperClass||this.raise(ue.OverrideNotInSubClass,{at:n})),super.parseClassMemberWithIsStatic(r,n,i,s)}parsePostMemberNameModifiers(r){this.eat(17)&&(r.optional=!0),r.readonly&&this.match(10)&&this.raise(ue.ClassMethodHasReadonly,{at:r}),r.declare&&this.match(10)&&this.raise(ue.ClassMethodHasDeclare,{at:r})}parseExpressionStatement(r,n,i){return(n.type==="Identifier"?this.tsParseExpressionStatement(r,n,i):void 0)||super.parseExpressionStatement(r,n,i)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(r,n,i){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(r,n,i);let s=this.tryParse(()=>super.parseConditional(r,n));return s.node?(s.error&&(this.state=s.failState),s.node):(s.error&&super.setOptionalParametersError(i,s.error),r)}parseParenItem(r,n){if(r=super.parseParenItem(r,n),this.eat(17)&&(r.optional=!0,this.resetEndLocation(r)),this.match(14)){let i=this.startNodeAt(n);return i.expression=r,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return r}parseExportDeclaration(r){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(r));let n=this.state.startLoc,i=this.eatContextual(123);if(i&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(ue.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let a=Je(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(r);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||i)&&(r.exportKind="type"),i&&(this.resetStartLocation(a,n),a.declare=!0),a):null}parseClassId(r,n,i,s){if((!n||i)&&this.isContextual(111))return;super.parseClassId(r,n,i,r.declare?$P:hA);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(r.typeParameters=a)}parseClassPropertyAnnotation(r){r.optional||(this.eat(35)?r.definite=!0:this.eat(17)&&(r.optional=!0));let n=this.tsTryParseTypeAnnotation();n&&(r.typeAnnotation=n)}parseClassProperty(r){if(this.parseClassPropertyAnnotation(r),this.state.isAmbientContext&&!(r.readonly&&!r.typeAnnotation)&&this.match(29)&&this.raise(ue.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),r.abstract&&this.match(29)){let{key:n}=r;this.raise(ue.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:n.type==="Identifier"&&!r.computed?n.name:`[${this.input.slice(n.start,n.end)}]`})}return super.parseClassProperty(r)}parseClassPrivateProperty(r){return r.abstract&&this.raise(ue.PrivateElementHasAbstract,{at:r}),r.accessibility&&this.raise(ue.PrivateElementHasAccessibility,{at:r,modifier:r.accessibility}),this.parseClassPropertyAnnotation(r),super.parseClassPrivateProperty(r)}parseClassAccessorProperty(r){return this.parseClassPropertyAnnotation(r),r.optional&&this.raise(ue.AccessorCannotBeOptional,{at:r}),super.parseClassAccessorProperty(r)}pushClassMethod(r,n,i,s,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(ue.ConstructorHasTypeParameters,{at:l});let{declare:u=!1,kind:c}=n;u&&(c==="get"||c==="set")&&this.raise(ue.DeclareAccessor,{at:n,kind:c}),l&&(n.typeParameters=l),super.pushClassMethod(r,n,i,s,a,o)}pushClassPrivateMethod(r,n,i,s){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(n.typeParameters=a),super.pushClassPrivateMethod(r,n,i,s)}declareClassPrivateMethodInScope(r,n){r.type!=="TSDeclareMethod"&&(r.type==="MethodDefinition"&&!r.value.body||super.declareClassPrivateMethodInScope(r,n))}parseClassSuper(r){super.parseClassSuper(r),r.superClass&&(this.match(47)||this.match(51))&&(r.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(r.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(r,n,i,s,a,o,l){let u=this.tsTryParseTypeParameters(this.tsParseConstModifier);return u&&(r.typeParameters=u),super.parseObjPropValue(r,n,i,s,a,o,l)}parseFunctionParams(r,n){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(r.typeParameters=i),super.parseFunctionParams(r,n)}parseVarId(r,n){super.parseVarId(r,n),r.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(r.definite=!0);let i=this.tsTryParseTypeAnnotation();i&&(r.id.typeAnnotation=i,this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,n){return this.match(14)&&(r.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(r,n)}parseMaybeAssign(r,n){var i,s,a,o,l;let u,c,f;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(u=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!c.error)return c.node;let{context:S}=this.state,p=S[S.length-1];(p===ot.j_oTag||p===ot.j_expr)&&S.pop()}if(!((i=c)!=null&&i.error)&&!this.match(47))return super.parseMaybeAssign(r,n);(!u||u===this.state)&&(u=this.state.clone());let d,m=this.tryParse(S=>{var p,E;d=this.tsParseTypeParameters(this.tsParseConstModifier);let b=super.parseMaybeAssign(r,n);return(b.type!=="ArrowFunctionExpression"||(p=b.extra)!=null&&p.parenthesized)&&S(),((E=d)==null?void 0:E.params.length)!==0&&this.resetStartLocationFromNode(b,d),b.typeParameters=d,b},u);if(!m.error&&!m.aborted)return d&&this.reportReservedArrowTypeParam(d),m.node;if(!c&&(YP(!this.hasPlugin("jsx")),f=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!f.error))return f.node;if((s=c)!=null&&s.node)return this.state=c.failState,c.node;if(m.node)return this.state=m.failState,d&&this.reportReservedArrowTypeParam(d),m.node;if((a=f)!=null&&a.node)return this.state=f.failState,f.node;throw((o=c)==null?void 0:o.error)||m.error||((l=f)==null?void 0:l.error)}reportReservedArrowTypeParam(r){var n;r.params.length===1&&!r.params[0].constraint&&!((n=r.extra)!=null&&n.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ue.ReservedArrowTypeParam,{at:r})}parseMaybeUnary(r,n){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(r,n)}parseArrow(r){if(this.match(14)){let n=this.tryParse(i=>{let s=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&i(),s});if(n.aborted)return;n.thrown||(n.error&&(this.state=n.failState),r.returnType=n.node)}return super.parseArrow(r)}parseAssignableListItemTypes(r,n){if(!(n&2))return r;this.eat(17)&&(r.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(r.typeAnnotation=i),this.resetEndLocation(r),r}isAssignable(r,n){switch(r.type){case"TSTypeCastExpression":return this.isAssignable(r.expression,n);case"TSParameterProperty":return!0;default:return super.isAssignable(r,n)}}toAssignable(r,n=!1){switch(r.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(r,n);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":n?this.expressionScope.recordArrowParameterBindingError(ue.UnexpectedTypeCastInParameter,{at:r}):this.raise(ue.UnexpectedTypeCastInParameter,{at:r}),this.toAssignable(r.expression,n);break;case"AssignmentExpression":!n&&r.left.type==="TSTypeCastExpression"&&(r.left=this.typeCastToParameter(r.left));default:super.toAssignable(r,n)}}toAssignableParenthesizedExpression(r,n){switch(r.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(r.expression,n);break;default:super.toAssignable(r,n)}}checkToRestConversion(r,n){switch(r.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(r.expression,!1);break;default:super.checkToRestConversion(r,n)}}isValidLVal(r,n,i){return Bae({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(i!==Zn||!n)&&["expression",!0],TSSatisfiesExpression:(i!==Zn||!n)&&["expression",!0],TSTypeAssertion:(i!==Zn||!n)&&["expression",!0]},r)||super.isValidLVal(r,n,i)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(r){if(this.match(47)||this.match(51)){let n=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(r);return i.typeParameters=n,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(r)}checkCommaAfterRest(r){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===r?(this.next(),!1):super.checkCommaAfterRest(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(r,n){let i=super.parseMaybeDefault(r,n);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(ue.TypeAnnotationAfterAssign,{at:i.typeAnnotation}),i}getTokenFromCode(r){if(this.state.inType){if(r===62){this.finishOp(48,1);return}if(r===60){this.finishOp(47,1);return}}super.getTokenFromCode(r)}reScan_lt_gt(){let{type:r}=this.state;r===47?(this.state.pos-=1,this.readToken_lt()):r===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:r}=this.state;return r===51?(this.state.pos-=2,this.finishOp(47,1),47):r}toAssignableList(r,n,i){for(let s=0;s<r.length;s++){let a=r[s];(a==null?void 0:a.type)==="TSTypeCastExpression"&&(r[s]=this.typeCastToParameter(a))}super.toAssignableList(r,n,i)}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}shouldParseArrow(r){return this.match(14)?r.every(n=>this.isAssignable(n,!0)):super.shouldParseArrow(r)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(r){if(this.match(47)||this.match(51)){let n=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());n&&(r.typeParameters=n)}return super.jsxParseOpeningElementAfterName(r)}getGetterSetterExpectedParamCount(r){let n=super.getGetterSetterExpectedParamCount(r),s=this.getObjectOrClassMethodParams(r)[0];return s&&this.isThisParam(s)?n+1:n}parseCatchClauseParam(){let r=super.parseCatchClauseParam(),n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n,this.resetEndLocation(r)),r}tsInAmbientContext(r){let n=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return r()}finally{this.state.isAmbientContext=n}}parseClass(r,n,i){let s=this.state.inAbstractClass;this.state.inAbstractClass=!!r.abstract;try{return super.parseClass(r,n,i)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(r,n){if(this.match(80))return r.abstract=!0,this.maybeTakeDecorators(n,this.parseClass(r,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return r.abstract=!0,this.raise(ue.NonClassMethodPropertyHasAbstractModifer,{at:r}),this.tsParseInterfaceDeclaration(r)}else this.unexpected(null,80)}parseMethod(r,n,i,s,a,o,l){let u=super.parseMethod(r,n,i,s,a,o,l);if(u.abstract&&(this.hasPlugin("estree")?!!u.value.body:!!u.body)){let{key:f}=u;this.raise(ue.AbstractMethodHasImplementation,{at:u,methodName:f.type==="Identifier"&&!u.computed?f.name:`[${this.input.slice(f.start,f.end)}]`})}return u}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(r,n,i,s){return!n&&s?(this.parseTypeOnlyImportExportSpecifier(r,!1,i),this.finishNode(r,"ExportSpecifier")):(r.exportKind="value",super.parseExportSpecifier(r,n,i,s))}parseImportSpecifier(r,n,i,s,a){return!n&&s?(this.parseTypeOnlyImportExportSpecifier(r,!0,i),this.finishNode(r,"ImportSpecifier")):(r.importKind="value",super.parseImportSpecifier(r,n,i,s,i?KP:oo))}parseTypeOnlyImportExportSpecifier(r,n,i){let s=n?"imported":"local",a=n?"local":"exported",o=r[s],l,u=!1,c=!0,f=o.loc.start;if(this.isContextual(93)){let m=this.parseIdentifier();if(this.isContextual(93)){let S=this.parseIdentifier();Ur(this.state.type)?(u=!0,o=m,l=n?this.parseIdentifier():this.parseModuleExportName(),c=!1):(l=S,c=!1)}else Ur(this.state.type)?(c=!1,l=n?this.parseIdentifier():this.parseModuleExportName()):(u=!0,o=m)}else Ur(this.state.type)&&(u=!0,n?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());u&&i&&this.raise(n?ue.TypeModifierIsUsedInTypeImports:ue.TypeModifierIsUsedInTypeExports,{at:f}),r[s]=o,r[a]=l;let d=n?"importKind":"exportKind";r[d]=u?"type":"value",c&&this.eatContextual(93)&&(r[a]=n?this.parseIdentifier():this.parseModuleExportName()),r[a]||(r[a]=Sn(r[s])),n&&this.checkIdentifier(r[a],u?KP:oo)}};function qae(e){if(e.type!=="MemberExpression")return!1;let{computed:t,property:r}=e;return t&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:DA(e.object)}function Uae(e,t){var r;let{type:n}=e;if((r=e.extra)!=null&&r.parenthesized)return!1;if(t){if(n==="Literal"){let{value:i}=e;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(n==="StringLiteral"||n==="BooleanLiteral")return!0;return!!(wA(e,t)||Vae(e,t)||n==="TemplateLiteral"&&e.expressions.length===0||qae(e))}function wA(e,t){return t?e.type==="Literal"&&(typeof e.value=="number"||"bigint"in e):e.type==="NumericLiteral"||e.type==="BigIntLiteral"}function Vae(e,t){if(e.type==="UnaryExpression"){let{operator:r,argument:n}=e;if(r==="-"&&wA(n,t))return!0}return!1}function DA(e){return e.type==="Identifier"?!0:e.type!=="MemberExpression"||e.computed?!1:DA(e.object)}var JP=vn`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),$ae=e=>class extends e{parsePlaceholder(r){if(this.match(142)){let n=this.startNode();return this.next(),this.assertNoSpace(),n.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(n,r)}}finishPlaceholder(r,n){let i=!!(r.expectedNode&&r.type==="Placeholder");return r.expectedNode=n,i?r:this.finishNode(r,"Placeholder")}getTokenFromCode(r){r===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(r)}parseExprAtom(r){return this.parsePlaceholder("Expression")||super.parseExprAtom(r)}parseIdentifier(r){return this.parsePlaceholder("Identifier")||super.parseIdentifier(r)}checkReservedWord(r,n,i,s){r!==void 0&&super.checkReservedWord(r,n,i,s)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(r,n,i){return r==="Placeholder"||super.isValidLVal(r,n,i)}toAssignable(r,n){r&&r.type==="Placeholder"&&r.expectedNode==="Expression"?r.expectedNode="Pattern":super.toAssignable(r,n)}chStartsBindingIdentifier(r,n){return!!(super.chStartsBindingIdentifier(r,n)||this.lookahead().type===142)}verifyBreakContinue(r,n){r.label&&r.label.type==="Placeholder"||super.verifyBreakContinue(r,n)}parseExpressionStatement(r,n){if(n.type!=="Placeholder"||n.extra&&n.extra.parenthesized)return super.parseExpressionStatement(r,n);if(this.match(14)){let i=r;return i.label=this.finishPlaceholder(n,"Identifier"),this.next(),i.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(i,"LabeledStatement")}return this.semicolon(),r.name=n.name,this.finishPlaceholder(r,"Statement")}parseBlock(r,n,i){return this.parsePlaceholder("BlockStatement")||super.parseBlock(r,n,i)}parseFunctionId(r){return this.parsePlaceholder("Identifier")||super.parseFunctionId(r)}parseClass(r,n,i){let s=n?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(142)||this.match(5))r.id=o;else{if(i||!n)return r.id=null,r.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(r,s);throw this.raise(JP.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(r,n,i);return super.parseClassSuper(r),r.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!r.superClass,a),this.finishNode(r,s)}parseExport(r,n){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseExport(r,n);if(!this.isContextual(97)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(i,"Declaration"),this.finishNode(r,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let s=this.startNode();return s.exported=i,r.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(r,n)}isExportDefaultSpecifier(){if(this.match(65)){let r=this.nextTokenStart();if(this.isUnparsedContextual(r,"from")&&this.input.startsWith(ei(142),this.nextTokenStartSince(r+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(r,n){var i;return(i=r.specifiers)!=null&&i.length?!0:super.maybeParseExportDefaultSpecifier(r,n)}checkExport(r){let{specifiers:n}=r;n!=null&&n.length&&(r.specifiers=n.filter(i=>i.exported.type==="Placeholder")),super.checkExport(r),r.specifiers=n}parseImport(r){let n=this.parsePlaceholder("Identifier");if(!n)return super.parseImport(r);if(r.specifiers=[],!this.isContextual(97)&&!this.match(12))return r.source=this.finishPlaceholder(n,"StringLiteral"),this.semicolon(),this.finishNode(r,"ImportDeclaration");let i=this.startNodeAtNode(n);return i.local=n,r.specifiers.push(this.finishNode(i,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(r)||this.parseNamedImportSpecifiers(r)),this.expectContextual(97),r.source=this.parseImportSource(),this.semicolon(),this.finishNode(r,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(JP.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},Kae=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let r=this.state.startLoc,n=this.startNode();if(this.next(),Je(this.state.type)){let i=this.parseIdentifierName(),s=this.createIdentifier(n,i);if(s.type="V8IntrinsicIdentifier",this.match(10))return s}this.unexpected(r)}}parseExprAtom(r){return this.parseV8Intrinsic()||super.parseExprAtom(r)}};function Ot(e,t){let[r,n]=typeof t=="string"?[t,{}]:t,i=Object.keys(n),s=i.length===0;return e.some(a=>{if(typeof a=="string")return s&&a===r;{let[o,l]=a;if(o!==r)return!1;for(let u of i)if(l[u]!==n[u])return!1;return!0}})}function Ni(e,t,r){let n=e.find(i=>Array.isArray(i)?i[0]===t:i===t);return n&&Array.isArray(n)&&n.length>1?n[1][r]:null}var QP=["minimal","fsharp","hack","smart"],ZP=["^^","@@","^","%","#"],eA=["hash","bar"];function Wae(e){if(Ot(e,"decorators")){if(Ot(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Ni(e,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=Ni(e,"decorators","allowCallParenthesized");if(r!=null&&typeof r!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(Ot(e,"flow")&&Ot(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Ot(e,"placeholders")&&Ot(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Ot(e,"pipelineOperator")){let t=Ni(e,"pipelineOperator","proposal");if(!QP.includes(t)){let n=QP.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${n}.`)}let r=Ot(e,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(Ot(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Ot(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let n=Ni(e,"pipelineOperator","topicToken");if(!ZP.includes(n)){let i=ZP.map(s=>`"${s}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${i}.`)}if(n==="#"&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Ot(e,"moduleAttributes")){if(Ot(e,"importAssertions")||Ot(e,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(Ni(e,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Ot(e,"importAssertions")&&Ot(e,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(Ot(e,"recordAndTuple")&&Ni(e,"recordAndTuple","syntaxType")!=null&&!eA.includes(Ni(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+eA.map(t=>`'${t}'`).join(", "));if(Ot(e,"asyncDoExpressions")&&!Ot(e,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var IA={estree:Nse,jsx:kae,flow:Oae,typescript:Rae,v8intrinsic:Kae,placeholders:$ae},zae=Object.keys(IA),tA={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Gae(e){if(e&&e.annexB!=null&&e.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let t={};for(let r of Object.keys(tA))t[r]=e&&e[r]!=null?e[r]:tA[r];return t}var By=class extends Fy{checkProto(t,r,n,i){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let s=t.key;if((s.type==="Identifier"?s.name:s.value)==="__proto__"){if(r){this.raise(k.RecordNoProto,{at:s});return}n.used&&(i?i.doubleProtoLoc===null&&(i.doubleProtoLoc=s.loc.start):this.raise(k.DuplicateProto,{at:s})),n.used=!0}}shouldExitDescending(t,r){return t.type==="ArrowFunctionExpression"&&t.start===r}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.state.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,r){return t?this.disallowInAnd(()=>this.parseExpressionBase(r)):this.allowInAnd(()=>this.parseExpressionBase(r))}parseExpressionBase(t){let r=this.state.startLoc,n=this.parseMaybeAssign(t);if(this.match(12)){let i=this.startNodeAt(r);for(i.expressions=[n];this.eat(12);)i.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(t,r))}parseMaybeAssignAllowIn(t,r){return this.allowInAnd(()=>this.parseMaybeAssign(t,r))}setOptionalParametersError(t,r){var n;t.optionalParametersLoc=(n=r==null?void 0:r.loc)!=null?n:this.state.startLoc}parseMaybeAssign(t,r){let n=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let o=this.parseYield();return r&&(o=r.call(this,o,n)),o}let i;t?i=!1:(t=new Fs,i=!0);let{type:s}=this.state;(s===10||Je(s))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(r&&(a=r.call(this,a,n)),Lse(this.state.type)){let o=this.startNodeAt(n),l=this.state.value;if(o.operator=l,this.match(29)){this.toAssignable(a,!0),o.left=a;let u=n.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=u&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=u&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=a;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(o,"AssignmentExpression")}),o}else i&&this.checkExpressionErrors(t,!0);return a}parseMaybeConditional(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprOps(t);return this.shouldExitDescending(i,n)?i:this.parseConditional(i,r,t)}parseConditional(t,r,n){if(this.eat(17)){let i=this.startNodeAt(r);return i.test=t,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(i,n)?i:this.parseExprOp(i,r,-1)}parseExprOp(t,r,n){if(this.isPrivateName(t)){let s=this.getPrivateNameSV(t);(n>=Bu(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(k.PrivateInExpectedIn,{at:t,identifierName:s}),this.classScope.usePrivateName(s,t.loc.start)}let i=this.state.type;if(Rse(i)&&(this.prodParam.hasIn||!this.match(58))){let s=Bu(i);if(s>n){if(i===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,r)}let a=this.startNodeAt(r);a.left=t,a.operator=this.state.value;let o=i===41||i===42,l=i===40;if(l&&(s=Bu(42)),this.next(),i===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(k.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(i,s);let u=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),c=this.state.type;if(l&&(c===41||c===42)||o&&c===40)throw this.raise(k.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(u,r,n)}}return t}parseExprOpRightExpr(t,r){let n=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(k.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,r),n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(r))}default:return this.parseExprOpBaseRightExpr(t,r)}}parseExprOpBaseRightExpr(t,r){let n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,Kse(t)?r-1:r)}parseHackPipeBody(){var t;let{startLoc:r}=this.state,n=this.parseMaybeAssign();return Cse.has(n.type)&&!((t=n.extra)!=null&&t.parenthesized)&&this.raise(k.PipeUnparenthesizedBody,{at:r,type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(k.PipeTopicUnused,{at:r}),n}checkExponentialAfterUnary(t){this.match(57)&&this.raise(k.UnexpectedTokenUnaryExponentiation,{at:t.argument})}parseMaybeUnary(t,r){let n=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let l=this.parseAwait(n);return r||this.checkExponentialAfterUnary(l),l}let s=this.match(34),a=this.startNode();if(Use(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&l){let u=a.argument;u.type==="Identifier"?this.raise(k.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(u)&&this.raise(k.DeletePrivateField,{at:a})}if(!s)return r||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,s,t);if(i){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?hy(l):hy(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(k.AwaitNotInAsyncContext,{at:n}),this.parseAwait(n)}return o}parseUpdate(t,r,n){if(r){let a=t;return this.checkLVal(a.argument,{in:this.finishNode(a,"UpdateExpression")}),t}let i=this.state.startLoc,s=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return s;for(;qse(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(i);a.operator=this.state.value,a.prefix=!1,a.argument=s,this.next(),this.checkLVal(s,{in:s=this.finishNode(a,"UpdateExpression")})}return s}parseExprSubscripts(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(t);return this.shouldExitDescending(i,n)?i:this.parseSubscripts(i,r)}parseSubscripts(t,r,n){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,r,n,i),i.maybeAsyncArrow=!1;while(!i.stop);return t}parseSubscript(t,r,n,i){let{type:s}=this.state;if(!n&&s===15)return this.parseBind(t,r,n,i);if(Uu(s))return this.parseTaggedTemplateExpression(t,r,i);let a=!1;if(s===18){if(n&&(this.raise(k.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return i.stop=!0,t;i.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,r,i,a);{let o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,r,i,o,a):(i.stop=!0,t)}}parseMember(t,r,n,i,s){let a=this.startNodeAt(r);return a.object=t,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(136)?(t.type==="Super"&&this.raise(k.SuperPrivateField,{at:r}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=s,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,r,n,i){let s=this.startNodeAt(r);return s.object=t,this.next(),s.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(s,"BindExpression"),r,n)}parseCoverCallAndAsyncArrowHead(t,r,n,i){let s=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(r);o.callee=t;let{maybeAsyncArrow:l,optionalChainMember:u}=n;l&&(this.expressionScope.enter(xae()),a=new Fs),u&&(o.optional=i),i?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",t.type!=="Super",o,a);let c=this.finishCallExpression(o,u);return l&&this.shouldParseAsyncArrow()&&!i?(n.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(r),c)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=s,c}toReferencedArguments(t,r){this.toReferencedListDeep(t.arguments,r)}parseTaggedTemplateExpression(t,r,n){let i=this.startNodeAt(r);return i.tag=t,i.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(k.OptionalChainingNoTemplate,{at:r}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,r){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(k.ImportCallArity,{at:t,maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let n of t.arguments)n.type==="SpreadElement"&&this.raise(k.ImportCallSpreadArgument,{at:n});return this.finishNode(t,r?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,r,n,i,s){let a=[],o=!0,l=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){r&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(k.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),i&&this.addTrailingCommaExtraToNode(i),this.next();break}a.push(this.parseExprListItem(!1,s,n))}return this.state.inFSharpPipelineDirectBody=l,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,r){var n;return this.resetPreviousNodeTrailingComments(r),this.expect(19),this.parseArrowExpression(t,r.arguments,!0,(n=r.extra)==null?void 0:n.trailingCommaLoc),r.innerComments&&fo(t,r.innerComments),r.callee.trailingComments&&fo(t,r.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let r,n=null,{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return r=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(r):(this.match(10)||this.raise(k.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(r,"Import"));case 78:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let s=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(s)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:n=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(n,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{r=this.startNode(),this.next(),r.object=null;let s=r.callee=this.parseNoCallExpr();if(s.type==="MemberExpression")return this.finishNode(r,"BindExpression");throw this.raise(k.UnsupportedBind,{at:s})}case 136:return this.raise(k.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.parseTopicReference(s);this.unexpected();break}case 47:{let s=this.input.codePointAt(this.nextTokenStart());En(s)||s===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(Je(i)){if(this.isContextual(125)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let s=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){let{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(Je(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return s&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,r){let n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.state.type=t,this.state.value=r,this.state.pos--,this.state.end--,this.state.endLoc=tr(this.state.endLoc,-1),this.parseTopicReference(n);this.unexpected()}parseTopicReference(t){let r=this.startNode(),n=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(r,n,t,i)}finishTopicReference(t,r,n,i){if(this.testTopicReferenceConfiguration(n,r,i)){let s=n==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(n==="smart"?k.PrimaryTopicNotAllowed:k.PipeTopicUnbound,{at:r}),this.registerTopicReference(),this.finishNode(t,s)}else throw this.raise(k.PipeTopicUnconfiguredToken,{at:r,token:ei(i)})}testTopicReferenceConfiguration(t,r,n){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ei(n)}]);case"smart":return n===27;default:throw this.raise(k.PipeTopicRequiresHackPipes,{at:r})}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(Mu(!0,this.prodParam.hasYield));let r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(k.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(t,r,!0)}parseDo(t,r){this.expectPlugin("doExpressions"),r&&this.expectPlugin("asyncDoExpressions"),t.async=r,this.next();let n=this.state.labels;return this.state.labels=[],r?(this.prodParam.enter(Xu),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=n,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(k.SuperNotAllowed,{at:t}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(k.UnexpectedSuper,{at:t}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(k.UnsupportedSuper,{at:t}),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),r=this.startNodeAt(tr(this.state.startLoc,1)),n=this.state.value;return this.next(),t.id=this.createIdentifier(r,n),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,r,"sent")}return this.parseFunction(t)}parseMetaProperty(t,r,n){t.meta=r;let i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==n||i)&&this.raise(k.UnsupportedMetaProperty,{at:t.property,target:r.name,onlyValidPropertyName:n}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){let r=this.createIdentifier(this.startNodeAtNode(t),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(k.ImportMetaOutsideModule,{at:r}),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,r,"meta")}parseLiteralAtNode(t,r,n){return this.addExtra(n,"rawValue",t),this.addExtra(n,"raw",this.input.slice(n.start,this.state.end)),n.value=t,this.next(),this.finishNode(n,r)}parseLiteral(t,r){let n=this.startNode();return this.parseLiteralAtNode(t,r,n)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let r=this.parseLiteral(t.value,"RegExpLiteral");return r.pattern=t.pattern,r.flags=t.flags,r}parseBooleanLiteral(t){let r=this.startNode();return r.value=t,this.next(),this.finishNode(r,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let r=this.state.startLoc,n;this.next(),this.expressionScope.enter(Sae());let i=this.state.maybeInArrowParameters,s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],l=new Fs,u=!0,c,f;for(;!this.match(11);){if(u)u=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){f=this.state.startLoc;break}if(this.match(21)){let S=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),S)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=s;let m=this.startNodeAt(r);return t&&this.shouldParseArrow(o)&&(m=this.parseArrow(m))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,o,!1),m):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),f&&this.unexpected(f),c&&this.unexpected(c),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(n=this.startNodeAt(a),n.expressions=o,this.finishNode(n,"SequenceExpression"),this.resetEndLocation(n,d)):n=o[0],this.wrapParenthesis(r,n))}wrapParenthesis(t,r){if(!this.options.createParenthesizedExpressions)return this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",t.index),this.takeSurroundingComments(r,t.index,this.state.lastTokEndLoc.index),r;let n=this.startNodeAt(t);return n.expression=r,this.finishNode(n,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,r){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let n=this.parseMetaProperty(t,r,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(k.UnexpectedNewTarget,{at:n}),n}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let r=this.parseExprList(11);this.toReferencedList(r),t.arguments=r}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){t.callee=this.parseNoCallExpr(),t.callee.type==="Import"&&this.raise(k.ImportCallNotNewExpression,{at:t.callee})}parseTemplateElement(t){let{start:r,startLoc:n,end:i,value:s}=this.state,a=r+1,o=this.startNodeAt(tr(n,1));s===null&&(t||this.raise(k.InvalidEscapeSequenceTemplate,{at:tr(this.state.firstInvalidTemplateEscapePos,1)}));let l=this.match(24),u=l?-1:-2,c=i+u;o.value={raw:this.input.slice(a,c).replace(/\r\n?/g,`
`),cooked:s===null?null:s.slice(1,u)},o.tail=l,this.next();let f=this.finishNode(o,"TemplateElement");return this.resetEndLocation(f,tr(this.state.lastTokEndLoc,u)),f}parseTemplate(t){let r=this.startNode();r.expressions=[];let n=this.parseTemplateElement(t);for(r.quasis=[n];!n.tail;)r.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.quasis.push(n=this.parseTemplateElement(t));return this.finishNode(r,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,r,n,i){n&&this.expectPlugin("recordAndTuple");let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=Object.create(null),o=!0,l=this.startNode();for(l.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(l);break}let c;r?c=this.parseBindingProperty():(c=this.parsePropertyDefinition(i),this.checkProto(c,n,a,i)),n&&!this.isObjectProperty(c)&&c.type!=="SpreadElement"&&this.raise(k.InvalidRecordProperty,{at:c}),c.shorthand&&this.addExtra(c,"shorthand",!0),l.properties.push(c)}this.next(),this.state.inFSharpPipelineDirectBody=s;let u="ObjectExpression";return r?u="ObjectPattern":n&&(u="RecordExpression"),this.finishNode(l,u)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStart),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let r=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(k.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)r.push(this.parseDecorator());let n=this.startNode(),i=!1,s=!1,a;if(this.match(21))return r.length&&this.unexpected(),this.parseSpread();r.length&&(n.decorators=r,r=[]),n.method=!1,t&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let l=this.state.containsEsc,u=this.parsePropertyName(n,t);if(!o&&!l&&this.maybeAsyncOrAccessorProp(n)){let c=u.name;c==="async"&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(n)),(c==="get"||c==="set")&&(s=!0,this.resetPreviousNodeTrailingComments(u),n.kind=c,this.match(55)&&(o=!0,this.raise(k.AccessorIsGenerator,{at:this.state.curPosition(),kind:c}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,a,o,i,!1,s,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var r;let n=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t);i.length!==n&&this.raise(t.kind==="get"?k.BadGetterArity:k.BadSetterArity,{at:t}),t.kind==="set"&&((r=i[i.length-1])==null?void 0:r.type)==="RestElement"&&this.raise(k.BadSetterRestParameter,{at:t})}parseObjectMethod(t,r,n,i,s){if(s){let a=this.parseMethod(t,r,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(n||r||this.match(10))return i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,r,n,!1,!1,"ObjectMethod")}parseObjectProperty(t,r,n,i){if(t.shorthand=!1,this.eat(14))return t.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),n)t.value=this.parseMaybeDefault(r,Sn(t.key));else if(this.match(29)){let s=this.state.startLoc;i!=null?i.shorthandAssignLoc===null&&(i.shorthandAssignLoc=s):this.raise(k.InvalidCoverInitializedName,{at:s}),t.value=this.parseMaybeDefault(r,Sn(t.key))}else t.value=Sn(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,r,n,i,s,a,o){let l=this.parseObjectMethod(t,n,i,s,a)||this.parseObjectProperty(t,r,s,o);return l||this.unexpected(),l}parsePropertyName(t,r){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:n,value:i}=this.state,s;if(Ur(n))s=this.parseIdentifier(!0);else switch(n){case 132:s=this.parseNumericLiteral(i);break;case 131:s=this.parseStringLiteral(i);break;case 133:s=this.parseBigIntLiteral(i);break;case 134:s=this.parseDecimalLiteral(i);break;case 136:{let a=this.state.startLoc;r!=null?r.privateKeyLoc===null&&(r.privateKeyLoc=a):this.raise(k.UnexpectedPrivateField,{at:a}),s=this.parsePrivateName();break}default:this.unexpected()}t.key=s,n!==136&&(t.computed=!1)}return t.key}initFunction(t,r){t.id=null,t.generator=!1,t.async=r}parseMethod(t,r,n,i,s,a,o=!1){this.initFunction(t,n),t.generator=r,this.scope.enter(Tn|Vu|(o?Fi:0)|(s?fA:0)),this.prodParam.enter(Mu(n,t.generator)),this.parseFunctionParams(t,i);let l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,r,n,i){n&&this.expectPlugin("recordAndTuple");let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!n,i,a),this.state.inFSharpPipelineDirectBody=s,this.finishNode(a,n?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,r,n,i){this.scope.enter(Tn|zy);let s=Mu(n,!1);!this.match(5)&&this.prodParam.hasIn&&(s|=Cs),this.prodParam.enter(s),this.initFunction(t,n);let a=this.state.maybeInArrowParameters;return r&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,r,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,r,n){this.toAssignableList(r,n,!1),t.params=r}parseFunctionBodyAndFinish(t,r,n=!1){return this.parseFunctionBody(t,!1,n),this.finishNode(t,r)}parseFunctionBody(t,r,n=!1){let i=r&&!this.match(5);if(this.expressionScope.enter(xA()),i)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,r,!1);else{let s=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|AA),t.body=this.parseBlock(!0,!1,o=>{let l=!this.isSimpleParamList(t.params);o&&l&&this.raise(k.IllegalLanguageModeDirective,{at:(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t});let u=!s&&this.state.strict;this.checkParams(t,!this.state.strict&&!r&&!n&&!l,r,u),this.state.strict&&t.id&&this.checkIdentifier(t.id,iae,u)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let r=0,n=t.length;r<n;r++)if(!this.isSimpleParameter(t[r]))return!1;return!0}checkParams(t,r,n,i=!0){let s=!r&&new Set,a={type:"FormalParameters"};for(let o of t.params)this.checkLVal(o,{in:a,binding:Wu,checkClashes:s,strictModeChanged:i})}parseExprList(t,r,n,i){let s=[],a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){i&&this.addTrailingCommaExtraToNode(i),this.next();break}s.push(this.parseExprListItem(r,n))}return s}parseExprListItem(t,r,n){let i;if(this.match(12))t||this.raise(k.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),i=null;else if(this.match(21)){let s=this.state.startLoc;i=this.parseParenItem(this.parseSpread(r),s)}else if(this.match(17)){this.expectPlugin("partialApplication"),n||this.raise(k.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let s=this.startNode();this.next(),i=this.finishNode(s,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowIn(r,this.parseParenItem);return i}parseIdentifier(t){let r=this.startNode(),n=this.parseIdentifierName(t);return this.createIdentifier(r,n)}createIdentifier(t,r){return t.name=r,t.loc.identifierName=r,this.finishNode(t,"Identifier")}parseIdentifierName(t){let r,{startLoc:n,type:i}=this.state;Ur(i)?r=this.state.value:this.unexpected();let s=Bse(i);return t?s&&this.replaceToken(130):this.checkReservedWord(r,n,s,!1),this.next(),r}checkReservedWord(t,r,n,i){if(t.length>10||!eae(t))return;if(n&&Jse(t)){this.raise(k.UnexpectedKeyword,{at:r,keyword:t});return}if((this.state.strict?i?uA:oA:aA)(t,this.inModule)){this.raise(k.UnexpectedReservedWord,{at:r,reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(k.YieldBindingIdentifier,{at:r});return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(k.AwaitBindingIdentifier,{at:r});return}if(this.scope.inStaticBlock){this.raise(k.AwaitBindingIdentifierInStaticBlock,{at:r});return}this.expressionScope.recordAsyncArrowParametersError({at:r})}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(k.ArgumentsInClass,{at:r});return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(t){let r=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(k.AwaitExpressionFormalParameter,{at:r}),this.eat(55)&&this.raise(k.ObsoleteAwaitStar,{at:r}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Uu(t)||t===101&&!this.state.containsEsc||t===135||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(k.YieldInParameter,{at:t}),this.next();let r=!1,n=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!r)break;default:n=this.parseMaybeAssign()}return t.delegate=r,t.argument=n,this.finishNode(t,"YieldExpression")}checkPipelineAtInfixOperator(t,r){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(k.PipelineHeadSequenceExpression,{at:r})}parseSmartPipelineBodyInStyle(t,r){if(this.isSimpleReference(t)){let n=this.startNodeAt(r);return n.callee=t,this.finishNode(n,"PipelineBareFunction")}else{let n=this.startNodeAt(r);return this.checkSmartPipeTopicBodyEarlyErrors(r),n.expression=t,this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(k.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(k.PipelineTopicUnused,{at:t})}withTopicBindingContext(t){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=r}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=r}}else return t()}withSoloAwaitPermittingContext(t){let r=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=r}}allowInAnd(t){let r=this.prodParam.currentFlags();if(Cs&~r){this.prodParam.enter(r|Cs);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let r=this.prodParam.currentFlags();if(Cs&r){this.prodParam.enter(r&~Cs);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,t);return this.state.inFSharpPipelineDirectBody=n,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let r=this.startNodeAt(this.state.endLoc);this.next();let n=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(r,8,"module")}finally{n()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}},cy={kind:"loop"},Hae={kind:"switch"},Yae=/[\uD800-\uDFFF]/u,fy=/in(?:stanceof)?/y;function Xae(e,t){for(let r=0;r<e.length;r++){let n=e[r],{type:i}=n;if(typeof i=="number"){{if(i===136){let{loc:s,start:a,value:o,end:l}=n,u=a+1,c=tr(s.start,1);e.splice(r,1,new Zr({type:gn(27),value:"#",start:a,end:u,startLoc:s.start,endLoc:c}),new Zr({type:gn(130),value:o,start:u,end:l,startLoc:c,endLoc:s.end})),r++;continue}if(Uu(i)){let{loc:s,start:a,value:o,end:l}=n,u=a+1,c=tr(s.start,1),f;t.charCodeAt(a)===96?f=new Zr({type:gn(22),value:"`",start:a,end:u,startLoc:s.start,endLoc:c}):f=new Zr({type:gn(8),value:"}",start:a,end:u,startLoc:s.start,endLoc:c});let d,m,S,p;i===24?(m=l-1,S=tr(s.end,-1),d=o===null?null:o.slice(1,-1),p=new Zr({type:gn(22),value:"`",start:m,end:l,startLoc:S,endLoc:s.end})):(m=l-2,S=tr(s.end,-2),d=o===null?null:o.slice(1,-2),p=new Zr({type:gn(23),value:"${",start:m,end:l,startLoc:S,endLoc:s.end})),e.splice(r,1,f,new Zr({type:gn(20),value:d,start:u,end:m,startLoc:c,endLoc:S}),p),r+=2;continue}}n.type=gn(i)}}return e}var jy=class extends By{parseTopLevel(t,r){return t.program=this.parseProgram(r),t.comments=this.state.comments,this.options.tokens&&(t.tokens=Xae(this.tokens,this.input)),this.finishNode(t,"File")}parseProgram(t,r=137,n=this.options.sourceType){if(t.sourceType=n,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[s,a]of Array.from(this.scope.undefinedExports))this.raise(k.ModuleExportUndefined,{at:a,localName:s});let i;return r===137?i=this.finishNode(t,"Program"):i=this.finishNodeAt(t,"Program",tr(this.state.startLoc,-1)),i}stmtToDirective(t){let r=t;r.type="Directive",r.value=r.expression,delete r.expression;let n=r.value,i=n.value,s=this.input.slice(n.start,n.end),a=n.value=s.slice(1,-1);return this.addExtra(n,"raw",s),this.addExtra(n,"rawValue",a),this.addExtra(n,"expressionValue",i),n.type="DirectiveLiteral",r}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,r){if(En(t)){if(fy.lastIndex=r,fy.test(this.input)){let n=this.codePointAtPos(fy.lastIndex);if(!_s(n)&&n!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),r=this.codePointAtPos(t);return this.chStartsBindingPattern(r)||this.chStartsBindingIdentifier(r,t)}hasInLineFollowingBindingIdentifier(){let t=this.nextTokenInLineStart(),r=this.codePointAtPos(t);return this.chStartsBindingIdentifier(r,t)}startsUsingForOf(){let{type:t,containsEsc:r}=this.lookahead();if(t===101&&!r)return!1;if(Je(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let r=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(r,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let r=0;return this.options.annexB&&!this.state.strict&&(r|=4,t&&(r|=8)),this.parseStatementLike(r)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let r=null;return this.match(26)&&(r=this.parseDecorators(!0)),this.parseStatementContent(t,r)}parseStatementContent(t,r){let n=this.state.type,i=this.startNode(),s=!!(t&2),a=!!(t&4),o=t&1;switch(n){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?k.StrictFunction:this.options.annexB?k.SloppyFunctionAnnexB:k.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(i,!1,!s&&a);case 80:return s||this.unexpected(),this.parseClass(this.maybeTakeDecorators(r,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?s||this.raise(k.UnexpectedLexicalDeclaration,{at:i}):this.raise(k.AwaitUsingNotInAsyncContext,{at:i}),this.next(),this.parseVarStatement(i,"await using");break;case 105:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(k.UnexpectedUsingDeclaration,{at:this.state.startLoc}):s||this.raise(k.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,"using");case 99:{if(this.state.containsEsc)break;let c=this.nextTokenStart(),f=this.codePointAtPos(c);if(f!==91&&(!s&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(f,c)&&f!==123))break}case 75:s||this.raise(k.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let c=this.state.value;return this.parseVarStatement(i,c)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let c=this.lookaheadCharCode();if(c===40||c===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(k.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let c;return n===83?(c=this.parseImport(i),c.type==="ImportDeclaration"&&(!c.importKind||c.importKind==="value")&&(this.sawUnambiguousESM=!0)):(c=this.parseExport(i,r),(c.type==="ExportNamedDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportAllDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(c),c}default:if(this.isAsyncFunction())return s||this.raise(k.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!s&&a)}let l=this.state.value,u=this.parseExpression();return Je(n)&&u.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(i,l,u,t):this.parseExpressionStatement(i,u,r)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(k.ImportOutsideModule,{at:t})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,r,n){return t&&(r.decorators&&r.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(k.DecoratorsBeforeAfterExport,{at:r.decorators[0]}),r.decorators.unshift(...t)):r.decorators=t,this.resetStartLocationFromNode(r,t[0]),n&&this.resetStartLocationFromNode(n,r)),r}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let r=[];do r.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(k.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(k.UnexpectedLeadingDecorator,{at:this.state.startLoc});return r}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let r=this.state.startLoc,n;if(this.match(10)){let i=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(i,n);let s=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(n),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==n&&this.raise(k.DecoratorArgumentsOutsideParentheses,{at:s})}else{for(n=this.parseIdentifier(!1);this.eat(16);){let i=this.startNodeAt(r);i.object=n,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),i.computed=!1,n=this.finishNode(i,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(n)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){let r=this.startNodeAtNode(t);return r.callee=t,r.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(r.arguments),this.finishNode(r,"CallExpression")}return t}parseBreakContinueStatement(t,r){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,r),this.finishNode(t,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,r){let n;for(n=0;n<this.state.labels.length;++n){let i=this.state.labels[n];if((t.label==null||i.name===t.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||t.label&&r))break}if(n===this.state.labels.length){let i=r?"BreakStatement":"ContinueStatement";this.raise(k.IllegalBreakContinue,{at:t,type:i})}}parseDebuggerStatement(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let t=this.parseExpression();return this.expect(11),t}parseDoWhileStatement(t){return this.next(),this.state.labels.push(cy),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(cy);let r=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(r=this.state.lastTokStartLoc),this.scope.enter(ws),this.expect(10),this.match(13))return r!==null&&this.unexpected(r),this.parseFor(t,null);let n=this.isContextual(99);{let l=this.isContextual(96)&&this.startsAwaitUsing(),u=l||this.isContextual(105)&&this.startsUsingForOf(),c=n&&this.hasFollowingBindingAtom()||u;if(this.match(74)||this.match(75)||c){let f=this.startNode(),d;l?(d="await using",this.isAwaitAllowed()||this.raise(k.AwaitUsingNotInAsyncContext,{at:this.state.startLoc}),this.next()):d=this.state.value,this.next(),this.parseVar(f,!0,d);let m=this.finishNode(f,"VariableDeclaration"),S=this.match(58);return S&&u&&this.raise(k.ForInUsing,{at:m}),(S||this.isContextual(101))&&m.declarations.length===1?this.parseForIn(t,m,r):(r!==null&&this.unexpected(r),this.parseFor(t,m))}}let i=this.isContextual(95),s=new Fs,a=this.parseExpression(!0,s),o=this.isContextual(101);if(o&&(n&&this.raise(k.ForOfLet,{at:a}),r===null&&i&&a.type==="Identifier"&&this.raise(k.ForOfAsync,{at:a})),o||this.match(58)){this.checkDestructuringPrivate(s),this.toAssignable(a,!0);let l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:l}}),this.parseForIn(t,a,r)}else this.checkExpressionErrors(s,!0);return r!==null&&this.unexpected(r),this.parseFor(t,a)}parseFunctionStatement(t,r,n){return this.next(),this.parseFunction(t,1|(n?2:0)|(r?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(k.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let r=t.cases=[];this.expect(5),this.state.labels.push(Hae),this.scope.enter(ws);let n;for(let i;!this.match(8);)if(this.match(61)||this.match(65)){let s=this.match(61);n&&this.finishNode(n,"SwitchCase"),r.push(n=this.startNode()),n.consequent=[],this.next(),s?n.test=this.parseExpression():(i&&this.raise(k.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),i=!0,n.test=null),this.expect(14)}else n?n.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),n&&this.finishNode(n,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(k.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?cA:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:tae}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let r=this.startNode();this.next(),this.match(10)?(this.expect(10),r.param=this.parseCatchClauseParam(),this.expect(11)):(r.param=null,this.scope.enter(ws)),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(r,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(k.NoCatchOrFinally,{at:t}),this.finishNode(t,"TryStatement")}parseVarStatement(t,r,n=!1){return this.next(),this.parseVar(t,!1,r,n),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(cy),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(k.StrictWith,{at:this.state.startLoc}),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,r,n,i){for(let a of this.state.labels)a.name===r&&this.raise(k.LabelRedeclaration,{at:n,labelName:r});let s=Mse(this.state.type)?"loop":this.match(71)?"switch":null;for(let a=this.state.labels.length-1;a>=0;a--){let o=this.state.labels[a];if(o.statementStart===t.start)o.statementStart=this.state.start,o.kind=s;else break}return this.state.labels.push({name:r,kind:s,statementStart:this.state.start}),t.body=i&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=n,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,r,n){return t.expression=r,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,r=!0,n){let i=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),r&&this.scope.enter(ws),this.parseBlockBody(i,t,!1,8,n),r&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,r,n,i,s){let a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,r?o:void 0,n,i,s)}parseBlockOrModuleBlockBody(t,r,n,i,s){let a=this.state.strict,o=!1,l=!1;for(;!this.match(i);){let u=n?this.parseModuleItem():this.parseStatementListItem();if(r&&!l){if(this.isValidDirective(u)){let c=this.stmtToDirective(u);r.push(c),!o&&c.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}t.push(u)}s==null||s.call(this,o),a||this.setStrict(!1),this.next()}parseFor(t,r){return t.init=r,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,r,n){let i=this.match(58);return this.next(),i?n!==null&&this.unexpected(n):t.await=n!==null,r.type==="VariableDeclaration"&&r.declarations[0].init!=null&&(!i||!this.options.annexB||this.state.strict||r.kind!=="var"||r.declarations[0].id.type!=="Identifier")&&this.raise(k.ForInOfLoopInitializer,{at:r,type:i?"ForInStatement":"ForOfStatement"}),r.type==="AssignmentPattern"&&this.raise(k.InvalidLhs,{at:r,ancestor:{type:"ForStatement"}}),t.left=r,t.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")}parseVar(t,r,n,i=!1){let s=t.declarations=[];for(t.kind=n;;){let a=this.startNode();if(this.parseVarId(a,n),a.init=this.eat(29)?r?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!i&&(a.id.type!=="Identifier"&&!(r&&(this.match(58)||this.isContextual(101)))?this.raise(k.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):n==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(k.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),s.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,r){let n=this.parseBindingAtom();this.checkLVal(n,{in:{type:"VariableDeclarator"},binding:r==="var"?Wu:Ns}),t.id=n}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,r=0){let n=r&2,i=!!(r&1),s=i&&!(r&4),a=!!(r&8);this.initFunction(t,a),this.match(55)&&(n&&this.raise(k.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),t.generator=!0),i&&(t.id=this.parseFunctionId(s));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Tn),this.prodParam.enter(Mu(a,t.generator)),i||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,i?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),i&&!n&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||Je(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,r){this.expect(10),this.expressionScope.enter(Tae()),t.params=this.parseBindingList(11,41,2|(r?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?Wu:Ns:mA,t.id.loc.start)}parseClass(t,r,n){this.next();let i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,r,n),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,r?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(t){return!t.computed&&!t.static&&(t.key.name==="constructor"||t.key.value==="constructor")}parseClassBody(t,r){this.classScope.enter();let n={hadConstructor:!1,hadSuperClass:t},i=[],s=this.startNode();if(s.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(k.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){i.push(this.parseDecorator());continue}let a=this.startNode();i.length&&(a.decorators=i,this.resetStartLocationFromNode(a,i[0]),i=[]),this.parseClassMember(s,a,n),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(k.DecoratorConstructor,{at:a})}}),this.state.strict=r,this.next(),i.length)throw this.raise(k.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(t,r){let n=this.parseIdentifier(!0);if(this.isClassMethod()){let i=r;return i.kind="method",i.computed=!1,i.key=n,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let i=r;return i.computed=!1,i.key=n,i.static=!1,t.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(t,r,n){let i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(t,r))return;if(this.eat(5)){this.parseClassStaticBlock(t,r);return}}this.parseClassMemberWithIsStatic(t,r,n,i)}parseClassMemberWithIsStatic(t,r,n,i){let s=r,a=r,o=r,l=r,u=r,c=s,f=s;if(r.static=i,this.parsePropertyNamePrefixOperator(r),this.eat(55)){c.kind="method";let E=this.match(136);if(this.parseClassElementName(c),E){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(s)&&this.raise(k.ConstructorIsGenerator,{at:s.key}),this.pushClassMethod(t,s,!0,!1,!1,!1);return}let d=Je(this.state.type)&&!this.state.containsEsc,m=this.match(136),S=this.parseClassElementName(r),p=this.state.startLoc;if(this.parsePostMemberNameModifiers(f),this.isClassMethod()){if(c.kind="method",m){this.pushClassPrivateMethod(t,a,!1,!1);return}let E=this.isNonstaticConstructor(s),b=!1;E&&(s.kind="constructor",n.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(k.DuplicateConstructor,{at:S}),E&&this.hasPlugin("typescript")&&r.override&&this.raise(k.OverrideOnConstructor,{at:S}),n.hadConstructor=!0,b=n.hadSuperClass),this.pushClassMethod(t,s,!1,!1,E,b)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(d&&S.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(S);let E=this.eat(55);f.optional&&this.unexpected(p),c.kind="method";let b=this.match(136);this.parseClassElementName(c),this.parsePostMemberNameModifiers(f),b?this.pushClassPrivateMethod(t,a,E,!0):(this.isNonstaticConstructor(s)&&this.raise(k.ConstructorIsAsync,{at:s.key}),this.pushClassMethod(t,s,E,!0,!1,!1))}else if(d&&(S.name==="get"||S.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(S),c.kind=S.name;let E=this.match(136);this.parseClassElementName(s),E?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(s)&&this.raise(k.ConstructorIsAccessor,{at:s.key}),this.pushClassMethod(t,s,!1,!1,!1,!1)),this.checkGetterSetterParams(s)}else if(d&&S.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(S);let E=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(t,u,E)}else this.isLineTerminator()?m?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:r,value:n}=this.state;if((r===130||r===131)&&t.static&&n==="prototype"&&this.raise(k.StaticPrototype,{at:this.state.startLoc}),r===136){n==="constructor"&&this.raise(k.ConstructorClassPrivateField,{at:this.state.startLoc});let i=this.parsePrivateName();return t.key=i,i}return this.parsePropertyName(t)}parseClassStaticBlock(t,r){var n;this.scope.enter(Fi|$u|Vu);let i=this.state.labels;this.state.labels=[],this.prodParam.enter(ks);let s=r.body=[];this.parseBlockOrModuleBlockBody(s,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,t.body.push(this.finishNode(r,"StaticBlock")),(n=r.decorators)!=null&&n.length&&this.raise(k.DecoratorStaticBlock,{at:r})}pushClassProperty(t,r){!r.computed&&(r.key.name==="constructor"||r.key.value==="constructor")&&this.raise(k.ConstructorClassField,{at:r.key}),t.body.push(this.parseClassProperty(r))}pushClassPrivateProperty(t,r){let n=this.parseClassPrivateProperty(r);t.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),ly,n.key.loc.start)}pushClassAccessorProperty(t,r,n){if(!n&&!r.computed){let s=r.key;(s.name==="constructor"||s.value==="constructor")&&this.raise(k.ConstructorClassField,{at:s})}let i=this.parseClassAccessorProperty(r);t.body.push(i),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),ly,i.key.loc.start)}pushClassMethod(t,r,n,i,s,a){t.body.push(this.parseMethod(r,n,i,s,a,"ClassMethod",!0))}pushClassPrivateMethod(t,r,n,i){let s=this.parseMethod(r,n,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(s);let a=s.kind==="get"?s.static?lae:cae:s.kind==="set"?s.static?uae:fae:ly;this.declareClassPrivateMethodInScope(s,a)}declareClassPrivateMethodInScope(t,r){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),r,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(Fi|Vu),this.expressionScope.enter(xA()),this.prodParam.enter(ks),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,r,n,i=hA){if(Je(this.state.type))t.id=this.parseIdentifier(),r&&this.declareNameFromIdentifier(t.id,i);else if(n||!r)t.id=null;else throw this.raise(k.MissingClassName,{at:this.state.startLoc})}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,r){let n=this.parseMaybeImportPhase(t,!0),i=this.maybeParseExportDefaultSpecifier(t,n),s=!i||this.eat(12),a=s&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=s&&(!o||this.eat(12)),u=i||a;if(a&&!o){if(i&&this.unexpected(),r)throw this.raise(k.UnsupportedDecoratorExport,{at:t});return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}let c=this.maybeParseExportNamedSpecifiers(t);i&&s&&!a&&!c&&this.unexpected(null,5),o&&l&&this.unexpected(null,97);let f;if(u||c){if(f=!1,r)throw this.raise(k.UnsupportedDecoratorExport,{at:t});this.parseExportFrom(t,u)}else f=this.maybeParseExportDeclaration(t);if(u||c||f){var d;let m=t;if(this.checkExport(m,!0,!1,!!m.source),((d=m.declaration)==null?void 0:d.type)==="ClassDeclaration")this.maybeTakeDecorators(r,m.declaration,m);else if(r)throw this.raise(k.UnsupportedDecoratorExport,{at:t});return this.finishNode(m,"ExportNamedDeclaration")}if(this.eat(65)){let m=t,S=this.parseExportDefaultExpression();if(m.declaration=S,S.type==="ClassDeclaration")this.maybeTakeDecorators(r,S,m);else if(r)throw this.raise(k.UnsupportedDecoratorExport,{at:t});return this.checkExport(m,!0,!0),this.finishNode(m,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,r){if(r||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",r==null?void 0:r.loc.start);let n=r||this.parseIdentifier(!0),i=this.startNodeAtNode(n);return i.exported=n,t.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){t.specifiers||(t.specifiers=[]);let r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){t.specifiers||(t.specifiers=[]);let r=t.exportKind==="type";return t.specifiers.push(...this.parseExportSpecifiers(r)),t.source=null,t.declaration=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(k.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(k.UnsupportedDefaultExport,{at:this.state.startLoc});let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(Je(t)){if(t===95&&!this.state.containsEsc||t===99)return!1;if((t===128||t===127)&&!this.state.containsEsc){let{type:i}=this.lookahead();if(Je(i)&&i!==97||i===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let r=this.nextTokenStart(),n=this.isUnparsedContextual(r,"from");if(this.input.charCodeAt(r)===44||Je(this.state.type)&&n)return!0;if(this.match(65)&&n){let i=this.input.charCodeAt(this.nextTokenStartSince(r+4));return i===34||i===39}return!1}parseExportFrom(t,r){this.eatContextual(97)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):r&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(k.DecoratorBeforeExport,{at:this.state.startLoc}),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,r,n,i){if(r){if(n){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var s;let a=t.declaration;a.type==="Identifier"&&a.name==="from"&&a.end-a.start===4&&!((s=a.extra)!=null&&s.parenthesized)&&this.raise(k.ExportDefaultFromAsIdentifier,{at:a})}}else if(t.specifiers&&t.specifiers.length)for(let a of t.specifiers){let{exported:o}=a,l=o.type==="Identifier"?o.name:o.value;if(this.checkDuplicateExports(a,l),!i&&a.local){let{local:u}=a;u.type!=="Identifier"?this.raise(k.ExportBindingIsString,{at:a,localName:u.value,exportName:l}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(t.declaration){if(t.declaration.type==="FunctionDeclaration"||t.declaration.type==="ClassDeclaration"){let a=t.declaration.id;if(!a)throw new Error("Assertion failure");this.checkDuplicateExports(t,a.name)}else if(t.declaration.type==="VariableDeclaration")for(let a of t.declaration.declarations)this.checkDeclaration(a.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let r of t.properties)this.checkDeclaration(r);else if(t.type==="ArrayPattern")for(let r of t.elements)r&&this.checkDeclaration(r);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,r){this.exportedIdentifiers.has(r)&&(r==="default"?this.raise(k.DuplicateDefaultExport,{at:t}):this.raise(k.DuplicateExport,{at:t,exportName:r})),this.exportedIdentifiers.add(r)}parseExportSpecifiers(t){let r=[],n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;let i=this.isContextual(128),s=this.match(131),a=this.startNode();a.local=this.parseModuleExportName(),r.push(this.parseExportSpecifier(a,s,t,i))}return r}parseExportSpecifier(t,r,n,i){return this.eatContextual(93)?t.exported=this.parseModuleExportName():r?t.exported=Aae(t.local):t.exported||(t.exported=Sn(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let t=this.parseStringLiteral(this.state.value),r=t.value.match(Yae);return r&&this.raise(k.ModuleExportNameHasLoneSurrogate,{at:t,surrogateCharCode:r[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:r,value:n})=>n.value==="json"&&(r.type==="Identifier"?r.name==="type":r.value==="type")):!1}checkImportReflection(t){if(t.module){var r;(t.specifiers.length!==1||t.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(k.ImportReflectionNotBinding,{at:t.specifiers[0].loc.start}),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(k.ImportReflectionHasAssertion,{at:t.specifiers[0].loc.start})}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:r}=t;if(r!=null){let n=r.find(i=>{let s;if(i.type==="ExportSpecifier"?s=i.local:i.type==="ImportSpecifier"&&(s=i.imported),s!==void 0)return s.type==="Identifier"?s.name!=="default":s.value!=="default"});n!==void 0&&this.raise(k.ImportJSONBindingNotDefault,{at:n.loc.start})}}}isPotentialImportPhase(t){return!t&&this.isContextual(125)}applyImportPhase(t,r,n,i){r||(n==="module"?(this.expectPlugin("importReflection",i),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1))}parseMaybeImportPhase(t,r){if(!this.isPotentialImportPhase(r))return this.applyImportPhase(t,r,null),null;let n=this.parseIdentifier(!0),{type:i}=this.state;return(Ur(i)?i!==97||this.lookaheadCharCode()===102:i!==12)?(this.resetPreviousIdentifierLeadingComments(n),this.applyImportPhase(t,r,n.name,n.loc.start),null):(this.applyImportPhase(t,r,null),n)}isPrecedingIdImportPhase(t){let{type:r}=this.state;return Je(r)?r!==97||this.lookaheadCharCode()===102:r!==12}parseImport(t){return this.match(131)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,r){t.specifiers=[];let i=!this.maybeParseDefaultImportSpecifier(t,r)||this.eat(12),s=i&&this.maybeParseStarImportSpecifier(t);return i&&!s&&this.parseNamedImportSpecifiers(t),this.expectContextual(97),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var r;return(r=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,r,n){r.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(r,n))}finishImportSpecifier(t,r,n=Ns){return this.checkLVal(t.local,{in:{type:r},binding:n}),this.finishNode(t,r)}parseImportAttributes(){this.expect(5);let t=[],r=new Set;do{if(this.match(8))break;let n=this.startNode(),i=this.state.value;if(r.has(i)&&this.raise(k.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i}),r.add(i),this.match(131)?n.key=this.parseStringLiteral(i):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(k.ModuleAttributeInvalidValue,{at:this.state.startLoc});n.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],r=new Set;do{let n=this.startNode();if(n.key=this.parseIdentifier(!0),n.key.name!=="type"&&this.raise(k.ModuleAttributeDifferentFromType,{at:n.key}),r.has(n.key.name)&&this.raise(k.ModuleAttributesWithDuplicateKeys,{at:n.key,key:n.key.name}),r.add(n.key.name),this.expect(14),!this.match(131))throw this.raise(k.ModuleAttributeInvalidValue,{at:this.state.startLoc});n.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let r,n=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?r=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),r=this.parseImportAttributes()),n=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(k.ImportAttributesUseAssert,{at:this.state.startLoc}),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),r=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))r=[];else if(this.hasPlugin("moduleAttributes"))r=[];else return;!n&&this.hasPlugin("importAssertions")?t.assertions=r:t.attributes=r}maybeParseDefaultImportSpecifier(t,r){if(r){let n=this.startNodeAtNode(r);return n.local=r,t.specifiers.push(this.finishImportSpecifier(n,"ImportDefaultSpecifier")),!0}else if(Ur(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let r=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,r,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else{if(this.eat(14))throw this.raise(k.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let n=this.startNode(),i=this.match(131),s=this.isContextual(128);n.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(n,i,t.importKind==="type"||t.importKind==="typeof",s,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,r,n,i,s){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:a}=t;if(r)throw this.raise(k.ImportBindingIsString,{at:t,importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=Sn(a))}return this.finishImportSpecifier(t,"ImportSpecifier",s)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},Hu=class extends jy{constructor(t,r){t=Gae(t),super(t,r),this.options=t,this.initializeScopes(),this.plugins=Jae(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return co}parse(){this.enterInitialScopes();let t=this.startNode(),r=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,r),t.errors=this.state.errors,t}};function Jae(e){let t=new Map;for(let r of e){let[n,i]=Array.isArray(r)?r:[r,{}];t.has(n)||t.set(n,i||{})}return t}function Qae(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let n=so(t,e),i=n.parse();if(n.sawUnambiguousESM)return i;if(n.ambiguousScriptDifferentAst)try{return t.sourceType="script",so(t,e).parse()}catch{}else i.program.sourceType="script";return i}catch(n){try{return t.sourceType="script",so(t,e).parse()}catch{}throw n}}else return so(t,e).parse()}function Zae(e,t){let r=so(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function eoe(e){let t={};for(let r of Object.keys(e))t[r]=gn(e[r]);return t}var toe=eoe(Fse);function so(e,t){let r=Hu;return e!=null&&e.plugins&&(Wae(e.plugins),r=roe(e.plugins)),new r(e,t)}var rA={};function roe(e){let t=zae.filter(i=>Ot(e,i)),r=t.join("/"),n=rA[r];if(!n){n=Hu;for(let i of t)n=IA[i](n);rA[r]=n}return n}po.parse=Qae;po.parseExpression=Zae;po.tokTypes=toe});var _A=g(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.default=loe;var noe=ye(),{assignmentExpression:ioe,expressionStatement:soe,identifier:aoe}=noe,ooe={Scope(e,t){t.kind==="let"&&e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;let r=[],n=e.get("declarations"),i;for(let s of n){i=s.node.id,s.node.init&&r.push(soe(ioe("=",s.node.id,s.node.init)));for(let a of Object.keys(s.getBindingIdentifiers()))t.emit(aoe(a),a,s.node.init!==null)}e.parentPath.isFor({left:e.node})?e.replaceWith(i):e.replaceWithMultiple(r)}};function loe(e,t,r="var"){e.traverse(ooe,{kind:r,emit:t})}});var jA=g(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti._replaceWith=koe;ti.replaceExpressionWithStatements=Foe;ti.replaceInline=Boe;ti.replaceWith=Noe;ti.replaceWithMultiple=_oe;ti.replaceWithSourceString=Ooe;var uoe=As(),Zy=yr(),coe=ri(),BA=Ai(),foe=Ms(),poe=ye(),doe=_A(),{FUNCTION_TYPES:OA,arrowFunctionExpression:hoe,assignmentExpression:moe,awaitExpression:yoe,blockStatement:goe,callExpression:boe,cloneNode:NA,expressionStatement:Eoe,identifier:voe,inheritLeadingComments:Toe,inheritTrailingComments:Soe,inheritsComments:xoe,isExpression:Poe,isProgram:Aoe,isStatement:Coe,removeComments:woe,returnStatement:kA,toSequenceExpression:Doe,validate:FA,yieldExpression:Ioe}=poe;function _oe(e){var t;this.resync(),e=this._verifyNodeList(e),Toe(e[0],this.node),Soe(e[e.length-1],this.node),(t=BA.path.get(this.parent))==null||t.delete(this.node),this.node=this.container[this.key]=null;let r=this.insertAfter(e);return this.node?this.requeue():this.remove(),r}function Ooe(e){this.resync();let t;try{e=`(${e})`,t=(0,foe.parse)(e)}catch(n){let i=n.loc;throw i&&(n.message+=` - make sure this is an expression.
`+(0,uoe.codeFrameColumns)(e,{start:{line:i.line,column:i.column+1}}),n.code="BABEL_REPLACE_SOURCE_ERROR"),n}let r=t.program.body[0].expression;return Zy.default.removeProperties(r),this.replaceWith(r)}function Noe(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof coe.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!Aoe(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof t=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let r="";if(this.isNodeType("Statement")&&Poe(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()&&(t=Eoe(t),r="expression"),this.isNodeType("Expression")&&Coe(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);let n=this.node;return n&&(xoe(t,n),woe(n)),this._replaceWith(t),this.type=t.type,this.setScope(),this.requeue(),[r?this.get(r):this]}function koe(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?FA(this.parent,this.key,[e]):FA(this.parent,this.key,e),this.debug(`Replace with ${e==null?void 0:e.type}`),(t=BA.path.get(this.parent))==null||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function Foe(e){this.resync();let t=Doe(e,this.scope);if(t)return this.replaceWith(t)[0].get("expressions");let r=this.getFunctionParent(),n=r==null?void 0:r.is("async"),i=r==null?void 0:r.is("generator"),s=hoe([],goe(e));this.replaceWith(boe(s,[]));let a=this.get("callee");(0,doe.default)(a.get("body"),f=>{this.scope.push({id:f})},"var");let o=this.get("callee").getCompletionRecords();for(let f of o){if(!f.isExpressionStatement())continue;let d=f.findParent(m=>m.isLoop());if(d){let m=d.getData("expressionReplacementReturnUid");m?m=voe(m.name):(m=a.scope.generateDeclaredUidIdentifier("ret"),a.get("body").pushContainer("body",kA(NA(m))),d.setData("expressionReplacementReturnUid",m)),f.get("expression").replaceWith(moe("=",NA(m),f.node.expression))}else f.replaceWith(kA(f.node.expression))}a.arrowFunctionToExpression();let l=a,u=n&&Zy.default.hasType(this.get("callee.body").node,"AwaitExpression",OA),c=i&&Zy.default.hasType(this.get("callee.body").node,"YieldExpression",OA);return u&&(l.set("async",!0),c||this.replaceWith(yoe(this.node))),c&&(l.set("generator",!0),this.replaceWith(Ioe(this.node,!0))),l.get("body.body")}function Boe(e){if(this.resync(),Array.isArray(e))if(Array.isArray(this.container)){e=this._verifyNodeList(e);let t=this._containerInsertAfter(e);return this.remove(),t}else return this.replaceWithMultiple(e);else return this.replaceWith(e)}});var qA=g(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.evaluate=Uoe;Ju.evaluateTruthy=Roe;var joe=["String","Number","Math"],Loe=["random"];function LA(e){return joe.includes(e)}function Moe(e){return Loe.includes(e)}function Roe(){let e=this.evaluate();if(e.confident)return!!e.value}function xn(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}var MA=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function rr(e,t){let{node:r}=e,{seen:n}=t;if(n.has(r)){let i=n.get(r);if(i.resolved)return i.value;xn(e,t);return}else{let i={resolved:!1};n.set(r,i);let s=qoe(e,t);return t.confident&&(i.resolved=!0,i.value=s),s}}function qoe(e,t){if(t.confident){if(e.isSequenceExpression()){let r=e.get("expressions");return rr(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return RA(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){let r=e.get("tag.object"),{node:{name:n}}=r,i=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&i.isIdentifier()&&i.node.name==="raw")return RA(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){let r=rr(e.get("test"),t);return t.confident?rr(r?e.get("consequent"):e.get("alternate"),t):void 0}if(e.isExpressionWrapper())return rr(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){let r=e.get("property"),n=e.get("object");if(n.isLiteral()){let i=n.node.value,s=typeof i,a=null;if(e.node.computed){if(a=rr(r,t),!t.confident)return}else r.isIdentifier()&&(a=r.node.name);if((s==="number"||s==="string")&&a!=null&&(typeof a=="number"||typeof a=="string"))return i[a]}}if(e.isReferencedIdentifier()){let r=e.scope.getBinding(e.node.name);if(r){if(r.constantViolations.length>0||e.node.start<r.path.node.end){xn(r.path,t);return}if(r.hasValue)return r.value}let n=e.node.name;if(MA.has(n)){if(!r)return MA.get(n);xn(r.path,t);return}let i=e.resolve();if(i===e){xn(e,t);return}else return rr(i,t)}if(e.isUnaryExpression({prefix:!0})){if(e.node.operator==="void")return;let r=e.get("argument");if(e.node.operator==="typeof"&&(r.isFunction()||r.isClass()))return"function";let n=rr(r,t);if(!t.confident)return;switch(e.node.operator){case"!":return!n;case"+":return+n;case"-":return-n;case"~":return~n;case"typeof":return typeof n}}if(e.isArrayExpression()){let r=[],n=e.get("elements");for(let i of n){let s=i.evaluate();if(s.confident)r.push(s.value);else{xn(s.deopt,t);return}}return r}if(e.isObjectExpression()){let r={},n=e.get("properties");for(let i of n){if(i.isObjectMethod()||i.isSpreadElement()){xn(i,t);return}let s=i.get("key"),a;if(i.node.computed){if(a=s.evaluate(),!a.confident){xn(a.deopt,t);return}a=a.value}else s.isIdentifier()?a=s.node.name:a=s.node.value;let l=i.get("value").evaluate();if(!l.confident){xn(l.deopt,t);return}l=l.value,r[a]=l}return r}if(e.isLogicalExpression()){let r=t.confident,n=rr(e.get("left"),t),i=t.confident;t.confident=r;let s=rr(e.get("right"),t),a=t.confident;switch(e.node.operator){case"||":return t.confident=i&&(!!n||a),t.confident?n||s:void 0;case"&&":return t.confident=i&&(!n||a),t.confident?n&&s:void 0;case"??":return t.confident=i&&(n!=null||a),t.confident?n!=null?n:s:void 0}}if(e.isBinaryExpression()){let r=rr(e.get("left"),t);if(!t.confident)return;let n=rr(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return r-n;case"+":return r+n;case"/":return r/n;case"*":return r*n;case"%":return r%n;case"**":return Math.pow(r,n);case"<":return r<n;case">":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<<n;case">>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){let r=e.get("callee"),n,i;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&LA(r.node.name)&&(i=global[r.node.name]),r.isMemberExpression()){let s=r.get("object"),a=r.get("property");if(s.isIdentifier()&&a.isIdentifier()&&LA(s.node.name)&&!Moe(a.node.name)&&(n=global[s.node.name],i=n[a.node.name]),s.isLiteral()&&a.isIdentifier()){let o=typeof s.node.value;(o==="string"||o==="number")&&(n=s.node.value,i=n[a.node.name])}}if(i){let s=e.get("arguments").map(a=>rr(a,t));return t.confident?i.apply(n,s):void 0}}xn(e,t)}}function RA(e,t,r,n=!1){let i="",s=0,a=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(let o of t){if(!r.confident)break;i+=n?o.value.raw:o.value.cooked;let l=a[s++];l&&(i+=String(rr(l,r)))}if(r.confident)return i}function Uoe(){let e={confident:!0,deoptPath:null,seen:new Map},t=rr(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}}});var VA=g(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.statements=Cr.statement=Cr.smart=Cr.program=Cr.expression=void 0;var Voe=ye(),{assertExpressionStatement:$oe}=Voe;function e0(e){return{code:t=>`/* @babel/template */;
${t}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}var Koe=e0(e=>e.length>1?e:e[0]);Cr.smart=Koe;var Woe=e0(e=>e);Cr.statements=Woe;var zoe=e0(e=>{if(e.length===0)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]});Cr.statement=zoe;var UA={code:e=>`(
${e}
)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(UA.unwrap(e).start===0)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{let[t]=e.body;return $oe(t),t.expression}};Cr.expression=UA;var Goe={code:e=>e,validate:()=>{},unwrap:e=>e.program};Cr.program=Goe});var Qu=g(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.merge=Xoe;ho.normalizeReplacements=Qoe;ho.validate=Joe;var Hoe=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function Yoe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,s;for(s=0;s<n.length;s++)i=n[s],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Xoe(e,t){let{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:s=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:s}}function Joe(e){if(e!=null&&typeof e!="object")throw new Error("Unknown template options.");let t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:s}=t,a=Yoe(t,Hoe);if(r!=null&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(n!=null&&!(n instanceof RegExp)&&n!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(i!=null&&typeof i!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(s!=null&&typeof s!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(s===!0&&(r!=null||n!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:a,placeholderWhitelist:r||void 0,placeholderPattern:n==null?void 0:n,preserveComments:i==null?void 0:i,syntacticPlaceholders:s==null?void 0:s}}function Qoe(e){if(Array.isArray(e))return e.reduce((t,r,n)=>(t["$"+n]=r,t),{});if(typeof e=="object"||e==null)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var r0=g(t0=>{"use strict";Object.defineProperty(t0,"__esModule",{value:!0});t0.default=ple;var Zoe=ye(),ele=Ms(),tle=As(),{isCallExpression:rle,isExpressionStatement:nle,isFunction:ile,isIdentifier:sle,isJSXIdentifier:ale,isNewExpression:ole,isPlaceholder:Zu,isStatement:lle,isStringLiteral:$A,removePropertiesDeep:ule,traverse:cle}=Zoe,fle=/^[_$A-Z0-9]+$/;function ple(e,t,r){let{placeholderWhitelist:n,placeholderPattern:i,preserveComments:s,syntacticPlaceholders:a}=r,o=mle(t,r.parser,a);ule(o,{preserveComments:s}),e.validate(o);let l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:i,syntacticPlaceholders:a};return cle(o,dle,l),Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function dle(e,t,r){var n;let i,s=r.syntactic.placeholders.length>0;if(Zu(e)){if(r.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,s=!0}else{if(s||r.syntacticPlaceholders)return;if(sle(e)||ale(e))i=e.name;else if($A(e))i=e.value;else return}if(s&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!s&&(r.placeholderPattern===!1||!(r.placeholderPattern||fle).test(i))&&!((n=r.placeholderWhitelist)!=null&&n.has(i)))return;t=t.slice();let{node:a,key:o}=t[t.length-1],l;$A(e)||Zu(e,{expectedNode:"StringLiteral"})?l="string":ole(a)&&o==="arguments"||rle(a)&&o==="arguments"||ile(a)&&o==="params"?l="param":nle(a)&&!Zu(e)?(l="statement",t=t.slice(0,-1)):lle(e)&&Zu(e)?l="statement":l="other";let{placeholders:u,placeholderNames:c}=s?r.syntactic:r.legacy;u.push({name:i,type:l,resolve:f=>hle(f,t),isDuplicate:c.has(i)}),c.add(i)}function hle(e,t){let r=e;for(let s=0;s<t.length-1;s++){let{key:a,index:o}=t[s];o===void 0?r=r[a]:r=r[a][o]}let{key:n,index:i}=t[t.length-1];return{parent:r,key:n,index:i}}function mle(e,t,r){let n=(t.plugins||[]).slice();r!==!1&&n.push("placeholders"),t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},t,{plugins:n});try{return(0,ele.parse)(e,t)}catch(i){let s=i.loc;throw s&&(i.message+=`
`+(0,tle.codeFrameColumns)(e,{start:s}),i.code="BABEL_TEMPLATE_PARSE_ERROR"),i}}});var a0=g(s0=>{"use strict";Object.defineProperty(s0,"__esModule",{value:!0});s0.default=Tle;var yle=ye(),{blockStatement:gle,cloneNode:i0,emptyStatement:ble,expressionStatement:n0,identifier:ec,isStatement:KA,isStringLiteral:Ele,stringLiteral:vle,validate:WA}=yle;function Tle(e,t){let r=i0(e.ast);return t&&(e.placeholders.forEach(n=>{if(!Object.prototype.hasOwnProperty.call(t,n.name)){let i=n.name;throw new Error(`Error: No substitution given for "${i}". If this is not meant to be a
placeholder you may want to consider passing one of the following options to @babel/template:
- { placeholderPattern: false, placeholderWhitelist: new Set(['${i}'])}
- { placeholderPattern: /^${i}$/ }`)}}),Object.keys(t).forEach(n=>{if(!e.placeholderNames.has(n))throw new Error(`Unknown substitution "${n}" given`)})),e.placeholders.slice().reverse().forEach(n=>{try{Sle(n,r,t&&t[n.name]||null)}catch(i){throw i.message=`@babel/template placeholder "${n.name}": ${i.message}`,i}}),r}function Sle(e,t,r){e.isDuplicate&&(Array.isArray(r)?r=r.map(a=>i0(a)):typeof r=="object"&&(r=i0(r)));let{parent:n,key:i,index:s}=e.resolve(t);if(e.type==="string"){if(typeof r=="string"&&(r=vle(r)),!r||!Ele(r))throw new Error("Expected string substitution")}else if(e.type==="statement")s===void 0?r?Array.isArray(r)?r=gle(r):typeof r=="string"?r=n0(ec(r)):KA(r)||(r=n0(r)):r=ble():r&&!Array.isArray(r)&&(typeof r=="string"&&(r=ec(r)),KA(r)||(r=n0(r)));else if(e.type==="param"){if(typeof r=="string"&&(r=ec(r)),s===void 0)throw new Error("Assertion failure.")}else if(typeof r=="string"&&(r=ec(r)),Array.isArray(r))throw new Error("Cannot replace single expression with an array.");if(s===void 0)WA(n,i,r),n[i]=r;else{let a=n[i].slice();e.type==="statement"||e.type==="param"?r==null?a.splice(s,1):Array.isArray(r)?a.splice(s,1,...r):a[s]=r:a[s]=r,WA(n,i,a),n[i]=a}}});var zA=g(o0=>{"use strict";Object.defineProperty(o0,"__esModule",{value:!0});o0.default=Cle;var xle=Qu(),Ple=r0(),Ale=a0();function Cle(e,t,r){t=e.code(t);let n;return i=>{let s=(0,xle.normalizeReplacements)(i);return n||(n=(0,Ple.default)(e,t,r)),e.unwrap((0,Ale.default)(n,s))}}});var GA=g(l0=>{"use strict";Object.defineProperty(l0,"__esModule",{value:!0});l0.default=_le;var wle=Qu(),Dle=r0(),Ile=a0();function _le(e,t,r){let{metadata:n,names:i}=Ole(e,t,r);return s=>{let a={};return s.forEach((o,l)=>{a[i[l]]=o}),o=>{let l=(0,wle.normalizeReplacements)(o);return l&&Object.keys(l).forEach(u=>{if(Object.prototype.hasOwnProperty.call(a,u))throw new Error("Unexpected replacement overlap.")}),e.unwrap((0,Ile.default)(n,l?Object.assign(l,a):a))}}}function Ole(e,t,r){let n="BABEL_TPL$",i=t.join("");do n="$$"+n;while(i.includes(n));let{names:s,code:a}=Nle(t,n);return{metadata:(0,Dle.default)(e,e.code(a),{parser:r.parser,placeholderWhitelist:new Set(s.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders}),names:s}}function Nle(e,t){let r=[],n=e[0];for(let i=1;i<e.length;i++){let s=`${t}${i-1}`;r.push(s),n+=s+e[i]}return{names:r,code:n}}});var ZA=g(u0=>{"use strict";Object.defineProperty(u0,"__esModule",{value:!0});u0.default=QA;var rn=Qu(),HA=zA(),YA=GA(),XA=(0,rn.validate)({placeholderPattern:!1});function QA(e,t){let r=new WeakMap,n=new WeakMap,i=t||(0,rn.validate)(null);return Object.assign((s,...a)=>{if(typeof s=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return JA((0,HA.default)(e,s,(0,rn.merge)(i,(0,rn.validate)(a[0]))))}else if(Array.isArray(s)){let o=r.get(s);return o||(o=(0,YA.default)(e,s,i),r.set(s,o)),JA(o(a))}else if(typeof s=="object"&&s){if(a.length>0)throw new Error("Unexpected extra params.");return QA(e,(0,rn.merge)(i,(0,rn.validate)(s)))}throw new Error(`Unexpected template param ${typeof s}`)},{ast:(s,...a)=>{if(typeof s=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return(0,HA.default)(e,s,(0,rn.merge)((0,rn.merge)(i,(0,rn.validate)(a[0])),XA))()}else if(Array.isArray(s)){let o=n.get(s);return o||(o=(0,YA.default)(e,s,(0,rn.merge)(i,XA)),n.set(s,o)),o(a)()}throw new Error(`Unexpected template param ${typeof s}`)}})}function JA(e){let t="";try{throw new Error}catch(r){r.stack&&(t=r.stack.split(`
`).slice(3).join(`
`))}return r=>{try{return e(r)}catch(n){throw n.stack+=`
=============
${t}`,n}}}});var nn=g(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});cr.statements=cr.statement=cr.smart=cr.program=cr.expression=cr.default=void 0;var mo=VA(),yo=ZA(),tc=(0,yo.default)(mo.smart);cr.smart=tc;var eC=(0,yo.default)(mo.statement);cr.statement=eC;var tC=(0,yo.default)(mo.statements);cr.statements=tC;var rC=(0,yo.default)(mo.expression);cr.expression=rC;var nC=(0,yo.default)(mo.program);cr.program=nC;var kle=Object.assign(tc.bind(void 0),{smart:tc,statement:eC,statements:tC,expression:rC,program:nC,ast:tc.ast});cr.default=kle});var rc=g(c0=>{"use strict";Object.defineProperty(c0,"__esModule",{value:!0});c0.default=eue;var oC=nn(),Fle=ye(),{NOT_LOCAL_BINDING:iC,cloneNode:Ble,identifier:jle,isAssignmentExpression:Lle,isAssignmentPattern:Mle,isFunction:lC,isIdentifier:sC,isLiteral:aC,isNullLiteral:Rle,isObjectMethod:qle,isObjectProperty:Ule,isRegExpLiteral:Vle,isRestElement:$le,isTemplateLiteral:Kle,isVariableDeclarator:Wle,toBindingIdentifierName:zle}=Fle;function Gle(e){let t=e.params.findIndex(r=>Mle(r)||$le(r));return t===-1?e.params.length:t}var Hle=oC.default.statement(`
(function (FUNCTION_KEY) {
function FUNCTION_ID() {
return FUNCTION_KEY.apply(this, arguments);
}
FUNCTION_ID.toString = function () {
return FUNCTION_KEY.toString();
}
return FUNCTION_ID;
})(FUNCTION)
`),Yle=oC.default.statement(`
(function (FUNCTION_KEY) {
function* FUNCTION_ID() {
return yield* FUNCTION_KEY.apply(this, arguments);
}
FUNCTION_ID.toString = function () {
return FUNCTION_KEY.toString();
};
return FUNCTION_ID;
})(FUNCTION)
`),Xle={"ReferencedIdentifier|BindingIdentifier"(e,t){e.node.name!==t.name||e.scope.getBindingIdentifier(t.name)!==t.outerDeclar||(t.selfReference=!0,e.stop())}};function Jle(e){return Rle(e)?"null":Vle(e)?`_${e.pattern}_${e.flags}`:Kle(e)?e.quasis.map(t=>t.value.raw).join(""):e.value!==void 0?e.value+"":""}function Qle(e,t,r,n){if(e.selfReference)if(n.hasBinding(r.name)&&!n.hasGlobal(r.name))n.rename(r.name);else{if(!lC(t))return;let i=Hle;t.generator&&(i=Yle);let s=i({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:n.generateUidIdentifier(r.name)}).expression,a=s.callee.body.body[0].params;for(let o=0,l=Gle(t);o<l;o++)a.push(n.generateUidIdentifier("x"));return s}t.id=r,n.getProgramParent().references[r.name]=!0}function Zle(e,t,r){let n={selfAssignment:!1,selfReference:!1,outerDeclar:r.getBindingIdentifier(t),name:t},i=r.getOwnBinding(t);return i?i.kind==="param"&&(n.selfReference=!0):(n.outerDeclar||r.hasGlobal(t))&&r.traverse(e,Xle,n),n}function eue({node:e,parent:t,scope:r,id:n},i=!1,s=!1){if(e.id)return;if((Ule(t)||qle(t,{kind:"method"}))&&(!t.computed||aC(t.key)))n=t.key;else if(Wle(t)){if(n=t.id,sC(n)&&!i){let u=r.parent.getBinding(n.name);if(u&&u.constant&&r.getBinding(n.name)===u){e.id=Ble(n),e.id[iC]=!0;return}}}else if(Lle(t,{operator:"="}))n=t.left;else if(!n)return;let a;if(n&&aC(n)?a=Jle(n):n&&sC(n)&&(a=n.name),a===void 0||!s&&lC(e)&&/[\uD800-\uDFFF]/.test(a))return;a=zle(a);let o=jle(a);o[iC]=!0;let l=Zle(e,a,r);return Qle(l,e,o,r)||e}});var dC=g(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.arrowFunctionToExpression=Sue;Mi.ensureBlock=Eue;Mi.toComputedKey=bue;Mi.unwrapFunctionEnvironment=vue;var tue=ye(),d0=wi(),rue=rc(),h0=Va(),{arrowFunctionExpression:m0,assignmentExpression:Li,binaryExpression:f0,blockStatement:nue,callExpression:Rs,conditionalExpression:iue,expressionStatement:uC,identifier:dt,isIdentifier:sue,jsxIdentifier:aue,logicalExpression:oue,LOGICAL_OPERATORS:lue,memberExpression:Vr,metaProperty:uue,numericLiteral:cue,objectExpression:fue,restElement:pue,returnStatement:due,sequenceExpression:hue,spreadElement:mue,stringLiteral:cC,super:p0,thisExpression:go,toExpression:yue,unaryExpression:gue}=tue;function bue(){let e;if(this.isMemberExpression())e=this.node.property;else if(this.isProperty()||this.isMethod())e=this.node.key;else throw new ReferenceError("todo");return this.node.computed||sue(e)&&(e=cC(e.name)),e}function Eue(){let e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;let r=[],n="body",i,s;e.isStatement()?(s="body",i=0,r.push(e.node)):(n+=".body.0",this.isFunction()?(i="argument",r.push(due(e.node))):(i="expression",r.push(uC(e.node)))),this.node.body=nue(r);let a=this.get(n);return e.setup(a,s?a.node[s]:a.node,s,i),this.node}Mi.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};function vue(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");fC(this)}function Tue(e,t){e.node.type=t}function Sue({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:r=!(()=>{var n;return(n=arguments[0])==null?void 0:n.specCompliant})()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let{thisBinding:n,fnPath:i}=fC(this,r,e,t);if(i.ensureBlock(),Tue(i,"FunctionExpression"),!r){let s=n?null:i.scope.generateUidIdentifier("arrowCheckId");return s&&i.parentPath.scope.push({id:s,init:fue([])}),i.get("body").unshiftContainer("body",uC(Rs(this.hub.addHelper("newArrowCheck"),[go(),dt(s?s.name:n)]))),i.replaceWith(Rs(Vr((0,rue.default)(this,!0)||i.node,dt("bind")),[s?dt(s.name):go()])),i.get("callee.object")}return i}var xue=(0,h0.merge)([{CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}},d0.default]);function fC(e,t=!0,r=!0,n=!0){let i,s=e.findParent(m=>{if(m.isArrowFunctionExpression()){var S;return(S=i)!=null||(i=m),!1}return m.isFunction()||m.isProgram()||m.isClassProperty({static:!1})||m.isClassPrivateProperty({static:!1})}),a=s.isClassMethod({kind:"constructor"});if(s.isClassProperty()||s.isClassPrivateProperty())if(i)s=i;else if(r)e.replaceWith(Rs(m0([],yue(e.node)),[])),s=e.get("callee"),e=s.get("body");else throw e.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:o,argumentsPaths:l,newTargetPaths:u,superProps:c,superCalls:f}=Oue(e);if(a&&f.length>0){if(!r)throw f[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!n)throw f[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let m=[];s.traverse(xue,{allSuperCalls:m});let S=Due(s);m.forEach(p=>{let E=dt(S);E.loc=p.node.callee.loc,p.get("callee").replaceWith(E)})}if(l.length>0){let m=bo(s,"arguments",()=>{let S=()=>dt("arguments");return s.scope.path.isProgram()?iue(f0("===",gue("typeof",S()),cC("undefined")),s.scope.buildUndefinedNode(),S()):S()});l.forEach(S=>{let p=dt(m);p.loc=S.node.loc,S.replaceWith(p)})}if(u.length>0){let m=bo(s,"newtarget",()=>uue(dt("new"),dt("target")));u.forEach(S=>{let p=dt(m);p.loc=S.node.loc,S.replaceWith(p)})}if(c.length>0){if(!r)throw c[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");c.reduce((S,p)=>S.concat(Aue(p)),[]).forEach(S=>{let p=S.node.computed?"":S.get("property").node.name,E=S.parentPath,b=E.isAssignmentExpression({left:S.node}),_=E.isCallExpression({callee:S.node}),D=E.isTaggedTemplateExpression({tag:S.node}),A=Iue(s,b,p),I=[];if(S.node.computed&&I.push(S.get("property").node),b){let F=E.node.right;I.push(F)}let O=Rs(dt(A),I);_?(E.unshiftContainer("arguments",go()),S.replaceWith(Vr(O,dt("call"))),o.push(E.get("arguments.0"))):b?E.replaceWith(O):D?(S.replaceWith(Rs(Vr(O,dt("bind"),!1),[go()])),o.push(S.get("arguments.0"))):S.replaceWith(O)})}let d;return(o.length>0||!t)&&(d=wue(s,a),(t||a&&pC(s))&&(o.forEach(m=>{let S=m.isJSX()?aue(d):dt(d);S.loc=m.node.loc,m.replaceWith(S)}),t||(d=null))),{thisBinding:d,fnPath:e}}function Pue(e){return lue.includes(e)}function Aue(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){let r=e.parentPath,n=r.node.operator.slice(0,-1),i=r.node.right,s=Pue(n);if(e.node.computed){let a=e.scope.generateDeclaredUidIdentifier("tmp"),o=e.node.object,l=e.node.property;r.get("left").replaceWith(Vr(o,Li("=",a,l),!0)),r.get("right").replaceWith(t(s?"=":n,Vr(o,dt(a.name),!0),i))}else{let a=e.node.object,o=e.node.property;r.get("left").replaceWith(Vr(a,o)),r.get("right").replaceWith(t(s?"=":n,Vr(a,dt(o.name)),i))}return s?r.replaceWith(oue(n,r.node.left,r.node.right)):r.node.operator="=",[r.get("left"),r.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){let r=e.parentPath,n=e.scope.generateDeclaredUidIdentifier("tmp"),i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,s=[Li("=",n,Vr(e.node.object,i?Li("=",i,e.node.property):e.node.property,e.node.computed)),Li("=",Vr(e.node.object,i?dt(i.name):e.node.property,e.node.computed),f0(e.parentPath.node.operator[0],dt(n.name),cue(1)))];e.parentPath.node.prefix||s.push(dt(n.name)),r.replaceWith(hue(s));let a=r.get("expressions.0.right"),o=r.get("expressions.1.left");return[a,o]}return[e];function t(r,n,i){return r==="="?Li("=",n,i):f0(r,n,i)}}function pC(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}var Cue=(0,h0.merge)([{CallExpression(e,{supers:t,thisBinding:r}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,Li("=",dt(r),dt("this"))])))}},d0.default]);function wue(e,t){return bo(e,"this",r=>{if(!t||!pC(e))return go();e.traverse(Cue,{supers:new WeakSet,thisBinding:r})})}function Due(e){return bo(e,"supercall",()=>{let t=e.scope.generateUidIdentifier("args");return m0([pue(t)],Rs(p0(),[mue(dt(t.name))]))})}function Iue(e,t,r){return bo(e,`superprop_${t?"set":"get"}:${r||""}`,()=>{let i=[],s;if(r)s=Vr(p0(),dt(r));else{let a=e.scope.generateUidIdentifier("prop");i.unshift(a),s=Vr(p0(),dt(a.name),!0)}if(t){let a=e.scope.generateUidIdentifier("value");i.push(a),s=Li("=",s,dt(a.name))}return m0(i,s)})}function bo(e,t,r){let n="binding:"+t,i=e.getData(n);if(!i){let s=e.scope.generateUidIdentifier(t);i=s.name,e.setData(n,i),e.scope.push({id:s,init:r(i)})}return i}var _ue=(0,h0.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){e.node.name==="this"&&(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})||t.push(e))},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let r=e.scope;do{if(r.hasOwnBinding("arguments")){r.rename("arguments");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression())break}while(r=r.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}},d0.default]);function Oue(e){let t=[],r=[],n=[],i=[],s=[];return e.traverse(_ue,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}),{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}});var EC=g(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et._guessExecutionStatusRelativeTo=tce;Et._resolve=sce;Et.canHaveVariableDeclarationOrExpression=Gue;Et.canSwapBetweenExpressionAndStatement=Hue;Et.equals=Wue;Et.getSource=Que;Et.has=bC;Et.is=void 0;Et.isCompletionRecord=Yue;Et.isConstantExpression=ace;Et.isInStrictMode=oce;Et.isNodeType=zue;Et.isStatementOrBlock=Xue;Et.isStatic=Vue;Et.isnt=Kue;Et.matchesPattern=Uue;Et.referencesImport=Jue;Et.resolve=ice;Et.willIMaybeExecuteBefore=Zue;var Nue=ye(),{STATEMENT_OR_BLOCK_KEYS:kue,VISITOR_KEYS:Fue,isBlockStatement:gC,isExpression:Bue,isIdentifier:jue,isLiteral:Lue,isStringLiteral:Mue,isType:Rue,matchesPattern:que}=Nue;function Uue(e,t){return que(this.node,e,t)}function bC(e){let t=this.node&&this.node[e];return t&&Array.isArray(t)?!!t.length:!!t}function Vue(){return this.scope.isStatic(this.node)}var $ue=bC;Et.is=$ue;function Kue(e){return!this.has(e)}function Wue(e,t){return this.node[e]===t}function zue(e){return Rue(this.type,e)}function Gue(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function Hue(e){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?gC(e):this.isBlockStatement()?Bue(e):!1}function Yue(e){let t=this,r=!0;do{let{type:n,container:i}=t;if(!r&&(t.isFunction()||n==="StaticBlock"))return!!e;if(r=!1,Array.isArray(i)&&t.key!==i.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0}function Xue(){return this.parentPath.isLabeledStatement()||gC(this.container)?!1:kue.includes(this.key)}function Jue(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?Mue(this.node.property,{value:t}):this.node.property.name===t)){let s=this.get("object");return s.isReferencedIdentifier()&&s.referencesImport(e,"*")}return!1}let r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return!1;let n=r.path,i=n.parentPath;if(!i.isImportDeclaration())return!1;if(i.node.source.value===e){if(!t)return!0}else return!1;return!!(n.isImportDefaultSpecifier()&&t==="default"||n.isImportNamespaceSpecifier()&&t==="*"||n.isImportSpecifier()&&jue(n.node.imported,{name:t}))}function Que(){let e=this.node;if(e.end){let t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function Zue(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function hC(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function ece(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return!1}}function mC(e,t){for(let r=0;r<t;r++){let n=e[r];if(ece(n.parent.type,n.parentKey))return!0}return!1}var yC=Symbol();function tce(e){return y0(this,e,new Map)}function y0(e,t,r){let n={this:hC(e),target:hC(t)};if(n.target.node!==n.this.node)return nce(e,n.target,r);let i={target:t.getAncestry(),this:e.getAncestry()};if(i.target.indexOf(e)>=0)return"after";if(i.this.indexOf(t)>=0)return"before";let s,a={target:0,this:0};for(;!s&&a.this<i.this.length;){let c=i.this[a.this];a.target=i.target.indexOf(c),a.target>=0?s=c:a.this++}if(!s)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(mC(i.this,a.this-1)||mC(i.target,a.target-1))return"unknown";let o={this:i.this[a.this-1],target:i.target[a.target-1]};if(o.target.listKey&&o.this.listKey&&o.target.container===o.this.container)return o.target.key>o.this.key?"before":"after";let l=Fue[s.type],u={this:l.indexOf(o.this.parentKey),target:l.indexOf(o.target.parentKey)};return u.target>u.this?"before":"after"}function rce(e,t,r){if(t.isFunctionDeclaration()){if(t.parentPath.isExportDeclaration())return"unknown"}else return y0(e,t,r)==="before"?"before":"unknown";let n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";let i=n.referencePaths,s;for(let a of i){if(!!a.find(u=>u.node===t.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let l=y0(e,a,r);if(s&&s!==l)return"unknown";s=l}return s}function nce(e,t,r){let n=r.get(e.node),i;if(!n)r.set(e.node,n=new Map);else if(i=n.get(t.node))return i===yC?"unknown":i;n.set(t.node,yC);let s=rce(e,t,r);return n.set(t.node,s),s}function ice(e,t){return this._resolve(e,t)||this}function sce(e,t){if(!(t&&t.indexOf(this)>=0))if(t=t||[],t.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){let r=this.scope.getBinding(this.node.name);if(!r||!r.constant||r.kind==="module")return;if(r.path!==this){let n=r.path.resolve(e,t);return this.find(i=>i.node===n.node)?void 0:n}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){let r=this.toComputedKey();if(!Lue(r))return;let n=r.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression()){let s=i.get("properties");for(let a of s){if(!a.isProperty())continue;let o=a.get("key"),l=a.isnt("computed")&&o.isIdentifier({name:n});if(l=l||o.isLiteral({value:n}),l)return a.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+n)){let a=i.get("elements")[n];if(a)return a.resolve(e,t)}}}}function ace(){if(this.isIdentifier()){let e=this.scope.getBinding(this.node.name);return e?e.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(e=>e.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:e}=this.node;return e!=="in"&&e!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return!1}function oce(){return!!(this.isProgram()?this:this.parentPath).find(r=>{if(r.isProgram({sourceType:"module"})||r.isClass())return!0;if(r.isArrowFunctionExpression()&&!r.get("body").isBlockStatement())return!1;let n;if(r.isFunction())n=r.node.body;else if(r.isProgram())n=r.node;else return!1;for(let i of n.directives)if(i.value.value==="use strict")return!0})}});var SC=g(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt._call=cce;gt._getQueueContexts=Dce;gt._resyncKey=vce;gt._resyncList=Tce;gt._resyncParent=Ece;gt._resyncRemoved=Sce;gt.call=uce;gt.isBlacklisted=gt.isDenylisted=fce;gt.popContext=xce;gt.pushContext=Pce;gt.requeue=wce;gt.resync=bce;gt.setContext=gce;gt.setKey=Cce;gt.setScope=yce;gt.setup=Ace;gt.skip=dce;gt.skipKey=hce;gt.stop=mce;gt.visit=pce;var lce=Jl(),vC=ri();function uce(e){let t=this.opts;if(this.debug(e),this.node&&this._call(t[e]))return!0;if(this.node){var r;return this._call((r=t[this.node.type])==null?void 0:r[e])}return!1}function cce(e){if(!e)return!1;for(let t of e){if(!t)continue;let r=this.node;if(!r)return!0;let n=t.call(this.state,this,this.state);if(n&&typeof n=="object"&&typeof n.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(n)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==r||this._traverseFlags>0)return!0}return!1}function fce(){var e;let t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function TC(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}function pce(){var e,t;if(!this.node||this.isDenylisted()||(e=(t=this.opts).shouldSkip)!=null&&e.call(t,this))return!1;let r=this.context;return this.shouldSkip||this.call("enter")?(this.debug("Skip..."),this.shouldStop):(TC(this,r),this.debug("Recursing into..."),this.shouldStop=(0,lce.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),TC(this,r),this.call("exit"),this.shouldStop)}function dce(){this.shouldSkip=!0}function hce(e){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[e]=!0}function mce(){this._traverseFlags|=vC.SHOULD_SKIP|vC.SHOULD_STOP}function yce(){var e,t;if((e=this.opts)!=null&&e.noScope)return;let r=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&r.isMethod()||this.key==="discriminant"&&r.isSwitchStatement())&&(r=r.parentPath);let n;for(;r&&!n;){var i;if((i=r.opts)!=null&&i.noScope)return;n=r.scope,r=r.parentPath}this.scope=this.getScope(n),(t=this.scope)==null||t.init()}function gce(e){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),this.setScope(),this}function bce(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())}function Ece(){this.parentPath&&(this.parent=this.parentPath.node)}function vce(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node){this.setKey(e);return}}else for(let e of Object.keys(this.container))if(this.container[e]===this.node){this.setKey(e);return}this.key=null}}function Tce(){if(!this.parent||!this.inList)return;let e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}function Sce(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&this._markRemoved()}function xce(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function Pce(e){this.contexts.push(e),this.setContext(e)}function Ace(e,t,r,n){this.listKey=r,this.container=t,this.parentPath=e||this.parentPath,this.setKey(n)}function Cce(e){var t;this.key=e,this.node=this.container[this.key],this.type=(t=this.node)==null?void 0:t.type}function wce(e=this){if(e.removed)return;let t=this.contexts;for(let r of t)r.maybeQueue(e)}function Dce(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,!!e);)t=e.contexts;return t}});var xC=g(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.hooks=void 0;var Ice=[function(e,t){if(e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return e.key==="left"?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&e.key==="consequent"||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}];nc.hooks=Ice});var AC=g(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni._assertUnremoved=Lce;ni._callRemovalHooks=Fce;ni._markRemoved=jce;ni._remove=Bce;ni._removeFromScope=kce;ni.remove=Nce;var _ce=xC(),Oce=Ai(),PC=ri();function Nce(){var e;if(this._assertUnremoved(),this.resync(),(e=this.opts)!=null&&e.noScope||this._removeFromScope(),this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()}function kce(){let e=this.getBindingIdentifiers();Object.keys(e).forEach(t=>this.scope.removeBinding(t))}function Fce(){for(let e of _ce.hooks)if(e(this,this.parentPath))return!0}function Bce(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)}function jce(){this._traverseFlags|=PC.SHOULD_SKIP|PC.REMOVED,this.parent&&Oce.path.get(this.parent).delete(this.node),this.node=null}function Lce(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var wC=g(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});ic.default=void 0;var CC=ye(),Mce=CC,{react:Rce}=CC,{cloneNode:qce,jsxExpressionContainer:Uce,variableDeclaration:Vce,variableDeclarator:$ce}=Mce,Kce={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&Rce.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if(e.node.name==="this"){let n=e.scope;do if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}let r=e.scope.getBinding(e.node.name);if(r){for(let n of r.constantViolations)if(n.scope!==r.path.scope){t.mutableBinding=!0,e.stop();return}r===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=r)}}},g0=class{constructor(t,r){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=r,this.path=t,this.attachAfter=!1}isCompatibleScope(t){for(let r of Object.keys(this.bindings)){let n=this.bindings[r];if(!t.bindingIdentifierEquals(r,n.identifier))return!1}return!0}getCompatibleScopes(){let t=this.path.scope;do{if(this.isCompatibleScope(t))this.scopes.push(t);else break;if(this.breakOnScopePaths.indexOf(t.path)>=0)break}while(t=t.parent)}getAttachmentPath(){let t=this._getAttachmentPath();if(!t)return;let r=t.scope;if(r.path===t&&(r=t.scope.parent),r.path.isProgram()||r.path.isFunction())for(let n of Object.keys(this.bindings)){if(!r.hasOwnBinding(n))continue;let i=this.bindings[n];if(i.kind==="param"||i.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(i.path).key>=t.key){this.attachAfter=!0,t=i.path;for(let a of i.constantViolations)this.getAttachmentParentForPath(a).key>t.key&&(t=a)}}return t}_getAttachmentPath(){let r=this.scopes.pop();if(r){if(r.path.isFunction())if(this.hasOwnParamBindings(r)){if(this.scope===r)return;let n=r.path.get("body").get("body");for(let i=0;i<n.length;i++)if(!n[i].node._blockHoist)return n[i]}else return this.getNextScopeAttachmentParent();else if(r.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let t=this.scopes.pop();if(t)return this.getAttachmentParentForPath(t.path)}getAttachmentParentForPath(t){do if(!t.parentPath||Array.isArray(t.container)&&t.isStatement())return t;while(t=t.parentPath)}hasOwnParamBindings(t){for(let r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;let n=this.bindings[r];if(n.kind==="param"&&n.constant)return!0}return!1}run(){if(this.path.traverse(Kce,this),this.mutableBinding)return;this.getCompatibleScopes();let t=this.getAttachmentPath();if(!t||t.getFunctionParent()===this.path.getFunctionParent())return;let r=t.scope.generateUidIdentifier("ref"),n=$ce(r,this.path.node),i=this.attachAfter?"insertAfter":"insertBefore",[s]=t[i]([t.isVariableDeclarator()?n:Vce("var",[n])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(r=Uce(r)),this.path.replaceWith(qce(r)),t.isVariableDeclarator()?s.get("init"):s.get("declarations.0.init")}};ic.default=g0});var NC=g(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr._containerInsert=afe;wr._containerInsertAfter=lfe;wr._containerInsertBefore=ofe;wr._verifyNodeList=pfe;wr.hoist=mfe;wr.insertAfter=cfe;wr.insertBefore=sfe;wr.pushContainer=hfe;wr.unshiftContainer=dfe;wr.updateSiblingKeys=ffe;var Wce=Ai(),zce=wC(),v0=ri(),Gce=ye(),{arrowFunctionExpression:Hce,assertExpression:Yce,assignmentExpression:Xce,blockStatement:DC,callExpression:Jce,cloneNode:b0,expressionStatement:E0,isAssignmentExpression:Qce,isCallExpression:Zce,isExportNamedDeclaration:IC,isExpression:efe,isIdentifier:tfe,isSequenceExpression:rfe,isSuper:nfe,thisExpression:ife}=Gce;function sfe(e){this._assertUnremoved();let t=this._verifyNodeList(e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||IC(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init")return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return this._containerInsertBefore(t);if(this.isStatementOrBlock()){let i=this.node,s=i&&(!this.isExpressionStatement()||i.expression!=null);return this.replaceWith(DC(s?[i]:[])),this.unshiftContainer("body",t)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function afe(e,t){this.updateSiblingKeys(e,t.length);let r=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){let s=e+i,a=this.getSibling(s);r.push(a),this.context&&this.context.queue&&a.pushContext(this.context)}let n=this._getQueueContexts();for(let i of r){i.setScope(),i.debug("Inserted.");for(let s of n)s.maybeQueue(i,!0)}return r}function ofe(e){return this._containerInsert(this.key,e)}function lfe(e){return this._containerInsert(this.key+1,e)}var _C=e=>e[e.length-1];function OC(e){return rfe(e.parent)&&(_C(e.parent.expressions)!==e.node||OC(e.parentPath))}function ufe(e,t){if(!Qce(e)||!tfe(e.left))return!1;let r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function cfe(e){if(this._assertUnremoved(),this.isSequenceExpression())return _C(this.get("expressions")).insertAfter(e);let t=this._verifyNodeList(e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||IC(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map(i=>efe(i)?E0(i):i));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){let i=this.node,{scope:s}=this;if(s.path.isPattern())return Yce(i),this.replaceWith(Jce(Hce([],i),[])),this.get("callee.body").insertAfter(t),[this];if(OC(this))t.unshift(i);else if(Zce(i)&&nfe(i.callee))t.unshift(i),t.push(ife());else if(ufe(i,s))t.unshift(i),t.push(b0(i.left));else if(s.isPure(i,!0))t.push(i);else{r.isMethod({computed:!0,key:i})&&(s=s.parent);let a=s.generateDeclaredUidIdentifier();t.unshift(E0(Xce("=",b0(a),i))),t.push(E0(b0(a)))}}return this.replaceExpressionWithStatements(t)}else{if(Array.isArray(this.container))return this._containerInsertAfter(t);if(this.isStatementOrBlock()){let i=this.node,s=i&&(!this.isExpressionStatement()||i.expression!=null);return this.replaceWith(DC(s?[i]:[])),this.pushContainer("body",t)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}}function ffe(e,t){if(!this.parent)return;let r=Wce.path.get(this.parent);for(let[,n]of r)typeof n.key=="number"&&n.key>=e&&(n.key+=t)}function pfe(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){let r=e[t],n;if(r?typeof r!="object"?n="contains a non-object node":r.type?r instanceof v0.default&&(n="has a NodePath when it expected a raw object"):n="without a type":n="has falsy node",n){let i=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${i}`)}}return e}function dfe(e,t){return this._assertUnremoved(),t=this._verifyNodeList(t),v0.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context)._containerInsertBefore(t)}function hfe(e,t){this._assertUnremoved();let r=this._verifyNodeList(t),n=this.node[e];return v0.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context).replaceWithMultiple(r)}function mfe(e=this.scope){return new zce.default(this,e).run()}});var BC=g(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt._getKey=kfe;Wt._getPattern=Ffe;Wt.get=Nfe;Wt.getAllNextSiblings=_fe;Wt.getAllPrevSiblings=Ofe;Wt.getBindingIdentifierPaths=Lfe;Wt.getBindingIdentifiers=Bfe;Wt.getCompletionRecords=Cfe;Wt.getNextSibling=Ife;Wt.getOpposite=xfe;Wt.getOuterBindingIdentifierPaths=Mfe;Wt.getOuterBindingIdentifiers=jfe;Wt.getPrevSibling=Dfe;Wt.getSibling=wfe;var S0=ri(),yfe=ye(),{getBindingIdentifiers:FC,getOuterBindingIdentifiers:gfe,isDeclaration:bfe,numericLiteral:Efe,unaryExpression:vfe}=yfe,x0=0,Eo=1;function Tfe(e){return{type:x0,path:e}}function Sfe(e){return{type:Eo,path:e}}function xfe(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function qs(e,t,r){return e&&t.push(...Us(e,r)),t}function Pfe(e,t,r){let n=[];for(let i=0;i<e.length;i++){let s=e[i],a=Us(s,r),o=[],l=[];for(let u of a)u.type===x0&&o.push(u),u.type===Eo&&l.push(u);o.length&&(n=o),t.push(...l)}return t.push(...n),t}function Afe(e){e.forEach(t=>{t.type=Eo})}function T0(e,t){e.forEach(r=>{r.path.isBreakStatement({label:null})&&(t?r.path.replaceWith(vfe("void",Efe(0))):r.path.remove())})}function kC(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i<e.length;i++){let s=e[i],a=Object.assign({},t,{inCaseClause:!1});s.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let o=Us(s,a);if(o.length>0&&o.every(l=>l.type===Eo)){n.length>0&&o.every(l=>l.path.isBreakStatement({label:null}))?(Afe(n),r.push(...n),n.some(l=>l.path.isDeclaration())&&(r.push(...o),T0(o,!0)),T0(o,!1)):(r.push(...o),t.shouldPopulateBreak||T0(o,!0));break}if(i===e.length-1)r.push(...o);else{n=[];for(let l=0;l<o.length;l++){let u=o[l];u.type===Eo&&r.push(u),u.type===x0&&n.push(u)}}}}else if(e.length)for(let n=e.length-1;n>=0;n--){let i=Us(e[n],t);if(i.length>1||i.length===1&&!i[0].path.isVariableDeclaration()){r.push(...i);break}}return r}function Us(e,t){let r=[];if(e.isIfStatement())r=qs(e.get("consequent"),r,t),r=qs(e.get("alternate"),r,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return qs(e.get("body"),r,t);if(e.isProgram()||e.isBlockStatement())return kC(e.get("body"),t);if(e.isFunction())return Us(e.get("body"),t);if(e.isTryStatement())r=qs(e.get("block"),r,t),r=qs(e.get("handler"),r,t);else{if(e.isCatchClause())return qs(e.get("body"),r,t);if(e.isSwitchStatement())return Pfe(e.get("cases"),r,t);if(e.isSwitchCase())return kC(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});e.isBreakStatement()?r.push(Sfe(e)):r.push(Tfe(e))}}return r}function Cfe(){return Us(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(t=>t.path)}function wfe(e){return S0.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function Dfe(){return this.getSibling(this.key-1)}function Ife(){return this.getSibling(this.key+1)}function _fe(){let e=this.key,t=this.getSibling(++e),r=[];for(;t.node;)r.push(t),t=this.getSibling(++e);return r}function Ofe(){let e=this.key,t=this.getSibling(--e),r=[];for(;t.node;)r.push(t),t=this.getSibling(--e);return r}function Nfe(e,t=!0){t===!0&&(t=this.context);let r=e.split(".");return r.length===1?this._getKey(e,t):this._getPattern(r,t)}function kfe(e,t){let r=this.node,n=r[e];return Array.isArray(n)?n.map((i,s)=>S0.default.get({listKey:e,parentPath:this,parent:r,container:n,key:s}).setContext(t)):S0.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}function Ffe(e,t){let r=this;for(let n of e)n==="."?r=r.parentPath:Array.isArray(r)?r=r[n]:r=r.get(n,t);return r}function Bfe(e){return FC(this.node,e)}function jfe(e){return gfe(this.node,e)}function Lfe(e=!1,t=!1){let n=[this],i=Object.create(null);for(;n.length;){let s=n.shift();if(!s||!s.node)continue;let a=FC.keys[s.node.type];if(s.isIdentifier()){e?(i[s.node.name]=i[s.node.name]||[]).push(s):i[s.node.name]=s;continue}if(s.isExportDeclaration()){let o=s.get("declaration");bfe(o)&&n.push(o);continue}if(t){if(s.isFunctionDeclaration()){n.push(s.get("id"));continue}if(s.isFunctionExpression())continue}if(a)for(let o=0;o<a.length;o++){let l=a[o],u=s.get(l);Array.isArray(u)?n.push(...u):u.node&&n.push(u)}}return i}function Mfe(e=!1){return this.getBindingIdentifierPaths(e,!0)}});var LC=g(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.addComment=$fe;vo.addComments=Kfe;vo.shareCommentsWithSiblings=Vfe;var Rfe=ye(),{addComment:qfe,addComments:Ufe}=Rfe;function Vfe(){if(typeof this.key=="string")return;let e=this.node;if(!e)return;let t=e.trailingComments,r=e.leadingComments;if(!t&&!r)return;let n=this.getSibling(this.key-1),i=this.getSibling(this.key+1),s=!!n.node,a=!!i.node;s&&(r&&n.addComments("trailing",jC(r,n.node.trailingComments)),t&&!a&&n.addComments("trailing",t)),a&&(t&&i.addComments("leading",jC(t,i.node.leadingComments)),r&&!s&&i.addComments("leading",r))}function jC(e,t){if(!t)return e;let r=-1;return e.filter(n=>{let i=t.indexOf(n,r);if(i===-1)return!0;r=i})}function $fe(e,t,r){qfe(this.node,e,t,r)}function Kfe(e,t){Ufe(this.node,e,t)}});var qC=g(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.isBindingIdentifier=dpe;Dt.isBlockScoped=bpe;Dt.isExistentialTypeParam=wpe;Dt.isExpression=mpe;Dt.isFlow=xpe;Dt.isForAwaitStatement=Cpe;Dt.isGenerated=Tpe;Dt.isNumericLiteralTypeAnnotation=Dpe;Dt.isPure=Spe;Dt.isReferenced=gpe;Dt.isReferencedIdentifier=fpe;Dt.isReferencedMemberExpression=ppe;Dt.isRestProperty=Ppe;Dt.isScope=ype;Dt.isSpreadProperty=Ape;Dt.isStatement=hpe;Dt.isUser=vpe;Dt.isVar=Epe;var Wfe=ye(),{isBinding:zfe,isBlockScoped:Gfe,isExportDeclaration:Hfe,isExpression:Yfe,isFlow:Xfe,isForStatement:Jfe,isForXStatement:Qfe,isIdentifier:MC,isImportDeclaration:Zfe,isImportSpecifier:epe,isJSXIdentifier:tpe,isJSXMemberExpression:rpe,isMemberExpression:npe,isRestElement:RC,isReferenced:P0,isScope:ipe,isStatement:spe,isVar:ape,isVariableDeclaration:ope,react:lpe,isForOfStatement:upe}=Wfe,{isCompatTag:cpe}=lpe;function fpe(e){let{node:t,parent:r}=this;if(!MC(t,e)&&!rpe(r,e))if(tpe(t,e)){if(cpe(t.name))return!1}else return!1;return P0(t,r,this.parentPath.parent)}function ppe(){let{node:e,parent:t}=this;return npe(e)&&P0(e,t)}function dpe(){let{node:e,parent:t}=this,r=this.parentPath.parent;return MC(e)&&zfe(e,t,r)}function hpe(){let{node:e,parent:t}=this;return spe(e)?!(ope(e)&&(Qfe(t,{left:e})||Jfe(t,{init:e}))):!1}function mpe(){return this.isIdentifier()?this.isReferencedIdentifier():Yfe(this.node)}function ype(){return ipe(this.node,this.parent)}function gpe(){return P0(this.node,this.parent)}function bpe(){return Gfe(this.node)}function Epe(){return ape(this.node)}function vpe(){return this.node&&!!this.node.loc}function Tpe(){return!this.isUser()}function Spe(e){return this.scope.isPure(this.node,e)}function xpe(){let{node:e}=this;return Xfe(e)?!0:Zfe(e)?e.importKind==="type"||e.importKind==="typeof":Hfe(e)?e.exportKind==="type":epe(e)?e.importKind==="type"||e.importKind==="typeof":!1}function Ppe(){return RC(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function Ape(){return RC(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function Cpe(){return upe(this.node,{await:!0})}function wpe(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")}function Dpe(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var ri=g(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=sn.SHOULD_STOP=sn.SHOULD_SKIP=sn.REMOVED=void 0;var Ipe=td(),_pe=ys(),Ope=yr(),Npe=pm(),$C=ye(),lc=$C,UC=Ai(),kpe=Tu(),Fpe=qx(),Bpe=sP(),jpe=jA(),Lpe=qA(),Mpe=dC(),KC=EC(),Rpe=SC(),qpe=AC(),Upe=NC(),Vpe=BC(),$pe=LC(),Kpe=qC(),{validate:Wpe}=$C,VC=_pe("babel"),sc=1;sn.REMOVED=sc;var ac=2;sn.SHOULD_STOP=ac;var oc=4;sn.SHOULD_SKIP=oc;var ii=class e{constructor(t,r){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=r,this.hub=t,this.data=null,this.context=null,this.scope=null}static get({hub:t,parentPath:r,parent:n,container:i,listKey:s,key:a}){if(!t&&r&&(t=r.hub),!n)throw new Error("To get a node path the parent needs to exist");let o=i[a],l=UC.path.get(n);l||(l=new Map,UC.path.set(n,l));let u=l.get(o);return u||(u=new e(t,n),o&&l.set(o,u)),u.setup(r,i,s,a),u}getScope(t){return this.isScope()?new Npe.default(this):t}setData(t,r){return this.data==null&&(this.data=Object.create(null)),this.data[t]=r}getData(t,r){this.data==null&&(this.data=Object.create(null));let n=this.data[t];return n===void 0&&r!==void 0&&(n=this.data[t]=r),n}hasNode(){return this.node!=null}buildCodeFrameError(t,r=SyntaxError){return this.hub.buildError(this.node,t,r)}traverse(t,r){(0,Ope.default)(this.node,t,this.scope,r,this)}set(t,r){Wpe(this.node,t,r),this.node[t]=r}getPathLocation(){let t=[],r=this;do{let n=r.key;r.inList&&(n=`${r.listKey}[${n}]`),t.unshift(n)}while(r=r.parentPath);return t.join(".")}debug(t){VC.enabled&&VC(`${this.getPathLocation()} ${this.type}: ${t}`)}toString(){return(0,kpe.default)(this.node).code}get inList(){return!!this.listKey}set inList(t){t||(this.listKey=null)}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&oc)}set shouldSkip(t){t?this._traverseFlags|=oc:this._traverseFlags&=~oc}get shouldStop(){return!!(this._traverseFlags&ac)}set shouldStop(t){t?this._traverseFlags|=ac:this._traverseFlags&=~ac}get removed(){return!!(this._traverseFlags&sc)}set removed(t){t?this._traverseFlags|=sc:this._traverseFlags&=~sc}};Object.assign(ii.prototype,Fpe,Bpe,jpe,Lpe,Mpe,KC,Rpe,qpe,Upe,Vpe,$pe);ii.prototype._guessExecutionStatusRelativeToDifferentFunctions=KC._guessExecutionStatusRelativeTo;for(let e of lc.TYPES){let t=`is${e}`,r=lc[t];ii.prototype[t]=function(n){return r(this.node,n)},ii.prototype[`assert${e}`]=function(n){if(!r(this.node,n))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(ii.prototype,Kpe);for(let e of Object.keys(Ipe))e[0]!=="_"&&(lc.TYPES.includes(e)||lc.TYPES.push(e));var zpe=ii;sn.default=zpe});var WC=g(uc=>{"use strict";Object.defineProperty(uc,"__esModule",{value:!0});uc.default=void 0;var Gpe=ri(),Hpe=ye(),{VISITOR_KEYS:Ype}=Hpe,A0=class{constructor(t,r,n,i){this.queue=null,this.priorityQueue=null,this.parentPath=i,this.scope=t,this.state=n,this.opts=r}shouldVisit(t){let r=this.opts;if(r.enter||r.exit||r[t.type])return!0;let n=Ype[t.type];if(!(n!=null&&n.length))return!1;for(let i of n)if(t[i])return!0;return!1}create(t,r,n,i){return Gpe.default.get({parentPath:this.parentPath,parent:t,container:r,key:n,listKey:i})}maybeQueue(t,r){this.queue&&(r?this.queue.push(t):this.priorityQueue.push(t))}visitMultiple(t,r,n){if(t.length===0)return!1;let i=[];for(let s=0;s<t.length;s++){let a=t[s];a&&this.shouldVisit(a)&&i.push(this.create(r,t,s,n))}return this.visitQueue(i)}visitSingle(t,r){return this.shouldVisit(t[r])?this.visitQueue([this.create(t,t,r)]):!1}visitQueue(t){this.queue=t,this.priorityQueue=[];let r=new WeakSet,n=!1;for(let i of t){if(i.resync(),(i.contexts.length===0||i.contexts[i.contexts.length-1]!==this)&&i.pushContext(this),i.key===null)continue;let{node:s}=i;if(!r.has(s)){if(s&&r.add(s),i.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=t,n))break}}for(let i of t)i.popContext();return this.queue=null,n}visit(t,r){let n=t[r];return n?Array.isArray(n)?this.visitMultiple(n,t,r):this.visitSingle(t,r):!1}};uc.default=A0});var Jl=g(C0=>{"use strict";Object.defineProperty(C0,"__esModule",{value:!0});C0.traverseNode=Zpe;var Xpe=WC(),Jpe=ye(),{VISITOR_KEYS:Qpe}=Jpe;function Zpe(e,t,r,n,i,s){let a=Qpe[e.type];if(!a)return!1;let o=new Xpe.default(r,t,n,i);for(let l of a)if(!(s&&s[l])&&o.visit(e,l))return!0;return!1}});var zC=g(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});cc.default=void 0;var w0=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(t,r,n=TypeError){return new n(r)}};cc.default=w0});var yr=g(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Object.defineProperty(Pn,"Hub",{enumerable:!0,get:function(){return nde.default}});Object.defineProperty(Pn,"NodePath",{enumerable:!0,get:function(){return tde.default}});Object.defineProperty(Pn,"Scope",{enumerable:!0,get:function(){return rde.default}});Pn.visitors=Pn.default=void 0;var To=Va();Pn.visitors=To;var ede=ye(),GC=Ai(),HC=Jl(),tde=ri(),rde=pm(),nde=zC(),{VISITOR_KEYS:ide,removeProperties:sde,traverseFast:YC}=ede;function Dr(e,t={},r,n,i){if(e){if(!t.noScope&&!r&&e.type!=="Program"&&e.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${e.type} node without passing scope and parentPath.`);ide[e.type]&&(To.explode(t),(0,HC.traverseNode)(e,t,r,n,i))}}var ade=Dr;Pn.default=ade;Dr.visitors=To;Dr.verify=To.verify;Dr.explode=To.explode;Dr.cheap=function(e,t){YC(e,t)};Dr.node=function(e,t,r,n,i,s){(0,HC.traverseNode)(e,t,r,n,i,s)};Dr.clearNode=function(e,t){sde(e,t),GC.path.delete(e)};Dr.removeProperties=function(e,t){return YC(e,Dr.clearNode,t),e};function ode(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}Dr.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return!1;if(e.type===t)return!0;let n={has:!1,type:t};return Dr(e,{noScope:!0,denylist:r,enter:ode},null,n),n.has};Dr.cache=GC});var XC=g(fc=>{"use strict";Object.defineProperty(fc,"__esModule",{value:!0});fc.default=void 0;var lde=nn();function xt(e,t){return Object.freeze({minVersion:e,ast:()=>lde.default.program.ast(t,{preserveComments:!0})})}var ude=Object.freeze({AsyncGenerator:xt("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function AsyncGenerator(gen){var front,back;function resume(key,arg){try{var result=gen[key](arg),value=result.value,overloaded=value instanceof OverloadYield;Promise.resolve(overloaded?value.v:value).then((function(arg){if(overloaded){var nextKey="return"===key?"return":"next";if(!value.k||arg.done)return resume(nextKey,arg);arg=gen[nextKey](arg).value}settle(result.done?"return":"normal",arg)}),(function(err){resume("throw",err)}))}catch(err){settle("throw",err)}}function settle(type,value){switch(type){case"return":front.resolve({value:value,done:!0});break;case"throw":front.reject(value);break;default:front.resolve({value:value,done:!1})}(front=front.next)?resume(front.key,front.arg):back=null}this._invoke=function(key,arg){return new Promise((function(resolve,reject){var request={key:key,arg:arg,resolve:resolve,reject:reject,next:null};back?back=back.next=request:(front=back=request,resume(key,arg))}))},"function"!=typeof gen.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(arg){return this._invoke("next",arg)},AsyncGenerator.prototype.throw=function(arg){return this._invoke("throw",arg)},AsyncGenerator.prototype.return=function(arg){return this._invoke("return",arg)};'),OverloadYield:xt("7.18.14","export default function _OverloadYield(value,kind){this.v=value,this.k=kind}"),applyDecs:xt("7.17.8",'function old_createMetadataMethodsForProperty(metadataMap,kind,property,decoratorFinishedRef){return{getMetadata:function(key){old_assertNotFinished(decoratorFinishedRef,"getMetadata"),old_assertMetadataKey(key);var metadataForKey=metadataMap[key];if(void 0!==metadataForKey)if(1===kind){var pub=metadataForKey.public;if(void 0!==pub)return pub[property]}else if(2===kind){var priv=metadataForKey.private;if(void 0!==priv)return priv.get(property)}else if(Object.hasOwnProperty.call(metadataForKey,"constructor"))return metadataForKey.constructor},setMetadata:function(key,value){old_assertNotFinished(decoratorFinishedRef,"setMetadata"),old_assertMetadataKey(key);var metadataForKey=metadataMap[key];if(void 0===metadataForKey&&(metadataForKey=metadataMap[key]={}),1===kind){var pub=metadataForKey.public;void 0===pub&&(pub=metadataForKey.public={}),pub[property]=value}else if(2===kind){var priv=metadataForKey.priv;void 0===priv&&(priv=metadataForKey.private=new Map),priv.set(property,value)}else metadataForKey.constructor=value}}}function old_convertMetadataMapToFinal(obj,metadataMap){var parentMetadataMap=obj[Symbol.metadata||Symbol.for("Symbol.metadata")],metadataKeys=Object.getOwnPropertySymbols(metadataMap);if(0!==metadataKeys.length){for(var i=0;i<metadataKeys.length;i++){var key=metadataKeys[i],metaForKey=metadataMap[key],parentMetaForKey=parentMetadataMap?parentMetadataMap[key]:null,pub=metaForKey.public,parentPub=parentMetaForKey?parentMetaForKey.public:null;pub&&parentPub&&Object.setPrototypeOf(pub,parentPub);var priv=metaForKey.private;if(priv){var privArr=Array.from(priv.values()),parentPriv=parentMetaForKey?parentMetaForKey.private:null;parentPriv&&(privArr=privArr.concat(parentPriv)),metaForKey.private=privArr}parentMetaForKey&&Object.setPrototypeOf(metaForKey,parentMetaForKey)}parentMetadataMap&&Object.setPrototypeOf(metadataMap,parentMetadataMap),obj[Symbol.metadata||Symbol.for("Symbol.metadata")]=metadataMap}}function old_createAddInitializerMethod(initializers,decoratorFinishedRef){return function(initializer){old_assertNotFinished(decoratorFinishedRef,"addInitializer"),old_assertCallable(initializer,"An initializer"),initializers.push(initializer)}}function old_memberDec(dec,name,desc,metadataMap,initializers,kind,isStatic,isPrivate,value){var kindStr;switch(kind){case 1:kindStr="accessor";break;case 2:kindStr="method";break;case 3:kindStr="getter";break;case 4:kindStr="setter";break;default:kindStr="field"}var metadataKind,metadataName,ctx={kind:kindStr,name:isPrivate?"#"+name:name,isStatic:isStatic,isPrivate:isPrivate},decoratorFinishedRef={v:!1};if(0!==kind&&(ctx.addInitializer=old_createAddInitializerMethod(initializers,decoratorFinishedRef)),isPrivate){metadataKind=2,metadataName=Symbol(name);var access={};0===kind?(access.get=desc.get,access.set=desc.set):2===kind?access.get=function(){return desc.value}:(1!==kind&&3!==kind||(access.get=function(){return desc.get.call(this)}),1!==kind&&4!==kind||(access.set=function(v){desc.set.call(this,v)})),ctx.access=access}else metadataKind=1,metadataName=name;try{return dec(value,Object.assign(ctx,old_createMetadataMethodsForProperty(metadataMap,metadataKind,metadataName,decoratorFinishedRef)))}finally{decoratorFinishedRef.v=!0}}function old_assertNotFinished(decoratorFinishedRef,fnName){if(decoratorFinishedRef.v)throw new Error("attempted to call "+fnName+" after decoration was finished")}function old_assertMetadataKey(key){if("symbol"!=typeof key)throw new TypeError("Metadata keys must be symbols, received: "+key)}function old_assertCallable(fn,hint){if("function"!=typeof fn)throw new TypeError(hint+" must be a function")}function old_assertValidReturnValue(kind,value){var type=typeof value;if(1===kind){if("object"!==type||null===value)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==value.get&&old_assertCallable(value.get,"accessor.get"),void 0!==value.set&&old_assertCallable(value.set,"accessor.set"),void 0!==value.init&&old_assertCallable(value.init,"accessor.init"),void 0!==value.initializer&&old_assertCallable(value.initializer,"accessor.initializer")}else if("function"!==type){var hint;throw hint=0===kind?"field":10===kind?"class":"method",new TypeError(hint+" decorators must return a function or void 0")}}function old_getInit(desc){var initializer;return null==(initializer=desc.init)&&(initializer=desc.initializer)&&"undefined"!=typeof console&&console.warn(".initializer has been renamed to .init as of March 2022"),initializer}function old_applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,metadataMap,initializers){var desc,initializer,value,newValue,get,set,decs=decInfo[0];if(isPrivate?desc=0===kind||1===kind?{get:decInfo[3],set:decInfo[4]}:3===kind?{get:decInfo[3]}:4===kind?{set:decInfo[3]}:{value:decInfo[3]}:0!==kind&&(desc=Object.getOwnPropertyDescriptor(base,name)),1===kind?value={get:desc.get,set:desc.set}:2===kind?value=desc.value:3===kind?value=desc.get:4===kind&&(value=desc.set),"function"==typeof decs)void 0!==(newValue=old_memberDec(decs,name,desc,metadataMap,initializers,kind,isStatic,isPrivate,value))&&(old_assertValidReturnValue(kind,newValue),0===kind?initializer=newValue:1===kind?(initializer=old_getInit(newValue),get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue);else for(var i=decs.length-1;i>=0;i--){var newInit;if(void 0!==(newValue=old_memberDec(decs[i],name,desc,metadataMap,initializers,kind,isStatic,isPrivate,value)))old_assertValidReturnValue(kind,newValue),0===kind?newInit=newValue:1===kind?(newInit=old_getInit(newValue),get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue,void 0!==newInit&&(void 0===initializer?initializer=newInit:"function"==typeof initializer?initializer=[initializer,newInit]:initializer.push(newInit))}if(0===kind||1===kind){if(void 0===initializer)initializer=function(instance,init){return init};else if("function"!=typeof initializer){var ownInitializers=initializer;initializer=function(instance,init){for(var value=init,i=0;i<ownInitializers.length;i++)value=ownInitializers[i].call(instance,value);return value}}else{var originalInitializer=initializer;initializer=function(instance,init){return originalInitializer.call(instance,init)}}ret.push(initializer)}0!==kind&&(1===kind?(desc.get=value.get,desc.set=value.set):2===kind?desc.value=value:3===kind?desc.get=value:4===kind&&(desc.set=value),isPrivate?1===kind?(ret.push((function(instance,args){return value.get.call(instance,args)})),ret.push((function(instance,args){return value.set.call(instance,args)}))):2===kind?ret.push(value):ret.push((function(instance,args){return value.call(instance,args)})):Object.defineProperty(base,name,desc))}function old_applyMemberDecs(ret,Class,protoMetadataMap,staticMetadataMap,decInfos){for(var protoInitializers,staticInitializers,existingProtoNonFields=new Map,existingStaticNonFields=new Map,i=0;i<decInfos.length;i++){var decInfo=decInfos[i];if(Array.isArray(decInfo)){var base,metadataMap,initializers,kind=decInfo[1],name=decInfo[2],isPrivate=decInfo.length>3,isStatic=kind>=5;if(isStatic?(base=Class,metadataMap=staticMetadataMap,0!==(kind-=5)&&(initializers=staticInitializers=staticInitializers||[])):(base=Class.prototype,metadataMap=protoMetadataMap,0!==kind&&(initializers=protoInitializers=protoInitializers||[])),0!==kind&&!isPrivate){var existingNonFields=isStatic?existingStaticNonFields:existingProtoNonFields,existingKind=existingNonFields.get(name)||0;if(!0===existingKind||3===existingKind&&4!==kind||4===existingKind&&3!==kind)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+name);!existingKind&&kind>2?existingNonFields.set(name,kind):existingNonFields.set(name,!0)}old_applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,metadataMap,initializers)}}old_pushInitializers(ret,protoInitializers),old_pushInitializers(ret,staticInitializers)}function old_pushInitializers(ret,initializers){initializers&&ret.push((function(instance){for(var i=0;i<initializers.length;i++)initializers[i].call(instance);return instance}))}function old_applyClassDecs(ret,targetClass,metadataMap,classDecs){if(classDecs.length>0){for(var initializers=[],newClass=targetClass,name=targetClass.name,i=classDecs.length-1;i>=0;i--){var decoratorFinishedRef={v:!1};try{var ctx=Object.assign({kind:"class",name:name,addInitializer:old_createAddInitializerMethod(initializers,decoratorFinishedRef)},old_createMetadataMethodsForProperty(metadataMap,0,name,decoratorFinishedRef)),nextNewClass=classDecs[i](newClass,ctx)}finally{decoratorFinishedRef.v=!0}void 0!==nextNewClass&&(old_assertValidReturnValue(10,nextNewClass),newClass=nextNewClass)}ret.push(newClass,(function(){for(var i=0;i<initializers.length;i++)initializers[i].call(newClass)}))}}export default function applyDecs(targetClass,memberDecs,classDecs){var ret=[],staticMetadataMap={},protoMetadataMap={};return old_applyMemberDecs(ret,targetClass,protoMetadataMap,staticMetadataMap,memberDecs),old_convertMetadataMapToFinal(targetClass.prototype,protoMetadataMap),old_applyClassDecs(ret,targetClass,staticMetadataMap,classDecs),old_convertMetadataMapToFinal(targetClass,staticMetadataMap),ret}'),applyDecs2203:xt("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(initializers,decoratorFinishedRef){return function(initializer){!function(decoratorFinishedRef,fnName){if(decoratorFinishedRef.v)throw new Error("attempted to call "+fnName+" after decoration was finished")}(decoratorFinishedRef,"addInitializer"),assertCallable(initializer,"An initializer"),initializers.push(initializer)}}function memberDec(dec,name,desc,initializers,kind,isStatic,isPrivate,value){var kindStr;switch(kind){case 1:kindStr="accessor";break;case 2:kindStr="method";break;case 3:kindStr="getter";break;case 4:kindStr="setter";break;default:kindStr="field"}var get,set,ctx={kind:kindStr,name:isPrivate?"#"+name:name,static:isStatic,private:isPrivate},decoratorFinishedRef={v:!1};0!==kind&&(ctx.addInitializer=createAddInitializerMethod(initializers,decoratorFinishedRef)),0===kind?isPrivate?(get=desc.get,set=desc.set):(get=function(){return this[name]},set=function(v){this[name]=v}):2===kind?get=function(){return desc.value}:(1!==kind&&3!==kind||(get=function(){return desc.get.call(this)}),1!==kind&&4!==kind||(set=function(v){desc.set.call(this,v)})),ctx.access=get&&set?{get:get,set:set}:get?{get:get}:{set:set};try{return dec(value,ctx)}finally{decoratorFinishedRef.v=!0}}function assertCallable(fn,hint){if("function"!=typeof fn)throw new TypeError(hint+" must be a function")}function assertValidReturnValue(kind,value){var type=typeof value;if(1===kind){if("object"!==type||null===value)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==value.get&&assertCallable(value.get,"accessor.get"),void 0!==value.set&&assertCallable(value.set,"accessor.set"),void 0!==value.init&&assertCallable(value.init,"accessor.init")}else if("function"!==type){var hint;throw hint=0===kind?"field":10===kind?"class":"method",new TypeError(hint+" decorators must return a function or void 0")}}function applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,initializers){var desc,init,value,newValue,get,set,decs=decInfo[0];if(isPrivate?desc=0===kind||1===kind?{get:decInfo[3],set:decInfo[4]}:3===kind?{get:decInfo[3]}:4===kind?{set:decInfo[3]}:{value:decInfo[3]}:0!==kind&&(desc=Object.getOwnPropertyDescriptor(base,name)),1===kind?value={get:desc.get,set:desc.set}:2===kind?value=desc.value:3===kind?value=desc.get:4===kind&&(value=desc.set),"function"==typeof decs)void 0!==(newValue=memberDec(decs,name,desc,initializers,kind,isStatic,isPrivate,value))&&(assertValidReturnValue(kind,newValue),0===kind?init=newValue:1===kind?(init=newValue.init,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue);else for(var i=decs.length-1;i>=0;i--){var newInit;if(void 0!==(newValue=memberDec(decs[i],name,desc,initializers,kind,isStatic,isPrivate,value)))assertValidReturnValue(kind,newValue),0===kind?newInit=newValue:1===kind?(newInit=newValue.init,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue,void 0!==newInit&&(void 0===init?init=newInit:"function"==typeof init?init=[init,newInit]:init.push(newInit))}if(0===kind||1===kind){if(void 0===init)init=function(instance,init){return init};else if("function"!=typeof init){var ownInitializers=init;init=function(instance,init){for(var value=init,i=0;i<ownInitializers.length;i++)value=ownInitializers[i].call(instance,value);return value}}else{var originalInitializer=init;init=function(instance,init){return originalInitializer.call(instance,init)}}ret.push(init)}0!==kind&&(1===kind?(desc.get=value.get,desc.set=value.set):2===kind?desc.value=value:3===kind?desc.get=value:4===kind&&(desc.set=value),isPrivate?1===kind?(ret.push((function(instance,args){return value.get.call(instance,args)})),ret.push((function(instance,args){return value.set.call(instance,args)}))):2===kind?ret.push(value):ret.push((function(instance,args){return value.call(instance,args)})):Object.defineProperty(base,name,desc))}function pushInitializers(ret,initializers){initializers&&ret.push((function(instance){for(var i=0;i<initializers.length;i++)initializers[i].call(instance);return instance}))}return function(targetClass,memberDecs,classDecs){var ret=[];return function(ret,Class,decInfos){for(var protoInitializers,staticInitializers,existingProtoNonFields=new Map,existingStaticNonFields=new Map,i=0;i<decInfos.length;i++){var decInfo=decInfos[i];if(Array.isArray(decInfo)){var base,initializers,kind=decInfo[1],name=decInfo[2],isPrivate=decInfo.length>3,isStatic=kind>=5;if(isStatic?(base=Class,0!=(kind-=5)&&(initializers=staticInitializers=staticInitializers||[])):(base=Class.prototype,0!==kind&&(initializers=protoInitializers=protoInitializers||[])),0!==kind&&!isPrivate){var existingNonFields=isStatic?existingStaticNonFields:existingProtoNonFields,existingKind=existingNonFields.get(name)||0;if(!0===existingKind||3===existingKind&&4!==kind||4===existingKind&&3!==kind)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+name);!existingKind&&kind>2?existingNonFields.set(name,kind):existingNonFields.set(name,!0)}applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,initializers)}}pushInitializers(ret,protoInitializers),pushInitializers(ret,staticInitializers)}(ret,targetClass,memberDecs),function(ret,targetClass,classDecs){if(classDecs.length>0){for(var initializers=[],newClass=targetClass,name=targetClass.name,i=classDecs.length-1;i>=0;i--){var decoratorFinishedRef={v:!1};try{var nextNewClass=classDecs[i](newClass,{kind:"class",name:name,addInitializer:createAddInitializerMethod(initializers,decoratorFinishedRef)})}finally{decoratorFinishedRef.v=!0}void 0!==nextNewClass&&(assertValidReturnValue(10,nextNewClass),newClass=nextNewClass)}ret.push(newClass,(function(){for(var i=0;i<initializers.length;i++)initializers[i].call(newClass)}))}}(ret,targetClass,classDecs),ret}}var applyDecs2203Impl;export default function applyDecs2203(targetClass,memberDecs,classDecs){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(targetClass,memberDecs,classDecs)}'),applyDecs2203R:xt("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(initializers,decoratorFinishedRef){return function(initializer){!function(decoratorFinishedRef,fnName){if(decoratorFinishedRef.v)throw new Error("attempted to call "+fnName+" after decoration was finished")}(decoratorFinishedRef,"addInitializer"),assertCallable(initializer,"An initializer"),initializers.push(initializer)}}function memberDec(dec,name,desc,initializers,kind,isStatic,isPrivate,value){var kindStr;switch(kind){case 1:kindStr="accessor";break;case 2:kindStr="method";break;case 3:kindStr="getter";break;case 4:kindStr="setter";break;default:kindStr="field"}var get,set,ctx={kind:kindStr,name:isPrivate?"#"+name:name,static:isStatic,private:isPrivate},decoratorFinishedRef={v:!1};0!==kind&&(ctx.addInitializer=createAddInitializerMethod(initializers,decoratorFinishedRef)),0===kind?isPrivate?(get=desc.get,set=desc.set):(get=function(){return this[name]},set=function(v){this[name]=v}):2===kind?get=function(){return desc.value}:(1!==kind&&3!==kind||(get=function(){return desc.get.call(this)}),1!==kind&&4!==kind||(set=function(v){desc.set.call(this,v)})),ctx.access=get&&set?{get:get,set:set}:get?{get:get}:{set:set};try{return dec(value,ctx)}finally{decoratorFinishedRef.v=!0}}function assertCallable(fn,hint){if("function"!=typeof fn)throw new TypeError(hint+" must be a function")}function assertValidReturnValue(kind,value){var type=typeof value;if(1===kind){if("object"!==type||null===value)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==value.get&&assertCallable(value.get,"accessor.get"),void 0!==value.set&&assertCallable(value.set,"accessor.set"),void 0!==value.init&&assertCallable(value.init,"accessor.init")}else if("function"!==type){var hint;throw hint=0===kind?"field":10===kind?"class":"method",new TypeError(hint+" decorators must return a function or void 0")}}function applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,initializers){var desc,init,value,newValue,get,set,decs=decInfo[0];if(isPrivate?desc=0===kind||1===kind?{get:decInfo[3],set:decInfo[4]}:3===kind?{get:decInfo[3]}:4===kind?{set:decInfo[3]}:{value:decInfo[3]}:0!==kind&&(desc=Object.getOwnPropertyDescriptor(base,name)),1===kind?value={get:desc.get,set:desc.set}:2===kind?value=desc.value:3===kind?value=desc.get:4===kind&&(value=desc.set),"function"==typeof decs)void 0!==(newValue=memberDec(decs,name,desc,initializers,kind,isStatic,isPrivate,value))&&(assertValidReturnValue(kind,newValue),0===kind?init=newValue:1===kind?(init=newValue.init,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue);else for(var i=decs.length-1;i>=0;i--){var newInit;if(void 0!==(newValue=memberDec(decs[i],name,desc,initializers,kind,isStatic,isPrivate,value)))assertValidReturnValue(kind,newValue),0===kind?newInit=newValue:1===kind?(newInit=newValue.init,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue,void 0!==newInit&&(void 0===init?init=newInit:"function"==typeof init?init=[init,newInit]:init.push(newInit))}if(0===kind||1===kind){if(void 0===init)init=function(instance,init){return init};else if("function"!=typeof init){var ownInitializers=init;init=function(instance,init){for(var value=init,i=0;i<ownInitializers.length;i++)value=ownInitializers[i].call(instance,value);return value}}else{var originalInitializer=init;init=function(instance,init){return originalInitializer.call(instance,init)}}ret.push(init)}0!==kind&&(1===kind?(desc.get=value.get,desc.set=value.set):2===kind?desc.value=value:3===kind?desc.get=value:4===kind&&(desc.set=value),isPrivate?1===kind?(ret.push((function(instance,args){return value.get.call(instance,args)})),ret.push((function(instance,args){return value.set.call(instance,args)}))):2===kind?ret.push(value):ret.push((function(instance,args){return value.call(instance,args)})):Object.defineProperty(base,name,desc))}function applyMemberDecs(Class,decInfos){for(var protoInitializers,staticInitializers,ret=[],existingProtoNonFields=new Map,existingStaticNonFields=new Map,i=0;i<decInfos.length;i++){var decInfo=decInfos[i];if(Array.isArray(decInfo)){var base,initializers,kind=decInfo[1],name=decInfo[2],isPrivate=decInfo.length>3,isStatic=kind>=5;if(isStatic?(base=Class,0!==(kind-=5)&&(initializers=staticInitializers=staticInitializers||[])):(base=Class.prototype,0!==kind&&(initializers=protoInitializers=protoInitializers||[])),0!==kind&&!isPrivate){var existingNonFields=isStatic?existingStaticNonFields:existingProtoNonFields,existingKind=existingNonFields.get(name)||0;if(!0===existingKind||3===existingKind&&4!==kind||4===existingKind&&3!==kind)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+name);!existingKind&&kind>2?existingNonFields.set(name,kind):existingNonFields.set(name,!0)}applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,initializers)}}return pushInitializers(ret,protoInitializers),pushInitializers(ret,staticInitializers),ret}function pushInitializers(ret,initializers){initializers&&ret.push((function(instance){for(var i=0;i<initializers.length;i++)initializers[i].call(instance);return instance}))}return function(targetClass,memberDecs,classDecs){return{e:applyMemberDecs(targetClass,memberDecs),get c(){return function(targetClass,classDecs){if(classDecs.length>0){for(var initializers=[],newClass=targetClass,name=targetClass.name,i=classDecs.length-1;i>=0;i--){var decoratorFinishedRef={v:!1};try{var nextNewClass=classDecs[i](newClass,{kind:"class",name:name,addInitializer:createAddInitializerMethod(initializers,decoratorFinishedRef)})}finally{decoratorFinishedRef.v=!0}void 0!==nextNewClass&&(assertValidReturnValue(10,nextNewClass),newClass=nextNewClass)}return[newClass,function(){for(var i=0;i<initializers.length;i++)initializers[i].call(newClass)}]}}(targetClass,classDecs)}}}}export default function applyDecs2203R(targetClass,memberDecs,classDecs){return(applyDecs2203R=applyDecs2203RFactory())(targetClass,memberDecs,classDecs)}'),applyDecs2301:xt("7.21.0",'import checkInRHS from"checkInRHS";function applyDecs2301Factory(){function createAddInitializerMethod(initializers,decoratorFinishedRef){return function(initializer){!function(decoratorFinishedRef,fnName){if(decoratorFinishedRef.v)throw new Error("attempted to call "+fnName+" after decoration was finished")}(decoratorFinishedRef,"addInitializer"),assertCallable(initializer,"An initializer"),initializers.push(initializer)}}function assertInstanceIfPrivate(has,target){if(!has(target))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(dec,name,desc,initializers,kind,isStatic,isPrivate,value,hasPrivateBrand){var kindStr;switch(kind){case 1:kindStr="accessor";break;case 2:kindStr="method";break;case 3:kindStr="getter";break;case 4:kindStr="setter";break;default:kindStr="field"}var get,set,ctx={kind:kindStr,name:isPrivate?"#"+name:name,static:isStatic,private:isPrivate},decoratorFinishedRef={v:!1};if(0!==kind&&(ctx.addInitializer=createAddInitializerMethod(initializers,decoratorFinishedRef)),isPrivate||0!==kind&&2!==kind)if(2===kind)get=function(target){return assertInstanceIfPrivate(hasPrivateBrand,target),desc.value};else{var t=0===kind||1===kind;(t||3===kind)&&(get=isPrivate?function(target){return assertInstanceIfPrivate(hasPrivateBrand,target),desc.get.call(target)}:function(target){return desc.get.call(target)}),(t||4===kind)&&(set=isPrivate?function(target,value){assertInstanceIfPrivate(hasPrivateBrand,target),desc.set.call(target,value)}:function(target,value){desc.set.call(target,value)})}else get=function(target){return target[name]},0===kind&&(set=function(target,v){target[name]=v});var has=isPrivate?hasPrivateBrand.bind():function(target){return name in target};ctx.access=get&&set?{get:get,set:set,has:has}:get?{get:get,has:has}:{set:set,has:has};try{return dec(value,ctx)}finally{decoratorFinishedRef.v=!0}}function assertCallable(fn,hint){if("function"!=typeof fn)throw new TypeError(hint+" must be a function")}function assertValidReturnValue(kind,value){var type=typeof value;if(1===kind){if("object"!==type||null===value)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==value.get&&assertCallable(value.get,"accessor.get"),void 0!==value.set&&assertCallable(value.set,"accessor.set"),void 0!==value.init&&assertCallable(value.init,"accessor.init")}else if("function"!==type){var hint;throw hint=0===kind?"field":10===kind?"class":"method",new TypeError(hint+" decorators must return a function or void 0")}}function curryThis2(fn){return function(value){fn(this,value)}}function applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,initializers,hasPrivateBrand){var desc,init,value,fn,newValue,get,set,decs=decInfo[0];if(isPrivate?desc=0===kind||1===kind?{get:(fn=decInfo[3],function(){return fn(this)}),set:curryThis2(decInfo[4])}:3===kind?{get:decInfo[3]}:4===kind?{set:decInfo[3]}:{value:decInfo[3]}:0!==kind&&(desc=Object.getOwnPropertyDescriptor(base,name)),1===kind?value={get:desc.get,set:desc.set}:2===kind?value=desc.value:3===kind?value=desc.get:4===kind&&(value=desc.set),"function"==typeof decs)void 0!==(newValue=memberDec(decs,name,desc,initializers,kind,isStatic,isPrivate,value,hasPrivateBrand))&&(assertValidReturnValue(kind,newValue),0===kind?init=newValue:1===kind?(init=newValue.init,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue);else for(var i=decs.length-1;i>=0;i--){var newInit;if(void 0!==(newValue=memberDec(decs[i],name,desc,initializers,kind,isStatic,isPrivate,value,hasPrivateBrand)))assertValidReturnValue(kind,newValue),0===kind?newInit=newValue:1===kind?(newInit=newValue.init,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue,void 0!==newInit&&(void 0===init?init=newInit:"function"==typeof init?init=[init,newInit]:init.push(newInit))}if(0===kind||1===kind){if(void 0===init)init=function(instance,init){return init};else if("function"!=typeof init){var ownInitializers=init;init=function(instance,init){for(var value=init,i=0;i<ownInitializers.length;i++)value=ownInitializers[i].call(instance,value);return value}}else{var originalInitializer=init;init=function(instance,init){return originalInitializer.call(instance,init)}}ret.push(init)}0!==kind&&(1===kind?(desc.get=value.get,desc.set=value.set):2===kind?desc.value=value:3===kind?desc.get=value:4===kind&&(desc.set=value),isPrivate?1===kind?(ret.push((function(instance,args){return value.get.call(instance,args)})),ret.push((function(instance,args){return value.set.call(instance,args)}))):2===kind?ret.push(value):ret.push((function(instance,args){return value.call(instance,args)})):Object.defineProperty(base,name,desc))}function applyMemberDecs(Class,decInfos,instanceBrand){for(var protoInitializers,staticInitializers,staticBrand,ret=[],existingProtoNonFields=new Map,existingStaticNonFields=new Map,i=0;i<decInfos.length;i++){var decInfo=decInfos[i];if(Array.isArray(decInfo)){var base,initializers,kind=decInfo[1],name=decInfo[2],isPrivate=decInfo.length>3,isStatic=kind>=5,hasPrivateBrand=instanceBrand;if(isStatic?(base=Class,0!==(kind-=5)&&(initializers=staticInitializers=staticInitializers||[]),isPrivate&&!staticBrand&&(staticBrand=function(_){return checkInRHS(_)===Class}),hasPrivateBrand=staticBrand):(base=Class.prototype,0!==kind&&(initializers=protoInitializers=protoInitializers||[])),0!==kind&&!isPrivate){var existingNonFields=isStatic?existingStaticNonFields:existingProtoNonFields,existingKind=existingNonFields.get(name)||0;if(!0===existingKind||3===existingKind&&4!==kind||4===existingKind&&3!==kind)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+name);!existingKind&&kind>2?existingNonFields.set(name,kind):existingNonFields.set(name,!0)}applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,initializers,hasPrivateBrand)}}return pushInitializers(ret,protoInitializers),pushInitializers(ret,staticInitializers),ret}function pushInitializers(ret,initializers){initializers&&ret.push((function(instance){for(var i=0;i<initializers.length;i++)initializers[i].call(instance);return instance}))}return function(targetClass,memberDecs,classDecs,instanceBrand){return{e:applyMemberDecs(targetClass,memberDecs,instanceBrand),get c(){return function(targetClass,classDecs){if(classDecs.length>0){for(var initializers=[],newClass=targetClass,name=targetClass.name,i=classDecs.length-1;i>=0;i--){var decoratorFinishedRef={v:!1};try{var nextNewClass=classDecs[i](newClass,{kind:"class",name:name,addInitializer:createAddInitializerMethod(initializers,decoratorFinishedRef)})}finally{decoratorFinishedRef.v=!0}void 0!==nextNewClass&&(assertValidReturnValue(10,nextNewClass),newClass=nextNewClass)}return[newClass,function(){for(var i=0;i<initializers.length;i++)initializers[i].call(newClass)}]}}(targetClass,classDecs)}}}}export default function applyDecs2301(targetClass,memberDecs,classDecs,instanceBrand){return(applyDecs2301=applyDecs2301Factory())(targetClass,memberDecs,classDecs,instanceBrand)}'),applyDecs2305:xt("7.21.0",'import checkInRHS from"checkInRHS";function createAddInitializerMethod(initializers,decoratorFinishedRef){return function(initializer){assertNotFinished(decoratorFinishedRef,"addInitializer"),assertCallable(initializer,"An initializer"),initializers.push(initializer)}}function assertInstanceIfPrivate(has,target){if(!has(target))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(dec,thisArg,name,desc,initializers,kind,isStatic,isPrivate,value,hasPrivateBrand){var kindStr;switch(kind){case 1:kindStr="accessor";break;case 2:kindStr="method";break;case 3:kindStr="getter";break;case 4:kindStr="setter";break;default:kindStr="field"}var get,set,ctx={kind:kindStr,name:isPrivate?"#"+name:name,static:isStatic,private:isPrivate},decoratorFinishedRef={v:!1};if(0!==kind&&(ctx.addInitializer=createAddInitializerMethod(initializers,decoratorFinishedRef)),isPrivate||0!==kind&&2!==kind)if(2===kind)get=function(target){return assertInstanceIfPrivate(hasPrivateBrand,target),desc.value};else{var t=0===kind||1===kind;(t||3===kind)&&(get=isPrivate?function(target){return assertInstanceIfPrivate(hasPrivateBrand,target),desc.get.call(target)}:function(target){return desc.get.call(target)}),(t||4===kind)&&(set=isPrivate?function(target,value){assertInstanceIfPrivate(hasPrivateBrand,target),desc.set.call(target,value)}:function(target,value){desc.set.call(target,value)})}else get=function(target){return target[name]},0===kind&&(set=function(target,v){target[name]=v});var has=isPrivate?hasPrivateBrand.bind():function(target){return name in target};ctx.access=get&&set?{get:get,set:set,has:has}:get?{get:get,has:has}:{set:set,has:has};try{return dec.call(thisArg,value,ctx)}finally{decoratorFinishedRef.v=!0}}function assertNotFinished(decoratorFinishedRef,fnName){if(decoratorFinishedRef.v)throw new Error("attempted to call "+fnName+" after decoration was finished")}function assertCallable(fn,hint){if("function"!=typeof fn)throw new TypeError(hint+" must be a function")}function assertValidReturnValue(kind,value){var type=typeof value;if(1===kind){if("object"!==type||null===value)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==value.get&&assertCallable(value.get,"accessor.get"),void 0!==value.set&&assertCallable(value.set,"accessor.set"),void 0!==value.init&&assertCallable(value.init,"accessor.init")}else if("function"!==type){var hint;throw hint=0===kind?"field":5===kind?"class":"method",new TypeError(hint+" decorators must return a function or void 0")}}function curryThis1(fn){return function(){return fn(this)}}function curryThis2(fn){return function(value){fn(this,value)}}function applyMemberDec(ret,base,decInfo,decoratorsHaveThis,name,kind,isStatic,isPrivate,initializers,hasPrivateBrand){var desc,init,value,newValue,get,set,decs=decInfo[0];decoratorsHaveThis||Array.isArray(decs)||(decs=[decs]),isPrivate?desc=0===kind||1===kind?{get:curryThis1(decInfo[3]),set:curryThis2(decInfo[4])}:3===kind?{get:decInfo[3]}:4===kind?{set:decInfo[3]}:{value:decInfo[3]}:0!==kind&&(desc=Object.getOwnPropertyDescriptor(base,name)),1===kind?value={get:desc.get,set:desc.set}:2===kind?value=desc.value:3===kind?value=desc.get:4===kind&&(value=desc.set);for(var inc=decoratorsHaveThis?2:1,i=decs.length-1;i>=0;i-=inc){var newInit;if(void 0!==(newValue=memberDec(decs[i],decoratorsHaveThis?decs[i-1]:void 0,name,desc,initializers,kind,isStatic,isPrivate,value,hasPrivateBrand)))assertValidReturnValue(kind,newValue),0===kind?newInit=newValue:1===kind?(newInit=newValue.init,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue,void 0!==newInit&&(void 0===init?init=newInit:"function"==typeof init?init=[init,newInit]:init.push(newInit))}if(0===kind||1===kind){if(void 0===init)init=function(instance,init){return init};else if("function"!=typeof init){var ownInitializers=init;init=function(instance,init){for(var value=init,i=ownInitializers.length-1;i>=0;i--)value=ownInitializers[i].call(instance,value);return value}}else{var originalInitializer=init;init=function(instance,init){return originalInitializer.call(instance,init)}}ret.push(init)}0!==kind&&(1===kind?(desc.get=value.get,desc.set=value.set):2===kind?desc.value=value:3===kind?desc.get=value:4===kind&&(desc.set=value),isPrivate?1===kind?(ret.push((function(instance,args){return value.get.call(instance,args)})),ret.push((function(instance,args){return value.set.call(instance,args)}))):2===kind?ret.push(value):ret.push((function(instance,args){return value.call(instance,args)})):Object.defineProperty(base,name,desc))}function applyMemberDecs(Class,decInfos,instanceBrand){for(var protoInitializers,staticInitializers,staticBrand,ret=[],existingProtoNonFields=new Map,existingStaticNonFields=new Map,i=0;i<decInfos.length;i++){var decInfo=decInfos[i];if(Array.isArray(decInfo)){var base,initializers,kind=decInfo[1],name=decInfo[2],isPrivate=decInfo.length>3,decoratorsHaveThis=16&kind,isStatic=!!(8&kind),hasPrivateBrand=instanceBrand;if(kind&=7,isStatic?(base=Class,0!==kind&&(initializers=staticInitializers=staticInitializers||[]),isPrivate&&!staticBrand&&(staticBrand=function(_){return checkInRHS(_)===Class}),hasPrivateBrand=staticBrand):(base=Class.prototype,0!==kind&&(initializers=protoInitializers=protoInitializers||[])),0!==kind&&!isPrivate){var existingNonFields=isStatic?existingStaticNonFields:existingProtoNonFields,existingKind=existingNonFields.get(name)||0;if(!0===existingKind||3===existingKind&&4!==kind||4===existingKind&&3!==kind)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+name);existingNonFields.set(name,!(!existingKind&&kind>2)||kind)}applyMemberDec(ret,base,decInfo,decoratorsHaveThis,name,kind,isStatic,isPrivate,initializers,hasPrivateBrand)}}return pushInitializers(ret,protoInitializers),pushInitializers(ret,staticInitializers),ret}function pushInitializers(ret,initializers){initializers&&ret.push((function(instance){for(var i=0;i<initializers.length;i++)initializers[i].call(instance);return instance}))}function applyClassDecs(targetClass,classDecs,decoratorsHaveThis){if(classDecs.length){for(var initializers=[],newClass=targetClass,name=targetClass.name,inc=decoratorsHaveThis?2:1,i=classDecs.length-1;i>=0;i-=inc){var decoratorFinishedRef={v:!1};try{var nextNewClass=classDecs[i].call(decoratorsHaveThis?classDecs[i-1]:void 0,newClass,{kind:"class",name:name,addInitializer:createAddInitializerMethod(initializers,decoratorFinishedRef)})}finally{decoratorFinishedRef.v=!0}void 0!==nextNewClass&&(assertValidReturnValue(5,nextNewClass),newClass=nextNewClass)}return[newClass,function(){for(var i=0;i<initializers.length;i++)initializers[i].call(newClass)}]}}export default function applyDecs2305(targetClass,memberDecs,classDecs,classDecsHaveThis,instanceBrand){return{e:applyMemberDecs(targetClass,memberDecs,instanceBrand),get c(){return applyClassDecs(targetClass,classDecs,classDecsHaveThis)}}}'),asyncGeneratorDelegate:xt("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _asyncGeneratorDelegate(inner){var iter={},waiting=!1;function pump(key,value){return waiting=!0,value=new Promise((function(resolve){resolve(inner[key](value))})),{done:!1,value:new OverloadYield(value,1)}}return iter["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},iter.next=function(value){return waiting?(waiting=!1,value):pump("next",value)},"function"==typeof inner.throw&&(iter.throw=function(value){if(waiting)throw waiting=!1,value;return pump("throw",value)}),"function"==typeof inner.return&&(iter.return=function(value){return waiting?(waiting=!1,value):pump("return",value)}),iter}'),asyncIterator:xt("7.15.9",'export default function _asyncIterator(iterable){var method,async,sync,retry=2;for("undefined"!=typeof Symbol&&(async=Symbol.asyncIterator,sync=Symbol.iterator);retry--;){if(async&&null!=(method=iterable[async]))return method.call(iterable);if(sync&&null!=(method=iterable[sync]))return new AsyncFromSyncIterator(method.call(iterable));async="@@asyncIterator",sync="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(s){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var done=r.done;return Promise.resolve(r.value).then((function(value){return{value:value,done:done}}))}return AsyncFromSyncIterator=function(s){this.s=s,this.n=s.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(value){var ret=this.s.return;return void 0===ret?Promise.resolve({value:value,done:!0}):AsyncFromSyncIteratorContinuation(ret.apply(this.s,arguments))},throw:function(value){var thr=this.s.return;return void 0===thr?Promise.reject(value):AsyncFromSyncIteratorContinuation(thr.apply(this.s,arguments))}},new AsyncFromSyncIterator(s)}'),awaitAsyncGenerator:xt("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _awaitAsyncGenerator(value){return new OverloadYield(value,0)}'),checkInRHS:xt("7.20.5",`export default function _checkInRHS(value){if(Object(value)!==value)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==value?typeof value:"null"));return value}`),defineAccessor:xt("7.20.7","export default function _defineAccessor(type,obj,key,fn){var desc={configurable:!0,enumerable:!0};return desc[type]=fn,Object.defineProperty(obj,key,desc)}"),dispose:xt("7.22.0",'function dispose_SuppressedError(suppressed,error){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(suppressed,error){this.suppressed=suppressed,this.error=error,this.stack=(new Error).stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(suppressed,error)}export default function _dispose(stack,error,hasError){function next(){for(;stack.length>0;)try{var r=stack.pop(),p=r.d.call(r.v);if(r.a)return Promise.resolve(p).then(next,err)}catch(e){return err(e)}if(hasError)throw error}function err(e){return error=hasError?new dispose_SuppressedError(e,error):e,hasError=!0,next()}return next()}'),iterableToArrayLimit:xt("7.0.0-beta.0",'export default function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}'),iterableToArrayLimitLoose:xt("7.0.0-beta.0",'export default function _iterableToArrayLimitLoose(arr,i){var _i=arr&&("undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"]);if(null!=_i){var _s,_arr=[];for(_i=_i.call(arr);arr.length<i&&!(_s=_i.next()).done;)_arr.push(_s.value);return _arr}}'),jsx:xt("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(type,props,key,children){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var defaultProps=type&&type.defaultProps,childrenLength=arguments.length-3;if(props||0===childrenLength||(props={children:void 0}),1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=new Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+3];props.children=childArray}if(props&&defaultProps)for(var propName in defaultProps)void 0===props[propName]&&(props[propName]=defaultProps[propName]);else props||(props=defaultProps||{});return{$$typeof:REACT_ELEMENT_TYPE,type:type,key:void 0===key?null:""+key,ref:null,props:props,_owner:null}}'),objectSpread2:xt("7.5.0",'import defineProperty from"defineProperty";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}export default function _objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}'),regeneratorRuntime:xt("7.18.0",`export default function _regeneratorRuntime(){"use strict";
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return exports};var exports={},Op=Object.prototype,hasOwn=Op.hasOwnProperty,defineProperty=Object.defineProperty||function(obj,key,desc){obj[key]=desc.value},$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,generator=Object.create(protoGenerator.prototype),context=new Context(tryLocsList||[]);return defineProperty(generator,"_invoke",{value:makeInvokeMethod(innerFn,self,context)}),generator}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};define(IteratorPrototype,iteratorSymbol,(function(){return this}));var getProto=Object.getPrototypeOf,NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);function defineIteratorMethods(prototype){["next","throw","return"].forEach((function(method){define(prototype,method,(function(arg){return this._invoke(method,arg)}))}))}function AsyncIterator(generator,PromiseImpl){function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg,value=result.value;return value&&"object"==typeof value&&hasOwn.call(value,"__await")?PromiseImpl.resolve(value.__await).then((function(value){invoke("next",value,resolve,reject)}),(function(err){invoke("throw",err,resolve,reject)})):PromiseImpl.resolve(value).then((function(unwrapped){result.value=unwrapped,resolve(result)}),(function(error){return invoke("throw",error,resolve,reject)}))}reject(record.arg)}var previousPromise;defineProperty(this,"_invoke",{value:function(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl((function(resolve,reject){invoke(method,arg,resolve,reject)}))}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(innerFn,self,context){var state="suspendedStart";return function(method,arg){if("executing"===state)throw new Error("Generator is already running");if("completed"===state){if("throw"===method)throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if("suspendedStart"===state)throw state="completed",context.arg;context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state="executing";var record=tryCatch(innerFn,self,context);if("normal"===record.type){if(state=context.done?"completed":"suspendedYield",record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}"throw"===record.type&&(state="completed",context.method="throw",context.arg=record.arg)}}}function maybeInvokeDelegate(delegate,context){var methodName=context.method,method=delegate.iterator[methodName];if(undefined===method)return context.delegate=null,"throw"===methodName&&delegate.iterator.return&&(context.method="return",context.arg=undefined,maybeInvokeDelegate(delegate,context),"throw"===context.method)||"return"!==methodName&&(context.method="throw",context.arg=new TypeError("The iterator does not provide a '"+methodName+"' method")),ContinueSentinel;var record=tryCatch(method,delegate.iterator,context.arg);if("throw"===record.type)return context.method="throw",context.arg=record.arg,context.delegate=null,ContinueSentinel;var info=record.arg;return info?info.done?(context[delegate.resultName]=info.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=undefined),context.delegate=null,ContinueSentinel):info:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),2 in locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]),this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal",delete record.arg,entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}],tryLocsList.forEach(pushTryEntry,this),this.reset(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"==typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){for(;++i<iterable.length;)if(hasOwn.call(iterable,i))return next.value=iterable[i],next.done=!1,next;return next.value=undefined,next.done=!0,next};return next.next=next}}return{next:doneResult}}function doneResult(){return{value:undefined,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,defineProperty(Gp,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),defineProperty(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,toStringTagSymbol,"GeneratorFunction"),exports.isGeneratorFunction=function(genFun){var ctor="function"==typeof genFun&&genFun.constructor;return!!ctor&&(ctor===GeneratorFunction||"GeneratorFunction"===(ctor.displayName||ctor.name))},exports.mark=function(genFun){return Object.setPrototypeOf?Object.setPrototypeOf(genFun,GeneratorFunctionPrototype):(genFun.__proto__=GeneratorFunctionPrototype,define(genFun,toStringTagSymbol,"GeneratorFunction")),genFun.prototype=Object.create(Gp),genFun},exports.awrap=function(arg){return{__await:arg}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,asyncIteratorSymbol,(function(){return this})),exports.AsyncIterator=AsyncIterator,exports.async=function(innerFn,outerFn,self,tryLocsList,PromiseImpl){void 0===PromiseImpl&&(PromiseImpl=Promise);var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList),PromiseImpl);return exports.isGeneratorFunction(outerFn)?iter:iter.next().then((function(result){return result.done?result.value:iter.next()}))},defineIteratorMethods(Gp),define(Gp,toStringTagSymbol,"Generator"),define(Gp,iteratorSymbol,(function(){return this})),define(Gp,"toString",(function(){return"[object Generator]"})),exports.keys=function(val){var object=Object(val),keys=[];for(var key in object)keys.push(key);return keys.reverse(),function next(){for(;keys.length;){var key=keys.pop();if(key in object)return next.value=key,next.done=!1,next}return next.done=!0,next}},exports.values=values,Context.prototype={constructor:Context,reset:function(skipTempReset){if(this.prev=0,this.next=0,this.sent=this._sent=undefined,this.done=!1,this.delegate=null,this.method="next",this.arg=undefined,this.tryEntries.forEach(resetTryEntry),!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=undefined)},stop:function(){this.done=!0;var rootRecord=this.tryEntries[0].completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){return record.type="throw",record.arg=exception,context.next=loc,caught&&(context.method="next",context.arg=undefined),!!caught}for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},abrupt:function(type,arg){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);var record=finallyEntry?finallyEntry.completion:{};return record.type=type,record.arg=arg,finallyEntry?(this.method="next",this.next=finallyEntry.finallyLoc,ContinueSentinel):this.complete(record)},complete:function(record,afterLoc){if("throw"===record.type)throw record.arg;return"break"===record.type||"continue"===record.type?this.next=record.arg:"return"===record.type?(this.rval=this.arg=record.arg,this.method="return",this.next="end"):"normal"===record.type&&afterLoc&&(this.next=afterLoc),ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=undefined),ContinueSentinel}},exports}`),typeof:xt("7.0.0-beta.0",'export default function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}'),using:xt("7.22.0",'export default function _using(stack,value,isAwait){if(null==value)return value;if("object"!=typeof value)throw new TypeError("using declarations can only be used with objects, null, or undefined.");if(isAwait)var dispose=value[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==dispose&&(dispose=value[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof dispose)throw new TypeError("Property [Symbol.dispose] is not a function.");return stack.push({v:value,d:dispose,a:isAwait}),value}'),wrapRegExp:xt("7.19.0",'import setPrototypeOf from"setPrototypeOf";import inherits from"inherits";export default function _wrapRegExp(){_wrapRegExp=function(re,groups){return new BabelRegExp(re,void 0,groups)};var _super=RegExp.prototype,_groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);return _groups.set(_this,groups||_groups.get(re)),setPrototypeOf(_this,BabelRegExp.prototype)}function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce((function(groups,name){var i=g[name];if("number"==typeof i)groups[name]=result[i];else{for(var k=0;void 0===result[i[k]]&&k+1<i.length;)k++;groups[name]=result[i[k]]}return groups}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);if(result){result.groups=buildGroups(result,this);var indices=result.indices;indices&&(indices.groups=buildGroups(indices,this))}return result},BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if("string"==typeof substitution){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\\$<([^>]+)>/g,(function(_,name){var group=groups[name];return"$"+(Array.isArray(group)?group.join("$"):group)})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!=typeof args[args.length-1]&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}')});fc.default=ude});var JC=g(pc=>{"use strict";Object.defineProperty(pc,"__esModule",{value:!0});pc.default=void 0;var cde=nn(),fde=XC(),te=Object.assign({__proto__:null},fde.default),pde=te;pc.default=pde;var re=e=>t=>({minVersion:e,ast:()=>cde.default.program.ast(t)});te.AwaitValue=re("7.0.0-beta.0")`
export default function _AwaitValue(value) {
this.wrapped = value;
}
`;te.wrapAsyncGenerator=re("7.0.0-beta.0")`
import AsyncGenerator from "AsyncGenerator";
export default function _wrapAsyncGenerator(fn) {
return function () {
return new AsyncGenerator(fn.apply(this, arguments));
};
}
`;te.asyncToGenerator=re("7.0.0-beta.0")`
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
export default function _asyncToGenerator(fn) {
return function () {
var self = this, args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
`;te.classCallCheck=re("7.0.0-beta.0")`
export default function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
`;te.createClass=re("7.0.0-beta.0")`
import toPropertyKey from "toPropertyKey";
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i ++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
}
}
export default function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, "prototype", { writable: false });
return Constructor;
}
`;te.defineEnumerableProperties=re("7.0.0-beta.0")`
export default function _defineEnumerableProperties(obj, descs) {
for (var key in descs) {
var desc = descs[key];
desc.configurable = desc.enumerable = true;
if ("value" in desc) desc.writable = true;
Object.defineProperty(obj, key, desc);
}
// Symbols are not enumerated over by for-in loops. If native
// Symbols are available, fetch all of the descs object's own
// symbol properties and define them on our target object too.
if (Object.getOwnPropertySymbols) {
var objectSymbols = Object.getOwnPropertySymbols(descs);
for (var i = 0; i < objectSymbols.length; i++) {
var sym = objectSymbols[i];
var desc = descs[sym];
desc.configurable = desc.enumerable = true;
if ("value" in desc) desc.writable = true;
Object.defineProperty(obj, sym, desc);
}
}
return obj;
}
`;te.defaults=re("7.0.0-beta.0")`
export default function _defaults(obj, defaults) {
var keys = Object.getOwnPropertyNames(defaults);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
var value = Object.getOwnPropertyDescriptor(defaults, key);
if (value && value.configurable && obj[key] === undefined) {
Object.defineProperty(obj, key, value);
}
}
return obj;
}
`;te.defineProperty=re("7.0.0-beta.0")`
import toPropertyKey from "toPropertyKey";
export default function _defineProperty(obj, key, value) {
key = toPropertyKey(key);
// Shortcircuit the slow defineProperty path when possible.
// We are trying to avoid issues where setters defined on the
// prototype cause side effects under the fast path of simple
// assignment. By checking for existence of the property with
// the in operator, we can optimize most of this overhead away.
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
`;te.extends=re("7.0.0-beta.0")`
export default function _extends() {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
`;te.objectSpread=re("7.0.0-beta.0")`
import defineProperty from "defineProperty";
export default function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = (arguments[i] != null) ? Object(arguments[i]) : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function(key) {
defineProperty(target, key, source[key]);
});
}
return target;
}
`;te.inherits=re("7.0.0-beta.0")`
import setPrototypeOf from "setPrototypeOf";
export default function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function");
}
// We can't use defineProperty to set the prototype in a single step because it
// doesn't work in Chrome <= 36. https://github.com/babel/babel/issues/14056
// V8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=3334
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
writable: true,
configurable: true
}
});
Object.defineProperty(subClass, "prototype", { writable: false });
if (superClass) setPrototypeOf(subClass, superClass);
}
`;te.inheritsLoose=re("7.0.0-beta.0")`
import setPrototypeOf from "setPrototypeOf";
export default function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
setPrototypeOf(subClass, superClass);
}
`;te.getPrototypeOf=re("7.0.0-beta.0")`
export default function _getPrototypeOf(o) {
_getPrototypeOf = Object.setPrototypeOf
? Object.getPrototypeOf.bind()
: function _getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o);
};
return _getPrototypeOf(o);
}
`;te.setPrototypeOf=re("7.0.0-beta.0")`
export default function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
}
`;te.isNativeReflectConstruct=re("7.9.0")`
export default function _isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
// core-js@3
if (Reflect.construct.sham) return false;
// Proxy can't be polyfilled. Every browser implemented
// proxies before or at the same time as Reflect.construct,
// so if they support Proxy they also support Reflect.construct.
if (typeof Proxy === "function") return true;
// Since Reflect.construct can't be properly polyfilled, some
// implementations (e.g. core-js@2) don't set the correct internal slots.
// Those polyfills don't allow us to subclass built-ins, so we need to
// use our fallback implementation.
try {
// If the internal slots aren't set, this throws an error similar to
// TypeError: this is not a Boolean object.
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
return true;
} catch (e) {
return false;
}
}
`;te.construct=re("7.0.0-beta.0")`
import setPrototypeOf from "setPrototypeOf";
import isNativeReflectConstruct from "isNativeReflectConstruct";
export default function _construct(Parent, args, Class) {
if (isNativeReflectConstruct()) {
_construct = Reflect.construct.bind();
} else {
// NOTE: If Parent !== Class, the correct __proto__ is set *after*
// calling the constructor.
_construct = function _construct(Parent, args, Class) {
var a = [null];
a.push.apply(a, args);
var Constructor = Function.bind.apply(Parent, a);
var instance = new Constructor();
if (Class) setPrototypeOf(instance, Class.prototype);
return instance;
};
}
// Avoid issues with Class being present but undefined when it wasn't
// present in the original call.
return _construct.apply(null, arguments);
}
`;te.isNativeFunction=re("7.0.0-beta.0")`
export default function _isNativeFunction(fn) {
// Note: This function returns "true" for core-js functions.
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}
`;te.wrapNativeSuper=re("7.0.0-beta.0")`
import getPrototypeOf from "getPrototypeOf";
import setPrototypeOf from "setPrototypeOf";
import isNativeFunction from "isNativeFunction";
import construct from "construct";
export default function _wrapNativeSuper(Class) {
var _cache = typeof Map === "function" ? new Map() : undefined;
_wrapNativeSuper = function _wrapNativeSuper(Class) {
if (Class === null || !isNativeFunction(Class)) return Class;
if (typeof Class !== "function") {
throw new TypeError("Super expression must either be null or a function");
}
if (typeof _cache !== "undefined") {
if (_cache.has(Class)) return _cache.get(Class);
_cache.set(Class, Wrapper);
}
function Wrapper() {
return construct(Class, arguments, getPrototypeOf(this).constructor)
}
Wrapper.prototype = Object.create(Class.prototype, {
constructor: {
value: Wrapper,
enumerable: false,
writable: true,
configurable: true,
}
});
return setPrototypeOf(Wrapper, Class);
}
return _wrapNativeSuper(Class)
}
`;te.instanceof=re("7.0.0-beta.0")`
export default function _instanceof(left, right) {
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
return !!right[Symbol.hasInstance](left);
} else {
return left instanceof right;
}
}
`;te.interopRequireDefault=re("7.0.0-beta.0")`
export default function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
`;te.interopRequireWildcard=re("7.14.0")`
function _getRequireWildcardCache(nodeInterop) {
if (typeof WeakMap !== "function") return null;
var cacheBabelInterop = new WeakMap();
var cacheNodeInterop = new WeakMap();
return (_getRequireWildcardCache = function (nodeInterop) {
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
})(nodeInterop);
}
export default function _interopRequireWildcard(obj, nodeInterop) {
if (!nodeInterop && obj && obj.__esModule) {
return obj;
}
if (obj === null || (typeof obj !== "object" && typeof obj !== "function")) {
return { default: obj }
}
var cache = _getRequireWildcardCache(nodeInterop);
if (cache && cache.has(obj)) {
return cache.get(obj);
}
var newObj = {};
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var key in obj) {
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor
? Object.getOwnPropertyDescriptor(obj, key)
: null;
if (desc && (desc.get || desc.set)) {
Object.defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
newObj.default = obj;
if (cache) {
cache.set(obj, newObj);
}
return newObj;
}
`;te.newArrowCheck=re("7.0.0-beta.0")`
export default function _newArrowCheck(innerThis, boundThis) {
if (innerThis !== boundThis) {
throw new TypeError("Cannot instantiate an arrow function");
}
}
`;te.objectDestructuringEmpty=re("7.0.0-beta.0")`
export default function _objectDestructuringEmpty(obj) {
if (obj == null) throw new TypeError("Cannot destructure " + obj);
}
`;te.objectWithoutPropertiesLoose=re("7.0.0-beta.0")`
export default function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
return target;
}
`;te.objectWithoutProperties=re("7.0.0-beta.0")`
import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose";
export default function _objectWithoutProperties(source, excluded) {
if (source == null) return {};
var target = objectWithoutPropertiesLoose(source, excluded);
var key, i;
if (Object.getOwnPropertySymbols) {
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
for (i = 0; i < sourceSymbolKeys.length; i++) {
key = sourceSymbolKeys[i];
if (excluded.indexOf(key) >= 0) continue;
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
target[key] = source[key];
}
}
return target;
}
`;te.assertThisInitialized=re("7.0.0-beta.0")`
export default function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
`;te.possibleConstructorReturn=re("7.0.0-beta.0")`
import assertThisInitialized from "assertThisInitialized";
export default function _possibleConstructorReturn(self, call) {
if (call && (typeof call === "object" || typeof call === "function")) {
return call;
} else if (call !== void 0) {
throw new TypeError("Derived constructors may only return object or undefined");
}
return assertThisInitialized(self);
}
`;te.createSuper=re("7.9.0")`
import getPrototypeOf from "getPrototypeOf";
import isNativeReflectConstruct from "isNativeReflectConstruct";
import possibleConstructorReturn from "possibleConstructorReturn";
export default function _createSuper(Derived) {
var hasNativeReflectConstruct = isNativeReflectConstruct();
return function _createSuperInternal() {
var Super = getPrototypeOf(Derived), result;
if (hasNativeReflectConstruct) {
// NOTE: This doesn't work if this.__proto__.constructor has been modified.
var NewTarget = getPrototypeOf(this).constructor;
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
return possibleConstructorReturn(this, result);
}
}
`;te.superPropBase=re("7.0.0-beta.0")`
import getPrototypeOf from "getPrototypeOf";
export default function _superPropBase(object, property) {
// Yes, this throws if object is null to being with, that's on purpose.
while (!Object.prototype.hasOwnProperty.call(object, property)) {
object = getPrototypeOf(object);
if (object === null) break;
}
return object;
}
`;te.get=re("7.0.0-beta.0")`
import superPropBase from "superPropBase";
export default function _get() {
if (typeof Reflect !== "undefined" && Reflect.get) {
_get = Reflect.get.bind();
} else {
_get = function _get(target, property, receiver) {
var base = superPropBase(target, property);
if (!base) return;
var desc = Object.getOwnPropertyDescriptor(base, property);
if (desc.get) {
// STEP 3. If receiver is not present, then set receiver to target.
return desc.get.call(arguments.length < 3 ? target : receiver);
}
return desc.value;
};
}
return _get.apply(this, arguments);
}
`;te.set=re("7.0.0-beta.0")`
import superPropBase from "superPropBase";
import defineProperty from "defineProperty";
function set(target, property, value, receiver) {
if (typeof Reflect !== "undefined" && Reflect.set) {
set = Reflect.set;
} else {
set = function set(target, property, value, receiver) {
var base = superPropBase(target, property);
var desc;
if (base) {
desc = Object.getOwnPropertyDescriptor(base, property);
if (desc.set) {
desc.set.call(receiver, value);
return true;
} else if (!desc.writable) {
// Both getter and non-writable fall into this.
return false;
}
}
// Without a super that defines the property, spec boils down to
// "define on receiver" for some reason.
desc = Object.getOwnPropertyDescriptor(receiver, property);
if (desc) {
if (!desc.writable) {
// Setter, getter, and non-writable fall into this.
return false;
}
desc.value = value;
Object.defineProperty(receiver, property, desc);
} else {
// Avoid setters that may be defined on Sub's prototype, but not on
// the instance.
defineProperty(receiver, property, value);
}
return true;
};
}
return set(target, property, value, receiver);
}
export default function _set(target, property, value, receiver, isStrict) {
var s = set(target, property, value, receiver || target);
if (!s && isStrict) {
throw new TypeError('failed to set property');
}
return value;
}
`;te.taggedTemplateLiteral=re("7.0.0-beta.0")`
export default function _taggedTemplateLiteral(strings, raw) {
if (!raw) { raw = strings.slice(0); }
return Object.freeze(Object.defineProperties(strings, {
raw: { value: Object.freeze(raw) }
}));
}
`;te.taggedTemplateLiteralLoose=re("7.0.0-beta.0")`
export default function _taggedTemplateLiteralLoose(strings, raw) {
if (!raw) { raw = strings.slice(0); }
strings.raw = raw;
return strings;
}
`;te.readOnlyError=re("7.0.0-beta.0")`
export default function _readOnlyError(name) {
throw new TypeError("\\"" + name + "\\" is read-only");
}
`;te.writeOnlyError=re("7.12.13")`
export default function _writeOnlyError(name) {
throw new TypeError("\\"" + name + "\\" is write-only");
}
`;te.classNameTDZError=re("7.0.0-beta.0")`
export default function _classNameTDZError(name) {
throw new ReferenceError("Class \\"" + name + "\\" cannot be referenced in computed property keys.");
}
`;te.temporalUndefined=re("7.0.0-beta.0")`
// This function isn't mean to be called, but to be used as a reference.
// We can't use a normal object because it isn't hoisted.
export default function _temporalUndefined() {}
`;te.tdz=re("7.5.5")`
export default function _tdzError(name) {
throw new ReferenceError(name + " is not defined - temporal dead zone");
}
`;te.temporalRef=re("7.0.0-beta.0")`
import undef from "temporalUndefined";
import err from "tdz";
export default function _temporalRef(val, name) {
return val === undef ? err(name) : val;
}
`;te.slicedToArray=re("7.0.0-beta.0")`
import arrayWithHoles from "arrayWithHoles";
import iterableToArrayLimit from "iterableToArrayLimit";
import unsupportedIterableToArray from "unsupportedIterableToArray";
import nonIterableRest from "nonIterableRest";
export default function _slicedToArray(arr, i) {
return (
arrayWithHoles(arr) ||
iterableToArrayLimit(arr, i) ||
unsupportedIterableToArray(arr, i) ||
nonIterableRest()
);
}
`;te.slicedToArrayLoose=re("7.0.0-beta.0")`
import arrayWithHoles from "arrayWithHoles";
import iterableToArrayLimitLoose from "iterableToArrayLimitLoose";
import unsupportedIterableToArray from "unsupportedIterableToArray";
import nonIterableRest from "nonIterableRest";
export default function _slicedToArrayLoose(arr, i) {
return (
arrayWithHoles(arr) ||
iterableToArrayLimitLoose(arr, i) ||
unsupportedIterableToArray(arr, i) ||
nonIterableRest()
);
}
`;te.toArray=re("7.0.0-beta.0")`
import arrayWithHoles from "arrayWithHoles";
import iterableToArray from "iterableToArray";
import unsupportedIterableToArray from "unsupportedIterableToArray";
import nonIterableRest from "nonIterableRest";
export default function _toArray(arr) {
return (
arrayWithHoles(arr) ||
iterableToArray(arr) ||
unsupportedIterableToArray(arr) ||
nonIterableRest()
);
}
`;te.toConsumableArray=re("7.0.0-beta.0")`
import arrayWithoutHoles from "arrayWithoutHoles";
import iterableToArray from "iterableToArray";
import unsupportedIterableToArray from "unsupportedIterableToArray";
import nonIterableSpread from "nonIterableSpread";
export default function _toConsumableArray(arr) {
return (
arrayWithoutHoles(arr) ||
iterableToArray(arr) ||
unsupportedIterableToArray(arr) ||
nonIterableSpread()
);
}
`;te.arrayWithoutHoles=re("7.0.0-beta.0")`
import arrayLikeToArray from "arrayLikeToArray";
export default function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) return arrayLikeToArray(arr);
}
`;te.arrayWithHoles=re("7.0.0-beta.0")`
export default function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
`;te.maybeArrayLike=re("7.9.0")`
import arrayLikeToArray from "arrayLikeToArray";
export default function _maybeArrayLike(next, arr, i) {
if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
var len = arr.length;
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
}
return next(arr, i);
}
`;te.iterableToArray=re("7.0.0-beta.0")`
export default function _iterableToArray(iter) {
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
}
`;te.unsupportedIterableToArray=re("7.9.0")`
import arrayLikeToArray from "arrayLikeToArray";
export default function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return arrayLikeToArray(o, minLen);
}
`;te.arrayLikeToArray=re("7.9.0")`
export default function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
}
`;te.nonIterableSpread=re("7.0.0-beta.0")`
export default function _nonIterableSpread() {
throw new TypeError(
"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
}
`;te.nonIterableRest=re("7.0.0-beta.0")`
export default function _nonIterableRest() {
throw new TypeError(
"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
}
`;te.createForOfIteratorHelper=re("7.9.0")`
import unsupportedIterableToArray from "unsupportedIterableToArray";
// s: start (create the iterator)
// n: next
// e: error (called whenever something throws)
// f: finish (always called at the end)
export default function _createForOfIteratorHelper(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
if (!it) {
// Fallback for engines without symbol support
if (
Array.isArray(o) ||
(it = unsupportedIterableToArray(o)) ||
(allowArrayLike && o && typeof o.length === "number")
) {
if (it) o = it;
var i = 0;
var F = function(){};
return {
s: F,
n: function() {
if (i >= o.length) return { done: true };
return { done: false, value: o[i++] };
},
e: function(e) { throw e; },
f: F,
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var normalCompletion = true, didErr = false, err;
return {
s: function() {
it = it.call(o);
},
n: function() {
var step = it.next();
normalCompletion = step.done;
return step;
},
e: function(e) {
didErr = true;
err = e;
},
f: function() {
try {
if (!normalCompletion && it.return != null) it.return();
} finally {
if (didErr) throw err;
}
}
};
}
`;te.createForOfIteratorHelperLoose=re("7.9.0")`
import unsupportedIterableToArray from "unsupportedIterableToArray";
export default function _createForOfIteratorHelperLoose(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
if (it) return (it = it.call(o)).next.bind(it);
// Fallback for engines without symbol support
if (
Array.isArray(o) ||
(it = unsupportedIterableToArray(o)) ||
(allowArrayLike && o && typeof o.length === "number")
) {
if (it) o = it;
var i = 0;
return function() {
if (i >= o.length) return { done: true };
return { done: false, value: o[i++] };
}
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
`;te.skipFirstGeneratorNext=re("7.0.0-beta.0")`
export default function _skipFirstGeneratorNext(fn) {
return function () {
var it = fn.apply(this, arguments);
it.next();
return it;
}
}
`;te.toPrimitive=re("7.1.5")`
export default function _toPrimitive(
input,
hint /*: "default" | "string" | "number" | void */
) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
`;te.toPropertyKey=re("7.1.5")`
import toPrimitive from "toPrimitive";
export default function _toPropertyKey(arg) {
var key = toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}
`;te.initializerWarningHelper=re("7.0.0-beta.0")`
export default function _initializerWarningHelper(descriptor, context){
throw new Error(
'Decorating class property failed. Please ensure that ' +
'transform-class-properties is enabled and runs after the decorators transform.'
);
}
`;te.initializerDefineProperty=re("7.0.0-beta.0")`
export default function _initializerDefineProperty(target, property, descriptor, context){
if (!descriptor) return;
Object.defineProperty(target, property, {
enumerable: descriptor.enumerable,
configurable: descriptor.configurable,
writable: descriptor.writable,
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,
});
}
`;te.applyDecoratedDescriptor=re("7.0.0-beta.0")`
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){
var desc = {};
Object.keys(descriptor).forEach(function(key){
desc[key] = descriptor[key];
});
desc.enumerable = !!desc.enumerable;
desc.configurable = !!desc.configurable;
if ('value' in desc || desc.initializer){
desc.writable = true;
}
desc = decorators.slice().reverse().reduce(function(desc, decorator){
return decorator(target, property, desc) || desc;
}, desc);
if (context && desc.initializer !== void 0){
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
desc.initializer = undefined;
}
if (desc.initializer === void 0){
Object.defineProperty(target, property, desc);
desc = null;
}
return desc;
}
`;te.classPrivateFieldLooseKey=re("7.0.0-beta.0")`
var id = 0;
export default function _classPrivateFieldKey(name) {
return "__private_" + (id++) + "_" + name;
}
`;te.classPrivateFieldLooseBase=re("7.0.0-beta.0")`
export default function _classPrivateFieldBase(receiver, privateKey) {
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
throw new TypeError("attempted to use private field on non-instance");
}
return receiver;
}
`;te.classPrivateFieldGet=re("7.0.0-beta.0")`
import classApplyDescriptorGet from "classApplyDescriptorGet";
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
export default function _classPrivateFieldGet(receiver, privateMap) {
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
return classApplyDescriptorGet(receiver, descriptor);
}
`;te.classPrivateFieldSet=re("7.0.0-beta.0")`
import classApplyDescriptorSet from "classApplyDescriptorSet";
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
export default function _classPrivateFieldSet(receiver, privateMap, value) {
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
classApplyDescriptorSet(receiver, descriptor, value);
return value;
}
`;te.classPrivateFieldDestructureSet=re("7.4.4")`
import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
return classApplyDescriptorDestructureSet(receiver, descriptor);
}
`;te.classExtractFieldDescriptor=re("7.13.10")`
export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to " + action + " private field on non-instance");
}
return privateMap.get(receiver);
}
`;te.classStaticPrivateFieldSpecGet=re("7.0.2")`
import classApplyDescriptorGet from "classApplyDescriptorGet";
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
classCheckPrivateStaticAccess(receiver, classConstructor);
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
return classApplyDescriptorGet(receiver, descriptor);
}
`;te.classStaticPrivateFieldSpecSet=re("7.0.2")`
import classApplyDescriptorSet from "classApplyDescriptorSet";
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
classCheckPrivateStaticAccess(receiver, classConstructor);
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
classApplyDescriptorSet(receiver, descriptor, value);
return value;
}
`;te.classStaticPrivateMethodGet=re("7.3.2")`
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
classCheckPrivateStaticAccess(receiver, classConstructor);
return method;
}
`;te.classStaticPrivateMethodSet=re("7.3.2")`
export default function _classStaticPrivateMethodSet() {
throw new TypeError("attempted to set read only static private field");
}
`;te.classApplyDescriptorGet=re("7.13.10")`
export default function _classApplyDescriptorGet(receiver, descriptor) {
if (descriptor.get) {
return descriptor.get.call(receiver);
}
return descriptor.value;
}
`;te.classApplyDescriptorSet=re("7.13.10")`
export default function _classApplyDescriptorSet(receiver, descriptor, value) {
if (descriptor.set) {
descriptor.set.call(receiver, value);
} else {
if (!descriptor.writable) {
// This should only throw in strict mode, but class bodies are
// always strict and private fields can only be used inside
// class bodies.
throw new TypeError("attempted to set read only private field");
}
descriptor.value = value;
}
}
`;te.classApplyDescriptorDestructureSet=re("7.13.10")`
export default function _classApplyDescriptorDestructureSet(receiver, descriptor) {
if (descriptor.set) {
if (!("__destrObj" in descriptor)) {
descriptor.__destrObj = {
set value(v) {
descriptor.set.call(receiver, v)
},
};
}
return descriptor.__destrObj;
} else {
if (!descriptor.writable) {
// This should only throw in strict mode, but class bodies are
// always strict and private fields can only be used inside
// class bodies.
throw new TypeError("attempted to set read only private field");
}
return descriptor;
}
}
`;te.classStaticPrivateFieldDestructureSet=re("7.13.10")`
import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
classCheckPrivateStaticAccess(receiver, classConstructor);
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
return classApplyDescriptorDestructureSet(receiver, descriptor);
}
`;te.classCheckPrivateStaticAccess=re("7.13.10")`
export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
if (receiver !== classConstructor) {
throw new TypeError("Private static access of wrong provenance");
}
}
`;te.classCheckPrivateStaticFieldDescriptor=re("7.13.10")`
export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
if (descriptor === undefined) {
throw new TypeError("attempted to " + action + " private static field before its declaration");
}
}
`;te.decorate=re("7.1.5")`
import toArray from "toArray";
import toPropertyKey from "toPropertyKey";
// These comments are stripped by @babel/template
/*::
type PropertyDescriptor =
| {
value: any,
writable: boolean,
configurable: boolean,
enumerable: boolean,
}
| {
get?: () => any,
set?: (v: any) => void,
configurable: boolean,
enumerable: boolean,
};
type FieldDescriptor ={
writable: boolean,
configurable: boolean,
enumerable: boolean,
};
type Placement = "static" | "prototype" | "own";
type Key = string | symbol; // PrivateName is not supported yet.
type ElementDescriptor =
| {
kind: "method",
key: Key,
placement: Placement,
descriptor: PropertyDescriptor
}
| {
kind: "field",
key: Key,
placement: Placement,
descriptor: FieldDescriptor,
initializer?: () => any,
};
// This is exposed to the user code
type ElementObjectInput = ElementDescriptor & {
[@@toStringTag]?: "Descriptor"
};
// This is exposed to the user code
type ElementObjectOutput = ElementDescriptor & {
[@@toStringTag]?: "Descriptor"
extras?: ElementDescriptor[],
finisher?: ClassFinisher,
};
// This is exposed to the user code
type ClassObject = {
[@@toStringTag]?: "Descriptor",
kind: "class",
elements: ElementDescriptor[],
};
type ElementDecorator = (descriptor: ElementObjectInput) => ?ElementObjectOutput;
type ClassDecorator = (descriptor: ClassObject) => ?ClassObject;
type ClassFinisher = <A, B>(cl: Class<A>) => Class<B>;
// Only used by Babel in the transform output, not part of the spec.
type ElementDefinition =
| {
kind: "method",
value: any,
key: Key,
static?: boolean,
decorators?: ElementDecorator[],
}
| {
kind: "field",
value: () => any,
key: Key,
static?: boolean,
decorators?: ElementDecorator[],
};
declare function ClassFactory<C>(initialize: (instance: C) => void): {
F: Class<C>,
d: ElementDefinition[]
}
*/
/*::
// Various combinations with/without extras and with one or many finishers
type ElementFinisherExtras = {
element: ElementDescriptor,
finisher?: ClassFinisher,
extras?: ElementDescriptor[],
};
type ElementFinishersExtras = {
element: ElementDescriptor,
finishers: ClassFinisher[],
extras: ElementDescriptor[],
};
type ElementsFinisher = {
elements: ElementDescriptor[],
finisher?: ClassFinisher,
};
type ElementsFinishers = {
elements: ElementDescriptor[],
finishers: ClassFinisher[],
};
*/
/*::
type Placements = {
static: Key[],
prototype: Key[],
own: Key[],
};
*/
// ClassDefinitionEvaluation (Steps 26-*)
export default function _decorate(
decorators /*: ClassDecorator[] */,
factory /*: ClassFactory */,
superClass /*: ?Class<*> */,
mixins /*: ?Array<Function> */,
) /*: Class<*> */ {
var api = _getDecoratorsApi();
if (mixins) {
for (var i = 0; i < mixins.length; i++) {
api = mixins[i](api);
}
}
var r = factory(function initialize(O) {
api.initializeInstanceElements(O, decorated.elements);
}, superClass);
var decorated = api.decorateClass(
_coalesceClassElements(r.d.map(_createElementDescriptor)),
decorators,
);
api.initializeClassElements(r.F, decorated.elements);
return api.runClassFinishers(r.F, decorated.finishers);
}
function _getDecoratorsApi() {
_getDecoratorsApi = function() {
return api;
};
var api = {
elementsDefinitionOrder: [["method"], ["field"]],
// InitializeInstanceElements
initializeInstanceElements: function(
/*::<C>*/ O /*: C */,
elements /*: ElementDescriptor[] */,
) {
["method", "field"].forEach(function(kind) {
elements.forEach(function(element /*: ElementDescriptor */) {
if (element.kind === kind && element.placement === "own") {
this.defineClassElement(O, element);
}
}, this);
}, this);
},
// InitializeClassElements
initializeClassElements: function(
/*::<C>*/ F /*: Class<C> */,
elements /*: ElementDescriptor[] */,
) {
var proto = F.prototype;
["method", "field"].forEach(function(kind) {
elements.forEach(function(element /*: ElementDescriptor */) {
var placement = element.placement;
if (
element.kind === kind &&
(placement === "static" || placement === "prototype")
) {
var receiver = placement === "static" ? F : proto;
this.defineClassElement(receiver, element);
}
}, this);
}, this);
},
// DefineClassElement
defineClassElement: function(
/*::<C>*/ receiver /*: C | Class<C> */,
element /*: ElementDescriptor */,
) {
var descriptor /*: PropertyDescriptor */ = element.descriptor;
if (element.kind === "field") {
var initializer = element.initializer;
descriptor = {
enumerable: descriptor.enumerable,
writable: descriptor.writable,
configurable: descriptor.configurable,
value: initializer === void 0 ? void 0 : initializer.call(receiver),
};
}
Object.defineProperty(receiver, element.key, descriptor);
},
// DecorateClass
decorateClass: function(
elements /*: ElementDescriptor[] */,
decorators /*: ClassDecorator[] */,
) /*: ElementsFinishers */ {
var newElements /*: ElementDescriptor[] */ = [];
var finishers /*: ClassFinisher[] */ = [];
var placements /*: Placements */ = {
static: [],
prototype: [],
own: [],
};
elements.forEach(function(element /*: ElementDescriptor */) {
this.addElementPlacement(element, placements);
}, this);
elements.forEach(function(element /*: ElementDescriptor */) {
if (!_hasDecorators(element)) return newElements.push(element);
var elementFinishersExtras /*: ElementFinishersExtras */ = this.decorateElement(
element,
placements,
);
newElements.push(elementFinishersExtras.element);
newElements.push.apply(newElements, elementFinishersExtras.extras);
finishers.push.apply(finishers, elementFinishersExtras.finishers);
}, this);
if (!decorators) {
return { elements: newElements, finishers: finishers };
}
var result /*: ElementsFinishers */ = this.decorateConstructor(
newElements,
decorators,
);
finishers.push.apply(finishers, result.finishers);
result.finishers = finishers;
return result;
},
// AddElementPlacement
addElementPlacement: function(
element /*: ElementDescriptor */,
placements /*: Placements */,
silent /*: boolean */,
) {
var keys = placements[element.placement];
if (!silent && keys.indexOf(element.key) !== -1) {
throw new TypeError("Duplicated element (" + element.key + ")");
}
keys.push(element.key);
},
// DecorateElement
decorateElement: function(
element /*: ElementDescriptor */,
placements /*: Placements */,
) /*: ElementFinishersExtras */ {
var extras /*: ElementDescriptor[] */ = [];
var finishers /*: ClassFinisher[] */ = [];
for (
var decorators = element.decorators, i = decorators.length - 1;
i >= 0;
i--
) {
// (inlined) RemoveElementPlacement
var keys = placements[element.placement];
keys.splice(keys.indexOf(element.key), 1);
var elementObject /*: ElementObjectInput */ = this.fromElementDescriptor(
element,
);
var elementFinisherExtras /*: ElementFinisherExtras */ = this.toElementFinisherExtras(
(0, decorators[i])(elementObject) /*: ElementObjectOutput */ ||
elementObject,
);
element = elementFinisherExtras.element;
this.addElementPlacement(element, placements);
if (elementFinisherExtras.finisher) {
finishers.push(elementFinisherExtras.finisher);
}
var newExtras /*: ElementDescriptor[] | void */ =
elementFinisherExtras.extras;
if (newExtras) {
for (var j = 0; j < newExtras.length; j++) {
this.addElementPlacement(newExtras[j], placements);
}
extras.push.apply(extras, newExtras);
}
}
return { element: element, finishers: finishers, extras: extras };
},
// DecorateConstructor
decorateConstructor: function(
elements /*: ElementDescriptor[] */,
decorators /*: ClassDecorator[] */,
) /*: ElementsFinishers */ {
var finishers /*: ClassFinisher[] */ = [];
for (var i = decorators.length - 1; i >= 0; i--) {
var obj /*: ClassObject */ = this.fromClassDescriptor(elements);
var elementsAndFinisher /*: ElementsFinisher */ = this.toClassDescriptor(
(0, decorators[i])(obj) /*: ClassObject */ || obj,
);
if (elementsAndFinisher.finisher !== undefined) {
finishers.push(elementsAndFinisher.finisher);
}
if (elementsAndFinisher.elements !== undefined) {
elements = elementsAndFinisher.elements;
for (var j = 0; j < elements.length - 1; j++) {
for (var k = j + 1; k < elements.length; k++) {
if (
elements[j].key === elements[k].key &&
elements[j].placement === elements[k].placement
) {
throw new TypeError(
"Duplicated element (" + elements[j].key + ")",
);
}
}
}
}
}
return { elements: elements, finishers: finishers };
},
// FromElementDescriptor
fromElementDescriptor: function(
element /*: ElementDescriptor */,
) /*: ElementObject */ {
var obj /*: ElementObject */ = {
kind: element.kind,
key: element.key,
placement: element.placement,
descriptor: element.descriptor,
};
var desc = {
value: "Descriptor",
configurable: true,
};
Object.defineProperty(obj, Symbol.toStringTag, desc);
if (element.kind === "field") obj.initializer = element.initializer;
return obj;
},
// ToElementDescriptors
toElementDescriptors: function(
elementObjects /*: ElementObject[] */,
) /*: ElementDescriptor[] */ {
if (elementObjects === undefined) return;
return toArray(elementObjects).map(function(elementObject) {
var element = this.toElementDescriptor(elementObject);
this.disallowProperty(elementObject, "finisher", "An element descriptor");
this.disallowProperty(elementObject, "extras", "An element descriptor");
return element;
}, this);
},
// ToElementDescriptor
toElementDescriptor: function(
elementObject /*: ElementObject */,
) /*: ElementDescriptor */ {
var kind = String(elementObject.kind);
if (kind !== "method" && kind !== "field") {
throw new TypeError(
'An element descriptor\\'s .kind property must be either "method" or' +
' "field", but a decorator created an element descriptor with' +
' .kind "' +
kind +
'"',
);
}
var key = toPropertyKey(elementObject.key);
var placement = String(elementObject.placement);
if (
placement !== "static" &&
placement !== "prototype" &&
placement !== "own"
) {
throw new TypeError(
'An element descriptor\\'s .placement property must be one of "static",' +
' "prototype" or "own", but a decorator created an element descriptor' +
' with .placement "' +
placement +
'"',
);
}
var descriptor /*: PropertyDescriptor */ = elementObject.descriptor;
this.disallowProperty(elementObject, "elements", "An element descriptor");
var element /*: ElementDescriptor */ = {
kind: kind,
key: key,
placement: placement,
descriptor: Object.assign({}, descriptor),
};
if (kind !== "field") {
this.disallowProperty(elementObject, "initializer", "A method descriptor");
} else {
this.disallowProperty(
descriptor,
"get",
"The property descriptor of a field descriptor",
);
this.disallowProperty(
descriptor,
"set",
"The property descriptor of a field descriptor",
);
this.disallowProperty(
descriptor,
"value",
"The property descriptor of a field descriptor",
);
element.initializer = elementObject.initializer;
}
return element;
},
toElementFinisherExtras: function(
elementObject /*: ElementObject */,
) /*: ElementFinisherExtras */ {
var element /*: ElementDescriptor */ = this.toElementDescriptor(
elementObject,
);
var finisher /*: ClassFinisher */ = _optionalCallableProperty(
elementObject,
"finisher",
);
var extras /*: ElementDescriptors[] */ = this.toElementDescriptors(
elementObject.extras,
);
return { element: element, finisher: finisher, extras: extras };
},
// FromClassDescriptor
fromClassDescriptor: function(
elements /*: ElementDescriptor[] */,
) /*: ClassObject */ {
var obj = {
kind: "class",
elements: elements.map(this.fromElementDescriptor, this),
};
var desc = { value: "Descriptor", configurable: true };
Object.defineProperty(obj, Symbol.toStringTag, desc);
return obj;
},
// ToClassDescriptor
toClassDescriptor: function(
obj /*: ClassObject */,
) /*: ElementsFinisher */ {
var kind = String(obj.kind);
if (kind !== "class") {
throw new TypeError(
'A class descriptor\\'s .kind property must be "class", but a decorator' +
' created a class descriptor with .kind "' +
kind +
'"',
);
}
this.disallowProperty(obj, "key", "A class descriptor");
this.disallowProperty(obj, "placement", "A class descriptor");
this.disallowProperty(obj, "descriptor", "A class descriptor");
this.disallowProperty(obj, "initializer", "A class descriptor");
this.disallowProperty(obj, "extras", "A class descriptor");
var finisher = _optionalCallableProperty(obj, "finisher");
var elements = this.toElementDescriptors(obj.elements);
return { elements: elements, finisher: finisher };
},
// RunClassFinishers
runClassFinishers: function(
constructor /*: Class<*> */,
finishers /*: ClassFinisher[] */,
) /*: Class<*> */ {
for (var i = 0; i < finishers.length; i++) {
var newConstructor /*: ?Class<*> */ = (0, finishers[i])(constructor);
if (newConstructor !== undefined) {
// NOTE: This should check if IsConstructor(newConstructor) is false.
if (typeof newConstructor !== "function") {
throw new TypeError("Finishers must return a constructor.");
}
constructor = newConstructor;
}
}
return constructor;
},
disallowProperty: function(obj, name, objectType) {
if (obj[name] !== undefined) {
throw new TypeError(objectType + " can't have a ." + name + " property.");
}
}
};
return api;
}
// ClassElementEvaluation
function _createElementDescriptor(
def /*: ElementDefinition */,
) /*: ElementDescriptor */ {
var key = toPropertyKey(def.key);
var descriptor /*: PropertyDescriptor */;
if (def.kind === "method") {
descriptor = {
value: def.value,
writable: true,
configurable: true,
enumerable: false,
};
} else if (def.kind === "get") {
descriptor = { get: def.value, configurable: true, enumerable: false };
} else if (def.kind === "set") {
descriptor = { set: def.value, configurable: true, enumerable: false };
} else if (def.kind === "field") {
descriptor = { configurable: true, writable: true, enumerable: true };
}
var element /*: ElementDescriptor */ = {
kind: def.kind === "field" ? "field" : "method",
key: key,
placement: def.static
? "static"
: def.kind === "field"
? "own"
: "prototype",
descriptor: descriptor,
};
if (def.decorators) element.decorators = def.decorators;
if (def.kind === "field") element.initializer = def.value;
return element;
}
// CoalesceGetterSetter
function _coalesceGetterSetter(
element /*: ElementDescriptor */,
other /*: ElementDescriptor */,
) {
if (element.descriptor.get !== undefined) {
other.descriptor.get = element.descriptor.get;
} else {
other.descriptor.set = element.descriptor.set;
}
}
// CoalesceClassElements
function _coalesceClassElements(
elements /*: ElementDescriptor[] */,
) /*: ElementDescriptor[] */ {
var newElements /*: ElementDescriptor[] */ = [];
var isSameElement = function(
other /*: ElementDescriptor */,
) /*: boolean */ {
return (
other.kind === "method" &&
other.key === element.key &&
other.placement === element.placement
);
};
for (var i = 0; i < elements.length; i++) {
var element /*: ElementDescriptor */ = elements[i];
var other /*: ElementDescriptor */;
if (
element.kind === "method" &&
(other = newElements.find(isSameElement))
) {
if (
_isDataDescriptor(element.descriptor) ||
_isDataDescriptor(other.descriptor)
) {
if (_hasDecorators(element) || _hasDecorators(other)) {
throw new ReferenceError(
"Duplicated methods (" + element.key + ") can't be decorated.",
);
}
other.descriptor = element.descriptor;
} else {
if (_hasDecorators(element)) {
if (_hasDecorators(other)) {
throw new ReferenceError(
"Decorators can't be placed on different accessors with for " +
"the same property (" +
element.key +
").",
);
}
other.decorators = element.decorators;
}
_coalesceGetterSetter(element, other);
}
} else {
newElements.push(element);
}
}
return newElements;
}
function _hasDecorators(element /*: ElementDescriptor */) /*: boolean */ {
return element.decorators && element.decorators.length;
}
function _isDataDescriptor(desc /*: PropertyDescriptor */) /*: boolean */ {
return (
desc !== undefined &&
!(desc.value === undefined && desc.writable === undefined)
);
}
function _optionalCallableProperty /*::<T>*/(
obj /*: T */,
name /*: $Keys<T> */,
) /*: ?Function */ {
var value = obj[name];
if (value !== undefined && typeof value !== "function") {
throw new TypeError("Expected '" + name + "' to be a function");
}
return value;
}
`;te.classPrivateMethodGet=re("7.1.6")`
export default function _classPrivateMethodGet(receiver, privateSet, fn) {
if (!privateSet.has(receiver)) {
throw new TypeError("attempted to get private field on non-instance");
}
return fn;
}
`;te.checkPrivateRedeclaration=re("7.14.1")`
export default function _checkPrivateRedeclaration(obj, privateCollection) {
if (privateCollection.has(obj)) {
throw new TypeError("Cannot initialize the same private elements twice on an object");
}
}
`;te.classPrivateFieldInitSpec=re("7.14.1")`
import checkPrivateRedeclaration from "checkPrivateRedeclaration";
export default function _classPrivateFieldInitSpec(obj, privateMap, value) {
checkPrivateRedeclaration(obj, privateMap);
privateMap.set(obj, value);
}
`;te.classPrivateMethodInitSpec=re("7.14.1")`
import checkPrivateRedeclaration from "checkPrivateRedeclaration";
export default function _classPrivateMethodInitSpec(obj, privateSet) {
checkPrivateRedeclaration(obj, privateSet);
privateSet.add(obj);
}
`;te.classPrivateMethodSet=re("7.1.6")`
export default function _classPrivateMethodSet() {
throw new TypeError("attempted to reassign private method");
}
`;te.identity=re("7.17.0")`
export default function _identity(x) {
return x;
}
`});var O0=g(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;an.ensure=vde;an.get=tw;an.getDependencies=Ede;an.list=void 0;an.minVersion=bde;var I0=yr(),dde=ye(),_0=JC(),{assignmentExpression:QC,cloneNode:hde,expressionStatement:mde,file:ZC,identifier:yde}=dde;function dc(e){let t=[];for(;e.parentPath;e=e.parentPath)t.push(e.key),e.inList&&t.push(e.listKey);return t.reverse().join(".")}var hc;function ew(e){let t=new Set,r=new Set,n=new Map,i,s,a=[],o=[],l=[],u={ImportDeclaration(f){let d=f.node.source.value;if(!_0.default[d])throw f.buildCodeFrameError(`Unknown helper ${d}`);if(f.get("specifiers").length!==1||!f.get("specifiers.0").isImportDefaultSpecifier())throw f.buildCodeFrameError("Helpers can only import a default value");let m=f.node.specifiers[0].local;n.set(m,d),o.push(dc(f))},ExportDefaultDeclaration(f){let d=f.get("declaration");if(!d.isFunctionDeclaration()||!d.node.id)throw d.buildCodeFrameError("Helpers can only export named function declarations");i=d.node.id.name,s=dc(f)},ExportAllDeclaration(f){throw f.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(f){throw f.buildCodeFrameError("Helpers can only export default")},Statement(f){f.isImportDeclaration()||f.isExportDeclaration()||f.skip()}},c={Program(f){let d=f.scope.getAllBindings();Object.keys(d).forEach(m=>{m!==i&&(n.has(d[m].identifier)||r.add(m))})},ReferencedIdentifier(f){let d=f.node.name,m=f.scope.getBinding(d);m?n.has(m.identifier)&&l.push(dc(f)):t.add(d)},AssignmentExpression(f){let d=f.get("left");if(!(i in d.getBindingIdentifiers()))return;if(!d.isIdentifier())throw d.buildCodeFrameError("Only simple assignments to exports are allowed in helpers");let m=f.scope.getBinding(i);m!=null&&m.scope.path.isProgram()&&a.push(dc(f))}};if((0,I0.default)(e.ast,u,e.scope),(0,I0.default)(e.ast,c,e.scope),!s)throw new Error("Helpers must have a default export.");return a.reverse(),{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:n,exportBindingAssignments:a,exportPath:s,exportName:i,importBindingsReferences:l,importPaths:o}}function gde(e,t,r,n,i){if(n&&!r)throw new Error("Unexpected local bindings for module-based helpers.");if(!r)return;let{localBindingNames:s,dependencies:a,exportBindingAssignments:o,exportPath:l,exportName:u,importBindingsReferences:c,importPaths:f}=t,d={};a.forEach((A,I)=>{d[I.name]=typeof i=="function"&&i(A)||I});let m={},S=new Set(n||[]);s.forEach(A=>{let I=A;for(;S.has(I);)I="_"+I;I!==A&&(m[A]=I)}),r.type==="Identifier"&&u!==r.name&&(m[u]=r.name);let{path:p}=e,E=p.get(l),b=f.map(A=>p.get(A)),_=c.map(A=>p.get(A)),D=E.get("declaration");if(r.type==="Identifier")E.replaceWith(D);else if(r.type==="MemberExpression")o.forEach(A=>{let I=p.get(A);I.replaceWith(QC("=",r,I.node))}),E.replaceWith(D),p.pushContainer("body",mde(QC("=",r,yde(u))));else throw new Error("Unexpected helper format.");Object.keys(m).forEach(A=>{p.scope.rename(A,m[A])});for(let A of b)A.remove();for(let A of _){let I=hde(d[A.node.name]);A.replaceWith(I)}}var D0=Object.create(null);function mc(e){if(!D0[e]){let t=_0.default[e];if(!t)throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e});let r=()=>{if(!hc){let i={ast:ZC(t.ast()),path:null};return(0,I0.default)(i.ast,{Program:s=>(i.path=s).stop()}),i}return new hc({filename:`babel-helper://${e}`},{ast:ZC(t.ast()),code:"[internal Babel helper code]",inputMap:null})},n=null;D0[e]={minVersion:t.minVersion,build(i,s,a){let o=r();return n||(n=ew(o)),gde(o,n,s,a,i),{nodes:o.ast.program.body,globals:n.globals}},getDependencies(){return n||(n=ew(r())),Array.from(n.dependencies.values())}}}return D0[e]}function tw(e,t,r,n){return mc(e).build(t,r,n)}function bde(e){return mc(e).minVersion}function Ede(e){return mc(e).getDependencies()}function vde(e,t){hc||(hc=t),mc(e)}var Tde=Object.keys(_0.default).map(e=>e.replace(/^_/,""));an.list=Tde;var Sde=tw;an.default=Sde});var iw=g(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});gc.default=void 0;var $r=require("assert"),xde=ye(),{callExpression:N0,cloneNode:yc,expressionStatement:rw,identifier:So,importDeclaration:Pde,importDefaultSpecifier:Ade,importNamespaceSpecifier:Cde,importSpecifier:wde,memberExpression:k0,stringLiteral:nw,variableDeclaration:Dde,variableDeclarator:Ide}=xde,F0=class{constructor(t,r,n){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=r,this._hub=n,this._importedSource=t}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(Pde([],nw(this._importedSource))),this}require(){return this._statements.push(rw(N0(So("require"),[nw(this._importedSource)]))),this}namespace(t="namespace"){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return $r(n.type==="ImportDeclaration"),$r(n.specifiers.length===0),n.specifiers=[Cde(r)],this._resultName=yc(r),this}default(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return $r(n.type==="ImportDeclaration"),$r(n.specifiers.length===0),n.specifiers=[Ade(r)],this._resultName=yc(r),this}named(t,r){if(r==="default")return this.default(t);let n=this._scope.generateUidIdentifier(t),i=this._statements[this._statements.length-1];return $r(i.type==="ImportDeclaration"),$r(i.specifiers.length===0),i.specifiers=[wde(n,So(r))],this._resultName=yc(n),this}var(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return n.type!=="ExpressionStatement"&&($r(this._resultName),n=rw(this._resultName),this._statements.push(n)),this._statements[this._statements.length-1]=Dde("var",[Ide(r,n.expression)]),this._resultName=yc(r),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(t){let r=this._statements[this._statements.length-1];return r.type==="ExpressionStatement"?r.expression=N0(t,[r.expression]):r.type==="VariableDeclaration"?($r(r.declarations.length===1),r.declarations[0].init=N0(t,[r.declarations[0].init])):$r.fail("Unexpected type."),this}prop(t){let r=this._statements[this._statements.length-1];return r.type==="ExpressionStatement"?r.expression=k0(r.expression,So(t)):r.type==="VariableDeclaration"?($r(r.declarations.length===1),r.declarations[0].init=k0(r.declarations[0].init,So(t))):$r.fail("Unexpected type:"+r.type),this}read(t){this._resultName=k0(this._resultName,So(t))}};gc.default=F0});var j0=g(B0=>{"use strict";Object.defineProperty(B0,"__esModule",{value:!0});B0.default=_de;function _de(e){return e.node.sourceType==="module"}});var aw=g(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});bc.default=void 0;var sw=require("assert"),Ode=ye(),Nde=iw(),kde=j0(),{numericLiteral:Fde,sequenceExpression:Bde}=Ode,L0=class{constructor(t,r,n){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let i=t.find(s=>s.isProgram());this._programPath=i,this._programScope=i.scope,this._hub=i.hub,this._defaultOpts=this._applyDefaults(r,n,!0)}addDefault(t,r){return this.addNamed("default",t,r)}addNamed(t,r,n){return sw(typeof t=="string"),this._generateImport(this._applyDefaults(r,n),t)}addNamespace(t,r){return this._generateImport(this._applyDefaults(t,r),null)}addSideEffect(t,r){return this._generateImport(this._applyDefaults(t,r),void 0)}_applyDefaults(t,r,n=!1){let i;return typeof t=="string"?i=Object.assign({},this._defaultOpts,{importedSource:t},r):(sw(!r,"Unexpected secondary arguments."),i=Object.assign({},this._defaultOpts,t)),!n&&r&&(r.nameHint!==void 0&&(i.nameHint=r.nameHint),r.blockHoist!==void 0&&(i.blockHoist=r.blockHoist)),i}_generateImport(t,r){let n=r==="default",i=!!r&&!n,s=r===null,{importedSource:a,importedType:o,importedInterop:l,importingInterop:u,ensureLiveReference:c,ensureNoContext:f,nameHint:d,importPosition:m,blockHoist:S}=t,p=d||r,E=(0,kde.default)(this._programPath),b=E&&u==="node",_=E&&u==="babel";if(m==="after"&&!E)throw new Error('"importPosition": "after" is only supported in modules');let D=new Nde.default(a,this._programScope,this._hub);if(o==="es6"){if(!b&&!_)throw new Error("Cannot import an ES6 module from CommonJS");D.import(),s?D.namespace(d||a):(n||i)&&D.named(p,r)}else{if(o!=="commonjs")throw new Error(`Unexpected interopType "${o}"`);if(l==="babel")if(b){p=p!=="default"?p:a;let O=`${a}$es6Default`;D.import(),s?D.default(O).var(p||a).wildcardInterop():n?c?D.default(O).var(p||a).defaultInterop().read("default"):D.default(O).var(p).defaultInterop().prop(r):i&&D.default(O).read(r)}else _?(D.import(),s?D.namespace(p||a):(n||i)&&D.named(p,r)):(D.require(),s?D.var(p||a).wildcardInterop():(n||i)&&c?n?(p=p!=="default"?p:a,D.var(p).read(r),D.defaultInterop()):D.var(a).read(r):n?D.var(p).defaultInterop().prop(r):i&&D.var(p).prop(r));else if(l==="compiled")b?(D.import(),s?D.default(p||a):(n||i)&&D.default(a).read(p)):_?(D.import(),s?D.namespace(p||a):(n||i)&&D.named(p,r)):(D.require(),s?D.var(p||a):(n||i)&&(c?D.var(a).read(p):D.prop(r).var(p)));else if(l==="uncompiled"){if(n&&c)throw new Error("No live reference for commonjs default");b?(D.import(),s?D.default(p||a):n?D.default(p):i&&D.default(a).read(p)):_?(D.import(),s?D.default(p||a):n?D.default(p):i&&D.named(p,r)):(D.require(),s?D.var(p||a):n?D.var(p):i&&(c?D.var(a).read(p):D.var(p).prop(r)))}else throw new Error(`Unknown importedInterop "${l}".`)}let{statements:A,resultName:I}=D.done();return this._insertStatements(A,m,S),(n||i)&&f&&I.type!=="Identifier"?Bde([Fde(0),I]):I}_insertStatements(t,r="before",n=3){let i=this._programPath.get("body");if(r==="after"){for(let s=i.length-1;s>=0;s--)if(i[s].isImportDeclaration()){i[s].insertAfter(t);return}}else{t.forEach(a=>{a._blockHoist=n});let s=i.find(a=>{let o=a.node._blockHoist;return Number.isFinite(o)&&o<4});if(s){s.insertBefore(t);return}}this._programPath.unshiftContainer("body",t)}};bc.default=L0});var M0=g(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});Object.defineProperty(si,"ImportInjector",{enumerable:!0,get:function(){return xo.default}});si.addDefault=Lde;si.addNamed=Mde;si.addNamespace=Rde;si.addSideEffect=qde;Object.defineProperty(si,"isModule",{enumerable:!0,get:function(){return jde.default}});var xo=aw(),jde=j0();function Lde(e,t,r){return new xo.default(e).addDefault(t,r)}function Mde(e,t,r,n){return new xo.default(e).addNamed(t,r,n)}function Rde(e,t,r){return new xo.default(e).addNamespace(t,r)}function qde(e,t,r){return new xo.default(e).addSideEffect(t,r)}});var lw=g(R0=>{"use strict";Object.defineProperty(R0,"__esModule",{value:!0});R0.default=zde;var Ude=wi(),ow=yr(),Vde=ye(),{numericLiteral:$de,unaryExpression:Kde}=Vde,Wde=ow.default.visitors.merge([Ude.default,{ThisExpression(e){e.replaceWith(Kde("void",$de(0),!0))}}]);function zde(e){(0,ow.default)(e.node,Object.assign({},Wde,{noScope:!0}))}});var K0=g($0=>{"use strict";Object.defineProperty($0,"__esModule",{value:!0});$0.default=Jde;var Gde=ye(),{LOGICAL_OPERATORS:Hde,assignmentExpression:Po,binaryExpression:U0,cloneNode:V0,identifier:Ec,logicalExpression:Yde,numericLiteral:q0,sequenceExpression:Xde,unaryExpression:uw}=Gde,cw={AssignmentExpression:{exit(e){let{scope:t,seen:r,bindingNames:n}=this;if(e.node.operator==="="||r.has(e.node))return;r.add(e.node);let i=e.get("left");if(!i.isIdentifier())return;let s=i.node.name;if(!n.has(s)||t.getBinding(s)!==e.scope.getBinding(s))return;let a=e.node.operator.slice(0,-1);Hde.includes(a)?e.replaceWith(Yde(a,e.node.left,Po("=",V0(e.node.left),e.node.right))):(e.node.right=U0(a,V0(e.node.left),e.node.right),e.node.operator="=")}}};cw.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;let{scope:t,bindingNames:r}=this,n=e.get("argument");if(!n.isIdentifier())return;let i=n.node.name;if(r.has(i)&&t.getBinding(i)===e.scope.getBinding(i))if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){let s=e.node.operator=="++"?"+=":"-=";e.replaceWith(Po(s,n.node,q0(1)))}else if(e.node.prefix)e.replaceWith(Po("=",Ec(i),U0(e.node.operator[0],uw("+",n.node),q0(1))));else{let s=e.scope.generateUidIdentifierBasedOnNode(n.node,"old"),a=s.name;e.scope.push({id:s});let o=U0(e.node.operator[0],Ec(a),q0(1));e.replaceWith(Xde([Po("=",Ec(a),uw("+",n.node)),Po("=",V0(n.node),o),Ec(a)]))}}};function Jde(e,t){{var r;e.traverse(cw,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:(r=arguments[2])!=null?r:!0})}}});var yw=g(W0=>{"use strict";Object.defineProperty(W0,"__esModule",{value:!0});W0.default=uhe;var Qde=require("assert"),Zde=ye(),ehe=nn(),the=K0(),{assignmentExpression:Tc,callExpression:fw,cloneNode:Ao,expressionStatement:wo,getOuterBindingIdentifiers:rhe,identifier:ai,isMemberExpression:pw,isVariableDeclaration:nhe,jsxIdentifier:dw,jsxMemberExpression:ihe,memberExpression:hw,numericLiteral:she,sequenceExpression:Co,stringLiteral:mw,variableDeclaration:ahe,variableDeclarator:ohe}=Zde;function lhe(e){do switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression())return!1}while(e=e.parentPath)}function uhe(e,t){let r=new Map,n=new Map,i=l=>{e.requeue(l)};for(let[l,u]of t.source){for(let[c,f]of u.imports)r.set(c,[l,f,null]);for(let c of u.importsNamespace)r.set(c,[l,null,c])}for(let[l,u]of t.local){let c=n.get(l);c||(c=[],n.set(l,c)),c.push(...u.names)}let s={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(che,s);let a=new Set([...Array.from(r.keys()),...Array.from(n.keys())]);(0,the.default)(e,a,!1);let o={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([l,u,c],f)=>{let d=t.source.get(l);if(d.referenced=!0,c)return d.lazy&&(f=fw(f,[])),f;let m=ai(d.name);if(d.lazy&&(m=fw(m,[])),u==="default"&&d.interop==="node-default")return m;let S=t.stringSpecifiers.has(u);return hw(m,S?mw(u):ai(u),S)}};e.traverse(fhe,o)}var che={Scope(e){e.skip()},ClassDeclaration(e){let{requeueInParent:t,exported:r,metadata:n}=this,{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");let s=i.name,a=r.get(s)||[];if(a.length>0){let o=wo(Vs(n,a,ai(s),e.scope));o._blockHoist=e.node._blockHoist,t(e.insertAfter(o)[0])}},VariableDeclaration(e){let{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{let s=r.get(i)||[];if(s.length>0){let a=wo(Vs(n,s,ai(i),e.scope));a._blockHoist=e.node._blockHoist,t(e.insertAfter(a)[0])}})}},Vs=(e,t,r,n)=>{let i=e.exportName;for(let s=n;s!=null;s=s.parent)s.hasOwnBinding(i)&&s.rename(i);return(t||[]).reduce((s,a)=>{let{stringSpecifiers:o}=e,l=o.has(a);return Tc("=",hw(ai(i),l?mw(a):ai(a),l),s)},r)},vc=e=>ehe.default.expression.ast`
(function() {
throw new Error('"' + '${e}' + '" is read-only.');
})()
`,fhe={ReferencedIdentifier(e){let{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:s}=this;if(t.has(e.node))return;t.add(e.node);let a=e.node.name,o=i.get(a);if(o){if(lhe(e))throw e.buildCodeFrameError(`Cannot transform the imported binding "${a}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let l=e.scope.getBinding(a);if(n.getBinding(a)!==l)return;let c=r(o,e.node);if(c.loc=e.node.loc,(e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&pw(c))e.replaceWith(Co([she(0),c]));else if(e.isJSXIdentifier()&&pw(c)){let{object:f,property:d}=c;e.replaceWith(ihe(dw(f.name),dw(d.name)))}else e.replaceWith(c);s(e),e.skip()}},UpdateExpression(e){let{scope:t,seen:r,imported:n,exported:i,requeueInParent:s,buildImportReference:a}=this;if(r.has(e.node))return;r.add(e.node);let o=e.get("argument");if(o.isMemberExpression())return;let l=e.node;if(o.isIdentifier()){let u=o.node.name;if(t.getBinding(u)!==e.scope.getBinding(u))return;let c=i.get(u),f=n.get(u);if((c==null?void 0:c.length)>0||f)if(f)e.replaceWith(Tc(l.operator[0]+"=",a(f,o.node),vc(u)));else if(l.prefix)e.replaceWith(Vs(this.metadata,c,Ao(l),e.scope));else{let d=t.generateDeclaredUidIdentifier(u);e.replaceWith(Co([Tc("=",Ao(d),Ao(l)),Vs(this.metadata,c,ai(u),e.scope),Ao(d)]))}}s(e),e.skip()},AssignmentExpression:{exit(e){let{scope:t,seen:r,imported:n,exported:i,requeueInParent:s,buildImportReference:a}=this;if(r.has(e.node))return;r.add(e.node);let o=e.get("left");if(!o.isMemberExpression())if(o.isIdentifier()){let l=o.node.name;if(t.getBinding(l)!==e.scope.getBinding(l))return;let u=i.get(l),c=n.get(l);if((u==null?void 0:u.length)>0||c){Qde(e.node.operator==="=","Path was not simplified");let f=e.node;c&&(f.left=a(c,o.node),f.right=Co([f.right,vc(l)])),e.replaceWith(Vs(this.metadata,u,f,e.scope)),s(e)}}else{let l=o.getOuterBindingIdentifiers(),u=Object.keys(l).filter(d=>t.getBinding(d)===e.scope.getBinding(d)),c=u.find(d=>n.has(d));c&&(e.node.right=Co([e.node.right,vc(c)]));let f=[];if(u.forEach(d=>{let m=i.get(d)||[];m.length>0&&f.push(Vs(this.metadata,m,ai(d),e.scope))}),f.length>0){let d=Co(f);e.parentPath.isExpressionStatement()&&(d=wo(d),d._blockHoist=e.parentPath.node._blockHoist);let m=e.insertAfter(d)[0];s(m)}}}},"ForOfStatement|ForInStatement"(e){let{scope:t,node:r}=e,{left:n}=r,{exported:i,imported:s,scope:a}=this;if(!nhe(n)){let o=!1,l,u=e.get("body").scope;for(let d of Object.keys(rhe(n)))a.getBinding(d)===t.getBinding(d)&&(i.has(d)&&(o=!0,u.hasOwnBinding(d)&&u.rename(d)),s.has(d)&&!l&&(l=d));if(!o&&!l)return;e.ensureBlock();let c=e.get("body"),f=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(ahe("let",[ohe(Ao(f))])),t.registerDeclaration(e.get("left")),o&&c.unshiftContainer("body",wo(Tc("=",n,f))),l&&c.unshiftContainer("body",wo(vc(l)))}}}});var Tw=g($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.default=yhe;$s.hasExports=hhe;$s.isSideEffectImport=bw;$s.validateImportInteropOption=Ew;var gw=require("path"),phe=as(),dhe=$a();function hhe(e){return e.hasExports}function bw(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function Ew(e){if(typeof e!="function"&&e!=="none"&&e!=="babel"&&e!=="node")throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`);return e}function mhe(e,t,r){return typeof e=="function"?Ew(e(t,r)):e}function yhe(e,t,{importInterop:r,initializeReexports:n=!1,lazy:i=!1,esNamespaceOnly:s=!1,filename:a}){t||(t=e.scope.generateUidIdentifier("exports").name);let o=new Set;Ehe(e);let{local:l,sources:u,hasExports:c}=ghe(e,{initializeReexports:n,lazy:i},o);vhe(e);for(let[f,d]of u){d.importsNamespace.size>0&&(d.name=d.importsNamespace.values().next().value);let m=mhe(r,f,a);m==="none"?d.interop="none":m==="node"&&d.interop==="namespace"?d.interop="node-namespace":m==="node"&&d.interop==="default"?d.interop="node-default":s&&d.interop==="namespace"&&(d.interop="default")}return{exportName:t,exportNameListName:null,hasExports:c,local:l,source:u,stringSpecifiers:o}}function Sc(e,t){if(e.isIdentifier())return e.node.name;if(e.isStringLiteral()){let r=e.node.value;return(0,phe.isIdentifierName)(r)||t.add(r),r}else throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}function vw(e){if(!e.isExportSpecifier())throw e.isExportNamespaceSpecifier()?e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):e.buildCodeFrameError("Unexpected export specifier type")}function ghe(e,{lazy:t,initializeReexports:r},n){let i=bhe(e,r,n),s=new Map,a=l=>{let u=l.value,c=s.get(u);return c||(c={name:e.scope.generateUidIdentifier((0,gw.basename)(u,(0,gw.extname)(u))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:!1,referenced:!1},s.set(u,c)),c},o=!1;e.get("body").forEach(l=>{if(l.isImportDeclaration()){let u=a(l.node.source);u.loc||(u.loc=l.node.loc),l.get("specifiers").forEach(c=>{if(c.isImportDefaultSpecifier()){let f=c.get("local").node.name;u.imports.set(f,"default");let d=i.get(f);d&&(i.delete(f),d.names.forEach(m=>{u.reexports.set(m,"default")}),u.referenced=!0)}else if(c.isImportNamespaceSpecifier()){let f=c.get("local").node.name;u.importsNamespace.add(f);let d=i.get(f);d&&(i.delete(f),d.names.forEach(m=>{u.reexportNamespace.add(m)}),u.referenced=!0)}else if(c.isImportSpecifier()){let f=Sc(c.get("imported"),n),d=c.get("local").node.name;u.imports.set(d,f);let m=i.get(d);m&&(i.delete(d),m.names.forEach(S=>{u.reexports.set(S,f)}),u.referenced=!0)}})}else if(l.isExportAllDeclaration()){o=!0;let u=a(l.node.source);u.loc||(u.loc=l.node.loc),u.reexportAll={loc:l.node.loc},u.referenced=!0}else if(l.isExportNamedDeclaration()&&l.node.source){o=!0;let u=a(l.node.source);u.loc||(u.loc=l.node.loc),l.get("specifiers").forEach(c=>{vw(c);let f=Sc(c.get("local"),n),d=Sc(c.get("exported"),n);if(u.reexports.set(d,f),u.referenced=!0,d==="__esModule")throw c.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(l.isExportNamedDeclaration()||l.isExportDefaultDeclaration())&&(o=!0)});for(let l of s.values()){let u=!1,c=!1;l.importsNamespace.size>0&&(u=!0,c=!0),l.reexportAll&&(c=!0);for(let f of l.imports.values())f==="default"?u=!0:c=!0;for(let f of l.reexports.values())f==="default"?u=!0:c=!0;u&&c?l.interop="namespace":u&&(l.interop="default")}for(let[l,u]of s)if(t!==!1&&!(bw(u)||u.reexportAll))if(t===!0)u.lazy=!/\./.test(l);else if(Array.isArray(t))u.lazy=t.indexOf(l)!==-1;else if(typeof t=="function")u.lazy=t(l);else throw new Error(".lazy must be a boolean, string array, or function");return{hasExports:o,local:i,sources:s}}function bhe(e,t,r){let n=new Map;e.get("body").forEach(a=>{let o;if(a.isImportDeclaration())o="import";else{if(a.isExportDefaultDeclaration()&&(a=a.get("declaration")),a.isExportNamedDeclaration()){if(a.node.declaration)a=a.get("declaration");else if(t&&a.node.source&&a.get("source").isStringLiteral()){a.get("specifiers").forEach(l=>{vw(l),n.set(l.get("local").node.name,"block")});return}}if(a.isFunctionDeclaration())o="hoisted";else if(a.isClassDeclaration())o="block";else if(a.isVariableDeclaration({kind:"var"}))o="var";else if(a.isVariableDeclaration())o="block";else return}Object.keys(a.getOuterBindingIdentifiers()).forEach(l=>{n.set(l,o)})});let i=new Map,s=a=>{let o=a.node.name,l=i.get(o);if(!l){let u=n.get(o);if(u===void 0)throw a.buildCodeFrameError(`Exporting local "${o}", which is not declared.`);l={names:[],kind:u},i.set(o,l)}return l};return e.get("body").forEach(a=>{if(a.isExportNamedDeclaration()&&(t||!a.node.source))if(a.node.declaration){let o=a.get("declaration"),l=o.getOuterBindingIdentifierPaths();Object.keys(l).forEach(u=>{if(u==="__esModule")throw o.buildCodeFrameError('Illegal export "__esModule".');s(l[u]).names.push(u)})}else a.get("specifiers").forEach(o=>{let l=o.get("local"),u=o.get("exported"),c=s(l),f=Sc(u,r);if(f==="__esModule")throw u.buildCodeFrameError('Illegal export "__esModule".');c.names.push(f)});else if(a.isExportDefaultDeclaration()){let o=a.get("declaration");if(o.isFunctionDeclaration()||o.isClassDeclaration())s(o.get("id")).names.push("default");else throw o.buildCodeFrameError("Unexpected default expression export.")}}),i}function Ehe(e){e.get("body").forEach(t=>{t.isExportDefaultDeclaration()&&(0,dhe.default)(t)})}function vhe(e){e.get("body").forEach(t=>{if(t.isImportDeclaration())t.remove();else if(t.isExportNamedDeclaration())t.node.declaration?(t.node.declaration._blockHoist=t.node._blockHoist,t.replaceWith(t.node.declaration)):t.remove();else if(t.isExportDefaultDeclaration()){let r=t.get("declaration");if(r.isFunctionDeclaration()||r.isClassDeclaration())r._blockHoist=t.node._blockHoist,t.replaceWith(r);else throw r.buildCodeFrameError("Unexpected default expression export.")}else t.isExportAllDeclaration()&&t.remove()})}});var z0=g(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});xc.buildDynamicImport=The;var Kr=ye(),Do=nn();xc.getDynamicImportSource=function(t){let[r]=t.arguments;return Kr.isStringLiteral(r)||Kr.isTemplateLiteral(r)?r:Do.default.expression.ast`\`\${${r}}\``};function The(e,t,r,n){let[i]=e.arguments;if(Kr.isStringLiteral(i)||Kr.isTemplateLiteral(i)&&i.quasis.length===0)return t?Do.default.expression.ast`
Promise.resolve().then(() => ${n(i)})
`:n(i);let s=Kr.isTemplateLiteral(i)?Kr.identifier("specifier"):Kr.templateLiteral([Kr.templateElement({raw:""}),Kr.templateElement({raw:""})],[Kr.identifier("specifier")]);return t?Do.default.expression.ast`
(specifier =>
new Promise(r => r(${s}))
.then(s => ${n(Kr.identifier("s"))})
)(${i})
`:r?Do.default.expression.ast`
(specifier =>
new Promise(r => r(${n(s)}))
)(${i})
`:Do.default.expression.ast`
(specifier => ${n(s)})(${i})
`}});var Sw=g(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.default=G0;{let e=G0;Pc.default=G0=function(r,n){var i,s,a,o;return e(r,{moduleId:(i=n.moduleId)!=null?i:r.moduleId,moduleIds:(s=n.moduleIds)!=null?s:r.moduleIds,getModuleId:(a=n.getModuleId)!=null?a:r.getModuleId,moduleRoot:(o=n.moduleRoot)!=null?o:r.moduleRoot})}}function G0(e,t){let{filename:r,filenameRelative:n=r,sourceRoot:i=t.moduleRoot}=e,{moduleId:s,moduleIds:a=!!s,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(s!=null&&!o)return s;let u=l!=null?l+"/":"";if(n){let c=i!=null?new RegExp("^"+i+"/?"):"";u+=n.replace(c,"").replace(/\.(\w*?)$/,"")}return u=u.replace(/\\/g,"/"),o&&o(u)||u}});var wc=g(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});Object.defineProperty(br,"buildDynamicImport",{enumerable:!0,get:function(){return Ahe.buildDynamicImport}});br.buildNamespaceInitStatements=Rhe;br.ensureStatementsHoisted=Lhe;Object.defineProperty(br,"getModuleName",{enumerable:!0,get:function(){return Che.default}});Object.defineProperty(br,"hasExports",{enumerable:!0,get:function(){return Io.hasExports}});Object.defineProperty(br,"isModule",{enumerable:!0,get:function(){return Aw.isModule}});Object.defineProperty(br,"isSideEffectImport",{enumerable:!0,get:function(){return Io.isSideEffectImport}});br.rewriteModuleStatementsAndPrepareHeader=jhe;Object.defineProperty(br,"rewriteThis",{enumerable:!0,get:function(){return Cw.default}});br.wrapInterop=Mhe;var She=require("assert"),xhe=ye(),gr=nn(),Aw=M0(),Cw=lw(),Phe=yw(),Io=Tw(),Ahe=z0(),Che=Sw(),{booleanLiteral:whe,callExpression:Cc,cloneNode:Ac,directive:Dhe,directiveLiteral:Ihe,expressionStatement:_he,identifier:_o,isIdentifier:Ohe,memberExpression:xw,stringLiteral:Nhe,valueToNode:khe,variableDeclaration:Fhe,variableDeclarator:Bhe}=xhe;br.getDynamicImportSource=z0().getDynamicImportSource;function jhe(e,{exportName:t,strict:r,allowTopLevelThis:n,strictMode:i,noInterop:s,importInterop:a=s?"none":"babel",lazy:o,esNamespaceOnly:l,filename:u,constantReexports:c=arguments[1].loose,enumerableModuleMeta:f=arguments[1].loose,noIncompleteNsImportDetection:d}){(0,Io.validateImportInteropOption)(a),She((0,Aw.isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";let m=(0,Io.default)(e,t,{importInterop:a,initializeReexports:c,lazy:o,esNamespaceOnly:l,filename:u});n||(0,Cw.default)(e),(0,Phe.default)(e,m),i!==!1&&(e.node.directives.some(b=>b.value.value==="use strict")||e.unshiftContainer("directives",Dhe(Ihe("use strict"))));let S=[];(0,Io.hasExports)(m)&&!r&&S.push(qhe(m,f));let p=Vhe(e,m);return p&&(m.exportNameListName=p.name,S.push(p.statement)),S.push(...$he(e,m,c,d)),{meta:m,headers:S}}function Lhe(e){e.forEach(t=>{t._blockHoist=3})}function Mhe(e,t,r){if(r==="none")return null;if(r==="node-namespace")return Cc(e.hub.addHelper("interopRequireWildcard"),[t,whe(!0)]);if(r==="node-default")return null;let n;if(r==="default")n="interopRequireDefault";else if(r==="namespace")n="interopRequireWildcard";else throw new Error(`Unknown interop: ${r}`);return Cc(e.hub.addHelper(n),[t])}function Rhe(e,t,r=!1){let n=[],i=_o(t.name);t.lazy&&(i=Cc(i,[]));for(let s of t.importsNamespace)s!==t.name&&n.push(gr.default.statement`var NAME = SOURCE;`({NAME:s,SOURCE:Ac(i)}));r&&n.push(...ww(e,t,!0));for(let s of t.reexportNamespace)n.push((t.lazy?gr.default.statement`
Object.defineProperty(EXPORTS, "NAME", {
enumerable: true,
get: function() {
return NAMESPACE;
}
});
`:gr.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:s,NAMESPACE:Ac(i)}));if(t.reexportAll){let s=Uhe(e,Ac(i),r);s.loc=t.reexportAll.loc,n.push(s)}return n}var H0={constant:gr.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:gr.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:gr.default.statement`
Object.defineProperty(EXPORTS, "EXPORT_NAME", {
enumerable: true,
get: function() {
return NAMESPACE_IMPORT;
},
});
`};function ww(e,t,r){let n=t.lazy?Cc(_o(t.name),[]):_o(t.name),{stringSpecifiers:i}=e;return Array.from(t.reexports,([s,a])=>{let o=Ac(n);a==="default"&&t.interop==="node-default"||(i.has(a)?o=xw(o,Nhe(a),!0):o=xw(o,_o(a)));let l={EXPORTS:e.exportName,EXPORT_NAME:s,NAMESPACE_IMPORT:o};return r||Ohe(o)?i.has(s)?H0.constantComputed(l):H0.constant(l):H0.spec(l)})}function qhe(e,t=!1){return(t?gr.default.statement`
EXPORTS.__esModule = true;
`:gr.default.statement`
Object.defineProperty(EXPORTS, "__esModule", {
value: true,
});
`)({EXPORTS:e.exportName})}function Uhe(e,t,r){return(r?gr.default.statement`
Object.keys(NAMESPACE).forEach(function(key) {
if (key === "default" || key === "__esModule") return;
VERIFY_NAME_LIST;
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
EXPORTS[key] = NAMESPACE[key];
});
`:gr.default.statement`
Object.keys(NAMESPACE).forEach(function(key) {
if (key === "default" || key === "__esModule") return;
VERIFY_NAME_LIST;
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
Object.defineProperty(EXPORTS, key, {
enumerable: true,
get: function() {
return NAMESPACE[key];
},
});
});
`)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,gr.default)`
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
`({EXPORTS_LIST:e.exportNameListName}):null})}function Vhe(e,t){let r=Object.create(null);for(let s of t.local.values())for(let a of s.names)r[a]=!0;let n=!1;for(let s of t.source.values()){for(let a of s.reexports.keys())r[a]=!0;for(let a of s.reexportNamespace)r[a]=!0;n=n||!!s.reexportAll}if(!n||Object.keys(r).length===0)return null;let i=e.scope.generateUidIdentifier("exportNames");return delete r.default,{name:i.name,statement:Fhe("var",[Bhe(i,khe(r))])}}function $he(e,t,r=!1,n=!1){let i=[];for(let[a,o]of t.local)if(o.kind!=="import"){if(o.kind==="hoisted")i.push([o.names[0],Y0(t,o.names,_o(a))]);else if(!n)for(let l of o.names)i.push([l,null])}for(let a of t.source.values()){if(!r){let o=ww(t,a,!1),l=[...a.reexports.keys()];for(let u=0;u<o.length;u++)i.push([l[u],o[u]])}if(!n)for(let o of a.reexportNamespace)i.push([o,null])}i.sort(([a],[o])=>a<o?-1:o<a?1:0);let s=[];if(n)for(let[,a]of i)s.push(a);else for(let o=0;o<i.length;o+=100){let l=[];for(let u=0;u<100&&o+u<i.length;u++){let[c,f]=i[o+u];f!==null?(l.length>0&&(s.push(Y0(t,l,e.scope.buildUndefinedNode())),l=[]),s.push(f)):l.push(c)}l.length>0&&s.push(Y0(t,l,e.scope.buildUndefinedNode()))}return s}var Pw={computed:gr.default.expression`EXPORTS["NAME"] = VALUE`,default:gr.default.expression`EXPORTS.NAME = VALUE`};function Y0(e,t,r){let{stringSpecifiers:n,exportName:i}=e;return _he(t.reduce((s,a)=>{let o={EXPORTS:i,NAME:a,VALUE:s};return n.has(a)?Pw.computed(o):Pw.default(o)},r))}});var li=g((we,kw)=>{we=kw.exports=Oe;var it;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?it=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:it=function(){};we.SEMVER_SPEC_VERSION="2.0.0";var J0=256,Dc=Number.MAX_SAFE_INTEGER||9007199254740991,X0=16,An=we.re=[],ft=we.safeRe=[],W=we.src=[],R=we.tokens={},Ow=0;function je(e){R[e]=Ow++}je("NUMERICIDENTIFIER");W[R.NUMERICIDENTIFIER]="0|[1-9]\\d*";je("NUMERICIDENTIFIERLOOSE");W[R.NUMERICIDENTIFIERLOOSE]="[0-9]+";je("NONNUMERICIDENTIFIER");W[R.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";je("MAINVERSION");W[R.MAINVERSION]="("+W[R.NUMERICIDENTIFIER]+")\\.("+W[R.NUMERICIDENTIFIER]+")\\.("+W[R.NUMERICIDENTIFIER]+")";je("MAINVERSIONLOOSE");W[R.MAINVERSIONLOOSE]="("+W[R.NUMERICIDENTIFIERLOOSE]+")\\.("+W[R.NUMERICIDENTIFIERLOOSE]+")\\.("+W[R.NUMERICIDENTIFIERLOOSE]+")";je("PRERELEASEIDENTIFIER");W[R.PRERELEASEIDENTIFIER]="(?:"+W[R.NUMERICIDENTIFIER]+"|"+W[R.NONNUMERICIDENTIFIER]+")";je("PRERELEASEIDENTIFIERLOOSE");W[R.PRERELEASEIDENTIFIERLOOSE]="(?:"+W[R.NUMERICIDENTIFIERLOOSE]+"|"+W[R.NONNUMERICIDENTIFIER]+")";je("PRERELEASE");W[R.PRERELEASE]="(?:-("+W[R.PRERELEASEIDENTIFIER]+"(?:\\."+W[R.PRERELEASEIDENTIFIER]+")*))";je("PRERELEASELOOSE");W[R.PRERELEASELOOSE]="(?:-?("+W[R.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+W[R.PRERELEASEIDENTIFIERLOOSE]+")*))";je("BUILDIDENTIFIER");W[R.BUILDIDENTIFIER]="[0-9A-Za-z-]+";je("BUILD");W[R.BUILD]="(?:\\+("+W[R.BUILDIDENTIFIER]+"(?:\\."+W[R.BUILDIDENTIFIER]+")*))";je("FULL");je("FULLPLAIN");W[R.FULLPLAIN]="v?"+W[R.MAINVERSION]+W[R.PRERELEASE]+"?"+W[R.BUILD]+"?";W[R.FULL]="^"+W[R.FULLPLAIN]+"$";je("LOOSEPLAIN");W[R.LOOSEPLAIN]="[v=\\s]*"+W[R.MAINVERSIONLOOSE]+W[R.PRERELEASELOOSE]+"?"+W[R.BUILD]+"?";je("LOOSE");W[R.LOOSE]="^"+W[R.LOOSEPLAIN]+"$";je("GTLT");W[R.GTLT]="((?:<|>)?=?)";je("XRANGEIDENTIFIERLOOSE");W[R.XRANGEIDENTIFIERLOOSE]=W[R.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";je("XRANGEIDENTIFIER");W[R.XRANGEIDENTIFIER]=W[R.NUMERICIDENTIFIER]+"|x|X|\\*";je("XRANGEPLAIN");W[R.XRANGEPLAIN]="[v=\\s]*("+W[R.XRANGEIDENTIFIER]+")(?:\\.("+W[R.XRANGEIDENTIFIER]+")(?:\\.("+W[R.XRANGEIDENTIFIER]+")(?:"+W[R.PRERELEASE]+")?"+W[R.BUILD]+"?)?)?";je("XRANGEPLAINLOOSE");W[R.XRANGEPLAINLOOSE]="[v=\\s]*("+W[R.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+W[R.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+W[R.XRANGEIDENTIFIERLOOSE]+")(?:"+W[R.PRERELEASELOOSE]+")?"+W[R.BUILD]+"?)?)?";je("XRANGE");W[R.XRANGE]="^"+W[R.GTLT]+"\\s*"+W[R.XRANGEPLAIN]+"$";je("XRANGELOOSE");W[R.XRANGELOOSE]="^"+W[R.GTLT]+"\\s*"+W[R.XRANGEPLAINLOOSE]+"$";je("COERCE");W[R.COERCE]="(^|[^\\d])(\\d{1,"+X0+"})(?:\\.(\\d{1,"+X0+"}))?(?:\\.(\\d{1,"+X0+"}))?(?:$|[^\\d])";je("COERCERTL");An[R.COERCERTL]=new RegExp(W[R.COERCE],"g");je("LONETILDE");W[R.LONETILDE]="(?:~>?)";je("TILDETRIM");W[R.TILDETRIM]="(\\s*)"+W[R.LONETILDE]+"\\s+";An[R.TILDETRIM]=new RegExp(W[R.TILDETRIM],"g");var Khe="$1~";je("TILDE");W[R.TILDE]="^"+W[R.LONETILDE]+W[R.XRANGEPLAIN]+"$";je("TILDELOOSE");W[R.TILDELOOSE]="^"+W[R.LONETILDE]+W[R.XRANGEPLAINLOOSE]+"$";je("LONECARET");W[R.LONECARET]="(?:\\^)";je("CARETTRIM");W[R.CARETTRIM]="(\\s*)"+W[R.LONECARET]+"\\s+";An[R.CARETTRIM]=new RegExp(W[R.CARETTRIM],"g");var Whe="$1^";je("CARET");W[R.CARET]="^"+W[R.LONECARET]+W[R.XRANGEPLAIN]+"$";je("CARETLOOSE");W[R.CARETLOOSE]="^"+W[R.LONECARET]+W[R.XRANGEPLAINLOOSE]+"$";je("COMPARATORLOOSE");W[R.COMPARATORLOOSE]="^"+W[R.GTLT]+"\\s*("+W[R.LOOSEPLAIN]+")$|^$";je("COMPARATOR");W[R.COMPARATOR]="^"+W[R.GTLT]+"\\s*("+W[R.FULLPLAIN]+")$|^$";je("COMPARATORTRIM");W[R.COMPARATORTRIM]="(\\s*)"+W[R.GTLT]+"\\s*("+W[R.LOOSEPLAIN]+"|"+W[R.XRANGEPLAIN]+")";An[R.COMPARATORTRIM]=new RegExp(W[R.COMPARATORTRIM],"g");var zhe="$1$2$3";je("HYPHENRANGE");W[R.HYPHENRANGE]="^\\s*("+W[R.XRANGEPLAIN]+")\\s+-\\s+("+W[R.XRANGEPLAIN]+")\\s*$";je("HYPHENRANGELOOSE");W[R.HYPHENRANGELOOSE]="^\\s*("+W[R.XRANGEPLAINLOOSE]+")\\s+-\\s+("+W[R.XRANGEPLAINLOOSE]+")\\s*$";je("STAR");W[R.STAR]="(<|>)?=?\\s*\\*";for(oi=0;oi<Ow;oi++)it(oi,W[oi]),An[oi]||(An[oi]=new RegExp(W[oi]));var oi;for(Ks=0;Ks<An.length;Ks++)Dw=An[Ks].source.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),ft[Ks]=new RegExp(Dw,An[Ks].flags);var Dw,Ks;we.parse=qi;function qi(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Oe)return e;if(typeof e!="string"||e.length>J0)return null;var r=t.loose?ft[R.LOOSE]:ft[R.FULL];if(!r.test(e))return null;try{return new Oe(e,t)}catch{return null}}we.valid=Ghe;function Ghe(e,t){var r=qi(e,t);return r?r.version:null}we.clean=Hhe;function Hhe(e,t){var r=qi(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}we.SemVer=Oe;function Oe(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Oe){if(e.loose===t.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>J0)throw new TypeError("version is longer than "+J0+" characters");if(!(this instanceof Oe))return new Oe(e,t);it("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?ft[R.LOOSE]:ft[R.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Dc||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Dc||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Dc||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i<Dc)return i}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}Oe.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Oe.prototype.toString=function(){return this.version};Oe.prototype.compare=function(e){return it("SemVer.compare",this.version,this.options,e),e instanceof Oe||(e=new Oe(e,this.options)),this.compareMain(e)||this.comparePre(e)};Oe.prototype.compareMain=function(e){return e instanceof Oe||(e=new Oe(e,this.options)),Ri(this.major,e.major)||Ri(this.minor,e.minor)||Ri(this.patch,e.patch)};Oe.prototype.comparePre=function(e){if(e instanceof Oe||(e=new Oe(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(it("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Ri(r,n)}while(++t)};Oe.prototype.compareBuild=function(e){e instanceof Oe||(e=new Oe(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(it("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Ri(r,n)}while(++t)};Oe.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this};we.inc=Yhe;function Yhe(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Oe(e,r).inc(t,n).version}catch{return null}}we.diff=Xhe;function Xhe(e,t){if(Q0(e,t))return null;var r=qi(e),n=qi(t),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return s}we.compareIdentifiers=Ri;var Iw=/^[0-9]+$/;function Ri(e,t){var r=Iw.test(e),n=Iw.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}we.rcompareIdentifiers=Jhe;function Jhe(e,t){return Ri(t,e)}we.major=Qhe;function Qhe(e,t){return new Oe(e,t).major}we.minor=Zhe;function Zhe(e,t){return new Oe(e,t).minor}we.patch=eme;function eme(e,t){return new Oe(e,t).patch}we.compare=Cn;function Cn(e,t,r){return new Oe(e,r).compare(new Oe(t,r))}we.compareLoose=tme;function tme(e,t){return Cn(e,t,!0)}we.compareBuild=rme;function rme(e,t,r){var n=new Oe(e,r),i=new Oe(t,r);return n.compare(i)||n.compareBuild(i)}we.rcompare=nme;function nme(e,t,r){return Cn(t,e,r)}we.sort=ime;function ime(e,t){return e.sort(function(r,n){return we.compareBuild(r,n,t)})}we.rsort=sme;function sme(e,t){return e.sort(function(r,n){return we.compareBuild(n,r,t)})}we.gt=Oo;function Oo(e,t,r){return Cn(e,t,r)>0}we.lt=Ic;function Ic(e,t,r){return Cn(e,t,r)<0}we.eq=Q0;function Q0(e,t,r){return Cn(e,t,r)===0}we.neq=Nw;function Nw(e,t,r){return Cn(e,t,r)!==0}we.gte=Z0;function Z0(e,t,r){return Cn(e,t,r)>=0}we.lte=eg;function eg(e,t,r){return Cn(e,t,r)<=0}we.cmp=_c;function _c(e,t,r,n){switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Q0(e,r,n);case"!=":return Nw(e,r,n);case">":return Oo(e,r,n);case">=":return Z0(e,r,n);case"<":return Ic(e,r,n);case"<=":return eg(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}we.Comparator=Ir;function Ir(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Ir){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof Ir))return new Ir(e,t);e=e.trim().split(/\s+/).join(" "),it("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Ws?this.value="":this.value=this.operator+this.semver.version,it("comp",this)}var Ws={};Ir.prototype.parse=function(e){var t=this.options.loose?ft[R.COMPARATORLOOSE]:ft[R.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Oe(r[2],this.options.loose):this.semver=Ws};Ir.prototype.toString=function(){return this.value};Ir.prototype.test=function(e){if(it("Comparator.test",e,this.options.loose),this.semver===Ws||e===Ws)return!0;if(typeof e=="string")try{e=new Oe(e,this.options)}catch{return!1}return _c(e,this.operator,this.semver,this.options)};Ir.prototype.intersects=function(e,t){if(!(e instanceof Ir))throw new TypeError("a Comparator is required");(!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new bt(e.value,t),Oc(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new bt(this.value,t),Oc(e.semver,r,t));var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),s=this.semver.version===e.semver.version,a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=_c(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=_c(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||i||s&&a||o||l};we.Range=bt;function bt(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof bt)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new bt(e.raw,t);if(e instanceof Ir)return new bt(e.value,t);if(!(this instanceof bt))return new bt(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split(/\s*\|\|\s*/).map(function(r){return this.parseRange(r)},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}bt.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};bt.prototype.toString=function(){return this.range};bt.prototype.parseRange=function(e){var t=this.options.loose,r=t?ft[R.HYPHENRANGELOOSE]:ft[R.HYPHENRANGE];e=e.replace(r,mme),it("hyphen replace",e),e=e.replace(ft[R.COMPARATORTRIM],zhe),it("comparator trim",e,ft[R.COMPARATORTRIM]),e=e.replace(ft[R.TILDETRIM],Khe),e=e.replace(ft[R.CARETTRIM],Whe);var n=t?ft[R.COMPARATORLOOSE]:ft[R.COMPARATOR],i=e.split(" ").map(function(s){return ome(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new Ir(s,this.options)},this),i};bt.prototype.intersects=function(e,t){if(!(e instanceof bt))throw new TypeError("a Range is required");return this.set.some(function(r){return _w(r,t)&&e.set.some(function(n){return _w(n,t)&&r.every(function(i){return n.every(function(s){return i.intersects(s,t)})})})})};function _w(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,t)}),i=n.pop();return r}we.toComparators=ame;function ame(e,t){return new bt(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function ome(e,t){return it("comp",e,t),e=cme(e,t),it("caret",e),e=lme(e,t),it("tildes",e),e=pme(e,t),it("xrange",e),e=hme(e,t),it("stars",e),e}function nr(e){return!e||e.toLowerCase()==="x"||e==="*"}function lme(e,t){return e.trim().split(/\s+/).map(function(r){return ume(r,t)}).join(" ")}function ume(e,t){var r=t.loose?ft[R.TILDELOOSE]:ft[R.TILDE];return e.replace(r,function(n,i,s,a,o){it("tilde",e,n,i,s,a,o);var l;return nr(i)?l="":nr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":nr(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":o?(it("replaceTilde pr",o),l=">="+i+"."+s+"."+a+"-"+o+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",it("tilde return",l),l})}function cme(e,t){return e.trim().split(/\s+/).map(function(r){return fme(r,t)}).join(" ")}function fme(e,t){it("caret",e,t);var r=t.loose?ft[R.CARETLOOSE]:ft[R.CARET];return e.replace(r,function(n,i,s,a,o){it("caret",e,n,i,s,a,o);var l;return nr(i)?l="":nr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":nr(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":o?(it("replaceCaret pr",o),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+"-"+o+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+"-"+o+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+"-"+o+" <"+(+i+1)+".0.0"):(it("no pr"),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+" <"+(+i+1)+".0.0"),it("caret return",l),l})}function pme(e,t){return it("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return dme(r,t)}).join(" ")}function dme(e,t){e=e.trim();var r=t.loose?ft[R.XRANGELOOSE]:ft[R.XRANGE];return e.replace(r,function(n,i,s,a,o,l){it("xRange",e,n,i,s,a,o,l);var u=nr(s),c=u||nr(a),f=c||nr(o),d=f;return i==="="&&d&&(i=""),l=t.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&d?(c&&(a=0),o=0,i===">"?(i=">=",c?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):i==="<="&&(i="<",c?s=+s+1:a=+a+1),n=i+s+"."+a+"."+o+l):c?n=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:f&&(n=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),it("xRange return",n),n})}function hme(e,t){return it("replaceStars",e,t),e.trim().replace(ft[R.STAR],"")}function mme(e,t,r,n,i,s,a,o,l,u,c,f,d){return nr(r)?t="":nr(n)?t=">="+r+".0.0":nr(i)?t=">="+r+"."+n+".0":t=">="+t,nr(l)?o="":nr(u)?o="<"+(+l+1)+".0.0":nr(c)?o="<"+l+"."+(+u+1)+".0":f?o="<="+l+"."+u+"."+c+"-"+f:o="<="+o,(t+" "+o).trim()}bt.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new Oe(e,this.options)}catch{return!1}for(var t=0;t<this.set.length;t++)if(yme(this.set[t],e,this.options))return!0;return!1};function yme(e,t,r){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++)if(it(e[n].semver),e[n].semver!==Ws&&e[n].semver.prerelease.length>0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}we.satisfies=Oc;function Oc(e,t,r){try{t=new bt(t,r)}catch{return!1}return t.test(e)}we.maxSatisfying=gme;function gme(e,t,r){var n=null,i=null;try{var s=new bt(t,r)}catch{return null}return e.forEach(function(a){s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Oe(n,r))}),n}we.minSatisfying=bme;function bme(e,t,r){var n=null,i=null;try{var s=new bt(t,r)}catch{return null}return e.forEach(function(a){s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Oe(n,r))}),n}we.minVersion=Eme;function Eme(e,t){e=new bt(e,t);var r=new Oe("0.0.0");if(e.test(r)||(r=new Oe("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n){var i=e.set[n];i.forEach(function(s){var a=new Oe(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||Oo(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&e.test(r)?r:null}we.validRange=vme;function vme(e,t){try{return new bt(e,t).range||"*"}catch{return null}}we.ltr=Tme;function Tme(e,t,r){return tg(e,t,"<",r)}we.gtr=Sme;function Sme(e,t,r){return tg(e,t,">",r)}we.outside=tg;function tg(e,t,r,n){e=new Oe(e,n),t=new bt(t,n);var i,s,a,o,l;switch(r){case">":i=Oo,s=eg,a=Ic,o=">",l=">=";break;case"<":i=Ic,s=Z0,a=Oo,o="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Oc(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var c=t.set[u],f=null,d=null;if(c.forEach(function(m){m.semver===Ws&&(m=new Ir(">=0.0.0")),f=f||m,d=d||m,i(m.semver,f.semver,n)?f=m:a(m.semver,d.semver,n)&&(d=m)}),f.operator===o||f.operator===l||(!d.operator||d.operator===o)&&s(e,d.semver))return!1;if(d.operator===l&&a(e,d.semver))return!1}return!0}we.prerelease=xme;function xme(e,t){var r=qi(e,t);return r&&r.prerelease.length?r.prerelease:null}we.intersects=Pme;function Pme(e,t,r){return e=new bt(e,r),t=new bt(t,r),e.intersects(t)}we.coerce=Ame;function Ame(e,t){if(e instanceof Oe)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};var r=null;if(!t.rtl)r=e.match(ft[R.COERCE]);else{for(var n;(n=ft[R.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),ft[R.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;ft[R.COERCERTL].lastIndex=-1}return r===null?null:qi(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var Fc=g(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.default=void 0;function No(){let e=O0();return No=function(){return e},e}function rg(){let e=yr();return rg=function(){return e},e}function Fw(){let e=As();return Fw=function(){return e},e}function Bw(){let e=ye();return Bw=function(){return e},e}function jw(){let e=wc();return jw=function(){return e},e}function Nc(){let e=li();return Nc=function(){return e},e}var{cloneNode:Cme,interpreterDirective:wme}=Bw(),Dme={enter(e,t){let r=e.node.loc;r&&(t.loc=r,e.stop())}},ng=class e{constructor(t,{code:r,ast:n,inputMap:i}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=t,this.code=r,this.ast=n,this.inputMap=i,this.path=rg().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:t}=this.path.node;return t?t.value:""}set shebang(t){t?this.path.get("interpreter").replaceWith(wme(t)):this.path.get("interpreter").remove()}set(t,r){if(t==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(t,r)}get(t){return this._map.get(t)}has(t){return this._map.has(t)}getModuleName(){return(0,jw().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(t,r){let n;try{n=No().minVersion(t)}catch(i){if(i.code!=="BABEL_HELPER_UNKNOWN")throw i;return!1}return typeof r!="string"?!0:(Nc().valid(r)&&(r=`^${r}`),!Nc().intersects(`<${n}`,r)&&!Nc().intersects(">=8.0.0",r))}addHelper(t){let r=this.declarations[t];if(r)return Cme(r);let n=this.get("helperGenerator");if(n){let l=n(t);if(l)return l}No().ensure(t,e);let i=this.declarations[t]=this.scope.generateUidIdentifier(t),s={};for(let l of No().getDependencies(t))s[l]=this.addHelper(l);let{nodes:a,globals:o}=No().get(t,l=>s[l],i,Object.keys(this.scope.getAllBindings()));return o.forEach(l=>{this.path.scope.hasBinding(l,!0)&&this.path.scope.rename(l)}),a.forEach(l=>{l._compact=!0}),this.path.unshiftContainer("body",a),this.path.get("body").forEach(l=>{a.indexOf(l.node)!==-1&&l.isVariableDeclaration()&&this.scope.registerDeclaration(l)}),i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(t,r,n=SyntaxError){let i=t&&(t.loc||t._loc);if(!i&&t){let s={loc:null};(0,rg().default)(t,Dme,this.scope,s),i=s.loc;let a="This is an error on an internal node. Probably an internal error.";i&&(a+=" Location has been estimated."),r+=` (${a})`}if(i){let{highlightCode:s=!0}=this.opts;r+=`
`+(0,Fw().codeFrameColumns)(this.code,{start:{line:i.start.line,column:i.start.column+1},end:i.end&&i.start.line===i.end.line?{line:i.end.line,column:i.end.column+1}:void 0},{highlightCode:s})}return new n(r)}};kc.default=ng});var $w=g(lg=>{"use strict";Object.defineProperty(lg,"__esModule",{value:!0});lg.default=Wme;function Bc(){let e=O0();return Bc=function(){return e},e}function Lw(){let e=Tu();return Lw=function(){return e},e}function Mw(){let e=nn();return Mw=function(){return e},e}function Rw(){let e=ye();return Rw=function(){return e},e}var Ime=Fc(),{arrayExpression:_me,assignmentExpression:qw,binaryExpression:Ome,blockStatement:Nme,callExpression:kme,cloneNode:Fme,conditionalExpression:Bme,exportNamedDeclaration:jme,exportSpecifier:Lme,expressionStatement:Uw,functionExpression:Mme,identifier:zt,memberExpression:ig,objectExpression:sg,program:jc,stringLiteral:Vw,unaryExpression:Rme,variableDeclaration:ag,variableDeclarator:og}=Rw(),qme=e=>Mw().default.statement`
(function (root, factory) {
if (typeof define === "function" && define.amd) {
define(AMD_ARGUMENTS, factory);
} else if (typeof exports === "object") {
factory(COMMON_ARGUMENTS);
} else {
factory(BROWSER_ARGUMENTS);
}
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
FACTORY_BODY
});
`(e);function Ume(e){let t=zt("babelHelpers"),r=[],n=Mme(null,[zt("global")],Nme(r)),i=jc([Uw(kme(n,[Bme(Ome("===",Rme("typeof",zt("global")),Vw("undefined")),zt("self"),zt("global"))]))]);return r.push(ag("var",[og(t,qw("=",ig(zt("global"),t),sg([])))])),Lc(r,t,e),i}function Vme(e){let t=[],r=Lc(t,null,e);return t.unshift(jme(null,Object.keys(r).map(n=>Lme(Fme(r[n]),zt(n))))),jc(t,[],"module")}function $me(e){let t=zt("babelHelpers"),r=[];return r.push(ag("var",[og(t,zt("global"))])),Lc(r,t,e),jc([qme({FACTORY_PARAMETERS:zt("global"),BROWSER_ARGUMENTS:qw("=",ig(zt("root"),t),sg([])),COMMON_ARGUMENTS:zt("exports"),AMD_ARGUMENTS:_me([Vw("exports")]),FACTORY_BODY:r,UMD_ROOT:zt("this")})])}function Kme(e){let t=zt("babelHelpers"),r=[];r.push(ag("var",[og(t,sg([]))]));let n=jc(r);return Lc(r,t,e),r.push(Uw(t)),n}function Lc(e,t,r){let n=s=>t?ig(t,zt(s)):zt(`_${s}`),i={};return Bc().list.forEach(function(s){if(r&&r.indexOf(s)<0)return;let a=i[s]=n(s);Bc().ensure(s,Ime.default);let{nodes:o}=Bc().get(s,n,a);e.push(...o)}),i}function Wme(e,t="global"){let r,n={global:Ume,module:Vme,umd:$me,var:Kme}[t];if(n)r=n(e);else throw new Error(`Unsupported output type ${t}`);return(0,Lw().default)(r).code}});var fr=g((UDe,Jw)=>{"use strict";var Ww=Symbol.for("gensync:v1:start"),zw=Symbol.for("gensync:v1:suspend"),zme="GENSYNC_EXPECTED_START",Gme="GENSYNC_EXPECTED_SUSPEND",Gw="GENSYNC_OPTIONS_ERROR",Kw="GENSYNC_RACE_NONEMPTY",Hme="GENSYNC_ERRBACK_NO_CALLBACK";Jw.exports=Object.assign(function(t){let r=t;return typeof t!="function"?r=Xme(t):r=Jme(t),Object.assign(r,Yme(r))},{all:ug({name:"all",arity:1,sync:function(e){return Array.from(e[0]).map(r=>cg(r))},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0){Promise.resolve().then(()=>t([]));return}let i=0,s=n.map(()=>{});n.forEach((a,o)=>{Mc(a,l=>{s[o]=l,i+=1,i===s.length&&t(s)},r)})}}),race:ug({name:"race",arity:1,sync:function(e){let t=Array.from(e[0]);if(t.length===0)throw Ui("Must race at least 1 item",Kw);return cg(t[0])},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0)throw Ui("Must race at least 1 item",Kw);for(let i of n)Mc(i,t,r)}})});function Yme(e){return{sync:function(...r){return cg(e.apply(this,r))},async:function(...r){return new Promise((n,i)=>{Mc(e.apply(this,r),n,i)})},errback:function(...r){let n=r.pop();if(typeof n!="function")throw Ui("Asynchronous function called without callback",Hme);let i;try{i=e.apply(this,r)}catch(s){n(s);return}Mc(i,s=>n(void 0,s),s=>n(s))}}}function ko(e,t,r,n){if(typeof r===e||n&&typeof r=="undefined")return;let i;throw n?i=`Expected opts.${t} to be either a ${e}, or undefined.`:i=`Expected opts.${t} to be a ${e}.`,Ui(i,Gw)}function Ui(e,t){return Object.assign(new Error(e),{code:t})}function Xme({name:e,arity:t,sync:r,async:n,errback:i}){if(ko("string","name",e,!0),ko("number","arity",t,!0),ko("function","sync",r),ko("function","async",n,!0),ko("function","errback",i,!0),n&&i)throw Ui("Expected one of either opts.async or opts.errback, but got _both_.",Gw);if(typeof e!="string"){let s;i&&i.name&&i.name!=="errback"&&(s=i.name),n&&n.name&&n.name!=="async"&&(s=n.name.replace(/Async$/,"")),r&&r.name&&r.name!=="sync"&&(s=r.name.replace(/Sync$/,"")),typeof s=="string"&&(e=s)}return typeof t!="number"&&(t=r.length),ug({name:e,arity:t,sync:function(s){return r.apply(this,s)},async:function(s,a,o){n?n.apply(this,s).then(a,o):i?i.call(this,...s,(l,u)=>{l==null?a(u):o(l)}):a(r.apply(this,s))}})}function Jme(e){return Xw(e.name,e.length,function(...t){return e.apply(this,t)})}function ug({name:e,arity:t,sync:r,async:n}){return Xw(e,t,function*(...i){let s=yield Ww;if(!s)return r.call(this,i);let a;try{n.call(this,i,o=>{a||(a={value:o},s())},o=>{a||(a={err:o},s())})}catch(o){a={err:o},s()}if(yield zw,a.hasOwnProperty("err"))throw a.err;return a.value})}function cg(e){let t;for(;!({value:t}=e.next()).done;)Hw(t,e);return t}function Mc(e,t,r){(function n(){try{let i;for(;!({value:i}=e.next()).done;){Hw(i,e);let s=!0,a=!1,o=e.next(()=>{s?a=!0:n()});if(s=!1,Qme(o,e),!a)return}return t(i)}catch(i){return r(i)}})()}function Hw(e,t){e!==Ww&&Yw(t,Ui(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,zme))}function Qme({value:e,done:t},r){!t&&e===zw||Yw(r,Ui(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,Gme))}function Yw(e,t){throw e.throw&&e.throw(t),t}function Xw(e,t,r){if(typeof e=="string"){let n=Object.getOwnPropertyDescriptor(r,"name");(!n||n.configurable)&&Object.defineProperty(r,"name",Object.assign(n||{},{configurable:!0,value:e}))}if(typeof t=="number"){let n=Object.getOwnPropertyDescriptor(r,"length");(!n||n.configurable)&&Object.defineProperty(r,"length",Object.assign(n||{},{configurable:!0,value:t}))}return r}});var zs=g(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.forwardAsync=rye;Wr.isAsync=void 0;Wr.isThenable=tD;Wr.maybeAsync=eye;Wr.waitFor=Wr.onFirstPause=void 0;function ui(){let e=fr();return ui=function(){return e},e}function Qw(e,t,r,n,i,s,a){try{var o=e[s](a),l=o.value}catch(u){r(u);return}o.done?t(l):Promise.resolve(l).then(n,i)}function eD(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function a(l){Qw(s,n,i,a,o,"next",l)}function o(l){Qw(s,n,i,a,o,"throw",l)}a(void 0)})}}var Zw=ui()(function*(e){return yield*e}),Zme=ui()({sync:()=>!1,errback:e=>e(null,!0)});Wr.isAsync=Zme;function eye(e,t){return ui()({sync(...r){let n=e.apply(this,r);if(tD(n))throw new Error(t);return n},async(...r){return Promise.resolve(e.apply(this,r))}})}var tye=ui()({sync:e=>e("sync"),async:function(){var e=eD(function*(t){return t("async")});return function(r){return e.apply(this,arguments)}}()});function rye(e,t){let r=ui()(e);return tye(n=>{let i=r[n];return t(i)})}var nye=ui()({name:"onFirstPause",arity:2,sync:function(e){return Zw.sync(e)},errback:function(e,t,r){let n=!1;Zw.errback(e,(i,s)=>{n=!0,r(i,s)}),n||t()}});Wr.onFirstPause=nye;var iye=ui()({sync:e=>e,async:function(){var e=eD(function*(t){return t});return function(r){return e.apply(this,arguments)}}()});Wr.waitFor=iye;function tD(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var qc=g(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.isIterableIterator=oye;Rc.mergeOptions=sye;function sye(e,t){for(let r of Object.keys(t))if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){let n=t[r],i=e[r]||(e[r]={});aye(i,n)}else{let n=t[r];n!==void 0&&(e[r]=n)}}function aye(e,t){for(let r of Object.keys(t)){let n=t[r];n!==void 0&&(e[r]=n)}}function oye(e){return!!e&&typeof e.next=="function"&&typeof e[Symbol.iterator]=="function"}});var $i=g(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.assertSimpleType=Uc;Vi.makeStrongCache=aD;Vi.makeStrongCacheSync=fye;Vi.makeWeakCache=sD;Vi.makeWeakCacheSync=cye;function nD(){let e=fr();return nD=function(){return e},e}var Gs=zs(),lye=qc(),iD=e=>nD()(e).sync;function*uye(){return!0}function sD(e){return oD(WeakMap,e)}function cye(e){return iD(sD(e))}function aD(e){return oD(Map,e)}function fye(e){return iD(aD(e))}function oD(e,t){let r=new e,n=new e,i=new e;return function*(a,o){let l=yield*(0,Gs.isAsync)(),u=l?n:r,c=yield*pye(l,u,i,a,o);if(c.valid)return c.value;let f=new fg(o),d=t(a,f),m,S;return(0,lye.isIterableIterator)(d)?S=yield*(0,Gs.onFirstPause)(d,()=>{m=dye(f,i,a)}):S=d,lD(u,f,a,S),m&&(i.delete(a),m.release(S)),S}}function*rD(e,t,r){let n=e.get(t);if(n){for(let{value:i,valid:s}of n)if(yield*s(r))return{valid:!0,value:i}}return{valid:!1,value:null}}function*pye(e,t,r,n,i){let s=yield*rD(t,n,i);if(s.valid)return s;if(e){let a=yield*rD(r,n,i);if(a.valid)return{valid:!0,value:yield*(0,Gs.waitFor)(a.value.promise)}}return{valid:!1,value:null}}function dye(e,t,r){let n=new pg;return lD(t,e,r,n),n}function lD(e,t,r,n){t.configured()||t.forever();let i=e.get(r);switch(t.deactivate(),t.mode()){case"forever":i=[{value:n,valid:uye}],e.set(r,i);break;case"invalidate":i=[{value:n,valid:t.validator()}],e.set(r,i);break;case"valid":i?i.push({value:n,valid:t.validator()}):(i=[{value:n,valid:t.validator()}],e.set(r,i))}}var fg=class{constructor(t){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=t}simple(){return hye(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(t){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let r=t(this._data),n=(0,Gs.maybeAsync)(t,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,Gs.isThenable)(r)?r.then(i=>(this._pairs.push([i,n]),i)):(this._pairs.push([r,n]),r)}invalidate(t){return this._invalidate=!0,this.using(t)}validator(){let t=this._pairs;return function*(r){for(let[n,i]of t)if(n!==(yield*i(r)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}};function hye(e){function t(r){if(typeof r=="boolean"){r?e.forever():e.never();return}return e.using(()=>Uc(r()))}return t.forever=()=>e.forever(),t.never=()=>e.never(),t.using=r=>e.using(()=>Uc(r())),t.invalidate=r=>e.invalidate(()=>Uc(r())),t}function Uc(e){if((0,Gs.isThenable)(e))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(e!=null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return e}var pg=class{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(t=>{this._resolve=t})}release(t){this.released=!0,this._resolve(t)}}});var Vc=g(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});Hs.stat=Hs.readFile=void 0;function Fo(){let e=require("fs");return Fo=function(){return e},e}function dg(){let e=fr();return dg=function(){return e},e}var mye=dg()({sync:Fo().readFileSync,errback:Fo().readFile});Hs.readFile=mye;var yye=dg()({sync:Fo().statSync,errback:Fo().stat});Hs.stat=yye});var yg=g(mg=>{"use strict";Object.defineProperty(mg,"__esModule",{value:!0});mg.makeStaticFileCache=Eye;var gye=$i(),bye=Vc();function hg(){let e=require("fs");return hg=function(){return e},e}function Eye(e){return(0,gye.makeStrongCache)(function*(t,r){return r.invalidate(()=>vye(t))===null?null:e(t,yield*bye.readFile(t,"utf8"))})}function vye(e){if(!hg().existsSync(e))return null;try{return+hg().statSync(e).mtime}catch(t){if(t.code!=="ENOENT"&&t.code!=="ENOTDIR")throw t}return null}});var ci=g(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.beginHiddenCallStack=Pye;Ys.endHiddenCallStack=Aye;Ys.expectedError=xye;Ys.injectVirtualStackFrame=Sye;var uD,cD=Function.call.bind(Error.prototype.toString),Kc=!!Error.captureStackTrace&&((uD=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:uD.writable)===!0,fD="startHiding - secret - don't use this - v1",pD="stopHiding - secret - don't use this - v1",dD=new WeakSet,$c=new WeakMap;function Tye(e){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>e,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>e})}function Sye(e,t){if(!Kc)return;let r=$c.get(e);return r||$c.set(e,r=[]),r.push(Tye(t)),e}function xye(e){if(Kc)return dD.add(e),e}function Pye(e){return Kc?Object.defineProperty(function(...t){return hD(),e(...t)},"name",{value:pD}):e}function Aye(e){return Kc?Object.defineProperty(function(...t){return e(...t)},"name",{value:fD}):e}function hD(){hD=()=>{};let{prepareStackTrace:e=Cye}=Error,t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t)),Error.prepareStackTrace=function(n,i){let s=[],o=dD.has(n)?"hiding":"unknown";for(let l=0;l<i.length;l++){let u=i[l].getFunctionName();if(u===fD)o="hiding";else if(u===pD){if(o==="hiding")o="showing",$c.has(n)&&s.unshift(...$c.get(n));else if(o==="unknown"){s=i;break}}else o!=="hiding"&&s.push(i[l])}return e(n,s)}}function Cye(e,t){return t.length===0?cD(e):`${cD(e)}
at ${t.join(`
at `)}`}});var Ki=g(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.default=void 0;var mD=ci(),gg=class extends Error{constructor(t,r){super(t),(0,mD.expectedError)(this),r&&(0,mD.injectVirtualStackFrame)(this,r)}};Wc.default=gg});var yD=g(Eg=>{"use strict";Object.defineProperty(Eg,"__esModule",{value:!0});Eg.findPackageData=_ye;function Xs(){let e=require("path");return Xs=function(){return e},e}var wye=yg(),bg=Ki(),Dye="package.json",Iye=(0,wye.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(n){throw new bg.default(`Error while parsing JSON - ${n.message}`,e)}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!="object")throw new bg.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new bg.default("Expected config object but found array",e);return{filepath:e,dirname:Xs().dirname(e),options:r}});function*_ye(e){let t=null,r=[],n=!0,i=Xs().dirname(e);for(;!t&&Xs().basename(i)!=="node_modules";){r.push(i),t=yield*Iye(Xs().join(i,Dye));let s=Xs().dirname(i);if(i===s){n=!1;break}i=s}return{filepath:e,directories:r,pkg:t,isPackage:n}}});var gD=g((XDe,zc)=>{zc.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;zc.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;zc.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});var Tg=g((JDe,bD)=>{var vg=gD();bD.exports={isSpaceSeparator(e){return typeof e=="string"&&vg.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||vg.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||vg.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}}});var xD=g((QDe,SD)=>{var Bt=Tg(),xg,ir,Dn,Hc,fi,zr,jt,Cg,jo;SD.exports=function(t,r){xg=String(t),ir="start",Dn=[],Hc=0,fi=1,zr=0,jt=void 0,Cg=void 0,jo=void 0;do jt=Oye(),Fye[ir]();while(jt.type!=="eof");return typeof r=="function"?Pg({"":jo},"",r):jo};function Pg(e,t,r){let n=e[t];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let i=0;i<n.length;i++){let s=String(i),a=Pg(n,s,r);a===void 0?delete n[s]:Object.defineProperty(n,s,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(let i in n){let s=Pg(n,i,r);s===void 0?delete n[i]:Object.defineProperty(n,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,n)}var Ne,Ie,Bo,wn,qe;function Oye(){for(Ne="default",Ie="",Bo=!1,wn=1;;){qe=In();let e=vD[Ne]();if(e)return e}}function In(){if(xg[Hc])return String.fromCodePoint(xg.codePointAt(Hc))}function K(){let e=In();return e===`
`?(fi++,zr=0):e?zr+=e.length:zr++,e&&(Hc+=e.length),e}var vD={default(){switch(qe){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
`:case"\r":case"\u2028":case"\u2029":K();return;case"/":K(),Ne="comment";return;case void 0:return K(),ht("eof")}if(Bt.isSpaceSeparator(qe)){K();return}return vD[ir]()},comment(){switch(qe){case"*":K(),Ne="multiLineComment";return;case"/":K(),Ne="singleLineComment";return}throw mt(K())},multiLineComment(){switch(qe){case"*":K(),Ne="multiLineCommentAsterisk";return;case void 0:throw mt(K())}K()},multiLineCommentAsterisk(){switch(qe){case"*":K();return;case"/":K(),Ne="default";return;case void 0:throw mt(K())}K(),Ne="multiLineComment"},singleLineComment(){switch(qe){case`
`:case"\r":case"\u2028":case"\u2029":K(),Ne="default";return;case void 0:return K(),ht("eof")}K()},value(){switch(qe){case"{":case"[":return ht("punctuator",K());case"n":return K(),Wi("ull"),ht("null",null);case"t":return K(),Wi("rue"),ht("boolean",!0);case"f":return K(),Wi("alse"),ht("boolean",!1);case"-":case"+":K()==="-"&&(wn=-1),Ne="sign";return;case".":Ie=K(),Ne="decimalPointLeading";return;case"0":Ie=K(),Ne="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Ie=K(),Ne="decimalInteger";return;case"I":return K(),Wi("nfinity"),ht("numeric",1/0);case"N":return K(),Wi("aN"),ht("numeric",NaN);case'"':case"'":Bo=K()==='"',Ie="",Ne="string";return}throw mt(K())},identifierNameStartEscape(){if(qe!=="u")throw mt(K());K();let e=Ag();switch(e){case"$":case"_":break;default:if(!Bt.isIdStartChar(e))throw ED();break}Ie+=e,Ne="identifierName"},identifierName(){switch(qe){case"$":case"_":case"\u200C":case"\u200D":Ie+=K();return;case"\\":K(),Ne="identifierNameEscape";return}if(Bt.isIdContinueChar(qe)){Ie+=K();return}return ht("identifier",Ie)},identifierNameEscape(){if(qe!=="u")throw mt(K());K();let e=Ag();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!Bt.isIdContinueChar(e))throw ED();break}Ie+=e,Ne="identifierName"},sign(){switch(qe){case".":Ie=K(),Ne="decimalPointLeading";return;case"0":Ie=K(),Ne="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Ie=K(),Ne="decimalInteger";return;case"I":return K(),Wi("nfinity"),ht("numeric",wn*(1/0));case"N":return K(),Wi("aN"),ht("numeric",NaN)}throw mt(K())},zero(){switch(qe){case".":Ie+=K(),Ne="decimalPoint";return;case"e":case"E":Ie+=K(),Ne="decimalExponent";return;case"x":case"X":Ie+=K(),Ne="hexadecimal";return}return ht("numeric",wn*0)},decimalInteger(){switch(qe){case".":Ie+=K(),Ne="decimalPoint";return;case"e":case"E":Ie+=K(),Ne="decimalExponent";return}if(Bt.isDigit(qe)){Ie+=K();return}return ht("numeric",wn*Number(Ie))},decimalPointLeading(){if(Bt.isDigit(qe)){Ie+=K(),Ne="decimalFraction";return}throw mt(K())},decimalPoint(){switch(qe){case"e":case"E":Ie+=K(),Ne="decimalExponent";return}if(Bt.isDigit(qe)){Ie+=K(),Ne="decimalFraction";return}return ht("numeric",wn*Number(Ie))},decimalFraction(){switch(qe){case"e":case"E":Ie+=K(),Ne="decimalExponent";return}if(Bt.isDigit(qe)){Ie+=K();return}return ht("numeric",wn*Number(Ie))},decimalExponent(){switch(qe){case"+":case"-":Ie+=K(),Ne="decimalExponentSign";return}if(Bt.isDigit(qe)){Ie+=K(),Ne="decimalExponentInteger";return}throw mt(K())},decimalExponentSign(){if(Bt.isDigit(qe)){Ie+=K(),Ne="decimalExponentInteger";return}throw mt(K())},decimalExponentInteger(){if(Bt.isDigit(qe)){Ie+=K();return}return ht("numeric",wn*Number(Ie))},hexadecimal(){if(Bt.isHexDigit(qe)){Ie+=K(),Ne="hexadecimalInteger";return}throw mt(K())},hexadecimalInteger(){if(Bt.isHexDigit(qe)){Ie+=K();return}return ht("numeric",wn*Number(Ie))},string(){switch(qe){case"\\":K(),Ie+=Nye();return;case'"':if(Bo)return K(),ht("string",Ie);Ie+=K();return;case"'":if(!Bo)return K(),ht("string",Ie);Ie+=K();return;case`
`:case"\r":throw mt(K());case"\u2028":case"\u2029":Bye(qe);break;case void 0:throw mt(K())}Ie+=K()},start(){switch(qe){case"{":case"[":return ht("punctuator",K())}Ne="value"},beforePropertyName(){switch(qe){case"$":case"_":Ie=K(),Ne="identifierName";return;case"\\":K(),Ne="identifierNameStartEscape";return;case"}":return ht("punctuator",K());case'"':case"'":Bo=K()==='"',Ne="string";return}if(Bt.isIdStartChar(qe)){Ie+=K(),Ne="identifierName";return}throw mt(K())},afterPropertyName(){if(qe===":")return ht("punctuator",K());throw mt(K())},beforePropertyValue(){Ne="value"},afterPropertyValue(){switch(qe){case",":case"}":return ht("punctuator",K())}throw mt(K())},beforeArrayValue(){if(qe==="]")return ht("punctuator",K());Ne="value"},afterArrayValue(){switch(qe){case",":case"]":return ht("punctuator",K())}throw mt(K())},end(){throw mt(K())}};function ht(e,t){return{type:e,value:t,line:fi,column:zr}}function Wi(e){for(let t of e){if(In()!==t)throw mt(K());K()}}function Nye(){switch(In()){case"b":return K(),"\b";case"f":return K(),"\f";case"n":return K(),`
`;case"r":return K(),"\r";case"t":return K()," ";case"v":return K(),"\v";case"0":if(K(),Bt.isDigit(In()))throw mt(K());return"\0";case"x":return K(),kye();case"u":return K(),Ag();case`
`:case"\u2028":case"\u2029":return K(),"";case"\r":return K(),In()===`
`&&K(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw mt(K());case void 0:throw mt(K())}return K()}function kye(){let e="",t=In();if(!Bt.isHexDigit(t)||(e+=K(),t=In(),!Bt.isHexDigit(t)))throw mt(K());return e+=K(),String.fromCodePoint(parseInt(e,16))}function Ag(){let e="",t=4;for(;t-- >0;){let r=In();if(!Bt.isHexDigit(r))throw mt(K());e+=K()}return String.fromCodePoint(parseInt(e,16))}var Fye={start(){if(jt.type==="eof")throw zi();Sg()},beforePropertyName(){switch(jt.type){case"identifier":case"string":Cg=jt.value,ir="afterPropertyName";return;case"punctuator":Gc();return;case"eof":throw zi()}},afterPropertyName(){if(jt.type==="eof")throw zi();ir="beforePropertyValue"},beforePropertyValue(){if(jt.type==="eof")throw zi();Sg()},beforeArrayValue(){if(jt.type==="eof")throw zi();if(jt.type==="punctuator"&&jt.value==="]"){Gc();return}Sg()},afterPropertyValue(){if(jt.type==="eof")throw zi();switch(jt.value){case",":ir="beforePropertyName";return;case"}":Gc()}},afterArrayValue(){if(jt.type==="eof")throw zi();switch(jt.value){case",":ir="beforeArrayValue";return;case"]":Gc()}},end(){}};function Sg(){let e;switch(jt.type){case"punctuator":switch(jt.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=jt.value;break}if(jo===void 0)jo=e;else{let t=Dn[Dn.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,Cg,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")Dn.push(e),Array.isArray(e)?ir="beforeArrayValue":ir="beforePropertyName";else{let t=Dn[Dn.length-1];t==null?ir="end":Array.isArray(t)?ir="afterArrayValue":ir="afterPropertyValue"}}function Gc(){Dn.pop();let e=Dn[Dn.length-1];e==null?ir="end":Array.isArray(e)?ir="afterArrayValue":ir="afterPropertyValue"}function mt(e){return Yc(e===void 0?`JSON5: invalid end of input at ${fi}:${zr}`:`JSON5: invalid character '${TD(e)}' at ${fi}:${zr}`)}function zi(){return Yc(`JSON5: invalid end of input at ${fi}:${zr}`)}function ED(){return zr-=5,Yc(`JSON5: invalid identifier character at ${fi}:${zr}`)}function Bye(e){console.warn(`JSON5: '${TD(e)}' in strings is not valid ECMAScript; consider escaping`)}function TD(e){let t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){let r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function Yc(e){let t=new SyntaxError(e);return t.lineNumber=fi,t.columnNumber=zr,t}});var AD=g((ZDe,PD)=>{var wg=Tg();PD.exports=function(t,r,n){let i=[],s="",a,o,l="",u;if(r!=null&&typeof r=="object"&&!Array.isArray(r)&&(n=r.space,u=r.quote,r=r.replacer),typeof r=="function")o=r;else if(Array.isArray(r)){a=[];for(let p of r){let E;typeof p=="string"?E=p:(typeof p=="number"||p instanceof String||p instanceof Number)&&(E=String(p)),E!==void 0&&a.indexOf(E)<0&&a.push(E)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),typeof n=="number"?n>0&&(n=Math.min(10,Math.floor(n)),l=" ".substr(0,n)):typeof n=="string"&&(l=n.substr(0,10)),c("",{"":t});function c(p,E){let b=E[p];switch(b!=null&&(typeof b.toJSON5=="function"?b=b.toJSON5(p):typeof b.toJSON=="function"&&(b=b.toJSON(p))),o&&(b=o.call(E,p,b)),b instanceof Number?b=Number(b):b instanceof String?b=String(b):b instanceof Boolean&&(b=b.valueOf()),b){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof b=="string")return f(b,!1);if(typeof b=="number")return String(b);if(typeof b=="object")return Array.isArray(b)?S(b):d(b)}function f(p){let E={"'":.1,'"':.2},b={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},_="";for(let A=0;A<p.length;A++){let I=p[A];switch(I){case"'":case'"':E[I]++,_+=I;continue;case"\0":if(wg.isDigit(p[A+1])){_+="\\x00";continue}}if(b[I]){_+=b[I];continue}if(I<" "){let O=I.charCodeAt(0).toString(16);_+="\\x"+("00"+O).substring(O.length);continue}_+=I}let D=u||Object.keys(E).reduce((A,I)=>E[A]<E[I]?A:I);return _=_.replace(new RegExp(D,"g"),b[D]),D+_+D}function d(p){if(i.indexOf(p)>=0)throw TypeError("Converting circular structure to JSON5");i.push(p);let E=s;s=s+l;let b=a||Object.keys(p),_=[];for(let A of b){let I=c(A,p);if(I!==void 0){let O=m(A)+":";l!==""&&(O+=" "),O+=I,_.push(O)}}let D;if(_.length===0)D="{}";else{let A;if(l==="")A=_.join(","),D="{"+A+"}";else{let I=`,
`+s;A=_.join(I),D=`{
`+s+A+`,
`+E+"}"}}return i.pop(),s=E,D}function m(p){if(p.length===0)return f(p,!0);let E=String.fromCodePoint(p.codePointAt(0));if(!wg.isIdStartChar(E))return f(p,!0);for(let b=E.length;b<p.length;b++)if(!wg.isIdContinueChar(String.fromCodePoint(p.codePointAt(b))))return f(p,!0);return p}function S(p){if(i.indexOf(p)>=0)throw TypeError("Converting circular structure to JSON5");i.push(p);let E=s;s=s+l;let b=[];for(let D=0;D<p.length;D++){let A=c(String(D),p);b.push(A!==void 0?A:"null")}let _;if(b.length===0)_="[]";else if(l==="")_="["+b.join(",")+"]";else{let D=`,
`+s,A=b.join(D);_=`[
`+s+A+`,
`+E+"]"}return i.pop(),s=E,_}}});var wD=g((e2e,CD)=>{var jye=xD(),Lye=AD(),Mye={parse:jye,stringify:Lye};CD.exports=Mye});var Dg=g(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.makeConfigAPI=_D;Lo.makePluginAPI=Rye;Lo.makePresetAPI=OD;function ID(){let e=li();return ID=function(){return e},e}var Xc=Pt(),DD=$i();function _D(e){let t=n=>e.using(i=>typeof n=="undefined"?i.envName:typeof n=="function"?(0,DD.assertSimpleType)(n(i.envName)):(Array.isArray(n)?n:[n]).some(s=>{if(typeof s!="string")throw new Error("Unexpected non-string value");return s===i.envName})),r=n=>e.using(i=>(0,DD.assertSimpleType)(n(i.caller)));return{version:Xc.version,cache:e.simple(),env:t,async:()=>!1,caller:r,assertVersion:qye}}function OD(e,t){let r=()=>JSON.parse(e.using(i=>JSON.stringify(i.targets))),n=i=>{t.push(i)};return Object.assign({},_D(e),{targets:r,addExternalDependency:n})}function Rye(e,t){let r=n=>e.using(i=>i.assumptions[n]);return Object.assign({},OD(e,t),{assumption:r})}function qye(e){if(typeof e=="number"){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if(typeof e!="string")throw new Error("Expected string or integer value.");if(ID().satisfies(Xc.version,e))return;let t=Error.stackTraceLimit;typeof t=="number"&&t<25&&(Error.stackTraceLimit=25);let r=new Error(`Requires Babel "${e}", but was loaded with "${Xc.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw typeof t=="number"&&(Error.stackTraceLimit=t),Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:Xc.version,range:e})}});var Qc=g(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.finalize=Uye;Jc.flattenToSet=Vye;function Uye(e){return Object.freeze(e)}function Vye(e){let t=new Set,r=[e];for(;r.length>0;)for(let n of r.pop())Array.isArray(n)?r.push(n):t.add(n);return t}});var ef=g(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.default=void 0;var $ye=Qc(),Ig=class{constructor(t,r,n,i=(0,$ye.finalize)([])){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=t.name||n,this.manipulateOptions=t.manipulateOptions,this.post=t.post,this.pre=t.pre,this.visitor=t.visitor||{},this.parserOverride=t.parserOverride,this.generatorOverride=t.generatorOverride,this.options=r,this.externalDependencies=i}};Zc.default=Ig});var kD=g(_g=>{"use strict";Object.defineProperty(_g,"__esModule",{value:!0});_g.once=Kye;var ND=zs();function Kye(e){let t,r;return function*(){if(t)return t;if(!(yield*(0,ND.isAsync)()))return t=yield*e();if(r)return yield*(0,ND.waitFor)(r);let n,i;r=new Promise((s,a)=>{n=s,i=a});try{return t=yield*e(),r=null,n(t),t}catch(s){throw i(s),s}}}});var FD=g((s2e,Wye)=>{Wye.exports=[{name:"nodejs",version:"0.2.0",date:"2011-08-26",lts:!1,security:!1,v8:"2.3.8.0"},{name:"nodejs",version:"0.3.0",date:"2011-08-26",lts:!1,security:!1,v8:"2.5.1.0"},{name:"nodejs",version:"0.4.0",date:"2011-08-26",lts:!1,security:!1,v8:"3.1.2.0"},{name:"nodejs",version:"0.5.0",date:"2011-08-26",lts:!1,security:!1,v8:"3.1.8.25"},{name:"nodejs",version:"0.6.0",date:"2011-11-04",lts:!1,security:!1,v8:"3.6.6.6"},{name:"nodejs",version:"0.7.0",date:"2012-01-17",lts:!1,security:!1,v8:"3.8.6.0"},{name:"nodejs",version:"0.8.0",date:"2012-06-22",lts:!1,security:!1,v8:"3.11.10.10"},{name:"nodejs",version:"0.9.0",date:"2012-07-20",lts:!1,security:!1,v8:"3.11.10.15"},{name:"nodejs",version:"0.10.0",date:"2013-03-11",lts:!1,security:!1,v8:"3.14.5.8"},{name:"nodejs",version:"0.11.0",date:"2013-03-28",lts:!1,security:!1,v8:"3.17.13.0"},{name:"nodejs",version:"0.12.0",date:"2015-02-06",lts:!1,security:!1,v8:"3.28.73.0"},{name:"nodejs",version:"4.0.0",date:"2015-09-08",lts:!1,security:!1,v8:"4.5.103.30"},{name:"nodejs",version:"4.1.0",date:"2015-09-17",lts:!1,security:!1,v8:"4.5.103.33"},{name:"nodejs",version:"4.2.0",date:"2015-10-12",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.3.0",date:"2016-02-09",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.4.0",date:"2016-03-08",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.5.0",date:"2016-08-16",lts:"Argon",security:!1,v8:"4.5.103.37"},{name:"nodejs",version:"4.6.0",date:"2016-09-27",lts:"Argon",security:!0,v8:"4.5.103.37"},{name:"nodejs",version:"4.7.0",date:"2016-12-06",lts:"Argon",security:!1,v8:"4.5.103.43"},{name:"nodejs",version:"4.8.0",date:"2017-02-21",lts:"Argon",security:!1,v8:"4.5.103.45"},{name:"nodejs",version:"4.9.0",date:"2018-03-28",lts:"Argon",security:!0,v8:"4.5.103.53"},{name:"nodejs",version:"5.0.0",date:"2015-10-29",lts:!1,security:!1,v8:"4.6.85.28"},{name:"nodejs",version:"5.1.0",date:"2015-11-17",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.2.0",date:"2015-12-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.3.0",date:"2015-12-15",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.4.0",date:"2016-01-06",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.5.0",date:"2016-01-21",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.6.0",date:"2016-02-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.7.0",date:"2016-02-23",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.8.0",date:"2016-03-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.9.0",date:"2016-03-16",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.10.0",date:"2016-04-01",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.11.0",date:"2016-04-21",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.12.0",date:"2016-06-23",lts:!1,security:!1,v8:"4.6.85.32"},{name:"nodejs",version:"6.0.0",date:"2016-04-26",lts:!1,security:!1,v8:"5.0.71.35"},{name:"nodejs",version:"6.1.0",date:"2016-05-05",lts:!1,security:!1,v8:"5.0.71.35"},{name:"nodejs",version:"6.2.0",date:"2016-05-17",lts:!1,security:!1,v8:"5.0.71.47"},{name:"nodejs",version:"6.3.0",date:"2016-07-06",lts:!1,security:!1,v8:"5.0.71.52"},{name:"nodejs",version:"6.4.0",date:"2016-08-12",lts:!1,security:!1,v8:"5.0.71.60"},{name:"nodejs",version:"6.5.0",date:"2016-08-26",lts:!1,security:!1,v8:"5.1.281.81"},{name:"nodejs",version:"6.6.0",date:"2016-09-14",lts:!1,security:!1,v8:"5.1.281.83"},{name:"nodejs",version:"6.7.0",date:"2016-09-27",lts:!1,security:!0,v8:"5.1.281.83"},{name:"nodejs",version:"6.8.0",date:"2016-10-12",lts:!1,security:!1,v8:"5.1.281.84"},{name:"nodejs",version:"6.9.0",date:"2016-10-18",lts:"Boron",security:!1,v8:"5.1.281.84"},{name:"nodejs",version:"6.10.0",date:"2017-02-21",lts:"Boron",security:!1,v8:"5.1.281.93"},{name:"nodejs",version:"6.11.0",date:"2017-06-06",lts:"Boron",security:!1,v8:"5.1.281.102"},{name:"nodejs",version:"6.12.0",date:"2017-11-06",lts:"Boron",security:!1,v8:"5.1.281.108"},{name:"nodejs",version:"6.13.0",date:"2018-02-10",lts:"Boron",security:!1,v8:"5.1.281.111"},{name:"nodejs",version:"6.14.0",date:"2018-03-28",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"6.15.0",date:"2018-11-27",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"6.16.0",date:"2018-12-26",lts:"Boron",security:!1,v8:"5.1.281.111"},{name:"nodejs",version:"6.17.0",date:"2019-02-28",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"7.0.0",date:"2016-10-25",lts:!1,security:!1,v8:"5.4.500.36"},{name:"nodejs",version:"7.1.0",date:"2016-11-08",lts:!1,security:!1,v8:"5.4.500.36"},{name:"nodejs",version:"7.2.0",date:"2016-11-22",lts:!1,security:!1,v8:"5.4.500.43"},{name:"nodejs",version:"7.3.0",date:"2016-12-20",lts:!1,security:!1,v8:"5.4.500.45"},{name:"nodejs",version:"7.4.0",date:"2017-01-04",lts:!1,security:!1,v8:"5.4.500.45"},{name:"nodejs",version:"7.5.0",date:"2017-01-31",lts:!1,security:!1,v8:"5.4.500.48"},{name:"nodejs",version:"7.6.0",date:"2017-02-21",lts:!1,security:!1,v8:"5.5.372.40"},{name:"nodejs",version:"7.7.0",date:"2017-02-28",lts:!1,security:!1,v8:"5.5.372.41"},{name:"nodejs",version:"7.8.0",date:"2017-03-29",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"7.9.0",date:"2017-04-11",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"7.10.0",date:"2017-05-02",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"8.0.0",date:"2017-05-30",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.1.0",date:"2017-06-08",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.2.0",date:"2017-07-19",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.3.0",date:"2017-08-08",lts:!1,security:!1,v8:"6.0.286.52"},{name:"nodejs",version:"8.4.0",date:"2017-08-15",lts:!1,security:!1,v8:"6.0.286.52"},{name:"nodejs",version:"8.5.0",date:"2017-09-12",lts:!1,security:!1,v8:"6.0.287.53"},{name:"nodejs",version:"8.6.0",date:"2017-09-26",lts:!1,security:!1,v8:"6.0.287.53"},{name:"nodejs",version:"8.7.0",date:"2017-10-11",lts:!1,security:!1,v8:"6.1.534.42"},{name:"nodejs",version:"8.8.0",date:"2017-10-24",lts:!1,security:!1,v8:"6.1.534.42"},{name:"nodejs",version:"8.9.0",date:"2017-10-31",lts:"Carbon",security:!1,v8:"6.1.534.46"},{name:"nodejs",version:"8.10.0",date:"2018-03-06",lts:"Carbon",security:!1,v8:"6.2.414.50"},{name:"nodejs",version:"8.11.0",date:"2018-03-28",lts:"Carbon",security:!0,v8:"6.2.414.50"},{name:"nodejs",version:"8.12.0",date:"2018-09-10",lts:"Carbon",security:!1,v8:"6.2.414.66"},{name:"nodejs",version:"8.13.0",date:"2018-11-20",lts:"Carbon",security:!1,v8:"6.2.414.72"},{name:"nodejs",version:"8.14.0",date:"2018-11-27",lts:"Carbon",security:!0,v8:"6.2.414.72"},{name:"nodejs",version:"8.15.0",date:"2018-12-26",lts:"Carbon",security:!1,v8:"6.2.414.75"},{name:"nodejs",version:"8.16.0",date:"2019-04-16",lts:"Carbon",security:!1,v8:"6.2.414.77"},{name:"nodejs",version:"8.17.0",date:"2019-12-17",lts:"Carbon",security:!0,v8:"6.2.414.78"},{name:"nodejs",version:"9.0.0",date:"2017-10-31",lts:!1,security:!1,v8:"6.2.414.32"},{name:"nodejs",version:"9.1.0",date:"2017-11-07",lts:!1,security:!1,v8:"6.2.414.32"},{name:"nodejs",version:"9.2.0",date:"2017-11-14",lts:!1,security:!1,v8:"6.2.414.44"},{name:"nodejs",version:"9.3.0",date:"2017-12-12",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.4.0",date:"2018-01-10",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.5.0",date:"2018-01-31",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.6.0",date:"2018-02-21",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.7.0",date:"2018-03-01",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.8.0",date:"2018-03-07",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.9.0",date:"2018-03-21",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.10.0",date:"2018-03-28",lts:!1,security:!0,v8:"6.2.414.46"},{name:"nodejs",version:"9.11.0",date:"2018-04-04",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"10.0.0",date:"2018-04-24",lts:!1,security:!1,v8:"6.6.346.24"},{name:"nodejs",version:"10.1.0",date:"2018-05-08",lts:!1,security:!1,v8:"6.6.346.27"},{name:"nodejs",version:"10.2.0",date:"2018-05-23",lts:!1,security:!1,v8:"6.6.346.32"},{name:"nodejs",version:"10.3.0",date:"2018-05-29",lts:!1,security:!1,v8:"6.6.346.32"},{name:"nodejs",version:"10.4.0",date:"2018-06-06",lts:!1,security:!1,v8:"6.7.288.43"},{name:"nodejs",version:"10.5.0",date:"2018-06-20",lts:!1,security:!1,v8:"6.7.288.46"},{name:"nodejs",version:"10.6.0",date:"2018-07-04",lts:!1,security:!1,v8:"6.7.288.46"},{name:"nodejs",version:"10.7.0",date:"2018-07-18",lts:!1,security:!1,v8:"6.7.288.49"},{name:"nodejs",version:"10.8.0",date:"2018-08-01",lts:!1,security:!1,v8:"6.7.288.49"},{name:"nodejs",version:"10.9.0",date:"2018-08-15",lts:!1,security:!1,v8:"6.8.275.24"},{name:"nodejs",version:"10.10.0",date:"2018-09-06",lts:!1,security:!1,v8:"6.8.275.30"},{name:"nodejs",version:"10.11.0",date:"2018-09-19",lts:!1,security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.12.0",date:"2018-10-10",lts:!1,security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.13.0",date:"2018-10-30",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.14.0",date:"2018-11-27",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.15.0",date:"2018-12-26",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.16.0",date:"2019-05-28",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.17.0",date:"2019-10-22",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.18.0",date:"2019-12-17",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.19.0",date:"2020-02-05",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.20.0",date:"2020-03-26",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.21.0",date:"2020-06-02",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.22.0",date:"2020-07-21",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.23.0",date:"2020-10-27",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.24.0",date:"2021-02-23",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"11.0.0",date:"2018-10-23",lts:!1,security:!1,v8:"7.0.276.28"},{name:"nodejs",version:"11.1.0",date:"2018-10-30",lts:!1,security:!1,v8:"7.0.276.32"},{name:"nodejs",version:"11.2.0",date:"2018-11-15",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.3.0",date:"2018-11-27",lts:!1,security:!0,v8:"7.0.276.38"},{name:"nodejs",version:"11.4.0",date:"2018-12-07",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.5.0",date:"2018-12-18",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.6.0",date:"2018-12-26",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.7.0",date:"2019-01-17",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.8.0",date:"2019-01-24",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.9.0",date:"2019-01-30",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.10.0",date:"2019-02-14",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.11.0",date:"2019-03-05",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.12.0",date:"2019-03-14",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.13.0",date:"2019-03-28",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.14.0",date:"2019-04-10",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.15.0",date:"2019-04-30",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"12.0.0",date:"2019-04-23",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.1.0",date:"2019-04-29",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.2.0",date:"2019-05-07",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.3.0",date:"2019-05-21",lts:!1,security:!1,v8:"7.4.288.27"},{name:"nodejs",version:"12.4.0",date:"2019-06-04",lts:!1,security:!1,v8:"7.4.288.27"},{name:"nodejs",version:"12.5.0",date:"2019-06-26",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.6.0",date:"2019-07-03",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.7.0",date:"2019-07-23",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.8.0",date:"2019-08-06",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.9.0",date:"2019-08-20",lts:!1,security:!1,v8:"7.6.303.29"},{name:"nodejs",version:"12.10.0",date:"2019-09-04",lts:!1,security:!1,v8:"7.6.303.29"},{name:"nodejs",version:"12.11.0",date:"2019-09-25",lts:!1,security:!1,v8:"7.7.299.11"},{name:"nodejs",version:"12.12.0",date:"2019-10-11",lts:!1,security:!1,v8:"7.7.299.13"},{name:"nodejs",version:"12.13.0",date:"2019-10-21",lts:"Erbium",security:!1,v8:"7.7.299.13"},{name:"nodejs",version:"12.14.0",date:"2019-12-17",lts:"Erbium",security:!0,v8:"7.7.299.13"},{name:"nodejs",version:"12.15.0",date:"2020-02-05",lts:"Erbium",security:!0,v8:"7.7.299.13"},{name:"nodejs",version:"12.16.0",date:"2020-02-11",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.17.0",date:"2020-05-26",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.18.0",date:"2020-06-02",lts:"Erbium",security:!0,v8:"7.8.279.23"},{name:"nodejs",version:"12.19.0",date:"2020-10-06",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.20.0",date:"2020-11-24",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.21.0",date:"2021-02-23",lts:"Erbium",security:!0,v8:"7.8.279.23"},{name:"nodejs",version:"12.22.0",date:"2021-03-30",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"13.0.0",date:"2019-10-22",lts:!1,security:!1,v8:"7.8.279.17"},{name:"nodejs",version:"13.1.0",date:"2019-11-05",lts:!1,security:!1,v8:"7.8.279.17"},{name:"nodejs",version:"13.2.0",date:"2019-11-21",lts:!1,security:!1,v8:"7.9.317.23"},{name:"nodejs",version:"13.3.0",date:"2019-12-03",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.4.0",date:"2019-12-17",lts:!1,security:!0,v8:"7.9.317.25"},{name:"nodejs",version:"13.5.0",date:"2019-12-18",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.6.0",date:"2020-01-07",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.7.0",date:"2020-01-21",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.8.0",date:"2020-02-05",lts:!1,security:!0,v8:"7.9.317.25"},{name:"nodejs",version:"13.9.0",date:"2020-02-18",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.10.0",date:"2020-03-04",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.11.0",date:"2020-03-12",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.12.0",date:"2020-03-26",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.13.0",date:"2020-04-14",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.14.0",date:"2020-04-29",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"14.0.0",date:"2020-04-21",lts:!1,security:!1,v8:"8.1.307.30"},{name:"nodejs",version:"14.1.0",date:"2020-04-29",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.2.0",date:"2020-05-05",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.3.0",date:"2020-05-19",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.4.0",date:"2020-06-02",lts:!1,security:!0,v8:"8.1.307.31"},{name:"nodejs",version:"14.5.0",date:"2020-06-30",lts:!1,security:!1,v8:"8.3.110.9"},{name:"nodejs",version:"14.6.0",date:"2020-07-20",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.7.0",date:"2020-07-29",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.8.0",date:"2020-08-11",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.9.0",date:"2020-08-27",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.10.0",date:"2020-09-08",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.11.0",date:"2020-09-15",lts:!1,security:!0,v8:"8.4.371.19"},{name:"nodejs",version:"14.12.0",date:"2020-09-22",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.13.0",date:"2020-09-29",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.14.0",date:"2020-10-15",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.15.0",date:"2020-10-27",lts:"Fermium",security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.16.0",date:"2021-02-23",lts:"Fermium",security:!0,v8:"8.4.371.19"},{name:"nodejs",version:"14.17.0",date:"2021-05-11",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.18.0",date:"2021-09-28",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.19.0",date:"2022-02-01",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.20.0",date:"2022-07-07",lts:"Fermium",security:!0,v8:"8.4.371.23"},{name:"nodejs",version:"14.21.0",date:"2022-11-01",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"15.0.0",date:"2020-10-20",lts:!1,security:!1,v8:"8.6.395.16"},{name:"nodejs",version:"15.1.0",date:"2020-11-04",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.2.0",date:"2020-11-10",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.3.0",date:"2020-11-24",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.4.0",date:"2020-12-09",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.5.0",date:"2020-12-22",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.6.0",date:"2021-01-14",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.7.0",date:"2021-01-25",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.8.0",date:"2021-02-02",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.9.0",date:"2021-02-18",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.10.0",date:"2021-02-23",lts:!1,security:!0,v8:"8.6.395.17"},{name:"nodejs",version:"15.11.0",date:"2021-03-03",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.12.0",date:"2021-03-17",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.13.0",date:"2021-03-31",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.14.0",date:"2021-04-06",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"16.0.0",date:"2021-04-20",lts:!1,security:!1,v8:"9.0.257.17"},{name:"nodejs",version:"16.1.0",date:"2021-05-04",lts:!1,security:!1,v8:"9.0.257.24"},{name:"nodejs",version:"16.2.0",date:"2021-05-19",lts:!1,security:!1,v8:"9.0.257.25"},{name:"nodejs",version:"16.3.0",date:"2021-06-03",lts:!1,security:!1,v8:"9.0.257.25"},{name:"nodejs",version:"16.4.0",date:"2021-06-23",lts:!1,security:!1,v8:"9.1.269.36"},{name:"nodejs",version:"16.5.0",date:"2021-07-14",lts:!1,security:!1,v8:"9.1.269.38"},{name:"nodejs",version:"16.6.0",date:"2021-07-29",lts:!1,security:!0,v8:"9.2.230.21"},{name:"nodejs",version:"16.7.0",date:"2021-08-18",lts:!1,security:!1,v8:"9.2.230.21"},{name:"nodejs",version:"16.8.0",date:"2021-08-25",lts:!1,security:!1,v8:"9.2.230.21"},{name:"nodejs",version:"16.9.0",date:"2021-09-07",lts:!1,security:!1,v8:"9.3.345.16"},{name:"nodejs",version:"16.10.0",date:"2021-09-22",lts:!1,security:!1,v8:"9.3.345.19"},{name:"nodejs",version:"16.11.0",date:"2021-10-08",lts:!1,security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.12.0",date:"2021-10-20",lts:!1,security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.13.0",date:"2021-10-26",lts:"Gallium",security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.14.0",date:"2022-02-08",lts:"Gallium",security:!1,v8:"9.4.146.24"},{name:"nodejs",version:"16.15.0",date:"2022-04-26",lts:"Gallium",security:!1,v8:"9.4.146.24"},{name:"nodejs",version:"16.16.0",date:"2022-07-07",lts:"Gallium",security:!0,v8:"9.4.146.24"},{name:"nodejs",version:"16.17.0",date:"2022-08-16",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.18.0",date:"2022-10-12",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.19.0",date:"2022-12-13",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.20.0",date:"2023-03-28",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"17.0.0",date:"2021-10-19",lts:!1,security:!1,v8:"9.5.172.21"},{name:"nodejs",version:"17.1.0",date:"2021-11-09",lts:!1,security:!1,v8:"9.5.172.25"},{name:"nodejs",version:"17.2.0",date:"2021-11-30",lts:!1,security:!1,v8:"9.6.180.14"},{name:"nodejs",version:"17.3.0",date:"2021-12-17",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.4.0",date:"2022-01-18",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.5.0",date:"2022-02-10",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.6.0",date:"2022-02-22",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.7.0",date:"2022-03-09",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.8.0",date:"2022-03-22",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.9.0",date:"2022-04-07",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"18.0.0",date:"2022-04-18",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.1.0",date:"2022-05-03",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.2.0",date:"2022-05-17",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.3.0",date:"2022-06-02",lts:!1,security:!1,v8:"10.2.154.4"},{name:"nodejs",version:"18.4.0",date:"2022-06-16",lts:!1,security:!1,v8:"10.2.154.4"},{name:"nodejs",version:"18.5.0",date:"2022-07-06",lts:!1,security:!0,v8:"10.2.154.4"},{name:"nodejs",version:"18.6.0",date:"2022-07-13",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.7.0",date:"2022-07-26",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.8.0",date:"2022-08-24",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.9.0",date:"2022-09-07",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.10.0",date:"2022-09-28",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.11.0",date:"2022-10-13",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.12.0",date:"2022-10-25",lts:"Hydrogen",security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.13.0",date:"2023-01-05",lts:"Hydrogen",security:!1,v8:"10.2.154.23"},{name:"nodejs",version:"18.14.0",date:"2023-02-01",lts:"Hydrogen",security:!1,v8:"10.2.154.23"},{name:"nodejs",version:"18.15.0",date:"2023-03-05",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.16.0",date:"2023-04-12",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"19.0.0",date:"2022-10-17",lts:!1,security:!1,v8:"10.7.193.13"},{name:"nodejs",version:"19.1.0",date:"2022-11-14",lts:!1,security:!1,v8:"10.7.193.20"},{name:"nodejs",version:"19.2.0",date:"2022-11-29",lts:!1,security:!1,v8:"10.8.168.20"},{name:"nodejs",version:"19.3.0",date:"2022-12-14",lts:!1,security:!1,v8:"10.8.168.21"},{name:"nodejs",version:"19.4.0",date:"2023-01-05",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.5.0",date:"2023-01-24",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.6.0",date:"2023-02-01",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.7.0",date:"2023-02-21",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.8.0",date:"2023-03-14",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.9.0",date:"2023-04-10",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"20.0.0",date:"2023-04-17",lts:!1,security:!1,v8:"11.3.244.4"},{name:"nodejs",version:"20.1.0",date:"2023-05-03",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.2.0",date:"2023-05-16",lts:!1,security:!1,v8:"11.3.244.8"}]});var jD=g((a2e,BD)=>{BD.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}});var tf=g((o2e,LD)=>{LD.exports.browsers=jD()});var RD=g((l2e,MD)=>{MD.exports={0:"5",1:"19",2:"22",3:"23",4:"24",5:"25",6:"26",7:"27",8:"28",9:"29",A:"10",B:"11",C:"12",D:"17",E:"7",F:"8",G:"9",H:"15",I:"114",J:"4",K:"6",L:"13",M:"14",N:"16",O:"18",P:"79",Q:"80",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"113",l:"20",m:"21",n:"73",o:"101",p:"102",q:"103",r:"104",s:"105",t:"106",u:"107",v:"108",w:"109",x:"110",y:"111",z:"112",AB:"30",BB:"31",CB:"32",DB:"33",EB:"34",FB:"35",GB:"36",HB:"37",IB:"38",JB:"39",KB:"40",LB:"41",MB:"42",NB:"43",OB:"44",PB:"45",QB:"46",RB:"47",SB:"48",TB:"49",UB:"50",VB:"51",WB:"52",XB:"53",YB:"54",ZB:"55",aB:"56",bB:"57",cB:"58",dB:"60",eB:"62",fB:"63",gB:"64",hB:"65",iB:"66",jB:"67",kB:"68",lB:"69",mB:"70",nB:"71",oB:"72",pB:"74",qB:"75",rB:"76",sB:"77",tB:"78",uB:"11.1",vB:"12.1",wB:"16.0",xB:"3",yB:"59",zB:"61","0B":"82","1B":"115","2B":"116","3B":"3.2","4B":"10.1","5B":"13.1","6B":"15.2-15.3","7B":"15.4","8B":"15.5","9B":"15.6",AC:"16.1",BC:"16.2",CC:"16.3",DC:"16.4",EC:"16.5",FC:"16.6",GC:"11.5",HC:"4.2-4.3",IC:"5.5",JC:"2",KC:"3.5",LC:"3.6",MC:"117",NC:"3.1",OC:"5.1",PC:"6.1",QC:"7.1",RC:"9.1",SC:"14.1",TC:"15.1",UC:"TP",VC:"9.5-9.6",WC:"10.0-10.1",XC:"10.5",YC:"10.6",ZC:"11.6",aC:"4.0-4.1",bC:"5.0-5.1",cC:"6.0-6.1",dC:"7.0-7.1",eC:"8.1-8.4",fC:"9.0-9.2",gC:"9.3",hC:"10.0-10.2",iC:"10.3",jC:"11.0-11.2",kC:"11.3-11.4",lC:"12.0-12.1",mC:"12.2-12.5",nC:"13.0-13.1",oC:"13.2",pC:"13.3",qC:"13.4-13.7",rC:"14.0-14.4",sC:"14.5-14.8",tC:"15.0-15.1",uC:"all",vC:"2.1",wC:"2.2",xC:"2.3",yC:"4.1",zC:"4.4","0C":"4.4.3-4.4.4","1C":"13.4","2C":"5.0-5.4","3C":"6.2-6.4","4C":"7.2-7.4","5C":"8.2","6C":"9.2","7C":"11.1-11.2","8C":"12.0","9C":"13.0",AD:"14.0",BD:"15.0",CD:"17.0",DD:"18.0",ED:"19.0",FD:"13.18",GD:"2.5",HD:"3.0-3.1"}});var Og=g((u2e,qD)=>{qD.exports.browserVersions=RD()});var VD=g((c2e,UD)=>{UD.exports={A:{A:{K:0,E:0,F:.0326854,G:.0435805,A:0,B:.392224,IC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","IC","K","E","F","G","A","B","","",""],E:"IE",F:{IC:962323200,K:998870400,E:1161129600,F:1237420800,G:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:0,L:0,M:0,H:.004259,N:0,D:.004259,O:.012777,P:0,Q:.004259,R:.004259,S:.004259,T:.008518,U:.004259,V:.004259,W:.004259,X:0,Y:.004259,Z:.004259,a:0,b:.012777,c:0,d:0,e:0,f:0,g:0,h:0,i:.008518,j:0,o:.008518,p:.008518,q:.004259,r:0,s:0,t:.004259,u:.008518,v:.012777,w:.076662,x:.021295,y:.029813,z:.579224,k:.745325,I:3.56904},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","H","N","D","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","o","p","q","r","s","t","u","v","w","x","y","z","k","I","","",""],E:"Edge",F:{C:1438128e3,L:1447286400,M:1470096e3,H:1491868800,N:1508198400,D:1525046400,O:1542067200,P:1579046400,Q:1581033600,R:1586736e3,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:161136e4,Y:1614816e3,Z:1618358400,a:1622073600,b:1626912e3,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,o:1651190400,p:1653955200,q:1655942400,r:1659657600,s:1661990400,t:1664755200,u:1666915200,v:1670198400,w:1673481600,x:1675900800,y:1678665600,z:1680825600,k:1683158400,I:1685664e3},D:{C:"ms",L:"ms",M:"ms",H:"ms",N:"ms",D:"ms",O:"ms"}},C:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,JC:0,xB:0,J:0,K:0,E:0,F:0,G:0,A:0,B:.008518,C:0,L:0,M:0,H:0,N:0,D:0,O:0,l:0,m:0,AB:0,BB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:.012777,OB:.004259,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:.051108,XB:0,YB:0,ZB:0,aB:.004259,bB:0,cB:0,yB:.004259,dB:0,zB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:.004259,lB:0,mB:0,nB:0,oB:.008518,n:0,pB:0,qB:0,rB:0,sB:0,tB:.051108,P:0,Q:0,R:0,"0B":0,S:0,T:.017036,U:0,V:0,W:.008518,X:.004259,Y:0,Z:0,a:.012777,b:0,c:0,d:.004259,e:0,f:0,g:0,h:0,i:0,j:0,o:0,p:.110734,q:.012777,r:0,s:.008518,t:.004259,u:.008518,v:.012777,w:.012777,x:.012777,y:.025554,z:.055367,k:.660145,I:1.2564,"1B":.012777,"2B":0,KC:0,LC:0},B:"moz",C:["JC","xB","KC","LC","J","0","K","E","F","G","A","B","C","L","M","H","N","D","O","1","l","m","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","yB","dB","zB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","n","pB","qB","rB","sB","tB","P","Q","R","0B","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","o","p","q","r","s","t","u","v","w","x","y","z","k","I","1B","2B",""],E:"Firefox",F:{0:1308614400,1:1357603200,2:1368489600,3:1372118400,4:1375747200,5:1379376e3,6:1386633600,7:1391472e3,8:1395100800,9:1398729600,JC:1161648e3,xB:1213660800,KC:124632e4,LC:1264032e3,J:1300752e3,K:1313452800,E:1317081600,F:1317081600,G:1320710400,A:1324339200,B:1327968e3,C:1331596800,L:1335225600,M:1338854400,H:1342483200,N:1346112e3,D:1349740800,O:1353628800,l:1361232e3,m:1364860800,AB:1402358400,BB:1405987200,CB:1409616e3,DB:1413244800,EB:1417392e3,FB:1421107200,GB:1424736e3,HB:1428278400,IB:1431475200,JB:1435881600,KB:1439251200,LB:144288e4,MB:1446508800,NB:1450137600,OB:1453852800,PB:1457395200,QB:1461628800,RB:1465257600,SB:1470096e3,TB:1474329600,UB:1479168e3,VB:1485216e3,WB:1488844800,XB:149256e4,YB:1497312e3,ZB:1502150400,aB:1506556800,bB:1510617600,cB:1516665600,yB:1520985600,dB:1525824e3,zB:1529971200,eB:1536105600,fB:1540252800,gB:1544486400,hB:154872e4,iB:1552953600,jB:1558396800,kB:1562630400,lB:1567468800,mB:1571788800,nB:1575331200,oB:1578355200,n:1581379200,pB:1583798400,qB:1586304e3,rB:1588636800,sB:1591056e3,tB:1593475200,P:1595894400,Q:1598313600,R:1600732800,"0B":1603152e3,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392e3,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536e3,o:1653955200,p:1656374400,q:1658793600,r:1661212800,s:1663632e3,t:1666051200,u:1668470400,v:1670889600,w:1673913600,x:1676332800,y:1678752e3,z:1681171200,k:1683590400,I:1686009600,"1B":null,"2B":null}},D:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,J:0,K:0,E:0,F:0,G:0,A:0,B:0,C:0,L:0,M:0,H:0,N:0,D:0,O:0,l:0,m:0,AB:0,BB:0,CB:0,DB:0,EB:.008518,FB:0,GB:0,HB:0,IB:.017036,JB:0,KB:.012777,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:.008518,SB:.017036,TB:.038331,UB:.008518,VB:0,WB:.004259,XB:.008518,YB:0,ZB:.004259,aB:.051108,bB:0,cB:0,yB:0,dB:.017036,zB:.012777,eB:0,fB:.004259,gB:0,hB:.012777,iB:.029813,jB:.008518,kB:.025554,lB:.051108,mB:.04259,nB:.017036,oB:.025554,n:.012777,pB:.059626,qB:.059626,rB:.093698,sB:.025554,tB:.038331,P:.200173,Q:.051108,R:.051108,S:.110734,T:.029813,U:.089439,V:.072403,W:.089439,X:.046849,Y:.038331,Z:.055367,a:.089439,b:.038331,c:.17036,d:.034072,e:.021295,f:.025554,g:.025554,h:.063885,i:.055367,j:.046849,o:.04259,p:.051108,q:.268317,r:.063885,s:.076662,t:.051108,u:.059626,v:.149065,w:1.96766,x:.123511,y:.455713,z:.630332,k:3.9268,I:14.553,"1B":.021295,"2B":.021295,MC:0},B:"webkit",C:["","","","","","J","0","K","E","F","G","A","B","C","L","M","H","N","D","O","1","l","m","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","yB","dB","zB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","n","pB","qB","rB","sB","tB","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","o","p","q","r","s","t","u","v","w","x","y","z","k","I","1B","2B","MC"],E:"Chrome",F:{0:1274745600,1:1332892800,2:1343692800,3:1348531200,4:1352246400,5:1357862400,6:1361404800,7:1364428800,8:1369094400,9:1374105600,J:1264377600,K:1283385600,E:1287619200,F:1291248e3,G:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,H:1316131200,N:1319500800,D:1323734400,O:1328659200,l:133704e4,m:1340668800,AB:1376956800,BB:1384214400,CB:1389657600,DB:1392940800,EB:1397001600,FB:1400544e3,GB:1405468800,HB:1409011200,IB:141264e4,JB:1416268800,KB:1421798400,LB:1425513600,MB:1429401600,NB:143208e4,OB:1437523200,PB:1441152e3,QB:1444780800,RB:1449014400,SB:1453248e3,TB:1456963200,UB:1460592e3,VB:1464134400,WB:1469059200,XB:1472601600,YB:1476230400,ZB:1480550400,aB:1485302400,bB:1489017600,cB:149256e4,yB:1496707200,dB:1500940800,zB:1504569600,eB:1508198400,fB:1512518400,gB:1516752e3,hB:1520294400,iB:1523923200,jB:1527552e3,kB:1532390400,lB:1536019200,mB:1539648e3,nB:1543968e3,oB:154872e4,n:1552348800,pB:1555977600,qB:1559606400,rB:1564444800,sB:1568073600,tB:1571702400,P:1575936e3,Q:1580860800,R:1586304e3,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272e3,a:1621987200,b:1626739200,c:1630368e3,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512e3,o:1650931200,p:1653350400,q:1655769600,r:1659398400,s:1661817600,t:1664236800,u:1666656e3,v:166968e4,w:1673308800,x:1675728e3,y:1678147200,z:1680566400,k:1682985600,I:1685404800,"1B":null,"2B":null,MC:null}},E:{A:{0:0,J:0,K:0,E:0,F:0,G:0,A:0,B:0,C:0,L:.025554,M:.12777,H:.029813,D:.008518,NC:0,"3B":0,OC:.008518,PC:0,QC:0,RC:.102216,"4B":0,uB:.008518,vB:.038331,"5B":.166101,SC:.332202,TC:.055367,"6B":.046849,"7B":.106475,"8B":.191655,"9B":.779397,wB:.080921,AC:.25554,BC:.289612,CC:.706994,DC:.498303,EC:2.00599,FC:.021295,UC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","NC","3B","J","0","OC","K","PC","E","QC","F","G","RC","A","4B","B","uB","C","vB","L","5B","M","SC","H","TC","6B","7B","8B","9B","wB","AC","BC","CC","DC","EC","FC","D","UC"],E:"Safari",F:{0:1275868800,NC:1205798400,"3B":1226534400,J:1244419200,OC:131112e4,K:1343174400,PC:13824e5,E:13824e5,QC:1410998400,F:1413417600,G:1443657600,RC:1458518400,A:1474329600,"4B":1490572800,B:1505779200,uB:1522281600,C:1537142400,vB:1553472e3,L:1568851200,"5B":1585008e3,M:1600214400,SC:1619395200,H:1632096e3,TC:1635292800,"6B":1639353600,"7B":1647216e3,"8B":1652745600,"9B":1658275200,wB:1662940800,AC:1666569600,BC:1670889600,CC:1674432e3,DC:1679875200,EC:1684368e3,FC:null,D:null,UC:null}},F:{A:{1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:.008518,9:0,G:0,B:.038331,C:0,H:0,N:0,D:0,O:0,l:0,m:0,AB:0,BB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:0,IB:0,JB:0,KB:.004259,LB:0,MB:0,NB:0,OB:0,PB:0,QB:.017036,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,n:0,pB:0,qB:0,rB:0,sB:0,tB:0,P:0,Q:0,R:0,"0B":0,S:0,T:0,U:.004259,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:.059626,f:.012777,g:.021295,h:.664404,i:1.29048,j:.012777,VC:0,WC:0,XC:0,YC:0,uB:0,GC:0,ZC:0,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","G","VC","WC","XC","YC","B","uB","GC","ZC","C","vB","H","N","D","O","1","l","m","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","n","pB","qB","rB","sB","tB","P","Q","R","0B","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","","",""],E:"Opera",F:{1:1390867200,2:1401753600,3:1405987200,4:1409616e3,5:1413331200,6:1417132800,7:1422316800,8:1425945600,9:1430179200,G:1150761600,VC:1223424e3,WC:1251763200,XC:1267488e3,YC:1277942400,B:1292457600,uB:1302566400,GC:1309219200,ZC:1323129600,C:1323129600,vB:1352073600,H:1372723200,N:1377561600,D:1381104e3,O:1386288e3,l:1393891200,m:1399334400,AB:1433808e3,BB:1438646400,CB:1442448e3,DB:1445904e3,EB:1449100800,FB:1454371200,GB:1457308800,HB:146232e4,IB:1465344e3,JB:1470096e3,KB:1474329600,LB:1477267200,MB:1481587200,NB:1486425600,OB:1490054400,PB:1494374400,QB:1498003200,RB:1502236800,SB:1506470400,TB:1510099200,UB:1515024e3,VB:1517961600,WB:1521676800,XB:1525910400,YB:1530144e3,ZB:1534982400,aB:1537833600,bB:1543363200,cB:1548201600,dB:1554768e3,eB:1561593600,fB:1566259200,gB:1570406400,hB:1573689600,iB:1578441600,jB:1583971200,kB:1587513600,lB:1592956800,mB:1595894400,nB:1600128e3,oB:1603238400,n:161352e4,pB:1612224e3,qB:1616544e3,rB:1619568e3,sB:1623715200,tB:1627948800,P:1631577600,Q:1633392e3,R:1635984e3,"0B":1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152e3,Z:1660780800,a:1663113600,b:1668816e3,c:1668643200,d:1671062400,e:1675209600,f:1677024e3,g:1679529600,h:1681948800,i:1684195200,j:1687219200},D:{G:"o",B:"o",C:"o",VC:"o",WC:"o",XC:"o",YC:"o",uB:"o",GC:"o",ZC:"o",vB:"o"}},G:{A:{F:0,D:.0227641,"3B":0,aC:0,HC:.00303522,bC:.00303522,cC:.00455283,dC:.0121409,eC:.00455283,fC:.00910566,gC:.0440107,hC:.00455283,iC:.062222,jC:.0303522,kC:.0197289,lC:.0166937,mC:.321733,nC:.00910566,oC:.00910566,pC:.0227641,qC:.0773981,rC:.20336,sC:.374849,tC:.119891,"6B":.141138,"7B":.160867,"8B":.239782,"9B":.582762,wB:.648019,AC:1.23837,BC:.661678,CC:1.56617,DC:1.0259,EC:6.55152,FC:.0637396},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","3B","aC","HC","bC","cC","dC","F","eC","fC","gC","hC","iC","jC","kC","lC","mC","nC","oC","pC","qC","rC","sC","tC","6B","7B","8B","9B","wB","AC","BC","CC","DC","EC","FC","D",""],E:"Safari on iOS",F:{"3B":1270252800,aC:1283904e3,HC:1299628800,bC:1331078400,cC:1359331200,dC:1394409600,F:1410912e3,eC:1413763200,fC:1442361600,gC:1458518400,hC:1473724800,iC:1490572800,jC:1505779200,kC:1522281600,lC:1537142400,mC:1553472e3,nC:1568851200,oC:1572220800,pC:1580169600,qC:1585008e3,rC:1600214400,sC:1619395200,tC:1632096e3,"6B":1639353600,"7B":1647216e3,"8B":1652659200,"9B":1658275200,wB:1662940800,AC:1666569600,BC:1670889600,CC:1674432e3,DC:1679875200,EC:1684368e3,FC:null,D:null}},H:{A:{uC:.956597},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","uC","","",""],E:"Opera Mini",F:{uC:1426464e3}},I:{A:{xB:0,J:.0252848,I:0,vC:0,wC:.00842828,xC:0,yC:.0168566,HC:.092711,zC:0,"0C":.252848},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","vC","wC","xC","xB","J","yC","HC","zC","0C","I","","",""],E:"Android Browser",F:{vC:1256515200,wC:1274313600,xC:1291593600,xB:1298332800,J:1318896e3,yC:1341792e3,HC:1374624e3,zC:1386547200,"0C":1401667200,I:1685404800}},J:{A:{E:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","E","A","","",""],E:"Blackberry Browser",F:{E:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,n:0,uB:0,GC:0,vB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","uB","GC","C","vB","n","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,uB:1314835200,GC:1318291200,C:1330300800,vB:1349740800,n:1673827200},D:{n:"webkit"}},L:{A:{I:38.2012},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1685404800}},M:{A:{k:.281309},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","k","","",""],E:"Firefox for Android",F:{k:1683590400}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{"1C":1.04486},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","1C","","",""],E:"UC Browser for Android",F:{"1C":1634688e3},D:{"1C":"webkit"}},P:{A:{J:.156242,l:.229156,m:1.74991,"2C":0,"3C":0,"4C":.0520808,"5C":0,"6C":0,"4B":0,"7C":.0208323,"8C":0,"9C":.0208323,AD:.0208323,BD:.0104162,wB:.0416646,CD:.0416646,DD:.0416646,ED:.0833293},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","2C","3C","4C","5C","6C","4B","7C","8C","9C","AD","BD","wB","CD","DD","ED","l","m","","",""],E:"Samsung Internet",F:{J:1461024e3,"2C":1481846400,"3C":1509408e3,"4C":1528329600,"5C":1546128e3,"6C":1554163200,"4B":1567900800,"7C":1582588800,"8C":1593475200,"9C":1605657600,AD:1618531200,BD:1629072e3,wB:1640736e3,CD:1651708800,DD:1659657600,ED:1667260800,l:1677369600,m:1684454400}},Q:{A:{"5B":.155007},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","5B","","",""],E:"QQ Browser",F:{"5B":1663718400}},R:{A:{FD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","FD","","",""],E:"Baidu Browser",F:{FD:1663027200}},S:{A:{GD:.103338,HD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","GD","HD","","",""],E:"KaiOS Browser",F:{GD:1527811200,HD:1631664e3}}}});var zD=g((f2e,WD)=>{"use strict";var zye=tf().browsers,Ng=Og().browserVersions,$D=VD();function KD(e){return Object.keys(e).reduce((t,r)=>(t[Ng[r]]=e[r],t),{})}WD.exports.agents=Object.keys($D).reduce((e,t)=>{let r=$D[t];return e[zye[t]]=Object.keys(r).reduce((n,i)=>(i==="A"?n.usage_global=KD(r[i]):i==="C"?n.versions=r[i].reduce((s,a)=>(a===""?s.push(null):s.push(Ng[a]),s),[]):i==="D"?n.prefix_exceptions=KD(r[i]):i==="E"?n.browser=r[i]:i==="F"?n.release_date=Object.keys(r[i]).reduce((s,a)=>(s[Ng[a]]=r[i][a],s),{}):n.prefix=r[i],n),{}),e},{})});var GD=g((p2e,Gye)=>{Gye.exports={"v0.8":{start:"2012-06-25",end:"2014-07-31"},"v0.10":{start:"2013-03-11",end:"2016-10-31"},"v0.12":{start:"2015-02-06",end:"2016-12-31"},v4:{start:"2015-09-08",lts:"2015-10-12",maintenance:"2017-04-01",end:"2018-04-30",codename:"Argon"},v5:{start:"2015-10-29",maintenance:"2016-04-30",end:"2016-06-30"},v6:{start:"2016-04-26",lts:"2016-10-18",maintenance:"2018-04-30",end:"2019-04-30",codename:"Boron"},v7:{start:"2016-10-25",maintenance:"2017-04-30",end:"2017-06-30"},v8:{start:"2017-05-30",lts:"2017-10-31",maintenance:"2019-01-01",end:"2019-12-31",codename:"Carbon"},v9:{start:"2017-10-01",maintenance:"2018-04-01",end:"2018-06-30"},v10:{start:"2018-04-24",lts:"2018-10-30",maintenance:"2020-05-19",end:"2021-04-30",codename:"Dubnium"},v11:{start:"2018-10-23",maintenance:"2019-04-22",end:"2019-06-01"},v12:{start:"2019-04-23",lts:"2019-10-21",maintenance:"2020-11-30",end:"2022-04-30",codename:"Erbium"},v13:{start:"2019-10-22",maintenance:"2020-04-01",end:"2020-06-01"},v14:{start:"2020-04-21",lts:"2020-10-27",maintenance:"2021-10-19",end:"2023-04-30",codename:"Fermium"},v15:{start:"2020-10-20",maintenance:"2021-04-01",end:"2021-06-01"},v16:{start:"2021-04-20",lts:"2021-10-26",maintenance:"2022-10-18",end:"2023-09-11",codename:"Gallium"},v17:{start:"2021-10-19",maintenance:"2022-04-01",end:"2022-06-01"},v18:{start:"2022-04-19",lts:"2022-10-25",maintenance:"2023-10-18",end:"2025-04-30",codename:"Hydrogen"},v19:{start:"2022-10-18",maintenance:"2023-04-01",end:"2023-06-01"},v20:{start:"2023-04-18",lts:"2023-10-24",maintenance:"2024-10-22",end:"2026-04-30",codename:""}}});var YD=g((d2e,HD)=>{HD.exports={"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","25.0":"114","25.1":"114","25.2":"114","26.0":"116"}});var Fg=g((h2e,XD)=>{function kg(e){this.name="BrowserslistError",this.message=e,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,kg)}kg.prototype=Error.prototype;XD.exports=kg});var t2=g((m2e,e2)=>{var JD=/^\s+and\s+(.*)/i,QD=/^(?:,\s*|\s+or\s+)(.*)/i;function ZD(e){return Array.isArray(e)?e.reduce(function(t,r){return t.concat(ZD(r))},[]):[e]}function Hye(e,t){for(var r=1,n=e.length;r<=n;r++){var i=e.substr(-r,r);if(t(i,r,n))return e.slice(0,-r)}return""}function Bg(e,t){var r={query:t};t.indexOf("not ")===0&&(r.not=!0,t=t.slice(4));for(var n in e){var i=e[n],s=t.match(i.regexp);if(s){r.type=n;for(var a=0;a<i.matches.length;a++)r[i.matches[a]]=s[a+1];return r}}return r.type="unknown",r}function Yye(e,t,r){var n;return Hye(t,function(i,s,a){return JD.test(i)?(n=Bg(e,i.match(JD)[1]),n.compose="and",r.unshift(n),!0):QD.test(i)?(n=Bg(e,i.match(QD)[1]),n.compose="or",r.unshift(n),!0):s===a?(n=Bg(e,i.trim()),n.compose="or",r.unshift(n),!0):!1})}e2.exports=function(t,r){return Array.isArray(r)||(r=[r]),ZD(r.map(function(n){var i=[];do n=Yye(t,n,i);while(n);return i}))}});var n2=g((y2e,r2)=>{r2.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}});var s2=g((g2e,i2)=>{i2.exports={y:1,n:2,a:4,p:8,u:16,x:32,d:64}});var l2=g((b2e,jg)=>{"use strict";var Xye=n2(),a2=s2(),Jye=tf().browsers,Qye=Og().browserVersions,Zye=Math.log(2);function e0e(e){let t=Object.keys(a2).reduce((i,s)=>(e&a2[s]&&i.push(s),i),[]),r=e>>7,n=[];for(;r;){let i=Math.floor(Math.log(r)/Zye)+1;n.unshift(`#${i}`),r-=Math.pow(2,i-1)}return t.concat(n).join(" ")}function o2(e){let t={status:Xye[e.B],title:e.C};return t.stats=Object.keys(e.A).reduce((r,n)=>{let i=e.A[n];return r[Jye[n]]=Object.keys(i).reduce((s,a)=>{let o=i[a].split(" "),l=e0e(a);return o.forEach(u=>s[Qye[u]]=l),s},{}),r},{}),t}jg.exports=o2;jg.exports.default=o2});var c2=g((E2e,Lg)=>{"use strict";var t0e=tf().browsers;function u2(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return t[t0e[r]]=Object.keys(n).reduce((i,s)=>{let a=n[s];return s==="_"?a.split(" ").forEach(o=>i[o]=null):i[s]=a,i},{}),t},{})}Lg.exports=u2;Lg.exports.default=u2});var g2=g((v2e,Gi)=>{var r0e=l2().default,n0e=c2().default,Gr=require("path"),Js=require("fs"),Gt=Fg(),f2=/^\s*\[(.+)]\s*$/,i0e=/^browserslist-config-/,s0e=/@[^/]+\/browserslist-config(-|$|\/)/,a0e=6*30*24*60*60*1e3,p2="Browserslist config should be a string or an array of strings with browser queries",Mg=!1,sf={},rf={};function d2(e){var t=" Use `dangerousExtend` option to disable.";if(!i0e.test(e)&&!s0e.test(e))throw new Gt("Browserslist config needs `browserslist-config-` prefix. "+t);if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1)throw new Gt("`.` not allowed in Browserslist config name. "+t);if(e.indexOf("node_modules")!==-1)throw new Gt("`node_modules` not allowed in Browserslist config."+t)}function on(e){if(e in sf)return sf[e];var t=Js.existsSync(e)&&Js.statSync(e).isFile();return process.env.BROWSERSLIST_DISABLE_CACHE||(sf[e]=t),t}function h2(e,t){var r=on(e)?Gr.dirname(e):e,n=Gr.resolve(r);do{var i=t(n);if(typeof i!="undefined")return i}while(n!==(n=Gr.dirname(n)))}function o0e(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(typeof e[t]!="string")throw new Gt(p2)}else if(typeof e!="string")throw new Gt(p2)}function nf(e,t){if(typeof e!="object")return e;var r;if(typeof t.env=="string"?r=t.env:process.env.BROWSERSLIST_ENV?r=process.env.BROWSERSLIST_ENV:process.env.NODE_ENV?r=process.env.NODE_ENV:r="production",t.throwOnMissing&&r&&r!=="defaults"&&!e[r])throw new Gt("Missing config for Browserslist environment `"+r+"`");return e[r]||e.defaults}function m2(e){var t=JSON.parse(Js.readFileSync(e).toString().replace(/^\uFEFF/m,""));if(t.browserlist&&!t.browserslist)throw new Gt("`browserlist` key instead of `browserslist` in "+e);var r=t.browserslist;(Array.isArray(r)||typeof r=="string")&&(r={defaults:r});for(var n in r)o0e(r[n]);return r}function l0e(e){var t=0;for(var r in e){var n=e[r].releaseDate||{};for(var i in n)t<n[i]&&(t=n[i])}return t*1e3}function y2(e,t){if(e||(e={}),t&&"dataByBrowser"in t&&(t=t.dataByBrowser),typeof t=="object"){var r={};for(var n in t){var i=Object.keys(t[n]);if(i.length===1&&e[n]&&e[n].versions.length===1){var s=e[n].versions[0];r[n]={},r[n][s]=t[n][i[0]]}else r[n]=t[n]}return r}}function u0e(e,t){for(var r in e){var n=e[r];if("0"in n){var i=t[r].versions;n[i[i.length-1]]=n[0],delete n[0]}}}Gi.exports={loadQueries:function(t,r){!t.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND&&d2(r);var n=require(require.resolve(r,{paths:[".",t.path]}));if(n){if(Array.isArray(n))return n;if(typeof n=="object")return n.defaults||(n.defaults=[]),nf(n,t,r)}throw new Gt("`"+r+"` config exports not an array of queries or an object of envs")},loadStat:function(t,r,n){!t.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND&&d2(r);var i=require(require.resolve(Gr.join(r,"browserslist-stats.json"),{paths:["."]}));return y2(n,i)},getStat:function(t,r){var n;if(t.stats?n=t.stats:process.env.BROWSERSLIST_STATS?n=process.env.BROWSERSLIST_STATS:t.path&&Gr.resolve&&Js.existsSync&&(n=h2(t.path,function(i){var s=Gr.join(i,"browserslist-stats.json");return on(s)?s:void 0})),typeof n=="string")try{n=JSON.parse(Js.readFileSync(n))}catch{throw new Gt("Can't read "+n)}return y2(r,n)},loadConfig:function(t){if(process.env.BROWSERSLIST)return process.env.BROWSERSLIST;if(t.config||process.env.BROWSERSLIST_CONFIG){var r=t.config||process.env.BROWSERSLIST_CONFIG;return Gr.basename(r)==="package.json"?nf(m2(r),t):nf(Gi.exports.readConfig(r),t)}else return t.path?nf(Gi.exports.findConfig(t.path),t):void 0},loadCountry:function(t,r,n){var i=r.replace(/[^\w-]/g,"");if(!t[i]){var s;try{s=require("caniuse-lite/data/regions/"+i+".js")}catch{throw new Gt("Unknown region name `"+i+"`.")}var a=n0e(s);u0e(a,n),t[r]={};for(var o in a)for(var l in a[o])t[r][o+" "+l]=a[o][l]}},loadFeature:function(t,r){if(r=r.replace(/[^\w-]/g,""),!t[r]){var n;try{n=require("caniuse-lite/data/features/"+r+".js")}catch{throw new Gt("Unknown feature name `"+r+"`.")}var i=r0e(n).stats;t[r]={};for(var s in i){t[r][s]={};for(var a in i[s])t[r][s][a]=i[s][a]}}},parseConfig:function(t){var r={defaults:[]},n=["defaults"];return t.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map(function(i){return i.trim()}).filter(function(i){return i!==""}).forEach(function(i){f2.test(i)?(n=i.match(f2)[1].trim().split(" "),n.forEach(function(s){if(r[s])throw new Gt("Duplicate section "+s+" in Browserslist config");r[s]=[]})):n.forEach(function(s){r[s].push(i)})}),r},readConfig:function(t){if(!on(t))throw new Gt("Can't read "+t+" config");return Gi.exports.parseConfig(Js.readFileSync(t))},findConfig:function(t){t=Gr.resolve(t);var r=[],n=h2(t,function(i){if(i in rf)return rf[i];r.push(i);var s=Gr.join(i,"browserslist"),a=Gr.join(i,"package.json"),o=Gr.join(i,".browserslistrc"),l;if(on(a))try{l=m2(a)}catch(u){if(u.name==="BrowserslistError")throw u;console.warn("[Browserslist] Could not parse "+a+". Ignoring it.")}if(on(s)&&l)throw new Gt(i+" contains both browserslist and package.json with browsers");if(on(o)&&l)throw new Gt(i+" contains both .browserslistrc and package.json with browsers");if(on(s)&&on(o))throw new Gt(i+" contains both .browserslistrc and browserslist");return on(s)?Gi.exports.readConfig(s):on(o)?Gi.exports.readConfig(o):l});return process.env.BROWSERSLIST_DISABLE_CACHE||r.forEach(function(i){rf[i]=n}),n},clearCaches:function(){Mg=!1,sf={},rf={},this.cache={}},oldDataWarning:function(t){if(!Mg&&(Mg=!0,!process.env.BROWSERSLIST_IGNORE_OLD_DATA)){var r=l0e(t),n=Date.now()-a0e;r!==0&&r<n&&console.warn(`Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme`)}},currentNode:function(){return"node "+process.versions.node},env:process.env}});var B2=g((T2e,F2)=>{var c0e=FD(),_n=zD().agents,Rg=GD(),ff=require("path"),Hr=YD(),pr=Fg(),C2=t2(),Ht=g2(),f0e=365.259641*24*60*60*1e3,w2="37",p0e=14;function D2(e,t){return(e+".").indexOf(t+".")===0}function d0e(e){var t=e.slice(1);return he.nodeVersions.some(function(r){return D2(r,t)})}function b2(e){return e.filter(function(t){return typeof t=="string"})}function af(e){var t=e;return e.split(".").length===3&&(t=e.split(".").slice(0,-1).join(".")),t}function pi(e){return function(r){return e+" "+r}}function $g(e){return parseInt(e.split(".")[0])}function of(e,t){if(e.length===0)return[];var r=I2(e.map($g)),n=r[r.length-t];if(!n)return e;for(var i=[],s=e.length-1;s>=0&&!(n>$g(e[s]));s--)i.unshift(e[s]);return i}function I2(e){for(var t=[],r=0;r<e.length;r++)t.indexOf(e[r])===-1&&t.push(e[r]);return t}function pf(e,t,r){for(var n in r)e[t+" "+n]=r[n]}function E2(e,t){return t=parseFloat(t),e===">"?function(r){return parseFloat(r)>t}:e===">="?function(r){return parseFloat(r)>=t}:e==="<"?function(r){return parseFloat(r)<t}:function(r){return parseFloat(r)<=t}}function h0e(e,t){return t=t.split(".").map(di),t[1]=t[1]||0,t[2]=t[2]||0,e===">"?function(r){return r=r.split(".").map(di),Mo(r,t)>0}:e===">="?function(r){return r=r.split(".").map(di),Mo(r,t)>=0}:e==="<"?function(r){return r=r.split(".").map(di),Mo(t,r)>0}:function(r){return r=r.split(".").map(di),Mo(t,r)>=0}}function di(e){return parseInt(e)}function cf(e,t){return e<t?-1:e>t?1:0}function Mo(e,t){return cf(parseInt(e[0]),parseInt(t[0]))||cf(parseInt(e[1]||"0"),parseInt(t[1]||"0"))||cf(parseInt(e[2]||"0"),parseInt(t[2]||"0"))}function v2(e,t){switch(t=t.split(".").map(di),typeof t[1]=="undefined"&&(t[1]="x"),e){case"<=":return function(r){return r=r.split(".").map(di),T2(r,t)<=0};case">=":default:return function(r){return r=r.split(".").map(di),T2(r,t)>=0}}}function T2(e,t){return e[0]!==t[0]?e[0]<t[0]?-1:1:t[1]==="x"?0:e[1]!==t[1]?e[1]<t[1]?-1:1:0}function m0e(e,t){return e.versions.indexOf(t)!==-1?t:he.versionAliases[e.name][t]?he.versionAliases[e.name][t]:!1}function lf(e,t){var r=m0e(e,t);return r||(e.versions.length===1?e.versions[0]:!1)}function _2(e,t){return e=e/1e3,Object.keys(_n).reduce(function(r,n){var i=hi(n,t);if(!i)return r;var s=Object.keys(i.releaseDate).filter(function(a){var o=i.releaseDate[a];return o!==null&&o>=e});return r.concat(s.map(pi(i.name)))},[])}function S2(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function hi(e,t){if(e=e.toLowerCase(),e=he.aliases[e]||e,t.mobileToDesktop&&he.desktopNames[e]){var r=he.data[he.desktopNames[e]];if(e==="android")return y0e(S2(he.data[e]),r);var n=S2(r);return n.name=e,n}return he.data[e]}function x2(e,t){var r=t.indexOf(w2);return e.filter(function(n){return/^(?:[2-4]\.|[34]$)/.test(n)}).concat(t.slice(r))}function y0e(e,t){return e.released=x2(e.released,t.released),e.versions=x2(e.versions,t.versions),e.released.forEach(function(r){e.releaseDate[r]===void 0&&(e.releaseDate[r]=t.releaseDate[r])}),e}function Qs(e,t){var r=hi(e,t);if(!r)throw new pr("Unknown browser "+e);return r}function g0e(e){return new pr("Unknown browser query `"+e+"`. Maybe you are using old Browserslist or made typo in query.")}function uf(e,t,r,n){var i=1;switch(t){case"android":if(n.mobileToDesktop)return e;var s=he.data.chrome.released;i=s.length-s.indexOf(w2);break;case"op_mob":var a=he.data.op_mob.released.slice(-1)[0];i=$g(a)-p0e+1;break;default:return e}return r<=i?e.slice(-1):e.slice(i-1-r)}function P2(e){return typeof e=="string"&&(e.indexOf("y")>=0||e.indexOf("a")>=0)}function Zs(e,t){return C2(Kg,e).reduce(function(r,n,i){if(n.not&&i===0)throw new pr("Write any browsers query (for instance, `defaults`) before `"+n.query+"`");var s=Kg[n.type],a=s.select.call(he,t,n).map(function(l){var u=l.split(" ");return u[1]==="0"?u[0]+" "+hi(u[0],t).versions[0]:l});if(n.compose==="and")return n.not?r.filter(function(l){return a.indexOf(l)===-1}):r.filter(function(l){return a.indexOf(l)!==-1});if(n.not){var o={};return a.forEach(function(l){o[l]=!0}),r.filter(function(l){return!o[l]})}return r.concat(a)},[])}function O2(e){return typeof e=="undefined"&&(e={}),typeof e.path=="undefined"&&(e.path=ff.resolve?ff.resolve("."):"."),e}function N2(e,t){if(typeof e=="undefined"||e===null){var r=he.loadConfig(t);r?e=r:e=he.defaults}return e}function k2(e){if(!(typeof e=="string"||Array.isArray(e)))throw new pr("Browser queries must be an array or string. Got "+typeof e+".")}var qg={};function he(e,t){t=O2(t),e=N2(e,t),k2(e);var r={ignoreUnknownVersions:t.ignoreUnknownVersions,dangerousExtend:t.dangerousExtend,mobileToDesktop:t.mobileToDesktop,path:t.path,env:t.env};Ht.oldDataWarning(he.data);var n=Ht.getStat(t,he.data);if(n){r.customUsage={};for(var i in n)pf(r.customUsage,i,n[i])}var s=JSON.stringify([e,r]);if(qg[s])return qg[s];var a=I2(Zs(e,r)).sort(function(o,l){if(o=o.split(" "),l=l.split(" "),o[0]===l[0]){var u=o[1].split("-")[0],c=l[1].split("-")[0];return Mo(c.split("."),u.split("."))}else return cf(o[0],l[0])});return Ht.env.BROWSERSLIST_DISABLE_CACHE||(qg[s]=a),a}he.parse=function(e,t){return t=O2(t),e=N2(e,t),k2(e),C2(Kg,e)};he.cache={};he.data={};he.usage={global:{},custom:null};he.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];he.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};he.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};he.versionAliases={};he.clearCaches=Ht.clearCaches;he.parseConfig=Ht.parseConfig;he.readConfig=Ht.readConfig;he.findConfig=Ht.findConfig;he.loadConfig=Ht.loadConfig;he.coverage=function(e,t){var r;if(typeof t=="undefined")r=he.usage.global;else if(t==="my stats"){var n={};n.path=ff.resolve?ff.resolve("."):".";var i=Ht.getStat(n);if(!i)throw new pr("Custom usage statistics was not provided");r={};for(var s in i)pf(r,s,i[s])}else if(typeof t=="string")t.length>2?t=t.toLowerCase():t=t.toUpperCase(),Ht.loadCountry(he.usage,t,he.data),r=he.usage[t];else{"dataByBrowser"in t&&(t=t.dataByBrowser),r={};for(var a in t)for(var o in t[a])r[a+" "+o]=t[a][o]}return e.reduce(function(l,u){var c=r[u];return c===void 0&&(c=r[u.replace(/ \S+$/," 0")]),l+(c||0)},0)};function Ug(e,t){var r=he.nodeVersions.filter(function(n){return D2(n,t.version)});if(r.length===0){if(e.ignoreUnknownVersions)return[];throw new pr("Unknown version "+t.version+" of Node.js")}return["node "+r[r.length-1]]}function Vg(e,t){var r=parseInt(t.year),n=parseInt(t.month||"01")-1,i=parseInt(t.day||"01");return _2(Date.UTC(r,n,i,0,0,0),e)}function A2(e,t){var r=parseFloat(t.coverage),n=he.usage.global;if(t.place)if(t.place.match(/^my\s+stats$/i)){if(!e.customUsage)throw new pr("Custom usage statistics was not provided");n=e.customUsage}else{var i;t.place.length===2?i=t.place.toUpperCase():i=t.place.toLowerCase(),Ht.loadCountry(he.usage,i,he.data),n=he.usage[i]}for(var s=Object.keys(n).sort(function(c,f){return n[f]-n[c]}),a=0,o=[],l,u=0;u<s.length&&(l=s[u],!(n[l]===0||(a+=n[l],o.push(l),a>=r)));u++);return o}var Kg={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,t){return Object.keys(_n).reduce(function(r,n){var i=hi(n,e);if(!i)return r;var s=of(i.released,t.versions);return s=s.map(pi(i.name)),s=uf(s,i.name,t.versions,e),r.concat(s)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,t){return Object.keys(_n).reduce(function(r,n){var i=hi(n,e);if(!i)return r;var s=i.released.slice(-t.versions);return s=s.map(pi(i.name)),s=uf(s,i.name,t.versions,e),r.concat(s)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,t){var r=of(Object.keys(Hr),t.versions);return r.map(function(n){return"chrome "+Hr[n]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(e,t){return of(he.nodeVersions,t.versions).map(function(r){return"node "+r})}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,t){var r=Qs(t.browser,e),n=of(r.released,t.versions),i=n.map(pi(r.name));return i=uf(i,r.name,t.versions,e),i}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,t){return Object.keys(Hr).slice(-t.versions).map(function(r){return"chrome "+Hr[r]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(e,t){return he.nodeVersions.slice(-t.versions).map(function(r){return"node "+r})}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,t){var r=Qs(t.browser,e),n=r.released.slice(-t.versions).map(pi(r.name));return n=uf(n,r.name,t.versions,e),n}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(_n).reduce(function(t,r){var n=hi(r,e);if(!n)return t;var i=n.versions.filter(function(s){return n.released.indexOf(s)===-1});return i=i.map(pi(n.name)),t.concat(i)},[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,t){var r=Qs(t.browser,e);return r.versions.filter(function(n){return r.released.indexOf(n)===-1}).map(pi(r.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,t){return _2(Date.now()-f0e*t.years,e)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:Vg},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:Vg},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:Vg},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,t){var r=parseFloat(t.popularity),n=he.usage.global;return Object.keys(n).reduce(function(i,s){return t.sign===">"?n[s]>r&&i.push(s):t.sign==="<"?n[s]<r&&i.push(s):t.sign==="<="?n[s]<=r&&i.push(s):n[s]>=r&&i.push(s),i},[])}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(e,t){var r=parseFloat(t.popularity);if(!e.customUsage)throw new pr("Custom usage statistics was not provided");var n=e.customUsage;return Object.keys(n).reduce(function(i,s){var a=n[s];return a==null||(t.sign===">"?a>r&&i.push(s):t.sign==="<"?a<r&&i.push(s):t.sign==="<="?a<=r&&i.push(s):a>=r&&i.push(s)),i},[])}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,t){var r=parseFloat(t.popularity),n=Ht.loadStat(e,t.config,he.data);if(n){e.customUsage={};for(var i in n)pf(e.customUsage,i,n[i])}if(!e.customUsage)throw new pr("Custom usage statistics was not provided");var s=e.customUsage;return Object.keys(s).reduce(function(a,o){var l=s[o];return l==null||(t.sign===">"?l>r&&a.push(o):t.sign==="<"?l<r&&a.push(o):t.sign==="<="?l<=r&&a.push(o):l>=r&&a.push(o)),a},[])}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,t){var r=parseFloat(t.popularity),n=t.place;n.length===2?n=n.toUpperCase():n=n.toLowerCase(),Ht.loadCountry(he.usage,n,he.data);var i=he.usage[n];return Object.keys(i).reduce(function(s,a){var o=i[a];return o==null||(t.sign===">"?o>r&&s.push(a):t.sign==="<"?o<r&&s.push(a):t.sign==="<="?o<=r&&s.push(a):o>=r&&s.push(a)),s},[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:A2},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:A2},supports:{matches:["feature"],regexp:/^supports\s+([\w-]+)$/,select:function(e,t){Ht.loadFeature(he.cache,t.feature);var r=he.cache[t.feature],n=[];for(var i in r){var s=hi(i,e),a=e.mobileToDesktop&&i in he.desktopNames&&P2(r[i][s.released.slice(-1)[0]]);s.versions.forEach(function(o){var l=r[i][o];l===void 0&&a&&(l=r[he.desktopNames[i]][o]),P2(l)&&n.push(i+" "+o)})}return n}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){var r=af(t.from),n=af(t.to),i=parseFloat(t.from),s=parseFloat(t.to);if(!Hr[r])throw new pr("Unknown version "+i+" of electron");if(!Hr[n])throw new pr("Unknown version "+s+" of electron");return Object.keys(Hr).filter(function(a){var o=parseFloat(a);return o>=i&&o<=s}).map(function(a){return"chrome "+Hr[a]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){return he.nodeVersions.filter(v2(">=",t.from)).filter(v2("<=",t.to)).map(function(r){return"node "+r})}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){var r=Qs(t.browser,e),n=parseFloat(lf(r,t.from)||t.from),i=parseFloat(lf(r,t.to)||t.to);function s(a){var o=parseFloat(a);return o>=n&&o<=i}return r.released.filter(s).map(pi(r.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){var r=af(t.version);return Object.keys(Hr).filter(E2(t.sign,r)).map(function(n){return"chrome "+Hr[n]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){return he.nodeVersions.filter(h0e(t.sign,t.version)).map(function(r){return"node "+r})}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,t){var r=t.version,n=Qs(t.browser,e),i=he.versionAliases[n.name][r];return i&&(r=i),n.released.filter(E2(t.sign,r)).map(function(s){return n.name+" "+s})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 102"]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(e,t){var r=af(t.version),n=Hr[r];if(!n)throw new pr("Unknown version "+t.version+" of electron");return["chrome "+n]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:Ug},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:Ug},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:Ug},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(e){return[Ht.currentNode(Zs,e)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(e){var t=Date.now(),r=Object.keys(Rg).filter(function(n){return t<Date.parse(Rg[n].end)&&t>Date.parse(Rg[n].start)&&d0e(n)}).map(function(n){return"node "+n.slice(1)});return Zs(r,e)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,t){var r=t.version;/^tp$/i.test(r)&&(r="TP");var n=Qs(t.browser,e),i=lf(n,r);if(i)r=i;else if(r.indexOf(".")===-1?i=r+".0":i=r.replace(/\.0$/,""),i=lf(n,i),i)r=i;else{if(e.ignoreUnknownVersions)return[];throw new pr("Unknown version "+r+" of "+t.browser)}return[n.name+" "+r]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,select:function(e){return he(void 0,e)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,select:function(e,t){return Zs(Ht.loadQueries(e,t.config),e)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(e){return Zs(he.defaults,e)}},dead:{matches:[],regexp:/^dead$/i,select:function(e){var t=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return Zs(t,e)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(e,t){throw hi(t.query,e)?new pr("Specify versions in Browserslist query for browser "+t.query):g0e(t.query)}}};(function(){for(var e in _n){var t=_n[e];he.data[e]={name:e,versions:b2(_n[e].versions),released:b2(_n[e].versions.slice(0,-3)),releaseDate:_n[e].release_date},pf(he.usage.global,e,t.usage_global),he.versionAliases[e]={};for(var r=0;r<t.versions.length;r++){var n=t.versions[r];if(n&&n.indexOf("-")!==-1)for(var i=n.split("-"),s=0;s<i.length;s++)he.versionAliases[e][i[s]]=n}}he.nodeVersions=c0e.map(function(a){return a.version})})();F2.exports=he});var zg=g(Wg=>{"use strict";Object.defineProperty(Wg,"__esModule",{value:!0});Wg.findSuggestion=E0e;var{min:j2}=Math;function b0e(e,t){let r=[],n=[],i,s,a=e.length,o=t.length;if(!a)return o;if(!o)return a;for(s=0;s<=o;s++)r[s]=s;for(i=1;i<=a;i++){for(n=[i],s=1;s<=o;s++)n[s]=e[i-1]===t[s-1]?r[s-1]:j2(r[s-1],r[s],n[s-1])+1;r=n}return n[o]}function E0e(e,t){let r=t.map(n=>b0e(n,e));return t[r.indexOf(j2(...r))]}});var L2=g(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.OptionValidator=void 0;var v0e=zg(),Gg=class{constructor(t){this.descriptor=t}validateTopLevelOptions(t,r){let n=Object.keys(r);for(let i of Object.keys(t))if(!n.includes(i))throw new Error(this.formatMessage(`'${i}' is not a valid top-level option.
- Did you mean '${(0,v0e.findSuggestion)(i,n)}'?`))}validateBooleanOption(t,r,n){return r===void 0?n:(this.invariant(typeof r=="boolean",`'${t}' option must be a boolean.`),r)}validateStringOption(t,r,n){return r===void 0?n:(this.invariant(typeof r=="string",`'${t}' option must be a string.`),r)}invariant(t,r){if(!t)throw new Error(this.formatMessage(r))}formatMessage(t){return`${this.descriptor}: ${t}`}};df.OptionValidator=Gg});var mf=g(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});Object.defineProperty(hf,"OptionValidator",{enumerable:!0,get:function(){return T0e.OptionValidator}});Object.defineProperty(hf,"findSuggestion",{enumerable:!0,get:function(){return S0e.findSuggestion}});var T0e=L2(),S0e=zg()});var M2=g((A2e,x0e)=>{x0e.exports={"es6.module":{chrome:"61",and_chr:"61",edge:"16",firefox:"60",and_ff:"60",node:"13.2.0",opera:"48",op_mob:"45",safari:"10.1",ios:"10.3",samsung:"8.2",android:"61",electron:"2.0",ios_saf:"10.3"}}});var q2=g((C2e,R2)=>{R2.exports=M2()});var V2=g((w2e,U2)=>{"use strict";U2.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var K2=g((D2e,$2)=>{"use strict";$2.exports=Qe;Qe.Node=Hi;Qe.create=Qe;function Qe(e){var t=this;if(t instanceof Qe||(t=new Qe),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}Qe.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Qe.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Qe.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Qe.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)A0e(this,arguments[e]);return this.length};Qe.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)C0e(this,arguments[e]);return this.length};Qe.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Qe.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Qe.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next};Qe.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev};Qe.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};Qe.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};Qe.prototype.map=function(e,t){t=t||this;for(var r=new Qe,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};Qe.prototype.mapReverse=function(e,t){t=t||this;for(var r=new Qe,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};Qe.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=e(r,n.value,i),n=n.next;return r};Qe.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=e(r,n.value,i),n=n.prev;return r};Qe.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};Qe.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};Qe.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Qe;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,i=this.head;i!==null&&n<e;n++)i=i.next;for(;i!==null&&n<t;n++,i=i.next)r.push(i.value);return r};Qe.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Qe;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,i=this.tail;i!==null&&n>t;n--)i=i.prev;for(;i!==null&&n>e;n--,i=i.prev)r.push(i.value);return r};Qe.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,n=this.head;n!==null&&r<e;r++)n=n.next;for(var i=[],r=0;n&&r<t;r++)i.push(n.value),n=this.removeNode(n);n===null&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(var r=2;r<arguments.length;r++)n=P0e(this,n,arguments[r]);return i};Qe.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};function P0e(e,t,r){var n=t===e.head?new Hi(r,null,t,e):new Hi(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function A0e(e,t){e.tail=new Hi(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function C0e(e,t){e.head=new Hi(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Hi(e,t,r,n){if(!(this instanceof Hi))return new Hi(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{V2()(Qe)}catch{}});var Y2=g((I2e,H2)=>{"use strict";var w0e=K2(),Yi=Symbol("max"),Nn=Symbol("length"),ea=Symbol("lengthCalculator"),qo=Symbol("allowStale"),Xi=Symbol("maxAge"),On=Symbol("dispose"),W2=Symbol("noDisposeOnSet"),Lt=Symbol("lruList"),Yr=Symbol("cache"),G2=Symbol("updateAgeOnGet"),Hg=()=>1,Xg=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let r=this[Yi]=t.max||1/0,n=t.length||Hg;if(this[ea]=typeof n!="function"?Hg:n,this[qo]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Xi]=t.maxAge||0,this[On]=t.dispose,this[W2]=t.noDisposeOnSet||!1,this[G2]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Yi]=t||1/0,Ro(this)}get max(){return this[Yi]}set allowStale(t){this[qo]=!!t}get allowStale(){return this[qo]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Xi]=t,Ro(this)}get maxAge(){return this[Xi]}set lengthCalculator(t){typeof t!="function"&&(t=Hg),t!==this[ea]&&(this[ea]=t,this[Nn]=0,this[Lt].forEach(r=>{r.length=this[ea](r.value,r.key),this[Nn]+=r.length})),Ro(this)}get lengthCalculator(){return this[ea]}get length(){return this[Nn]}get itemCount(){return this[Lt].length}rforEach(t,r){r=r||this;for(let n=this[Lt].tail;n!==null;){let i=n.prev;z2(this,t,n,r),n=i}}forEach(t,r){r=r||this;for(let n=this[Lt].head;n!==null;){let i=n.next;z2(this,t,n,r),n=i}}keys(){return this[Lt].toArray().map(t=>t.key)}values(){return this[Lt].toArray().map(t=>t.value)}reset(){this[On]&&this[Lt]&&this[Lt].length&&this[Lt].forEach(t=>this[On](t.key,t.value)),this[Yr]=new Map,this[Lt]=new w0e,this[Nn]=0}dump(){return this[Lt].map(t=>yf(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Lt]}set(t,r,n){if(n=n||this[Xi],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let i=n?Date.now():0,s=this[ea](r,t);if(this[Yr].has(t)){if(s>this[Yi])return ta(this,this[Yr].get(t)),!1;let l=this[Yr].get(t).value;return this[On]&&(this[W2]||this[On](t,l.value)),l.now=i,l.maxAge=n,l.value=r,this[Nn]+=s-l.length,l.length=s,this.get(t),Ro(this),!0}let a=new Jg(t,r,s,i,n);return a.length>this[Yi]?(this[On]&&this[On](t,r),!1):(this[Nn]+=a.length,this[Lt].unshift(a),this[Yr].set(t,this[Lt].head),Ro(this),!0)}has(t){if(!this[Yr].has(t))return!1;let r=this[Yr].get(t).value;return!yf(this,r)}get(t){return Yg(this,t,!0)}peek(t){return Yg(this,t,!1)}pop(){let t=this[Lt].tail;return t?(ta(this,t),t.value):null}del(t){ta(this,this[Yr].get(t))}load(t){this.reset();let r=Date.now();for(let n=t.length-1;n>=0;n--){let i=t[n],s=i.e||0;if(s===0)this.set(i.k,i.v);else{let a=s-r;a>0&&this.set(i.k,i.v,a)}}}prune(){this[Yr].forEach((t,r)=>Yg(this,r,!1))}},Yg=(e,t,r)=>{let n=e[Yr].get(t);if(n){let i=n.value;if(yf(e,i)){if(ta(e,n),!e[qo])return}else r&&(e[G2]&&(n.value.now=Date.now()),e[Lt].unshiftNode(n));return i.value}},yf=(e,t)=>{if(!t||!t.maxAge&&!e[Xi])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[Xi]&&r>e[Xi]},Ro=e=>{if(e[Nn]>e[Yi])for(let t=e[Lt].tail;e[Nn]>e[Yi]&&t!==null;){let r=t.prev;ta(e,t),t=r}},ta=(e,t)=>{if(t){let r=t.value;e[On]&&e[On](r.key,r.value),e[Nn]-=r.length,e[Yr].delete(r.key),e[Lt].removeNode(t)}},Jg=class{constructor(t,r,n,i,s){this.key=t,this.value=r,this.length=n,this.now=i,this.maxAge=s||0}},z2=(e,t,r,n)=>{let i=r.value;yf(e,i)&&(ta(e,r),e[qo]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};H2.exports=Xg});var gf=g(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.unreleasedLabels=ra.browserNameMap=void 0;var D0e={safari:"tp"};ra.unreleasedLabels=D0e;var I0e={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"};ra.browserNameMap=I0e});var bf=g(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.getHighestUnreleased=B0e;mi.getLowestImplementedVersion=j0e;mi.getLowestUnreleased=Z2;mi.isUnreleasedVersion=F0e;mi.semverMin=Q2;mi.semverify=k0e;var X2=li(),_0e=mf(),J2=gf(),O0e=/^(\d+|\d+.\d+)$/,N0e=new _0e.OptionValidator("@babel/helper-compilation-targets");function Q2(e,t){return e&&X2.lt(e,t)?e:t}function k0e(e){if(typeof e=="string"&&X2.valid(e))return e;N0e.invariant(typeof e=="number"||typeof e=="string"&&O0e.test(e),`'${e}' is not a valid version`),e=e.toString();let t=0,r=0;for(;(t=e.indexOf(".",t+1))>0;)r++;return e+".0".repeat(2-r)}function F0e(e,t){let r=J2.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function Z2(e,t,r){let n=J2.unreleasedLabels[r];return e===n?t:t===n?e:Q2(e,t)}function B0e(e,t,r){return Z2(e,t,r)===e?t:e}function j0e(e,t){let r=e[t];return!r&&t==="android"?e.chrome:r}});var eI=g(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});Ef.TargetNames=void 0;var L0e={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino",opera_mobile:"opera_mobile"};Ef.TargetNames=L0e});var Qg=g(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.prettifyTargets=q0e;vf.prettifyVersion=tI;var M0e=li(),R0e=gf();function tI(e){if(typeof e!="string")return e;let{major:t,minor:r,patch:n}=M0e.parse(e),i=[t];return(r||n)&&i.push(r),n&&i.push(n),i.join(".")}function q0e(e){return Object.keys(e).reduce((t,r)=>{let n=e[r],i=R0e.unreleasedLabels[r];return typeof n=="string"&&i!==n&&(n=tI(n)),t[r]=n,t},{})}});var nI=g(Zg=>{"use strict";Object.defineProperty(Zg,"__esModule",{value:!0});Zg.getInclusionReasons=V0e;var U0e=li(),rI=Qg(),Tf=bf();function V0e(e,t,r){let n=r[e]||{};return Object.keys(t).reduce((i,s)=>{let a=(0,Tf.getLowestImplementedVersion)(n,s),o=t[s];if(!a)i[s]=(0,rI.prettifyVersion)(o);else{let l=(0,Tf.isUnreleasedVersion)(a,s);!(0,Tf.isUnreleasedVersion)(o,s)&&(l||U0e.lt(o.toString(),(0,Tf.semverify)(a)))&&(i[s]=(0,rI.prettifyVersion)(o))}return i},{})}});var iI=g((B2e,$0e)=>{$0e.exports={"transform-unicode-sets-regex":{chrome:"112",opera:"98",edge:"112",firefox:"116",deno:"1.32",electron:"24.0"},"transform-class-static-block":{chrome:"94",opera:"80",edge:"94",firefox:"93",node:"16.11",deno:"1.14",samsung:"17",opera_mobile:"66",electron:"15.0"},"proposal-class-static-block":{chrome:"94",opera:"80",edge:"94",firefox:"93",node:"16.11",deno:"1.14",samsung:"17",opera_mobile:"66",electron:"15.0"},"transform-private-property-in-object":{chrome:"91",opera:"77",edge:"91",firefox:"90",safari:"15",node:"16.9",deno:"1.9",ios:"15",samsung:"16",opera_mobile:"64",electron:"13.0"},"proposal-private-property-in-object":{chrome:"91",opera:"77",edge:"91",firefox:"90",safari:"15",node:"16.9",deno:"1.9",ios:"15",samsung:"16",opera_mobile:"64",electron:"13.0"},"transform-class-properties":{chrome:"74",opera:"62",edge:"79",firefox:"90",safari:"14.1",node:"12",deno:"1",ios:"14.5",samsung:"11",opera_mobile:"53",electron:"6.0"},"proposal-class-properties":{chrome:"74",opera:"62",edge:"79",firefox:"90",safari:"14.1",node:"12",deno:"1",ios:"14.5",samsung:"11",opera_mobile:"53",electron:"6.0"},"transform-private-methods":{chrome:"84",opera:"70",edge:"84",firefox:"90",safari:"15",node:"14.6",deno:"1",ios:"15",samsung:"14",opera_mobile:"60",electron:"10.0"},"proposal-private-methods":{chrome:"84",opera:"70",edge:"84",firefox:"90",safari:"15",node:"14.6",deno:"1",ios:"15",samsung:"14",opera_mobile:"60",electron:"10.0"},"transform-numeric-separator":{chrome:"75",opera:"62",edge:"79",firefox:"70",safari:"13",node:"12.5",deno:"1",ios:"13",samsung:"11",rhino:"1.7.14",opera_mobile:"54",electron:"6.0"},"proposal-numeric-separator":{chrome:"75",opera:"62",edge:"79",firefox:"70",safari:"13",node:"12.5",deno:"1",ios:"13",samsung:"11",rhino:"1.7.14",opera_mobile:"54",electron:"6.0"},"transform-logical-assignment-operators":{chrome:"85",opera:"71",edge:"85",firefox:"79",safari:"14",node:"15",deno:"1.2",ios:"14",samsung:"14",opera_mobile:"60",electron:"10.0"},"proposal-logical-assignment-operators":{chrome:"85",opera:"71",edge:"85",firefox:"79",safari:"14",node:"15",deno:"1.2",ios:"14",samsung:"14",opera_mobile:"60",electron:"10.0"},"transform-nullish-coalescing-operator":{chrome:"80",opera:"67",edge:"80",firefox:"72",safari:"13.1",node:"14",deno:"1",ios:"13.4",samsung:"13",opera_mobile:"57",electron:"8.0"},"proposal-nullish-coalescing-operator":{chrome:"80",opera:"67",edge:"80",firefox:"72",safari:"13.1",node:"14",deno:"1",ios:"13.4",samsung:"13",opera_mobile:"57",electron:"8.0"},"transform-optional-chaining":{chrome:"91",opera:"77",edge:"91",firefox:"74",safari:"13.1",node:"16.9",deno:"1.9",ios:"13.4",samsung:"16",opera_mobile:"64",electron:"13.0"},"proposal-optional-chaining":{chrome:"91",opera:"77",edge:"91",firefox:"74",safari:"13.1",node:"16.9",deno:"1.9",ios:"13.4",samsung:"16",opera_mobile:"64",electron:"13.0"},"transform-json-strings":{chrome:"66",opera:"53",edge:"79",firefox:"62",safari:"12",node:"10",deno:"1",ios:"12",samsung:"9",rhino:"1.7.14",opera_mobile:"47",electron:"3.0"},"proposal-json-strings":{chrome:"66",opera:"53",edge:"79",firefox:"62",safari:"12",node:"10",deno:"1",ios:"12",samsung:"9",rhino:"1.7.14",opera_mobile:"47",electron:"3.0"},"transform-optional-catch-binding":{chrome:"66",opera:"53",edge:"79",firefox:"58",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"proposal-optional-catch-binding":{chrome:"66",opera:"53",edge:"79",firefox:"58",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"transform-parameters":{chrome:"49",opera:"36",edge:"18",firefox:"53",node:"6",deno:"1",samsung:"5",opera_mobile:"36",electron:"0.37"},"transform-async-generator-functions":{chrome:"63",opera:"50",edge:"79",firefox:"57",safari:"12",node:"10",deno:"1",ios:"12",samsung:"8",opera_mobile:"46",electron:"3.0"},"proposal-async-generator-functions":{chrome:"63",opera:"50",edge:"79",firefox:"57",safari:"12",node:"10",deno:"1",ios:"12",samsung:"8",opera_mobile:"46",electron:"3.0"},"transform-object-rest-spread":{chrome:"60",opera:"47",edge:"79",firefox:"55",safari:"11.1",node:"8.3",deno:"1",ios:"11.3",samsung:"8",opera_mobile:"44",electron:"2.0"},"proposal-object-rest-spread":{chrome:"60",opera:"47",edge:"79",firefox:"55",safari:"11.1",node:"8.3",deno:"1",ios:"11.3",samsung:"8",opera_mobile:"44",electron:"2.0"},"transform-dotall-regex":{chrome:"62",opera:"49",edge:"79",firefox:"78",safari:"11.1",node:"8.10",deno:"1",ios:"11.3",samsung:"8",opera_mobile:"46",electron:"3.0"},"transform-unicode-property-regex":{chrome:"64",opera:"51",edge:"79",firefox:"78",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"proposal-unicode-property-regex":{chrome:"64",opera:"51",edge:"79",firefox:"78",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"transform-named-capturing-groups-regex":{chrome:"64",opera:"51",edge:"79",firefox:"78",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"transform-async-to-generator":{chrome:"55",opera:"42",edge:"15",firefox:"52",safari:"11",node:"7.6",deno:"1",ios:"11",samsung:"6",opera_mobile:"42",electron:"1.6"},"transform-exponentiation-operator":{chrome:"52",opera:"39",edge:"14",firefox:"52",safari:"10.1",node:"7",deno:"1",ios:"10.3",samsung:"6",rhino:"1.7.14",opera_mobile:"41",electron:"1.3"},"transform-template-literals":{chrome:"41",opera:"28",edge:"13",firefox:"34",safari:"13",node:"4",deno:"1",ios:"13",samsung:"3.4",opera_mobile:"28",electron:"0.21"},"transform-literals":{chrome:"44",opera:"31",edge:"12",firefox:"53",safari:"9",node:"4",deno:"1",ios:"9",samsung:"4",opera_mobile:"32",electron:"0.30"},"transform-function-name":{chrome:"51",opera:"38",edge:"79",firefox:"53",safari:"10",node:"6.5",deno:"1",ios:"10",samsung:"5",opera_mobile:"41",electron:"1.2"},"transform-arrow-functions":{chrome:"47",opera:"34",edge:"13",firefox:"43",safari:"10",node:"6",deno:"1",ios:"10",samsung:"5",rhino:"1.7.13",opera_mobile:"34",electron:"0.36"},"transform-block-scoped-functions":{chrome:"41",opera:"28",edge:"12",firefox:"46",safari:"10",node:"4",deno:"1",ie:"11",ios:"10",samsung:"3.4",opera_mobile:"28",electron:"0.21"},"transform-classes":{chrome:"46",opera:"33",edge:"13",firefox:"45",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-object-super":{chrome:"46",opera:"33",edge:"13",firefox:"45",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-shorthand-properties":{chrome:"43",opera:"30",edge:"12",firefox:"33",safari:"9",node:"4",deno:"1",ios:"9",samsung:"4",rhino:"1.7.14",opera_mobile:"30",electron:"0.27"},"transform-duplicate-keys":{chrome:"42",opera:"29",edge:"12",firefox:"34",safari:"9",node:"4",deno:"1",ios:"9",samsung:"3.4",opera_mobile:"29",electron:"0.25"},"transform-computed-properties":{chrome:"44",opera:"31",edge:"12",firefox:"34",safari:"7.1",node:"4",deno:"1",ios:"8",samsung:"4",opera_mobile:"32",electron:"0.30"},"transform-for-of":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"10",node:"6.5",deno:"1",ios:"10",samsung:"5",opera_mobile:"41",electron:"1.2"},"transform-sticky-regex":{chrome:"49",opera:"36",edge:"13",firefox:"3",safari:"10",node:"6",deno:"1",ios:"10",samsung:"5",opera_mobile:"36",electron:"0.37"},"transform-unicode-escapes":{chrome:"44",opera:"31",edge:"12",firefox:"53",safari:"9",node:"4",deno:"1",ios:"9",samsung:"4",opera_mobile:"32",electron:"0.30"},"transform-unicode-regex":{chrome:"50",opera:"37",edge:"13",firefox:"46",safari:"12",node:"6",deno:"1",ios:"12",samsung:"5",opera_mobile:"37",electron:"1.1"},"transform-spread":{chrome:"46",opera:"33",edge:"13",firefox:"45",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-destructuring":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"10",node:"6.5",deno:"1",ios:"10",samsung:"5",opera_mobile:"41",electron:"1.2"},"transform-block-scoping":{chrome:"50",opera:"37",edge:"14",firefox:"53",safari:"11",node:"6",deno:"1",ios:"11",samsung:"5",opera_mobile:"37",electron:"1.1"},"transform-typeof-symbol":{chrome:"38",opera:"25",edge:"12",firefox:"36",safari:"9",node:"0.12",deno:"1",ios:"9",samsung:"3",rhino:"1.7.13",opera_mobile:"25",electron:"0.20"},"transform-new-target":{chrome:"46",opera:"33",edge:"14",firefox:"41",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-regenerator":{chrome:"50",opera:"37",edge:"13",firefox:"53",safari:"10",node:"6",deno:"1",ios:"10",samsung:"5",opera_mobile:"37",electron:"1.1"},"transform-member-expression-literals":{chrome:"7",opera:"12",edge:"12",firefox:"2",safari:"5.1",node:"0.4",deno:"1",ie:"9",android:"4",ios:"6",phantom:"1.9",samsung:"1",rhino:"1.7.13",opera_mobile:"12",electron:"0.20"},"transform-property-literals":{chrome:"7",opera:"12",edge:"12",firefox:"2",safari:"5.1",node:"0.4",deno:"1",ie:"9",android:"4",ios:"6",phantom:"1.9",samsung:"1",rhino:"1.7.13",opera_mobile:"12",electron:"0.20"},"transform-reserved-words":{chrome:"13",opera:"10.50",edge:"12",firefox:"2",safari:"3.1",node:"0.6",deno:"1",ie:"9",android:"4.4",ios:"6",phantom:"1.9",samsung:"1",rhino:"1.7.13",opera_mobile:"10.1",electron:"0.20"},"transform-export-namespace-from":{chrome:"72",deno:"1.0",edge:"79",firefox:"80",node:"13.2",opera:"60",opera_mobile:"51",safari:"14.1",ios:"14.5",samsung:"11.0",android:"72",electron:"5.0"},"proposal-export-namespace-from":{chrome:"72",deno:"1.0",edge:"79",firefox:"80",node:"13.2",opera:"60",opera_mobile:"51",safari:"14.1",ios:"14.5",samsung:"11.0",android:"72",electron:"5.0"}}});var aI=g((j2e,sI)=>{sI.exports=iI()});var cI=g(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=W0e;Uo.isRequired=uI;Uo.targetsSupported=lI;var oI=li(),K0e=aI(),Sf=bf();function lI(e,t){let r=Object.keys(e);return r.length===0?!1:r.filter(i=>{let s=(0,Sf.getLowestImplementedVersion)(t,i);if(!s)return!0;let a=e[i];if((0,Sf.isUnreleasedVersion)(a,i))return!1;if((0,Sf.isUnreleasedVersion)(s,i))return!0;if(!oI.valid(a.toString()))throw new Error(`Invalid version passed for target "${i}": "${a}". Versions must be in semver format (major.minor.patch)`);return oI.gt((0,Sf.semverify)(s),a.toString())}).length===0}function uI(e,t,{compatData:r=K0e,includes:n,excludes:i}={}){return i!=null&&i.has(e)?!1:n!=null&&n.has(e)?!0:!lI(t,r[e])}function W0e(e,t,r,n,i,s,a){let o=new Set,l={compatData:e,includes:t,excludes:r};for(let u in e)if(uI(u,n,l))o.add(u);else if(a){let c=a.get(u);c&&o.add(c)}return i==null||i.forEach(u=>!r.has(u)&&o.add(u)),s==null||s.forEach(u=>!t.has(u)&&o.delete(u)),o}});var nb=g(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});Object.defineProperty(ln,"TargetNames",{enumerable:!0,get:function(){return tb.TargetNames}});ln.default=sge;Object.defineProperty(ln,"filterItems",{enumerable:!0,get:function(){return mI.default}});Object.defineProperty(ln,"getInclusionReasons",{enumerable:!0,get:function(){return Y0e.getInclusionReasons}});ln.isBrowsersQueryValid=yI;Object.defineProperty(ln,"isRequired",{enumerable:!0,get:function(){return mI.isRequired}});Object.defineProperty(ln,"prettifyTargets",{enumerable:!0,get:function(){return H0e.prettifyTargets}});Object.defineProperty(ln,"unreleasedLabels",{enumerable:!0,get:function(){return hI.unreleasedLabels}});var pI=B2(),dI=mf(),z0e=q2(),G0e=Y2(),Xr=bf(),hI=gf(),tb=eI(),H0e=Qg(),Y0e=nI(),mI=cI(),eb=z0e["es6.module"],rb=new dI.OptionValidator("@babel/helper-compilation-targets");function X0e(e){let t=Object.keys(tb.TargetNames);for(let r of Object.keys(e))if(!(r in tb.TargetNames))throw new Error(rb.formatMessage(`'${r}' is not a valid target
- Did you mean '${(0,dI.findSuggestion)(r,t)}'?`));return e}function yI(e){return typeof e=="string"||Array.isArray(e)&&e.every(t=>typeof t=="string")}function J0e(e){return rb.invariant(e===void 0||yI(e),`'${String(e)}' is not a valid browserslist query`),e}function Q0e(e){return e.reduce((t,r)=>{let[n,i]=r.split(" "),s=hI.browserNameMap[n];if(!s)return t;try{let a=i.split("-")[0].toLowerCase(),o=(0,Xr.isUnreleasedVersion)(a,s);if(!t[s])return t[s]=o?a:(0,Xr.semverify)(a),t;let l=t[s],u=(0,Xr.isUnreleasedVersion)(l,s);if(u&&o)t[s]=(0,Xr.getLowestUnreleased)(l,a,s);else if(u)t[s]=(0,Xr.semverify)(a);else if(!u&&!o){let c=(0,Xr.semverify)(a);t[s]=(0,Xr.semverMin)(l,c)}}catch{}return t},{})}function Z0e(e){e.length&&(console.warn(`Warning, the following targets are using a decimal version:
`),e.forEach(({target:t,value:r})=>console.warn(` ${t}: ${r}`)),console.warn(`
We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.
`))}function gI(e,t){try{return(0,Xr.semverify)(t)}catch{throw new Error(rb.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function ege(e){return["node",e===!0||e==="current"?process.versions.node:gI("node",e)]}function tge(e,t){let r=(0,Xr.isUnreleasedVersion)(t,e)?t.toLowerCase():gI(e,t);return[e,r]}function rge(e){let t=Object.assign({},e);return delete t.esmodules,delete t.browsers,t}function nge(e,t){let r=pI(e,{mobileToDesktop:!0,env:t});return Q0e(r)}var fI=new G0e({max:64});function ige(e,t){let r=typeof e=="string"?e:e.join()+t,n=fI.get(r);return n||(n=nge(e,t),fI.set(r,n)),Object.assign({},n)}function sge(e={},t={}){var r,n;let{browsers:i,esmodules:s}=e,{configPath:a="."}=t;J0e(i);let o=rge(e),l=X0e(o),c=!!i||Object.keys(l).length>0,f=!t.ignoreBrowserslistConfig&&!c;if(!i&&f&&(i=pI.loadConfig({config:t.configFile,path:a,env:t.browserslistEnv}),i==null&&(i=[])),s&&(s!=="intersect"||!((r=i)!=null&&r.length))&&(i=Object.keys(eb).map(S=>`${S} >= ${eb[S]}`).join(", "),s=!1),(n=i)!=null&&n.length){let S=ige(i,t.browserslistEnv);if(s==="intersect")for(let p of Object.keys(S))if(p!=="deno"&&p!=="ie"){let E=eb[p==="opera_mobile"?"op_mob":p];if(E){let b=S[p];S[p]=(0,Xr.getHighestUnreleased)(b,(0,Xr.semverify)(E),p)}else delete S[p]}else delete S[p];l=Object.assign(S,l)}let d={},m=[];for(let S of Object.keys(l).sort()){let p=l[S];typeof p=="number"&&p%1!==0&&m.push({target:S,value:p});let[E,b]=S==="node"?ege(p):tge(S,p);b&&(d[E]=b)}return Z0e(m),d}});var ib=g(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.resolveBrowserslistConfigFile=age;xf.resolveTargets=oge;function bI(){let e=require("path");return bI=function(){return e},e}function EI(){let e=nb();return EI=function(){return e},e}function age(e,t){return bI().resolve(t,e)}function oge(e,t){let r=e.targets,n;typeof r=="string"||Array.isArray(r)?n={browsers:r}:r&&("esmodules"in r?n=Object.assign({},r,{esmodules:"intersect"}):n=r);let{browserslistConfigFile:i}=e,s,a=!1;return typeof i=="string"?s=i:a=i===!1,(0,EI().default)(n,{ignoreBrowserslistConfig:a,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}});var sb=g($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.createCachedDescriptors=fge;$o.createDescriptor=II;$o.createUncachedDescriptors=pge;function xI(){let e=fr();return xI=function(){return e},e}var vI=kD(),TI=Wo(),lge=Ko(),Vo=$i(),uge=ib();function cge(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*SI(e){return e}function PI(e,t){return typeof e.browserslistConfigFile=="string"&&(e.browserslistConfigFile=(0,uge.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)),e}function fge(e,t,r){let{plugins:n,presets:i,passPerPreset:s}=t;return{options:PI(t,e),plugins:n?()=>yge(n,e)(r):()=>SI([]),presets:i?()=>hge(i,e)(r)(!!s):()=>SI([])}}function pge(e,t,r){return{options:PI(t,e),plugins:(0,vI.once)(()=>wI(t.plugins||[],e,r)),presets:(0,vI.once)(()=>CI(t.presets||[],e,r,!!t.passPerPreset))}}var dge=new WeakMap,hge=(0,Vo.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,Vo.makeStrongCacheSync)(n=>(0,Vo.makeStrongCache)(function*(i){return(yield*CI(e,r,n,i)).map(a=>AI(dge,a))}))}),mge=new WeakMap,yge=(0,Vo.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,Vo.makeStrongCache)(function*(n){return(yield*wI(e,r,n)).map(s=>AI(mge,s))})}),gge={};function AI(e,t){let{value:r,options:n=gge}=t;if(n===!1)return t;let i=e.get(r);i||(i=new WeakMap,e.set(r,i));let s=i.get(n);if(s||(s=[],i.set(n,s)),s.indexOf(t)===-1){let a=s.filter(o=>cge(o,t));if(a.length>0)return a[0];s.push(t)}return t}function*CI(e,t,r,n){return yield*DI("preset",e,t,r,n)}function*wI(e,t,r){return yield*DI("plugin",e,t,r)}function*DI(e,t,r,n,i){let s=yield*xI().all(t.map((a,o)=>II(a,r,{type:e,alias:`${n}$${o}`,ownPass:!!i})));return bge(s),s}function*II(e,t,{type:r,alias:n,ownPass:i}){let s=(0,lge.getItemDescriptor)(e);if(s)return s;let a,o,l=e;Array.isArray(l)&&(l.length===3?[l,o,a]=l:[l,o]=l);let u,c=null;if(typeof l=="string"){if(typeof r!="string")throw new Error("To resolve a string-based item, the type of item must be given");let f=r==="plugin"?TI.loadPlugin:TI.loadPreset,d=l;({filepath:c,value:l}=yield*f(l,t)),u={request:d,resolved:c}}if(!l)throw new Error(`Unexpected falsy value: ${String(l)}`);if(typeof l=="object"&&l.__esModule)if(l.default)l=l.default;else throw new Error("Must export a default export when using ES6 modules.");if(typeof l!="object"&&typeof l!="function")throw new Error(`Unsupported format: ${typeof l}. Expected an object or a function.`);if(c!==null&&typeof l=="object"&&l)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`);return{name:a,alias:c||n,value:l,options:o,dirname:t,ownPass:i,file:u}}function bge(e){let t=new Map;for(let r of e){if(typeof r.value!="function")continue;let n=t.get(r.value);if(n||(n=new Set,t.set(r.value,n)),n.has(r.name)){let i=e.filter(s=>s.value===r.value);throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",`${JSON.stringify(i,null,2)}`].join(`
`))}n.add(r.name)}}});var Ko=g(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.createConfigItem=vge;zo.createItemFromDescriptor=OI;zo.getItemDescriptor=Tge;function _I(){let e=require("path");return _I=function(){return e},e}var Ege=sb();function OI(e){return new Pf(e)}function*vge(e,{dirname:t=".",type:r}={}){let n=yield*(0,Ege.createDescriptor)(e,_I().resolve(t),{type:r,alias:"programmatic item"});return OI(n)}var ab=Symbol.for("@babel/core@7 - ConfigItem");function Tge(e){if(e!=null&&e[ab])return e._descriptor}var Pf=class{constructor(t){this._descriptor=void 0,this[ab]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=t,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,ab,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}};Object.freeze(Pf.prototype)});var NI=g(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});Af.default=void 0;var Sge={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}};Af.default=Sge});var ub=g(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.access=Er;vt.assertArray=lb;vt.assertAssumptions=Uge;vt.assertBabelrcSearch=jge;vt.assertBoolean=ob;vt.assertCallerMetadata=Dge;vt.assertCompact=Cge;vt.assertConfigApplicableTest=Fge;vt.assertConfigFileSearch=Bge;vt.assertFunction=Oge;vt.assertIgnoreList=Nge;vt.assertInputSourceMap=Ige;vt.assertObject=BI;vt.assertPluginList=Lge;vt.assertRootMode=Pge;vt.assertSourceMaps=Age;vt.assertSourceType=wge;vt.assertString=_ge;vt.assertTargets=Rge;vt.msg=Ue;function Go(){let e=nb();return Go=function(){return e},e}var xge=Ho();function Ue(e){switch(e.type){case"root":return"";case"env":return`${Ue(e.parent)}.env["${e.name}"]`;case"overrides":return`${Ue(e.parent)}.overrides[${e.index}]`;case"option":return`${Ue(e.parent)}.${e.name}`;case"access":return`${Ue(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function Er(e,t){return{type:"access",name:t,parent:e}}function Pge(e,t){if(t!==void 0&&t!=="root"&&t!=="upward"&&t!=="upward-optional")throw new Error(`${Ue(e)} must be a "root", "upward", "upward-optional" or undefined`);return t}function Age(e,t){if(t!==void 0&&typeof t!="boolean"&&t!=="inline"&&t!=="both")throw new Error(`${Ue(e)} must be a boolean, "inline", "both", or undefined`);return t}function Cge(e,t){if(t!==void 0&&typeof t!="boolean"&&t!=="auto")throw new Error(`${Ue(e)} must be a boolean, "auto", or undefined`);return t}function wge(e,t){if(t!==void 0&&t!=="module"&&t!=="script"&&t!=="unambiguous")throw new Error(`${Ue(e)} must be "module", "script", "unambiguous", or undefined`);return t}function Dge(e,t){let r=BI(e,t);if(r){if(typeof r.name!="string")throw new Error(`${Ue(e)} set but does not contain "name" property string`);for(let n of Object.keys(r)){let i=Er(e,n),s=r[n];if(s!=null&&typeof s!="boolean"&&typeof s!="string"&&typeof s!="number")throw new Error(`${Ue(i)} must be null, undefined, a boolean, a string, or a number.`)}}return t}function Ige(e,t){if(t!==void 0&&typeof t!="boolean"&&(typeof t!="object"||!t))throw new Error(`${Ue(e)} must be a boolean, object, or undefined`);return t}function _ge(e,t){if(t!==void 0&&typeof t!="string")throw new Error(`${Ue(e)} must be a string, or undefined`);return t}function Oge(e,t){if(t!==void 0&&typeof t!="function")throw new Error(`${Ue(e)} must be a function, or undefined`);return t}function ob(e,t){if(t!==void 0&&typeof t!="boolean")throw new Error(`${Ue(e)} must be a boolean, or undefined`);return t}function BI(e,t){if(t!==void 0&&(typeof t!="object"||Array.isArray(t)||!t))throw new Error(`${Ue(e)} must be an object, or undefined`);return t}function lb(e,t){if(t!=null&&!Array.isArray(t))throw new Error(`${Ue(e)} must be an array, or undefined`);return t}function Nge(e,t){let r=lb(e,t);return r==null||r.forEach((n,i)=>kge(Er(e,i),n)),r}function kge(e,t){if(typeof t!="string"&&typeof t!="function"&&!(t instanceof RegExp))throw new Error(`${Ue(e)} must be an array of string/Function/RegExp values, or undefined`);return t}function Fge(e,t){if(t===void 0)return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!Cf(r))throw new Error(`${Ue(Er(e,n))} must be a string/Function/RegExp.`)});else if(!Cf(t))throw new Error(`${Ue(e)} must be a string/Function/RegExp, or an array of those`);return t}function Cf(e){return typeof e=="string"||typeof e=="function"||e instanceof RegExp}function Bge(e,t){if(t!==void 0&&typeof t!="boolean"&&typeof t!="string")throw new Error(`${Ue(e)} must be a undefined, a boolean, a string, got ${JSON.stringify(t)}`);return t}function jge(e,t){if(t===void 0||typeof t=="boolean")return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!Cf(r))throw new Error(`${Ue(Er(e,n))} must be a string/Function/RegExp.`)});else if(!Cf(t))throw new Error(`${Ue(e)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(t)}`);return t}function Lge(e,t){let r=lb(e,t);return r&&r.forEach((n,i)=>Mge(Er(e,i),n)),r}function Mge(e,t){if(Array.isArray(t)){if(t.length===0)throw new Error(`${Ue(e)} must include an object`);if(t.length>3)throw new Error(`${Ue(e)} may only be a two-tuple or three-tuple`);if(kI(Er(e,0),t[0]),t.length>1){let r=t[1];if(r!==void 0&&r!==!1&&(typeof r!="object"||Array.isArray(r)||r===null))throw new Error(`${Ue(Er(e,1))} must be an object, false, or undefined`)}if(t.length===3){let r=t[2];if(r!==void 0&&typeof r!="string")throw new Error(`${Ue(Er(e,2))} must be a string, or undefined`)}}else kI(e,t);return t}function kI(e,t){if((typeof t!="object"||!t)&&typeof t!="string"&&typeof t!="function")throw new Error(`${Ue(e)} must be a string, object, function`);return t}function Rge(e,t){if((0,Go().isBrowsersQueryValid)(t))return t;if(typeof t!="object"||!t||Array.isArray(t))throw new Error(`${Ue(e)} must be a string, an array of strings or an object`);let r=Er(e,"browsers"),n=Er(e,"esmodules");FI(r,t.browsers),ob(n,t.esmodules);for(let i of Object.keys(t)){let s=t[i],a=Er(e,i);if(i==="esmodules")ob(a,s);else if(i==="browsers")FI(a,s);else if(Object.hasOwnProperty.call(Go().TargetNames,i))qge(a,s);else{let o=Object.keys(Go().TargetNames).join(", ");throw new Error(`${Ue(a)} is not a valid target. Supported targets are ${o}`)}}return t}function FI(e,t){if(t!==void 0&&!(0,Go().isBrowsersQueryValid)(t))throw new Error(`${Ue(e)} must be undefined, a string or an array of strings`)}function qge(e,t){if(!(typeof t=="number"&&Math.round(t)===t)&&typeof t!="string")throw new Error(`${Ue(e)} must be a string or an integer number`)}function Uge(e,t){if(t===void 0)return;if(typeof t!="object"||t===null)throw new Error(`${Ue(e)} must be an object or undefined.`);let r=e;do r=r.parent;while(r.type!=="root");let n=r.source==="preset";for(let i of Object.keys(t)){let s=Er(e,i);if(!xge.assumptionsNames.has(i))throw new Error(`${Ue(s)} is not a supported assumption.`);if(typeof t[i]!="boolean")throw new Error(`${Ue(s)} must be a boolean.`);if(n&&t[i]===!1)throw new Error(`${Ue(s)} cannot be set to 'false' inside presets.`)}return t}});var Ho=g(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.assumptionsNames=void 0;na.checkNoUnwrappedItemOptionPairs=Xge;na.validate=Wge;var jI=NI(),fe=ub(),Vge=Ki(),LI={cwd:fe.assertString,root:fe.assertString,rootMode:fe.assertRootMode,configFile:fe.assertConfigFileSearch,caller:fe.assertCallerMetadata,filename:fe.assertString,filenameRelative:fe.assertString,code:fe.assertBoolean,ast:fe.assertBoolean,cloneInputAst:fe.assertBoolean,envName:fe.assertString},MI={babelrc:fe.assertBoolean,babelrcRoots:fe.assertBabelrcSearch},RI={extends:fe.assertString,ignore:fe.assertIgnoreList,only:fe.assertIgnoreList,targets:fe.assertTargets,browserslistConfigFile:fe.assertConfigFileSearch,browserslistEnv:fe.assertString},UI={inputSourceMap:fe.assertInputSourceMap,presets:fe.assertPluginList,plugins:fe.assertPluginList,passPerPreset:fe.assertBoolean,assumptions:fe.assertAssumptions,env:Hge,overrides:Yge,test:fe.assertConfigApplicableTest,include:fe.assertConfigApplicableTest,exclude:fe.assertConfigApplicableTest,retainLines:fe.assertBoolean,comments:fe.assertBoolean,shouldPrintComment:fe.assertFunction,compact:fe.assertCompact,minified:fe.assertBoolean,auxiliaryCommentBefore:fe.assertString,auxiliaryCommentAfter:fe.assertString,sourceType:fe.assertSourceType,wrapPluginVisitorMethod:fe.assertFunction,highlightCode:fe.assertBoolean,sourceMaps:fe.assertSourceMaps,sourceMap:fe.assertSourceMaps,sourceFileName:fe.assertString,sourceRoot:fe.assertString,parserOpts:fe.assertObject,generatorOpts:fe.assertObject};Object.assign(UI,{getModuleId:fe.assertFunction,moduleRoot:fe.assertString,moduleIds:fe.assertBoolean,moduleId:fe.assertString});var $ge=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"],Kge=new Set($ge);na.assumptionsNames=Kge;function VI(e){return e.type==="root"?e.source:VI(e.parent)}function Wge(e,t,r){try{return cb({type:"root",source:e},t)}catch(n){let i=new Vge.default(n.message,r);throw n.code&&(i.code=n.code),i}}function cb(e,t){let r=VI(e);return Gge(t),Object.keys(t).forEach(n=>{let i={type:"option",name:n,parent:e};if(r==="preset"&&RI[n])throw new Error(`${(0,fe.msg)(i)} is not allowed in preset options`);if(r!=="arguments"&&LI[n])throw new Error(`${(0,fe.msg)(i)} is only allowed in root programmatic options`);if(r!=="arguments"&&r!=="configfile"&&MI[n])throw r==="babelrcfile"||r==="extendsfile"?new Error(`${(0,fe.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,fe.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`);(UI[n]||RI[n]||MI[n]||LI[n]||zge)(i,t[n])}),t}function zge(e){let t=e.name;if(jI.default[t]){let{message:r,version:n=5}=jI.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,fe.msg)(e)} - ${r}`)}else{let r=new Error(`Unknown option: ${(0,fe.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw r.code="BABEL_UNKNOWN_OPTION",r}}function qI(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Gge(e){if(qI(e,"sourceMap")&&qI(e,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}function Hge(e,t){if(e.parent.type==="env")throw new Error(`${(0,fe.msg)(e)} is not allowed inside of another .env block`);let r=e.parent,n=(0,fe.assertObject)(e,t);if(n)for(let i of Object.keys(n)){let s=(0,fe.assertObject)((0,fe.access)(e,i),n[i]);if(!s)continue;cb({type:"env",name:i,parent:r},s)}return n}function Yge(e,t){if(e.parent.type==="env")throw new Error(`${(0,fe.msg)(e)} is not allowed inside an .env block`);if(e.parent.type==="overrides")throw new Error(`${(0,fe.msg)(e)} is not allowed inside an .overrides block`);let r=e.parent,n=(0,fe.assertArray)(e,t);if(n)for(let[i,s]of n.entries()){let a=(0,fe.access)(e,i),o=(0,fe.assertObject)(a,s);if(!o)throw new Error(`${(0,fe.msg)(a)} must be an object`);cb({type:"overrides",index:i,parent:r},o)}return n}function Xge(e,t,r,n){if(t===0)return;let i=e[t-1],s=e[t];i.file&&i.options===void 0&&typeof s.value=="object"&&(n.message+=`
- Maybe you meant to use
"${r}s": [
["${i.file.request}", ${JSON.stringify(s.value,void 0,2)}]
]
To be a valid ${r}, its name and options should be wrapped in a pair of brackets`)}});var mb=g(hb=>{"use strict";Object.defineProperty(hb,"__esModule",{value:!0});hb.default=Zge;function wf(){let e=require("path");return wf=function(){return e},e}var Yo=`\\${wf().sep}`,fb=`(?:${Yo}|$)`,pb=`[^${Yo}]+`,db=`(?:${pb}${Yo})`,KI=`(?:${pb}${fb})`,Jge=`${db}*?`,Qge=`${db}*?${KI}?`;function $I(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function Zge(e,t){let r=wf().resolve(t,e).split(wf().sep);return new RegExp(["^",...r.map((n,i)=>{let s=i===r.length-1;return n==="**"?s?Qge:Jge:n==="*"?s?KI:db:n.indexOf("*.")===0?pb+$I(n.slice(1))+(s?fb:Yo):$I(n)+(s?fb:Yo)})].join(""))}});var HI=g(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.ConfigPrinter=ia.ChainFormatter=void 0;function zI(){let e=fr();return zI=function(){return e},e}var GI={Programmatic:0,Config:1};ia.ChainFormatter=GI;var yb={title(e,t,r){let n="";return e===GI.Programmatic?(n="programmatic options",t&&(n+=" from "+t)):n="config "+r,n},loc(e,t){let r="";return e!=null&&(r+=`.overrides[${e}]`),t!=null&&(r+=`.env["${t}"]`),r},*optionsAndDescriptors(e){let t=Object.assign({},e.options);delete t.overrides,delete t.env;let r=[...yield*e.plugins()];r.length&&(t.plugins=r.map(i=>WI(i)));let n=[...yield*e.presets()];return n.length&&(t.presets=[...n].map(i=>WI(i))),JSON.stringify(t,void 0,2)}};function WI(e){var t;let r=(t=e.file)==null?void 0:t.request;return r==null&&(typeof e.value=="object"?r=e.value:typeof e.value=="function"&&(r=`[Function: ${e.value.toString().slice(0,50)} ... ]`)),r==null&&(r="[Unknown]"),e.options===void 0?r:e.name==null?[r,e.options]:[r,e.options,e.name]}var gb=class e{constructor(){this._stack=[]}configure(t,r,{callerName:n,filepath:i}){return t?(s,a,o)=>{this._stack.push({type:r,callerName:n,filepath:i,content:s,index:a,envName:o})}:()=>{}}static*format(t){let r=yb.title(t.type,t.callerName,t.filepath),n=yb.loc(t.index,t.envName);n&&(r+=` ${n}`);let i=yield*yb.optionsAndDescriptors(t.content);return`${r}
${i}`}*output(){return this._stack.length===0?"":(yield*zI().all(this._stack.map(r=>e.format(r)))).join(`
`)}};ia.ConfigPrinter=gb});var wb=g(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.buildPresetChain=rbe;aa.buildPresetChainWalker=void 0;aa.buildRootChain=obe;function JI(){let e=require("path");return JI=function(){return e},e}function QI(){let e=ys();return QI=function(){return e},e}var Tb=Ho(),ZI=mb(),Jo=HI(),ebe=ci(),tbe=Ki(),Xo=Wo(),Nt=$i(),_r=sb(),YI=QI()("babel:config:config-chain");function*rbe(e,t){let r=yield*e_(e,t);return r?{plugins:_f(r.plugins),presets:_f(r.presets),options:r.options.map(n=>t_(n)),files:new Set}:null}var e_=Cb({root:e=>nbe(e),env:(e,t)=>ibe(e)(t),overrides:(e,t)=>sbe(e)(t),overridesEnv:(e,t,r)=>abe(e)(t)(r),createLogger:()=>()=>{}});aa.buildPresetChainWalker=e_;var nbe=(0,Nt.makeWeakCacheSync)(e=>Sb(e,e.alias,_r.createUncachedDescriptors)),ibe=(0,Nt.makeWeakCacheSync)(e=>(0,Nt.makeStrongCacheSync)(t=>xb(e,e.alias,_r.createUncachedDescriptors,t))),sbe=(0,Nt.makeWeakCacheSync)(e=>(0,Nt.makeStrongCacheSync)(t=>Pb(e,e.alias,_r.createUncachedDescriptors,t))),abe=(0,Nt.makeWeakCacheSync)(e=>(0,Nt.makeStrongCacheSync)(t=>(0,Nt.makeStrongCacheSync)(r=>Ab(e,e.alias,_r.createUncachedDescriptors,t,r))));function*obe(e,t){let r,n,i=new Jo.ConfigPrinter,s=yield*pbe({options:e,dirname:t.cwd},t,void 0,i);if(!s)return null;let a=yield*i.output(),o;typeof e.configFile=="string"?o=yield*(0,Xo.loadConfig)(e.configFile,t.cwd,t.envName,t.caller):e.configFile!==!1&&(o=yield*(0,Xo.findRootConfig)(t.root,t.envName,t.caller));let{babelrc:l,babelrcRoots:u}=e,c=t.cwd,f=If(),d=new Jo.ConfigPrinter;if(o){let _=ube(o),D=yield*Eb(_,t,void 0,d);if(!D)return null;r=yield*d.output(),l===void 0&&(l=_.options.babelrc),u===void 0&&(c=_.dirname,u=_.options.babelrcRoots),sa(f,D)}let m,S,p=!1,E=If();if((l===!0||l===void 0)&&typeof t.filename=="string"){let _=yield*(0,Xo.findPackageData)(t.filename);if(_&&lbe(t,_,u,c)){if({ignore:m,config:S}=yield*(0,Xo.findRelativeConfig)(_,t.envName,t.caller),m&&E.files.add(m.filepath),m&&r_(t,m.ignore,null,m.dirname)&&(p=!0),S&&!p){let D=cbe(S),A=new Jo.ConfigPrinter,I=yield*Eb(D,t,void 0,A);I?(n=yield*A.output(),sa(E,I)):p=!0}S&&p&&E.files.add(S.filepath)}}t.showConfig&&console.log(`Babel configs on "${t.filename}" (ascending priority):
`+[r,n,a].filter(_=>!!_).join(`
`)+`
-----End Babel configs-----`);let b=sa(sa(sa(If(),f),E),s);return{plugins:p?[]:_f(b.plugins),presets:p?[]:_f(b.presets),options:p?[]:b.options.map(_=>t_(_)),fileHandling:p?"ignored":"transpile",ignore:m||void 0,babelrc:S||void 0,config:o||void 0,files:b.files}}function lbe(e,t,r,n){if(typeof r=="boolean")return r;let i=e.root;if(r===void 0)return t.directories.indexOf(i)!==-1;let s=r;return Array.isArray(s)||(s=[s]),s=s.map(a=>typeof a=="string"?JI().resolve(n,a):a),s.length===1&&s[0]===i?t.directories.indexOf(i)!==-1:s.some(a=>(typeof a=="string"&&(a=(0,ZI.default)(a,n)),t.directories.some(o=>n_(a,n,o,e))))}var ube=(0,Nt.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,Tb.validate)("configfile",e.options,e.filepath)})),cbe=(0,Nt.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,Tb.validate)("babelrcfile",e.options,e.filepath)})),fbe=(0,Nt.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,Tb.validate)("extendsfile",e.options,e.filepath)})),pbe=Cb({root:e=>Sb(e,"base",_r.createCachedDescriptors),env:(e,t)=>xb(e,"base",_r.createCachedDescriptors,t),overrides:(e,t)=>Pb(e,"base",_r.createCachedDescriptors,t),overridesEnv:(e,t,r)=>Ab(e,"base",_r.createCachedDescriptors,t,r),createLogger:(e,t,r)=>Ebe(e,t,r)}),dbe=Cb({root:e=>hbe(e),env:(e,t)=>mbe(e)(t),overrides:(e,t)=>ybe(e)(t),overridesEnv:(e,t,r)=>gbe(e)(t)(r),createLogger:(e,t,r)=>bbe(e.filepath,t,r)});function*Eb(e,t,r,n){let i=yield*dbe(e,t,r,n);return i==null||i.files.add(e.filepath),i}var hbe=(0,Nt.makeWeakCacheSync)(e=>Sb(e,e.filepath,_r.createUncachedDescriptors)),mbe=(0,Nt.makeWeakCacheSync)(e=>(0,Nt.makeStrongCacheSync)(t=>xb(e,e.filepath,_r.createUncachedDescriptors,t))),ybe=(0,Nt.makeWeakCacheSync)(e=>(0,Nt.makeStrongCacheSync)(t=>Pb(e,e.filepath,_r.createUncachedDescriptors,t))),gbe=(0,Nt.makeWeakCacheSync)(e=>(0,Nt.makeStrongCacheSync)(t=>(0,Nt.makeStrongCacheSync)(r=>Ab(e,e.filepath,_r.createUncachedDescriptors,t,r))));function bbe(e,t,r){return r?r.configure(t.showConfig,Jo.ChainFormatter.Config,{filepath:e}):()=>{}}function Sb({dirname:e,options:t},r,n){return n(e,t,r)}function Ebe(e,t,r){var n;return r?r.configure(t.showConfig,Jo.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name}):()=>{}}function xb({dirname:e,options:t},r,n,i){let s=t.env&&t.env[i];return s?n(e,s,`${r}.env["${i}"]`):null}function Pb({dirname:e,options:t},r,n,i){let s=t.overrides&&t.overrides[i];if(!s)throw new Error("Assertion failure - missing override");return n(e,s,`${r}.overrides[${i}]`)}function Ab({dirname:e,options:t},r,n,i,s){let a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");let o=a.env&&a.env[s];return o?n(e,o,`${r}.overrides[${i}].env["${s}"]`):null}function Cb({root:e,env:t,overrides:r,overridesEnv:n,createLogger:i}){return function*(a,o,l=new Set,u){let{dirname:c}=a,f=[],d=e(a);if(Df(d,c,o,a.filepath)){f.push({config:d,envName:void 0,index:void 0});let p=t(a,o.envName);p&&Df(p,c,o,a.filepath)&&f.push({config:p,envName:o.envName,index:void 0}),(d.options.overrides||[]).forEach((E,b)=>{let _=r(a,b);if(Df(_,c,o,a.filepath)){f.push({config:_,index:b,envName:void 0});let D=n(a,b,o.envName);D&&Df(D,c,o,a.filepath)&&f.push({config:D,index:b,envName:o.envName})}})}if(f.some(({config:{options:{ignore:p,only:E}}})=>r_(o,p,E,c)))return null;let m=If(),S=i(a,o,u);for(let{config:p,index:E,envName:b}of f){if(!(yield*vbe(m,p.options,c,o,l,u)))return null;S(p,E,b),yield*Tbe(m,p)}return m}}function*vbe(e,t,r,n,i,s){if(t.extends===void 0)return!0;let a=yield*(0,Xo.loadConfig)(t.extends,r,n.envName,n.caller);if(i.has(a))throw new Error(`Configuration cycle detected loading ${a.filepath}.
File already loaded following the config chain:
`+Array.from(i,l=>` - ${l.filepath}`).join(`
`));i.add(a);let o=yield*Eb(fbe(a),n,i,s);return i.delete(a),o?(sa(e,o),!0):!1}function sa(e,t){e.options.push(...t.options),e.plugins.push(...t.plugins),e.presets.push(...t.presets);for(let r of t.files)e.files.add(r);return e}function*Tbe(e,{options:t,plugins:r,presets:n}){return e.options.push(t),e.plugins.push(...yield*r()),e.presets.push(...yield*n()),e}function If(){return{options:[],presets:[],plugins:[],files:new Set}}function t_(e){let t=Object.assign({},e);return delete t.extends,delete t.env,delete t.overrides,delete t.plugins,delete t.presets,delete t.passPerPreset,delete t.ignore,delete t.only,delete t.test,delete t.include,delete t.exclude,Object.prototype.hasOwnProperty.call(t,"sourceMap")&&(t.sourceMaps=t.sourceMap,delete t.sourceMap),t}function _f(e){let t=new Map,r=[];for(let n of e)if(typeof n.value=="function"){let i=n.value,s=t.get(i);s||(s=new Map,t.set(i,s));let a=s.get(n.name);a?a.value=n:(a={value:n},r.push(a),n.ownPass||s.set(n.name,a))}else r.push({value:n});return r.reduce((n,i)=>(n.push(i.value),n),[])}function Df({options:e},t,r,n){return(e.test===void 0||bb(r,e.test,t,n))&&(e.include===void 0||bb(r,e.include,t,n))&&(e.exclude===void 0||!bb(r,e.exclude,t,n))}function bb(e,t,r,n){let i=Array.isArray(t)?t:[t];return vb(e,i,r,n)}function XI(e,t){return t instanceof RegExp?String(t):t}function r_(e,t,r,n){if(t&&vb(e,t,n)){var i;let a=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,XI)}\` from "${n}"`;return YI(a),e.showConfig&&console.log(a),!0}if(r&&!vb(e,r,n)){var s;let a=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,XI)}\` from "${n}"`;return YI(a),e.showConfig&&console.log(a),!0}return!1}function vb(e,t,r,n){return t.some(i=>n_(i,r,e.filename,e,n))}function n_(e,t,r,n,i){if(typeof e=="function")return!!(0,ebe.endHiddenCallStack)(e)(r,{dirname:t,envName:n.envName,caller:n.caller});if(typeof r!="string")throw new tbe.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",i);return typeof e=="string"&&(e=(0,ZI.default)(e,t)),e.test(r)}});var i_=g(Db=>{"use strict";Object.defineProperty(Db,"__esModule",{value:!0});Db.validatePluginObject=Abe;var kn=ub(),Sbe={name:kn.assertString,manipulateOptions:kn.assertFunction,pre:kn.assertFunction,post:kn.assertFunction,inherits:kn.assertFunction,visitor:xbe,parserOverride:kn.assertFunction,generatorOverride:kn.assertFunction};function xbe(e,t){let r=(0,kn.assertObject)(e,t);if(r&&(Object.keys(r).forEach(n=>{n!=="_exploded"&&n!=="_verified"&&Pbe(n,r[n])}),r.enter||r.exit))throw new Error(`${(0,kn.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return r}function Pbe(e,t){if(t&&typeof t=="object")Object.keys(t).forEach(r=>{if(r!=="enter"&&r!=="exit")throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)});else if(typeof t!="function")throw new Error(`.visitor["${e}"] must be a function`)}function Abe(e){let t={type:"root",source:"plugin"};return Object.keys(e).forEach(r=>{let n=Sbe[r];if(n)n({type:"option",name:r,parent:t},e[r]);else{let i=new Error(`.${r} is not a valid Plugin property`);throw i.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",i}}),e}});var _b=g(Ib=>{"use strict";Object.defineProperty(Ib,"__esModule",{value:!0});Ib.getEnv=Cbe;function Cbe(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}});var Ob=g(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=o_;Qo.loadPartialConfig=void 0;function Of(){let e=require("path");return Of=function(){return e},e}function a_(){let e=fr();return a_=function(){return e},e}var wbe=ef(),Dbe=qc(),s_=Ko(),Ibe=wb(),_be=_b(),Obe=Ho(),Nf=Wo(),Nbe=ib(),kbe=["showIgnoredFiles"];function Fbe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,s;for(s=0;s<n.length;s++)i=n[s],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Bbe(e,t){switch(t){case"root":return e;case"upward-optional":{let r=(0,Nf.findConfigUpwards)(e);return r===null?e:r}case"upward":{let r=(0,Nf.findConfigUpwards)(e);if(r!==null)return r;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${e}".
One of the following config files must be in the directory tree: "${Nf.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}function*o_(e){if(e!=null&&(typeof e!="object"||Array.isArray(e)))throw new Error("Babel options must be an object, null, or undefined");let t=e?(0,Obe.validate)("arguments",e):{},{envName:r=(0,_be.getEnv)(),cwd:n=".",root:i=".",rootMode:s="root",caller:a,cloneInputAst:o=!0}=t,l=Of().resolve(n),u=Bbe(Of().resolve(l,i),s),c=typeof t.filename=="string"?Of().resolve(n,t.filename):void 0,f=yield*(0,Nf.resolveShowConfigPath)(l),d={filename:c,cwd:l,root:u,envName:r,caller:a,showConfig:f===c},m=yield*(0,Ibe.buildRootChain)(t,d);if(!m)return null;let S={assumptions:{}};return m.options.forEach(E=>{(0,Dbe.mergeOptions)(S,E)}),{options:Object.assign({},S,{targets:(0,Nbe.resolveTargets)(S,u),cloneInputAst:o,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:d.envName,cwd:d.cwd,root:d.root,rootMode:"root",filename:typeof d.filename=="string"?d.filename:void 0,plugins:m.plugins.map(E=>(0,s_.createItemFromDescriptor)(E)),presets:m.presets.map(E=>(0,s_.createItemFromDescriptor)(E))}),context:d,fileHandling:m.fileHandling,ignore:m.ignore,babelrc:m.babelrc,config:m.config,files:m.files}}var jbe=a_()(function*(e){let t=!1;if(typeof e=="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r),e=Fbe(r,kbe)}let n=yield*o_(e);if(!n)return null;let{options:i,babelrc:s,ignore:a,config:o,fileHandling:l,files:u}=n;return l==="ignored"&&!t?null:((i.plugins||[]).forEach(c=>{if(c.value instanceof wbe.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new kf(i,s?s.filepath:void 0,a?a.filepath:void 0,o?o.filepath:void 0,l,u))});Qo.loadPartialConfig=jbe;var kf=class{constructor(t,r,n,i,s,a){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=t,this.babelignore=n,this.babelrc=r,this.config=i,this.fileHandling=s,this.files=a,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}};Object.freeze(kf.prototype)});var y_=g(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.default=void 0;function f_(){let e=fr();return f_=function(){return e},e}var Fb=zs(),l_=qc(),Lbe=Pt(),p_=ef(),Mbe=Ko(),Rbe=wb(),Lb=Qc();function Bb(){let e=yr();return Bb=function(){return e},e}var Mb=$i(),jb=Ho(),qbe=i_(),d_=Dg(),Ube=Ob(),Vbe=Ki(),$be=f_()(function*(t){var r;let n=yield*(0,Ube.default)(t);if(!n)return null;let{options:i,context:s,fileHandling:a}=n;if(a==="ignored")return null;let o={},{plugins:l,presets:u}=i;if(!l||!u)throw new Error("Assertion failure - plugins and presets exist");let c=Object.assign({},s,{targets:i.targets}),f=A=>{let I=(0,Mbe.getItemDescriptor)(A);if(!I)throw new Error("Assertion failure - must be config item");return I},d=u.map(f),m=l.map(f),S=[[]],p=[],E=[];if(yield*u_(s,function*A(I,O){let F=[];for(let Y=0;Y<I.length;Y++){let Z=I[Y];if(Z.options!==!1){try{var z=yield*Ybe(Z,c)}catch(Te){throw Te.code==="BABEL_UNKNOWN_OPTION"&&(0,jb.checkNoUnwrappedItemOptionPairs)(I,Y,"preset",Te),Te}E.push(z.externalDependencies),Z.ownPass?F.push({preset:z.chain,pass:[]}):F.unshift({preset:z.chain,pass:O})}}if(F.length>0){S.splice(1,0,...F.map(Y=>Y.pass).filter(Y=>Y!==O));for(let{preset:Y,pass:Z}of F){if(!Y||(Z.push(...Y.plugins),yield*A(Y.presets,Z)))return!0;Y.options.forEach(Se=>{(0,l_.mergeOptions)(o,Se)})}}})(d,S[0]))return null;let _=o;(0,l_.mergeOptions)(_,i);let D=Object.assign({},c,{assumptions:(r=_.assumptions)!=null?r:{}});return yield*u_(s,function*(){S[0].unshift(...m);for(let O of S){let F=[];p.push(F);for(let z=0;z<O.length;z++){let Y=O[z];if(Y.options!==!1){try{var I=yield*m_(Y,D)}catch(Z){throw Z.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,jb.checkNoUnwrappedItemOptionPairs)(O,z,"plugin",Z),Z}F.push(I),E.push(I.externalDependencies)}}}})(),_.plugins=p[0],_.presets=p.slice(1).filter(A=>A.length>0).map(A=>({plugins:A})),_.passPerPreset=_.presets.length>0,{options:_,passes:p,externalDependencies:(0,Lb.finalize)(E)}});Ff.default=$be;function u_(e,t){return function*(r,n){try{return yield*t(r,n)}catch(s){if(!/^\[BABEL\]/.test(s.message)){var i;s.message=`[BABEL] ${(i=e.filename)!=null?i:"unknown file"}: ${s.message}`}throw s}}}var h_=e=>(0,Mb.makeWeakCache)(function*({value:t,options:r,dirname:n,alias:i},s){if(r===!1)throw new Error("Assertion failure");r=r||{};let a=[],o=t;if(typeof t=="function"){let l=(0,Fb.maybeAsync)(t,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),u=Object.assign({},Lbe,e(s,a));try{o=yield*l(u,r,n)}catch(c){throw i&&(c.message+=` (While processing: ${JSON.stringify(i)})`),c}}if(!o||typeof o!="object")throw new Error("Plugin/Preset did not return an object.");if((0,Fb.isThenable)(o))throw yield*[],new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(i)})`);if(a.length>0&&(!s.configured()||s.mode()==="forever")){let l=`A plugin/preset has external untracked dependencies (${a[0]}), but the cache `;throw s.configured()?l+=" has been configured to never be invalidated. ":l+="has not been configured to be invalidated when the external dependencies change. ",l+=`Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`
(While processing: ${JSON.stringify(i)})`,new Error(l)}return{value:o,options:r,dirname:n,alias:i,externalDependencies:(0,Lb.finalize)(a)}}),Kbe=h_(d_.makePluginAPI),Wbe=h_(d_.makePresetAPI),zbe=(0,Mb.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:n,externalDependencies:i},s){let a=(0,qbe.validatePluginObject)(e),o=Object.assign({},a);if(o.visitor&&(o.visitor=Bb().default.explode(Object.assign({},o.visitor))),o.inherits){let l={name:void 0,alias:`${n}$inherits`,value:o.inherits,options:t,dirname:r},u=yield*(0,Fb.forwardAsync)(m_,c=>s.invalidate(f=>c(l,f)));o.pre=kb(u.pre,o.pre),o.post=kb(u.post,o.post),o.manipulateOptions=kb(u.manipulateOptions,o.manipulateOptions),o.visitor=Bb().default.visitors.merge([u.visitor||{},o.visitor||{}]),u.externalDependencies.length>0&&(i.length===0?i=u.externalDependencies:i=(0,Lb.finalize)([i,u.externalDependencies]))}return new p_.default(o,t,n,i)});function*m_(e,t){if(e.value instanceof p_.default){if(e.options)throw new Error("Passed options to an existing Plugin instance will not work.");return e.value}return yield*zbe(yield*Kbe(e,t),t)}var Nb=e=>e&&typeof e!="function",c_=(e,t)=>{if(Nb(e.test)||Nb(e.include)||Nb(e.exclude)){let r=t.name?`"${t.name}"`:"/* your preset */";throw new Vbe.default([`Preset ${r} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${r}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join(`
`))}},Gbe=(e,t,r)=>{if(!t.filename){var n;let{options:i}=e;c_(i,r),(n=i.overrides)==null||n.forEach(s=>c_(s,r))}},Hbe=(0,Mb.makeWeakCacheSync)(({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,jb.validate)("preset",e),alias:r,dirname:t,externalDependencies:n}));function*Ybe(e,t){let r=Hbe(yield*Wbe(e,t));return Gbe(r,t,e),{chain:yield*(0,Rbe.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}function kb(e,t){let r=[e,t].filter(Boolean);return r.length<=1?r[0]:function(...n){for(let i of r)i.apply(this,n)}}});var oa=g(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.createConfigItem=sEe;It.createConfigItemSync=It.createConfigItemAsync=void 0;Object.defineProperty(It,"default",{enumerable:!0,get:function(){return g_.default}});It.loadPartialConfigSync=It.loadPartialConfigAsync=It.loadPartialConfig=It.loadOptionsSync=It.loadOptionsAsync=It.loadOptions=void 0;function Rb(){let e=fr();return Rb=function(){return e},e}var g_=y_(),qb=Ob(),Xbe=Ko(),Ub=Rb()(function*(e){var t;let r=yield*(0,g_.default)(e);return(t=r==null?void 0:r.options)!=null?t:null}),Zo=Rb()(Xbe.createConfigItem),b_=e=>(t,r)=>{let n,i;if(r===void 0&&typeof t=="function"?(i=t,n=void 0):(i=r,n=t),!i)return e.sync(n);e.errback(n,i)},Jbe=b_(qb.loadPartialConfig);It.loadPartialConfig=Jbe;var Qbe=qb.loadPartialConfig.sync;It.loadPartialConfigSync=Qbe;var Zbe=qb.loadPartialConfig.async;It.loadPartialConfigAsync=Zbe;var eEe=b_(Ub);It.loadOptions=eEe;var tEe=Ub.sync;It.loadOptionsSync=tEe;var rEe=Ub.async;It.loadOptionsAsync=rEe;var nEe=Zo.sync;It.createConfigItemSync=nEe;var iEe=Zo.async;It.createConfigItemAsync=iEe;function sEe(e,t,r){if(r!==void 0)Zo.errback(e,t,r);else if(typeof t=="function")Zo.errback(e,void 0,r);else return Zo.sync(e,t)}});var E_=g(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.default=void 0;var el=class{constructor(t,r,n){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=r,this.file=t,this.opts=n||{},this.cwd=t.opts.cwd,this.filename=t.opts.filename}set(t,r){this._map.set(t,r)}get(t){return this._map.get(t)}availableHelper(t,r){return this.file.availableHelper(t,r)}addHelper(t){return this.file.addHelper(t)}buildCodeFrameError(t,r,n){return this.file.buildCodeFrameError(t,r,n)}};Bf.default=el;el.prototype.getModuleName=function(){return this.file.getModuleName()},el.prototype.addImport=function(){this.file.addImport()}});var x_=g($b=>{"use strict";Object.defineProperty($b,"__esModule",{value:!0});$b.default=oEe;function T_(){let e=yr();return T_=function(){return e},e}var aEe=ef(),Vb,v_={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){let{body:t}=e,r=Math.pow(2,30)-1,n=!1;for(let i=0;i<t.length;i++){let s=t[i],a=S_(s);if(a>r){n=!0;break}r=a}n&&(e.body=lEe(t.slice()))}}}};function oEe(){return Vb||(Vb=new aEe.default(Object.assign({},v_,{visitor:T_().default.explode(v_.visitor)}),{})),Vb}function S_(e){let t=e==null?void 0:e._blockHoist;return t==null?1:t===!0?2:t}function lEe(e){let t=Object.create(null);for(let i=0;i<e.length;i++){let s=e[i],a=S_(s);(t[a]||(t[a]=[])).push(s)}let r=Object.keys(t).map(i=>+i).sort((i,s)=>s-i),n=0;for(let i of r){let s=t[i];for(let a of s)e[n++]=a}return e}});var Wb=g(Kb=>{"use strict";Object.defineProperty(Kb,"__esModule",{value:!0});Kb.default=uEe;function jf(){let e=require("path");return jf=function(){return e},e}function uEe(e){let{filename:t,cwd:r,filenameRelative:n=typeof t=="string"?jf().relative(r,t):"unknown",sourceType:i="module",inputSourceMap:s,sourceMaps:a=!!s,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=jf().basename(n),comments:u=!0,compact:c="auto"}=e.options,f=e.options,d=Object.assign({},f,{parserOpts:Object.assign({sourceType:jf().extname(n)===".mjs"?"module":i,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:c,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(let m of e.passes)for(let S of m)S.manipulateOptions&&S.manipulateOptions(d,d.parserOpts);return d}});var C_=g((zb,A_)=>{var Lf=require("buffer"),Fn=Lf.Buffer;function P_(e,t){for(var r in e)t[r]=e[r]}Fn.from&&Fn.alloc&&Fn.allocUnsafe&&Fn.allocUnsafeSlow?A_.exports=Lf:(P_(Lf,zb),zb.Buffer=la);function la(e,t,r){return Fn(e,t,r)}P_(Fn,la);la.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Fn(e,t,r)};la.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Fn(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};la.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Fn(e)};la.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Lf.SlowBuffer(e)}});var Gb=g(_t=>{"use strict";var cEe=require("fs"),fEe=require("path"),w_=C_();Object.defineProperty(_t,"commentRegex",{get:function(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/mg}});Object.defineProperty(_t,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/mg}});function pEe(e){return(w_.Buffer.from(e,"base64")||"").toString()}function dEe(e){return e.split(",").pop()}function hEe(e,t){var r=_t.mapFileCommentRegex.exec(e),n=r[1]||r[2],i=fEe.resolve(t,n);try{return cEe.readFileSync(i,"utf8")}catch(s){throw new Error("An error occurred while trying to read the map file at "+i+`
`+s)}}function Or(e,t){t=t||{},t.isFileComment&&(e=hEe(e,t.commentFileDir)),t.hasComment&&(e=dEe(e)),t.isEncoded&&(e=pEe(e)),(t.isJSON||t.isEncoded)&&(e=JSON.parse(e)),this.sourcemap=e}Or.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Or.prototype.toBase64=function(){var e=this.toJSON();return(w_.Buffer.from(e,"utf8")||"").toString("base64")};Or.prototype.toComment=function(e){var t=this.toBase64(),r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r};Or.prototype.toObject=function(){return JSON.parse(this.toJSON())};Or.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Or.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this};Or.prototype.getProperty=function(e){return this.sourcemap[e]};_t.fromObject=function(e){return new Or(e)};_t.fromJSON=function(e){return new Or(e,{isJSON:!0})};_t.fromBase64=function(e){return new Or(e,{isEncoded:!0})};_t.fromComment=function(e){return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),new Or(e,{isEncoded:!0,hasComment:!0})};_t.fromMapFileComment=function(e,t){return new Or(e,{commentFileDir:t,isFileComment:!0,isJSON:!0})};_t.fromSource=function(e){var t=e.match(_t.commentRegex);return t?_t.fromComment(t.pop()):null};_t.fromMapFileSource=function(e,t){var r=e.match(_t.mapFileCommentRegex);return r?_t.fromMapFileComment(r.pop(),t):null};_t.removeComments=function(e){return e.replace(_t.commentRegex,"")};_t.removeMapFileComments=function(e){return e.replace(_t.mapFileCommentRegex,"")};_t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}});var __=g(Hb=>{"use strict";Object.defineProperty(Hb,"__esModule",{value:!0});Hb.default=mEe;var I_={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};Object.assign(I_,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}});var D_=({name:e,url:t})=>`${e} (${t})`;function mEe(e,t,r){let n=`Support for the experimental syntax '${e}' isn't currently enabled (${t.line}:${t.column+1}):
`+r,i=I_[e];if(i){let{syntax:s,transform:a}=i;if(s){let o=D_(s);if(a){let l=D_(a),u=a.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`
Add ${l} to the '${u}' section of your Babel config to enable transformation.
If you want to leave it as-is, add ${o} to the 'plugins' section to enable parsing.`}else n+=`
Add ${o} to the 'plugins' section of your Babel config to enable parsing.`}}return n}});var Jb=g(Xb=>{"use strict";Object.defineProperty(Xb,"__esModule",{value:!0});Xb.default=gEe;function Yb(){let e=Ms();return Yb=function(){return e},e}function O_(){let e=As();return O_=function(){return e},e}var yEe=__();function*gEe(e,{parserOpts:t,highlightCode:r=!0,filename:n="unknown"},i){try{let s=[];for(let a of e)for(let o of a){let{parserOverride:l}=o;if(l){let u=l(i,t,Yb().parse);u!==void 0&&s.push(u)}}if(s.length===0)return(0,Yb().parse)(i,t);if(s.length===1){if(yield*[],typeof s[0].then=="function")throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return s[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(s){s.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(s.message+=`
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:a,missingPlugin:o}=s;if(a){let l=(0,O_().codeFrameColumns)(i,{start:{line:a.line,column:a.column+1}},{highlightCode:r});o?s.message=`${n}: `+(0,yEe.default)(o[0],a,l):s.message=`${n}: ${s.message}
`+l,s.code="BABEL_PARSE_ERROR"}throw s}}});var N_=g(Zb=>{"use strict";Object.defineProperty(Zb,"__esModule",{value:!0});Zb.default=bEe;function Qb(e,t){if(e!==null){if(t.has(e))return t.get(e);let r;if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let n=0;n<e.length;n++)r[n]=typeof e[n]!="object"?e[n]:Qb(e[n],t)}else{r={},t.set(e,r);let n=Object.keys(e);for(let i=0;i<n.length;i++){let s=n[i];r[s]=typeof e[s]!="object"?e[s]:Qb(e[s],t)}}return r}return e}function bEe(e){return typeof e!="object"?e:Qb(e,new Map)}});var M_=g(nE=>{"use strict";Object.defineProperty(nE,"__esModule",{value:!0});nE.default=AEe;function B_(){let e=require("fs");return B_=function(){return e},e}function rE(){let e=require("path");return rE=function(){return e},e}function j_(){let e=ys();return j_=function(){return e},e}function L_(){let e=ye();return L_=function(){return e},e}function Mf(){let e=Gb();return Mf=function(){return e},e}var EEe=Fc(),vEe=Jb(),TEe=N_(),{file:SEe,traverseFast:xEe}=L_(),eE=j_()("babel:transform:file"),PEe=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,k_=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*AEe(e,t,r,n){if(r=`${r||""}`,n){if(n.type==="Program")n=SEe(n,[],[]);else if(n.type!=="File")throw new Error("AST root must be a Program or File node");t.cloneInputAst&&(n=(0,TEe.default)(n))}else n=yield*(0,vEe.default)(e,t,r);let i=null;if(t.inputSourceMap!==!1){if(typeof t.inputSourceMap=="object"&&(i=Mf().fromObject(t.inputSourceMap)),!i){let s=F_(PEe,n);if(s)try{i=Mf().fromComment(s)}catch(a){eE("discarding unknown inline input sourcemap",a)}}if(!i){let s=F_(k_,n);if(typeof t.filename=="string"&&s)try{let a=k_.exec(s),o=B_().readFileSync(rE().resolve(rE().dirname(t.filename),a[1]),"utf8");i=Mf().fromJSON(o)}catch(a){eE("discarding unknown file input sourcemap",a)}else s&&eE("discarding un-loadable file input sourcemap")}}return new EEe.default(t,{code:r,ast:n,inputMap:i})}function tE(e,t,r){return t&&(t=t.filter(({value:n})=>e.test(n)?(r=n,!1):!0)),[t,r]}function F_(e,t){let r=null;return xEe(t,n=>{[n.leadingComments,r]=tE(e,n.leadingComments,r),[n.innerComments,r]=tE(e,n.innerComments,r),[n.trailingComments,r]=tE(e,n.trailingComments,r)}),r}});var q_=g((Rf,R_)=>{(function(e,t){typeof Rf=="object"&&typeof R_!="undefined"?t(Rf,dm(),iu()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec))})(Rf,function(e,t,r){"use strict";e.addSegment=void 0,e.addMapping=void 0,e.setSourceContent=void 0,e.decodedMap=void 0,e.encodedMap=void 0,e.allMappings=void 0;class n{constructor({file:c,sourceRoot:f}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=c,this.sourceRoot=f}}e.addSegment=(u,c,f,d,m,S,p)=>{let{_mappings:E,_sources:b,_sourcesContent:_,_names:D}=u,A=i(E,c);if(d==null){let z=[f],Y=s(A,f,z);return l(A,Y,z)}let I=t.put(b,d),O=p?[f,I,m,S,t.put(D,p)]:[f,I,m,S],F=s(A,f,O);I===_.length&&(_[I]=null),l(A,F,O)},e.addMapping=(u,c)=>{let{generated:f,source:d,original:m,name:S}=c;return e.addSegment(u,f.line-1,f.column,d,m==null?void 0:m.line-1,m==null?void 0:m.column,S)},e.setSourceContent=(u,c,f)=>{let{_sources:d,_sourcesContent:m}=u;m[t.put(d,c)]=f},e.decodedMap=u=>{let{file:c,sourceRoot:f,_mappings:d,_sources:m,_sourcesContent:S,_names:p}=u;return{version:3,file:c,names:p.array,sourceRoot:f||void 0,sources:m.array,sourcesContent:S,mappings:d}},e.encodedMap=u=>{let c=e.decodedMap(u);return Object.assign(Object.assign({},c),{mappings:r.encode(c.mappings)})},e.allMappings=u=>{let c=[],{_mappings:f,_sources:d,_names:m}=u;for(let S=0;S<f.length;S++){let p=f[S];for(let E=0;E<p.length;E++){let b=p[E],_={line:S+1,column:b[0]},D,A,I;b.length!==1&&(D=d.array[b[1]],A={line:b[2]+1,column:b[3]},b.length===5&&(I=m.array[b[4]])),c.push({generated:_,source:D,original:A,name:I})}}return c};function i(u,c){for(let f=u.length;f<=c;f++)u[f]=[];return u[c]}function s(u,c,f){let d=u.length;for(let m=d-1;m>=0;m--,d--){let S=u[m],p=S[0];if(p>c)continue;if(p<c)break;let E=a(S,f);if(E===0)return d;if(E<0)break}return d}function a(u,c){let f=o(u.length,c.length);return f!==0?f:u.length===1?0:(f=o(u[1],c[1]),f!==0||(f=o(u[2],c[2]),f!==0)||(f=o(u[3],c[3]),f!==0)?f:u.length===4?0:o(u[4],c[4]))}function o(u,c){return u-c}function l(u,c,f){if(c!==-1){for(let d=u.length;d>c;d--)u[d]=u[d-1];u[c]=f}}e.GenMapping=n,Object.defineProperty(e,"__esModule",{value:!0})})});var U_=g((iE,sE)=>{(function(e,t){typeof iE=="object"&&typeof sE!="undefined"?sE.exports=t(au(),q_()):typeof define=="function"&&define.amd?define(["@jridgewell/trace-mapping","@jridgewell/gen-mapping"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.remapping=t(e.traceMapping,e.genMapping))})(iE,function(e,t){"use strict";let r={source:null,column:null,line:null,name:null,content:null},n=[];function i(S,p,E,b){return{map:S,sources:p,source:E,content:b}}function s(S,p){return i(S,p,"",null)}function a(S,p){return i(null,n,S,p)}function o(S){let p=new t.GenMapping({file:S.map.file}),{sources:E,map:b}=S,_=b.names,D=e.decodedMappings(b);for(let A=0;A<D.length;A++){let I=D[A],O=null,F=null,z=null;for(let Y=0;Y<I.length;Y++){let Z=I[Y],Te=Z[0],Se=r;if(Z.length!==1){let pe=E[Z[1]];if(Se=l(pe,Z[2],Z[3],Z.length===5?_[Z[4]]:""),Se==null)continue}let{column:ut,line:se,name:M,content:L,source:J}=Se;se===F&&ut===z&&J===O||(F=se,z=ut,O=J,t.addSegment(p,A,Te,J,se,ut,M),L!=null&&t.setSourceContent(p,J,L))}}return p}function l(S,p,E,b){if(!S.map)return{column:E,line:p,name:b,source:S.source,content:S.content};let _=e.traceSegment(S.map,p,E);return _==null?null:_.length===1?r:l(S.sources[_[1]],_[2],_[3],_.length===5?S.map.names[_[4]]:b)}function u(S){return Array.isArray(S)?S:[S]}function c(S,p){let E=u(S).map(D=>new e.TraceMap(D,"")),b=E.pop();for(let D=0;D<E.length;D++)if(E[D].sources.length>1)throw new Error(`Transformation map ${D} must have exactly one source file.
Did you specify these with the most recent transformation maps first?`);let _=f(b,p,"",0);for(let D=E.length-1;D>=0;D--)_=s(E[D],[_]);return _}function f(S,p,E,b){let{resolvedSources:_,sourcesContent:D}=S,A=b+1,I=_.map((O,F)=>{let z={importer:E,depth:A,source:O||"",content:void 0},Y=p(z.source,z),{source:Z,content:Te}=z;if(Y)return f(new e.TraceMap(Y,Z),p,Z,A);let Se=Te!==void 0?Te:D?D[F]:null;return a(Z,Se)});return s(S,I)}class d{constructor(p,E){let b=E.decodedMappings?t.decodedMap(p):t.encodedMap(p);this.version=b.version,this.file=b.file,this.mappings=b.mappings,this.names=b.names,this.sourceRoot=b.sourceRoot,this.sources=b.sources,E.excludeContent||(this.sourcesContent=b.sourcesContent)}toString(){return JSON.stringify(this)}}function m(S,p,E){let b=typeof E=="object"?E:{excludeContent:!!E,decodedMappings:!1},_=c(S,p);return new d(o(_),b)}return m})});var K_=g(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.default=CEe;function $_(){let e=U_();return $_=function(){return e},e}function CEe(e,t,r){let n=r.replace(/\\/g,"/"),i=!1,s=$_()(V_(t),(a,o)=>a===n&&!i?(i=!0,o.source="",V_(e)):null);return typeof e.sourceRoot=="string"&&(s.sourceRoot=e.sourceRoot),Object.assign({},s)}function V_(e){return Object.assign({},e,{sourceRoot:null})}});var z_=g(lE=>{"use strict";Object.defineProperty(lE,"__esModule",{value:!0});lE.default=DEe;function W_(){let e=Gb();return W_=function(){return e},e}function oE(){let e=Tu();return oE=function(){return e},e}var wEe=K_();function DEe(e,t){let{opts:r,ast:n,code:i,inputMap:s}=t,{generatorOpts:a}=r;a.inputSourceMap=s==null?void 0:s.toObject();let o=[];for(let f of e)for(let d of f){let{generatorOverride:m}=d;if(m){let S=m(n,a,i,oE().default);S!==void 0&&o.push(S)}}let l;if(o.length===0)l=(0,oE().default)(n,a,i);else if(o.length===1){if(l=o[0],typeof l.then=="function")throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}else throw new Error("More than one plugin attempted to override codegen.");let{code:u,decodedMap:c=l.map}=l;return l.__mergedMap?c=Object.assign({},l.map):c&&(s?c=(0,wEe.default)(s.toObject(),c,a.sourceFileName):c=l.map),(r.sourceMaps==="inline"||r.sourceMaps==="both")&&(u+=`
`+W_().fromObject(c).toComment()),r.sourceMaps==="inline"&&(c=null),{outputCode:u,outputMap:c}}});var qf=g(cE=>{"use strict";Object.defineProperty(cE,"__esModule",{value:!0});cE.run=BEe;function uE(){let e=yr();return uE=function(){return e},e}var IEe=E_(),_Ee=x_(),OEe=Wb(),NEe=M_(),kEe=z_(),FEe=Qc();function*BEe(e,t,r){let n=yield*(0,NEe.default)(e.passes,(0,OEe.default)(e),t,r),i=n.opts;try{yield*jEe(n,e.passes)}catch(u){var s;throw u.message=`${(s=i.filename)!=null?s:"unknown file"}: ${u.message}`,u.code||(u.code="BABEL_TRANSFORM_ERROR"),u}let a,o;try{i.code!==!1&&({outputCode:a,outputMap:o}=(0,kEe.default)(e.passes,n))}catch(u){var l;throw u.message=`${(l=i.filename)!=null?l:"unknown file"}: ${u.message}`,u.code||(u.code="BABEL_GENERATE_ERROR"),u}return{metadata:n.metadata,options:i,ast:i.ast===!0?n.ast:null,code:a===void 0?null:a,map:o===void 0?null:o,sourceType:n.ast.program.sourceType,externalDependencies:(0,FEe.flattenToSet)(e.externalDependencies)}}function*jEe(e,t){for(let r of t){let n=[],i=[],s=[];for(let o of r.concat([(0,_Ee.default)()])){let l=new IEe.default(e,o.key,o.options);n.push([o,l]),i.push(l),s.push(o.visitor)}for(let[o,l]of n){let u=o.pre;if(u){let c=u.call(l,e);if(yield*[],G_(c))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}let a=uE().default.visitors.merge(s,i,e.opts.wrapPluginVisitorMethod);(0,uE().default)(e.ast,a,e.scope);for(let[o,l]of n){let u=o.post;if(u){let c=u.call(l,e);if(yield*[],G_(c))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}function G_(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var pE=g(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.transformFile=qEe;tl.transformFileAsync=VEe;tl.transformFileSync=UEe;function H_(){let e=fr();return H_=function(){return e},e}var LEe=oa(),MEe=qf(),REe=Vc(),fE=H_()(function*(e,t){let r=Object.assign({},t,{filename:e}),n=yield*(0,LEe.default)(r);if(n===null)return null;let i=yield*REe.readFile(e,"utf8");return yield*(0,MEe.run)(n,i)});function qEe(...e){fE.errback(...e)}function UEe(...e){return fE.sync(...e)}function VEe(...e){return fE.async(...e)}});var X_=g((fIe,Y_)=>{Y_.exports=function(t){return import(t)}});var J_=g((pIe,$Ee)=>{$Ee.exports={name:"@babel/preset-typescript",version:"7.21.0",description:"Babel preset for TypeScript.",repository:{type:"git",url:"https://github.com/babel/babel.git",directory:"packages/babel-preset-typescript"},license:"MIT",publishConfig:{access:"public"},main:"./lib/index.js",keywords:["babel-preset","typescript"],dependencies:{"@babel/helper-plugin-utils":"^7.20.2","@babel/helper-validator-option":"^7.21.0","@babel/plugin-transform-typescript":"^7.21.0"},peerDependencies:{"@babel/core":"^7.0.0-0"},devDependencies:{"@babel/core":"^7.21.0","@babel/helper-plugin-test-runner":"^7.18.6"},homepage:"https://babel.dev/docs/en/next/babel-preset-typescript",bugs:"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen",engines:{node:">=6.9.0"},author:"The Babel Team (https://babel.dev/team)",type:"commonjs"}});var tt=g(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.declare=Z_;rl.declarePreset=void 0;var Q_={assertVersion:e=>t=>{zEe(t,e.version)},targets:()=>()=>({}),assumption:()=>()=>{}};function Z_(e){return(t,r,n)=>{var i;let s;for(let o of Object.keys(Q_)){var a;t[o]||(s=(a=s)!=null?a:WEe(t),s[o]=Q_[o](s))}return e((i=s)!=null?i:t,r||{},n)}}var KEe=Z_;rl.declarePreset=KEe;function WEe(e){let t=null;return typeof e.version=="string"&&/^7\./.test(e.version)&&(t=Object.getPrototypeOf(e),t&&(!Uf(t,"version")||!Uf(t,"transform")||!Uf(t,"template")||!Uf(t,"types"))&&(t=null)),Object.assign({},t,e)}function Uf(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function zEe(e,t){if(typeof e=="number"){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if(typeof e!="string")throw new Error("Expected string or integer value.");let r=Error.stackTraceLimit;typeof r=="number"&&r<25&&(Error.stackTraceLimit=25);let n;throw t.slice(0,2)==="7."?n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". You'll need to update your @babel/core version.`):n=new Error(`Requires Babel "${e}", but was loaded with "${t}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof r=="number"&&(Error.stackTraceLimit=r),Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}});var tO=g(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.default=void 0;var GEe=tt();function eO(e,t){let r=[];e.forEach((n,i)=>{(Array.isArray(n)?n[0]:n)===t&&r.unshift(i)});for(let n of r)e.splice(n,1)}var HEe=(0,GEe.declare)((e,{disallowAmbiguousJSXLike:t,dts:r,isTSX:n})=>(e.assertVersion(7),{name:"syntax-typescript",manipulateOptions(i,s){let{plugins:a}=s;eO(a,"flow"),eO(a,"jsx"),a.push(["typescript",{disallowAmbiguousJSXLike:t,dts:r}],"classProperties"),a.push("objectRestSpread"),n&&a.push("jsx")}}));Vf.default=HEe});var gE=g(yE=>{"use strict";Object.defineProperty(yE,"__esModule",{value:!0});var YEe=ye();function XEe(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var JEe=XEe(YEe);function hE(e){let t=e,{node:r,parentPath:n}=t;if(n.isLogicalExpression()){let{operator:i,right:s}=n.node;if(i==="&&"||i==="||"||i==="??"&&r===s)return hE(n)}if(n.isSequenceExpression()){let{expressions:i}=n.node;return i[i.length-1]===r?hE(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}var{LOGICAL_OPERATORS:QEe,arrowFunctionExpression:rO,assignmentExpression:ua,binaryExpression:Ji,booleanLiteral:ZEe,callExpression:Wf,cloneNode:Nr,conditionalExpression:eve,identifier:aO,isMemberExpression:tve,isOptionalCallExpression:rve,isOptionalMemberExpression:oO,isUpdateExpression:nve,logicalExpression:$f,memberExpression:nO,nullLiteral:Kf,optionalCallExpression:ive,optionalMemberExpression:sve,sequenceExpression:dE,updateExpression:iO}=JEe,mE=class{constructor(){this._map=void 0,this._map=new WeakMap}has(t){return this._map.has(t)}get(t){if(!this.has(t))return;let r=this._map.get(t),{value:n}=r;return r.count--,r.count===0?ua("=",n,t):n}set(t,r,n){return this._map.set(t,{count:n,value:r})}};function sO(e,t){let{node:r}=e;if(oO(r))return nO(t,r.property,r.computed);if(e.isOptionalCallExpression()){let n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){let i=n.node.object,s=e.scope.maybeGenerateMemoised(i);return n.get("object").replaceWith(ua("=",s,i)),Wf(nO(t,aO("call")),[s,...e.node.arguments])}return Wf(t,e.node.arguments)}return e.node}function ave(e){for(;e&&!e.isProgram();){let{parentPath:t,container:r,listKey:n}=e,i=t.node;if(n){if(r!==i[n])return!0}else if(r!==i)return!0;e=t}return!1}var ove={memoise(){},handle(e,t){let{node:r,parent:n,parentPath:i,scope:s}=e;if(e.isOptionalMemberExpression()){if(ave(e))return;let a=e.find(({node:O,parent:F})=>oO(F)?F.optional||F.object!==O:rve(F)?O!==e.node&&F.optional||F.callee!==O:!0);if(s.path.isPattern()){a.replaceWith(Wf(rO([],a.node),[]));return}let o=hE(a),l=a.parentPath;if(l.isUpdateExpression({argument:r})||l.isAssignmentExpression({left:r}))throw e.buildCodeFrameError("can't handle assignment");let u=l.isUnaryExpression({operator:"delete"});if(u&&a.isOptionalMemberExpression()&&a.get("property").isPrivateName())throw e.buildCodeFrameError("can't delete a private class element");let c=e;for(;;){if(c.isOptionalMemberExpression()){if(c.node.optional)break;c=c.get("object");continue}else if(c.isOptionalCallExpression()){if(c.node.optional)break;c=c.get("callee");continue}throw new Error(`Internal error: unexpected ${c.node.type}`)}let f=c.isOptionalMemberExpression()?c.node.object:c.node.callee,d=s.maybeGenerateMemoised(f),m=d!=null?d:f,S=i.isOptionalCallExpression({callee:r}),p=O=>S,E=i.isCallExpression({callee:r});c.replaceWith(sO(c,m)),p()?n.optional?i.replaceWith(this.optionalCall(e,n.arguments)):i.replaceWith(this.call(e,n.arguments)):E?e.replaceWith(this.boundGet(e)):this.delete&&i.isUnaryExpression({operator:"delete"})?i.replaceWith(this.delete(e)):e.replaceWith(this.get(e));let b=e.node;for(let O=e;O!==a;){let F=O.parentPath;if(F===a&&p()&&n.optional){b=F.node;break}b=sO(F,b),O=F}let _,D=a.parentPath;if(tve(b)&&D.isOptionalCallExpression({callee:a.node,optional:!0})){let{object:O}=b;_=e.scope.maybeGenerateMemoised(O),_&&(b.object=ua("=",_,O))}let A=a;u&&(A=D,b=D.node);let I=d?ua("=",Nr(m),Nr(f)):Nr(m);if(o){let O;t?O=Ji("!=",I,Kf()):O=$f("&&",Ji("!==",I,Kf()),Ji("!==",Nr(m),s.buildUndefinedNode())),A.replaceWith($f("&&",O,b))}else{let O;t?O=Ji("==",I,Kf()):O=$f("||",Ji("===",I,Kf()),Ji("===",Nr(m),s.buildUndefinedNode())),A.replaceWith(eve(O,u?ZEe(!0):s.buildUndefinedNode(),b))}if(_){let O=D.node;D.replaceWith(ive(sve(O.callee,aO("call"),!1,!0),[Nr(_),...O.arguments],!1))}return}if(nve(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}let{operator:a,prefix:o}=n;this.memoise(e,2);let l=s.generateUidIdentifierBasedOnNode(r);s.push({id:l});let u=[ua("=",Nr(l),this.get(e))];if(o){u.push(iO(a,Nr(l),o));let c=dE(u);i.replaceWith(this.set(e,c));return}else{let c=s.generateUidIdentifierBasedOnNode(r);s.push({id:c}),u.push(ua("=",Nr(c),iO(a,Nr(l),o)),Nr(l));let f=dE(u);i.replaceWith(dE([this.set(e,f),Nr(c)]));return}}if(i.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}let{operator:a,right:o}=i.node;if(a==="=")i.replaceWith(this.set(e,o));else{let l=a.slice(0,-1);QEe.includes(l)?(this.memoise(e,1),i.replaceWith($f(l,this.get(e),this.set(e,o)))):(this.memoise(e,2),i.replaceWith(this.set(e,Ji(l,this.get(e),o))))}return}if(i.isCallExpression({callee:r})){i.replaceWith(this.call(e,i.node.arguments));return}if(i.isOptionalCallExpression({callee:r})){if(s.path.isPattern()){i.replaceWith(Wf(rO([],i.node),[]));return}i.replaceWith(this.optionalCall(e,i.node.arguments));return}if(this.delete&&i.isUnaryExpression({operator:"delete"})){i.replaceWith(this.delete(e));return}if(i.isForXStatement({left:r})||i.isObjectProperty({value:r})&&i.parentPath.isObjectPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isObjectProperty({value:n})&&i.parentPath.parentPath.isObjectPattern()||i.isArrayPattern()||i.isAssignmentPattern({left:r})&&i.parentPath.isArrayPattern()||i.isRestElement()){e.replaceWith(this.destructureSet(e));return}i.isTaggedTemplateExpression()?e.replaceWith(this.boundGet(e)):e.replaceWith(this.get(e))}};function lve(e,t,r){e.traverse(t,Object.assign({},ove,r,{memoiser:new mE}))}yE.default=lve});var EE=g(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.default=pve;var uve=ye(),{callExpression:lO,identifier:zf,isIdentifier:cve,isSpreadElement:fve,memberExpression:uO,optionalCallExpression:cO,optionalMemberExpression:fO}=uve;function pve(e,t,r,n){return r.length===1&&fve(r[0])&&cve(r[0].argument,{name:"arguments"})?n?cO(fO(e,zf("apply"),!1,!0),[t,r[0].argument],!1):lO(uO(e,zf("apply")),[t,r[0].argument]):n?cO(fO(e,zf("call"),!1,!0),[t,...r],!1):lO(uO(e,zf("call")),[t,...r])}});var Xf=g(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.default=void 0;Object.defineProperty(pa,"environmentVisitor",{enumerable:!0,get:function(){return Yf.default}});Object.defineProperty(pa,"skipAllButComputedKey",{enumerable:!0,get:function(){return Yf.skipAllButComputedKey}});var Yf=wi(),dve=gE(),Hf=EE(),pO=nn(),hO=yr(),hve=ye(),{assignmentExpression:mO,booleanLiteral:mve,callExpression:Gf,cloneNode:kr,identifier:nl,memberExpression:ca,sequenceExpression:vE,stringLiteral:yve,thisExpression:fa}=hve;function dO(e,t,r,n){e=kr(e);let i=t||n?e:ca(e,nl("prototype"));return Gf(r.addHelper("getPrototypeOf"),[i])}var gve=hO.default.visitors.merge([Yf.default,{Super(e,t){let{node:r,parentPath:n}=e;n.isMemberExpression({object:r})&&t.handle(n)}}]),bve=hO.default.visitors.merge([Yf.default,{Scopable(e,{refName:t}){let r=e.scope.getOwnBinding(t);r&&r.identifier.name===t&&e.scope.rename(t)}}]),yO={memoise(e,t){let{scope:r,node:n}=e,{computed:i,property:s}=n;if(!i)return;let a=r.maybeGenerateMemoised(s);a&&this.memoiser.set(s,a,t)},prop(e){let{computed:t,property:r}=e.node;return this.memoiser.has(r)?kr(this.memoiser.get(r)):t?kr(r):yve(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){let r=dO(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return Gf(this.file.addHelper("get"),[t.memo?vE([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor)return{this:fa()};let e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:mO("=",e,fa()),this:kr(e)}},set(e,t){let r=this._getThisRefs(),n=dO(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return Gf(this.file.addHelper("set"),[r.memo?vE([r.memo,n]):n,this.prop(e),t,r.this,mve(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(e,t){let r=this._getThisRefs();return(0,Hf.default)(this._get(e,r),kr(r.this),t,!1)},optionalCall(e,t){let r=this._getThisRefs();return(0,Hf.default)(this._get(e,r),kr(r.this),t,!0)},delete(e){return e.node.computed?vE([Gf(this.file.addHelper("toPropertyKey"),[kr(e.node.property)]),pO.default.expression.ast`
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
`]):pO.default.expression.ast`
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
`}},Eve=Object.assign({},yO,{prop(e){let{property:t}=e.node;return this.memoiser.has(t)?kr(this.memoiser.get(t)):kr(t)},get(e){let{isStatic:t,getSuperRef:r}=this,{computed:n}=e.node,i=this.prop(e),s;if(t){var a;s=(a=r())!=null?a:ca(nl("Function"),nl("prototype"))}else{var o;s=ca((o=r())!=null?o:nl("Object"),nl("prototype"))}return ca(s,i,n)},set(e,t){let{computed:r}=e.node,n=this.prop(e);return mO("=",ca(fa(),n,r),t)},destructureSet(e){let{computed:t}=e.node,r=this.prop(e);return ca(fa(),r,t)},call(e,t){return(0,Hf.default)(this.get(e),fa(),t,!1)},optionalCall(e,t){return(0,Hf.default)(this.get(e),fa(),t,!0)}}),TE=class{constructor(t){var r;let n=t.methodPath;this.methodPath=n,this.isDerivedConstructor=n.isClassMethod({kind:"constructor"})&&!!t.superRef,this.isStatic=n.isObjectMethod()||n.node.static||(n.isStaticBlock==null?void 0:n.isStaticBlock()),this.isPrivateMethod=n.isPrivate()&&n.isMethod(),this.file=t.file,this.constantSuper=(r=t.constantSuper)!=null?r:t.isLoose,this.opts=t}getObjectRef(){return kr(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return kr(this.opts.superRef);if(this.opts.getSuperRef)return kr(this.opts.getSuperRef())}replace(){this.opts.refToPreserve&&this.methodPath.traverse(bve,{refName:this.opts.refToPreserve.name});let t=this.constantSuper?Eve:yO;(0,dve.default)(this.methodPath,gve,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:t.get},t))}};pa.default=TE});var Jf=g(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.default=Pve;var vve=ye(),{addComment:Tve}=vve,Sve="#__PURE__",xve=({leadingComments:e})=>!!e&&e.some(t=>/[@#]__PURE__/.test(t.value));function Pve(e){let t=e.node||e;xve(t)||Tve(t,"leading",Sve)}});var PE=g(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.isTransparentExprWrapper=xE;il.skipTransparentExprWrapperNodes=kve;il.skipTransparentExprWrappers=Nve;var Ave=ye(),{isParenthesizedExpression:Cve,isTSAsExpression:wve,isTSNonNullExpression:Dve,isTSSatisfiesExpression:Ive,isTSTypeAssertion:_ve,isTypeCastExpression:Ove}=Ave;function xE(e){return wve(e)||Ive(e)||_ve(e)||Dve(e)||Ove(e)||Cve(e)}function Nve(e){for(;xE(e.node);)e=e.get("expression");return e}function kve(e){for(;xE(e);)e=e.expression;return e}});var CE=g(AE=>{"use strict";Object.defineProperty(AE,"__esModule",{value:!0});AE.assertFieldTransformed=Fve;function Fve(e){if(e.node.declare)throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-private-methods
- @babel/plugin-proposal-decorators`)}});var AO=g(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.buildCheckInRHS=Zf;Qi.buildFieldsInitNodes=n1e;Qi.buildPrivateNamesMap=qve;Qi.buildPrivateNamesNodes=Uve;Qi.transformPrivateNamesUsage=zve;var q=Pt(),Bve=Xf(),SO=wi(),jve=gE(),gO=EE(),Lve=Jf(),Mve=PE(),Rve=CE();function qve(e){let t=new Map;for(let r of e)if(r.isPrivate()){let{name:n}=r.node.key.id,i=t.has(n)?t.get(n):{id:r.scope.generateUidIdentifier(n),static:r.node.static,method:!r.isProperty()};r.isClassPrivateMethod()&&(r.node.kind==="get"?i.getId=r.scope.generateUidIdentifier(`get_${n}`):r.node.kind==="set"?i.setId=r.scope.generateUidIdentifier(`set_${n}`):r.node.kind==="method"&&(i.methodId=r.scope.generateUidIdentifier(n))),t.set(n,i)}return t}function Uve(e,t,r,n){let i=[];for(let[s,a]of e){let{static:o,method:l,getId:u,setId:c}=a,f=u||c,d=q.types.cloneNode(a.id),m;t?m=q.types.callExpression(n.addHelper("classPrivateFieldLooseKey"),[q.types.stringLiteral(s)]):r?m=q.types.callExpression(q.types.identifier("Symbol"),[q.types.stringLiteral(s)]):o||(m=q.types.newExpression(q.types.identifier(!l||f?"WeakMap":"WeakSet"),[])),m&&((0,Lve.default)(m),i.push(q.template.statement.ast`var ${d} = ${m}`))}return i}function xO(e){let t=q.traverse.visitors.merge([Object.assign({},e),SO.default]),r=Object.assign({},e,{Class(n){let{privateNamesMap:i}=this,s=n.get("body.body"),a=new Map(i),o=[];for(let l of s){if(!l.isPrivate())continue;let{name:u}=l.node.key.id;a.delete(u),o.push(u)}o.length&&(n.get("body").traverse(t,Object.assign({},this,{redeclared:o})),n.traverse(r,Object.assign({},this,{privateNamesMap:a})),n.skipKey("body"))}});return r}var Vve=xO({PrivateName(e,{noDocumentAll:t}){let{privateNamesMap:r,redeclared:n}=this,{node:i,parentPath:s}=e;if(!s.isMemberExpression({property:i})&&!s.isOptionalMemberExpression({property:i}))return;let{name:a}=i.id;r.has(a)&&(n&&n.includes(a)||this.handle(s,t))}});function PO(e,t,r){for(;(n=t)!=null&&n.hasBinding(e)&&!t.bindingIdentifierEquals(e,r);){var n;t.rename(e),t=t.parent}}function Zf(e,t,r){return r||!(t.availableHelper!=null&&t.availableHelper("checkInRHS"))?e:q.types.callExpression(t.addHelper("checkInRHS"),[e])}var $ve=xO({BinaryExpression(e,{file:t}){let{operator:r,left:n,right:i}=e.node;if(r!=="in"||!q.types.isPrivateName(n))return;let{privateFieldsAsProperties:s,privateNamesMap:a,redeclared:o}=this,{name:l}=n.id;if(!a.has(l)||o&&o.includes(l))return;if(PO(this.classRef.name,e.scope,this.innerBinding),s){let{id:f}=a.get(l);e.replaceWith(q.template.expression.ast`
Object.prototype.hasOwnProperty.call(${Zf(i,t)}, ${q.types.cloneNode(f)})
`);return}let{id:u,static:c}=a.get(l);if(c){e.replaceWith(q.template.expression.ast`${Zf(i,t)} === ${q.types.cloneNode(this.classRef)}`);return}e.replaceWith(q.template.expression.ast`${q.types.cloneNode(u)}.has(${Zf(i,t)})`)}}),Kve={memoise(e,t){let{scope:r}=e,{object:n}=e.node,i=r.maybeGenerateMemoised(n);i&&this.memoiser.set(n,i,t)},receiver(e){let{object:t}=e.node;return this.memoiser.has(t)?q.types.cloneNode(this.memoiser.get(t)):q.types.cloneNode(t)},get(e){let{classRef:t,privateNamesMap:r,file:n,innerBinding:i}=this,{name:s}=e.node.property.id,{id:a,static:o,method:l,methodId:u,getId:c,setId:f}=r.get(s),d=c||f;if(o){let m=l&&!d?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return PO(t.name,e.scope,i),q.types.callExpression(n.addHelper(m),[this.receiver(e),q.types.cloneNode(t),q.types.cloneNode(a)])}if(l){if(d){if(!c&&f){if(n.availableHelper("writeOnlyError"))return q.types.sequenceExpression([this.receiver(e),q.types.callExpression(n.addHelper("writeOnlyError"),[q.types.stringLiteral(`#${s}`)])]);console.warn("@babel/helpers is outdated, update it to silence this warning.")}return q.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),q.types.cloneNode(a)])}return q.types.callExpression(n.addHelper("classPrivateMethodGet"),[this.receiver(e),q.types.cloneNode(a),q.types.cloneNode(u)])}return q.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),q.types.cloneNode(a)])},boundGet(e){return this.memoise(e,1),q.types.callExpression(q.types.memberExpression(this.get(e),q.types.identifier("bind")),[this.receiver(e)])},set(e,t){let{classRef:r,privateNamesMap:n,file:i}=this,{name:s}=e.node.property.id,{id:a,static:o,method:l,setId:u,getId:c}=n.get(s),f=c||u;if(o){let d=l&&!f?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return q.types.callExpression(i.addHelper(d),[this.receiver(e),q.types.cloneNode(r),q.types.cloneNode(a),t])}return l?u?q.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),q.types.cloneNode(a),t]):q.types.sequenceExpression([this.receiver(e),t,q.types.callExpression(i.addHelper("readOnlyError"),[q.types.stringLiteral(`#${s}`)])]):q.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),q.types.cloneNode(a),t])},destructureSet(e){let{classRef:t,privateNamesMap:r,file:n}=this,{name:i}=e.node.property.id,{id:s,static:a}=r.get(i);if(a){try{var o=n.addHelper("classStaticPrivateFieldDestructureSet")}catch{throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return q.types.memberExpression(q.types.callExpression(o,[this.receiver(e),q.types.cloneNode(t),q.types.cloneNode(s)]),q.types.identifier("value"))}return q.types.memberExpression(q.types.callExpression(n.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),q.types.cloneNode(s)]),q.types.identifier("value"))},call(e,t){return this.memoise(e,1),(0,gO.default)(this.get(e),this.receiver(e),t,!1)},optionalCall(e,t){return this.memoise(e,1),(0,gO.default)(this.get(e),this.receiver(e),t,!0)}},Wve={get(e){let{privateNamesMap:t,file:r}=this,{object:n}=e.node,{name:i}=e.node.property.id;return q.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:q.types.cloneNode(n),PROP:q.types.cloneNode(t.get(i).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return q.types.callExpression(q.types.memberExpression(this.get(e),q.types.identifier("bind")),[q.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return q.types.callExpression(this.get(e),t)},optionalCall(e,t){return q.types.optionalCallExpression(this.get(e),t,!0)}};function zve(e,t,r,{privateFieldsAsProperties:n,noDocumentAll:i,innerBinding:s},a){if(!r.size)return;let o=t.get("body"),l=n?Wve:Kve;(0,jve.default)(o,Vve,Object.assign({privateNamesMap:r,classRef:e,file:a},l,{noDocumentAll:i,innerBinding:s})),o.traverse($ve,{privateNamesMap:r,classRef:e,file:a,privateFieldsAsProperties:n,innerBinding:s})}function bO(e,t,r){let{id:n}=r.get(t.node.key.id.name),i=t.node.value||t.scope.buildUndefinedNode();return qt(q.template.statement.ast`
Object.defineProperty(${e}, ${q.types.cloneNode(n)}, {
// configurable is false by default
// enumerable is false by default
writable: true,
value: ${i}
});
`,t)}function Gve(e,t,r,n){let{id:i}=r.get(t.node.key.id.name),s=t.node.value||t.scope.buildUndefinedNode();if(!n.availableHelper("classPrivateFieldInitSpec"))return qt(q.template.statement.ast`${q.types.cloneNode(i)}.set(${e}, {
// configurable is always false for private elements
// enumerable is always false for private elements
writable: true,
value: ${s},
})`,t);let a=n.addHelper("classPrivateFieldInitSpec");return qt(q.template.statement.ast`${a}(
${q.types.thisExpression()},
${q.types.cloneNode(i)},
{
writable: true,
value: ${s}
},
)`,t)}function EO(e,t){let r=t.get(e.node.key.id.name),{id:n,getId:i,setId:s,initAdded:a}=r,o=i||s;if(!e.isProperty()&&(a||!o))return;if(o)return t.set(e.node.key.id.name,Object.assign({},r,{initAdded:!0})),qt(q.template.statement.ast`
var ${q.types.cloneNode(n)} = {
// configurable is false by default
// enumerable is false by default
// writable is false by default
get: ${i?i.name:e.scope.buildUndefinedNode()},
set: ${s?s.name:e.scope.buildUndefinedNode()}
}
`,e);let l=e.node.value||e.scope.buildUndefinedNode();return qt(q.template.statement.ast`
var ${q.types.cloneNode(n)} = {
// configurable is false by default
// enumerable is false by default
writable: true,
value: ${l}
};
`,e)}function Hve(e,t,r){let n=r.get(t.node.key.id.name),{methodId:i,id:s,getId:a,setId:o,initAdded:l}=n;if(l)return;if(i)return qt(q.template.statement.ast`
Object.defineProperty(${e}, ${s}, {
// configurable is false by default
// enumerable is false by default
// writable is false by default
value: ${i.name}
});
`,t);if(a||o)return r.set(t.node.key.id.name,Object.assign({},n,{initAdded:!0})),qt(q.template.statement.ast`
Object.defineProperty(${e}, ${s}, {
// configurable is false by default
// enumerable is false by default
// writable is false by default
get: ${a?a.name:t.scope.buildUndefinedNode()},
set: ${o?o.name:t.scope.buildUndefinedNode()}
});
`,t)}function Yve(e,t,r,n){let i=r.get(t.node.key.id.name),{getId:s,setId:a,initAdded:o}=i;return o?void 0:s||a?Xve(e,t,r,n):Jve(e,t,r,n)}function Xve(e,t,r,n){let i=r.get(t.node.key.id.name),{id:s,getId:a,setId:o}=i;if(r.set(t.node.key.id.name,Object.assign({},i,{initAdded:!0})),!n.availableHelper("classPrivateFieldInitSpec"))return qt(q.template.statement.ast`
${s}.set(${e}, {
get: ${a?a.name:t.scope.buildUndefinedNode()},
set: ${o?o.name:t.scope.buildUndefinedNode()}
});
`,t);let l=n.addHelper("classPrivateFieldInitSpec");return qt(q.template.statement.ast`${l}(
${q.types.thisExpression()},
${q.types.cloneNode(s)},
{
get: ${a?a.name:t.scope.buildUndefinedNode()},
set: ${o?o.name:t.scope.buildUndefinedNode()}
},
)`,t)}function Jve(e,t,r,n){let i=r.get(t.node.key.id.name),{id:s}=i;if(!n.availableHelper("classPrivateMethodInitSpec"))return qt(q.template.statement.ast`${s}.add(${e})`,t);let a=n.addHelper("classPrivateMethodInitSpec");return qt(q.template.statement.ast`${a}(
${q.types.thisExpression()},
${q.types.cloneNode(s)}
)`,t)}function vO(e,t){let{key:r,computed:n}=t.node,i=t.node.value||t.scope.buildUndefinedNode();return qt(q.types.expressionStatement(q.types.assignmentExpression("=",q.types.memberExpression(e,r,n||q.types.isLiteral(r)),i)),t)}function TO(e,t,r){let{key:n,computed:i}=t.node,s=t.node.value||t.scope.buildUndefinedNode();return qt(q.types.expressionStatement(q.types.callExpression(r.addHelper("defineProperty"),[e,i||q.types.isLiteral(n)?n:q.types.stringLiteral(n.name),s])),t)}function Qve(e,t,r,n){let i=n.get(t.node.key.id.name),{id:s,methodId:a,getId:o,setId:l,initAdded:u}=i;return u?void 0:o||l?(n.set(t.node.key.id.name,Object.assign({},i,{initAdded:!0})),qt(q.template.statement.ast`
Object.defineProperty(${e}, ${s}, {
// configurable is false by default
// enumerable is false by default
// writable is false by default
get: ${o?o.name:t.scope.buildUndefinedNode()},
set: ${l?l.name:t.scope.buildUndefinedNode()}
})
`,t)):qt(q.template.statement.ast`
Object.defineProperty(${e}, ${s}, {
// configurable is false by default
// enumerable is false by default
// writable is false by default
value: ${a.name}
});
`,t)}function Qf(e,t,r=!1){let n=t.get(e.node.key.id.name),{id:i,methodId:s,getId:a,setId:o,getterDeclared:l,setterDeclared:u,static:c}=n,{params:f,body:d,generator:m,async:S}=e.node,p=a&&!l&&f.length===0,E=o&&!u&&f.length>0,b=s;return p?(t.set(e.node.key.id.name,Object.assign({},n,{getterDeclared:!0})),b=a):E?(t.set(e.node.key.id.name,Object.assign({},n,{setterDeclared:!0})),b=o):c&&!r&&(b=i),qt(q.types.functionDeclaration(q.types.cloneNode(b),f,d,m,S),e)}var Zve=q.traverse.visitors.merge([{ThisExpression(e,t){let r=e.findParent(n=>!(0,Mve.isTransparentExprWrapper)(n.node));if(q.types.isUnaryExpression(r.node,{operator:"delete"})){e.parentPath.replaceWith(q.types.booleanLiteral(!0));return}t.needsClassRef=!0,e.replaceWith(q.types.cloneNode(t.classRef))},MetaProperty(e){let t=e.get("meta"),r=e.get("property"),{scope:n}=e;t.isIdentifier({name:"new"})&&r.isIdentifier({name:"target"})&&e.replaceWith(n.buildUndefinedNode())}},SO.default]),e1e={ReferencedIdentifier(e,t){e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)&&(t.needsClassRef=!0,e.node.name=t.classRef.name)}};function t1e(e,t,r,n,i,s,a){var o;let l={classRef:t,needsClassRef:!1,innerBinding:a};return new Bve.default({methodPath:e,constantSuper:s,file:n,refToPreserve:t,getSuperRef:r,getObjectRef(){return l.needsClassRef=!0,q.types.isStaticBlock!=null&&q.types.isStaticBlock(e.node)||e.node.static?t:q.types.memberExpression(t,q.types.identifier("prototype"))}}).replace(),(i||e.isProperty())&&e.traverse(Zve,l),a!=null&&(o=l.classRef)!=null&&o.name&&l.classRef.name!==(a==null?void 0:a.name)&&e.traverse(e1e,l),l.needsClassRef}function r1e({key:e,computed:t}){return e.type==="Identifier"?!t&&(e.name==="name"||e.name==="length"):e.type==="StringLiteral"?e.value==="name"||e.value==="length":!1}function qt(e,t){return q.types.inheritLeadingComments(e,t.node),q.types.inheritInnerComments(e,t.node),e}function n1e(e,t,r,n,i,s,a,o,l){let u=!1,c,f=[],d=[],m=[],S=q.types.isIdentifier(t)?()=>t:()=>{var p;return(p=c)!=null||(c=r[0].scope.generateUidIdentifierBasedOnNode(t)),c};for(let p of r){p.isClassProperty()&&Rve.assertFieldTransformed(p);let E=!(q.types.isStaticBlock!=null&&q.types.isStaticBlock(p.node))&&p.node.static,b=!E,_=p.isPrivate(),D=!_,A=p.isProperty(),I=!A,O=p.isStaticBlock==null?void 0:p.isStaticBlock();if(E||I&&_||O){let F=t1e(p,e,S,i,O,o,l);u=u||F}switch(!0){case O:{let F=p.node.body;F.length===1&&q.types.isExpressionStatement(F[0])?f.push(qt(F[0],p)):f.push(q.types.inheritsComments(q.template.statement.ast`(() => { ${F} })()`,p.node));break}case(E&&_&&A&&a):u=!0,f.push(bO(q.types.cloneNode(e),p,n));break;case(E&&_&&A&&!a):u=!0,f.push(EO(p,n));break;case(E&&D&&A&&s):if(!r1e(p.node)){u=!0,f.push(vO(q.types.cloneNode(e),p));break}case(E&&D&&A&&!s):u=!0,f.push(TO(q.types.cloneNode(e),p,i));break;case(b&&_&&A&&a):d.push(bO(q.types.thisExpression(),p,n));break;case(b&&_&&A&&!a):d.push(Gve(q.types.thisExpression(),p,n,i));break;case(b&&_&&I&&a):d.unshift(Hve(q.types.thisExpression(),p,n)),m.push(Qf(p,n,a));break;case(b&&_&&I&&!a):d.unshift(Yve(q.types.thisExpression(),p,n,i)),m.push(Qf(p,n,a));break;case(E&&_&&I&&!a):u=!0,f.unshift(EO(p,n)),m.push(Qf(p,n,a));break;case(E&&_&&I&&a):u=!0,f.unshift(Qve(q.types.cloneNode(e),p,i,n)),m.push(Qf(p,n,a));break;case(b&&D&&A&&s):d.push(vO(q.types.thisExpression(),p));break;case(b&&D&&A&&!s):d.push(TO(q.types.thisExpression(),p,i));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:d.filter(Boolean),pureStaticNodes:m.filter(Boolean),wrapClass(p){for(let E of r)E.remove();return c&&(p.scope.push({id:q.types.cloneNode(c)}),p.set("superClass",q.types.assignmentExpression("=",c,p.node.superClass))),u&&(p.isClassExpression()?(p.scope.push({id:e}),p.replaceWith(q.types.assignmentExpression("=",q.types.cloneNode(e),p.node))):p.node.id||(p.node.id=e)),p}}}});var DE=g(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.buildDecoratedClass=f1e;sl.hasDecorators=a1e;sl.hasOwnDecorators=wE;var lt=Pt(),i1e=Xf(),s1e=rc();function wE(e){return!!(e.decorators&&e.decorators.length)}function a1e(e){return wE(e)||e.body.body.some(wE)}function da(e,t){return t?lt.types.objectProperty(lt.types.identifier(e),t):null}function o1e(e,t){return lt.types.objectMethod("method",lt.types.identifier(e),[],lt.types.blockStatement(t))}function CO(e){let t;return e.decorators&&e.decorators.length>0&&(t=lt.types.arrayExpression(e.decorators.map(r=>r.expression))),e.decorators=void 0,t}function l1e(e){return e.computed?e.key:lt.types.isIdentifier(e.key)?lt.types.stringLiteral(e.key.name):lt.types.stringLiteral(String(e.key.value))}function u1e(e,t,r,n){let i=n.isClassMethod();if(n.isPrivate())throw n.buildCodeFrameError(`Private ${i?"methods":"fields"} in decorated classes are not supported yet.`);if(n.node.type==="ClassAccessorProperty")throw n.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(n.node.type==="StaticBlock")throw n.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:s,scope:a}=n;n.isTSDeclareMethod()||new i1e.default({methodPath:n,objectRef:t,superRef:r,file:e,refToPreserve:t}).replace();let o=[da("kind",lt.types.stringLiteral(lt.types.isClassMethod(s)?s.kind:"field")),da("decorators",CO(s)),da("static",s.static&<.types.booleanLiteral(!0)),da("key",l1e(s))].filter(Boolean);if(lt.types.isClassMethod(s)){let l=s.computed?null:s.key,u=lt.types.toExpression(s);o.push(da("value",(0,s1e.default)({node:u,id:l,scope:a})||u))}else lt.types.isClassProperty(s)&&s.value?o.push(o1e("value",lt.template.statements.ast`return ${s.value}`)):o.push(da("value",a.buildUndefinedNode()));return n.remove(),lt.types.objectExpression(o)}function c1e(e){return e.addHelper("decorate")}function f1e(e,t,r,n){let{node:i,scope:s}=t,a=s.generateUidIdentifier("initialize"),o=i.id&&t.isDeclaration(),l=t.isInStrictMode(),{superClass:u}=i;i.type="ClassDeclaration",i.id||(i.id=lt.types.cloneNode(e));let c;u&&(c=s.generateUidIdentifierBasedOnNode(i.superClass,"super"),i.superClass=c);let f=CO(i),d=lt.types.arrayExpression(r.filter(E=>!E.node.abstract&&E.node.type!=="TSIndexSignature").map(E=>u1e(n,i.id,c,E))),m=lt.template.expression.ast`
${c1e(n)}(
${f||lt.types.nullLiteral()},
function (${a}, ${u?lt.types.cloneNode(c):null}) {
${i}
return { F: ${lt.types.cloneNode(i.id)}, d: ${d} };
},
${u}
)
`;l||m.arguments[1].body.directives.push(lt.types.directive(lt.types.directiveLiteral("use strict")));let S=m,p="arguments.1.body.body.0";return o&&(S=lt.template.statement.ast`let ${e} = ${m}`,p="declarations.0.init."+p),{instanceNodes:[lt.template.statement.ast`${lt.types.cloneNode(a)}(this)`],wrapClass(E){return E.replaceWith(S),E.get(p)}}}});var DO=g(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.extractComputedKeys=g1e;ep.injectInitialization=y1e;var sr=Pt(),p1e=wi(),d1e=sr.traverse.visitors.merge([{Super(e){let{node:t,parentPath:r}=e;r.isCallExpression({callee:t})&&this.push(r)}},p1e.default]),h1e={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:t}){t.hasOwnBinding(e.node.name)&&(t.rename(e.node.name),e.skip())}};function wO(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){let r=t.file.addHelper("classNameTDZError"),n=sr.types.callExpression(r,[sr.types.stringLiteral(e.node.name)]);e.replaceWith(sr.types.sequenceExpression([n,e.node])),e.skip()}}var m1e={ReferencedIdentifier:wO};function y1e(e,t,r,n){if(!r.length)return;let i=!!e.node.superClass;if(!t){let s=sr.types.classMethod("constructor",sr.types.identifier("constructor"),[],sr.types.blockStatement([]));i&&(s.params=[sr.types.restElement(sr.types.identifier("args"))],s.body.body.push(sr.template.statement.ast`super(...args)`)),[t]=e.get("body").unshiftContainer("body",s)}if(n&&n(h1e,{scope:t.scope}),i){let s=[];t.traverse(d1e,s);let a=!0;for(let o of s)a?(o.insertAfter(r),a=!1):o.insertAfter(r.map(l=>sr.types.cloneNode(l)))}else t.get("body").unshiftContainer("body",r)}function g1e(e,t,r){let n=[],i={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:r};for(let s of t){let a=s.get("key");a.isReferencedIdentifier()?wO(a,i):a.traverse(m1e,i);let o=s.node;if(!a.isConstantExpression()){let l=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:l,kind:"let"}),n.push(sr.types.expressionStatement(sr.types.assignmentExpression("=",sr.types.cloneNode(l),o.key))),o.key=sr.types.cloneNode(l)}}return n}});var NO=g(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.FEATURES=void 0;es.enableFeature=b1e;es.isLoose=_E;es.shouldTransform=E1e;var IO=DE(),un=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32});es.FEATURES=un;var _O=new Map([[un.fields,"@babel/plugin-proposal-class-properties"],[un.privateMethods,"@babel/plugin-proposal-private-methods"],[un.privateIn,"@babel/plugin-proposal-private-property-in-object"]]),IE="@babel/plugin-class-features/featuresKey",al="@babel/plugin-class-features/looseKey",Zi="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function b1e(e,t,r){(!Bn(e,t)||OO(e,t))&&(e.set(IE,e.get(IE)|t),r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(tp(e,t,!0),e.set(Zi,e.get(Zi)|t)):r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(tp(e,t,!1),e.set(Zi,e.get(Zi)|t)):tp(e,t,r));let n,i;for(let[s,a]of _O){if(!Bn(e,s))continue;let o=_E(e,s);if(!OO(e,s)){if(n===!o)throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled).");n=o,i=a}}if(n!==void 0)for(let[s,a]of _O)Bn(e,s)&&_E(e,s)!==n&&(tp(e,s,n),console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env config, it will not be used for ${a} since the "loose" mode option was set to "${n}" for ${i}.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
["${a}", { "loose": ${n} }]
to the "plugins" section of your Babel config.`))}function Bn(e,t){return!!(e.get(IE)&t)}function _E(e,t){return!!(e.get(al)&t)}function tp(e,t,r){r?e.set(al,e.get(al)|t):e.set(al,e.get(al)&~t),e.set(Zi,e.get(Zi)&~t)}function OO(e,t){return!!(e.get(Zi)&t)}function E1e(e,t){let r=null,n=null,i=null,s=null,a=null;(0,IO.hasOwnDecorators)(e.node)&&(r=e.get("decorators.0"));for(let o of e.get("body.body"))!r&&(0,IO.hasOwnDecorators)(o.node)&&(r=o.get("decorators.0")),!n&&o.isClassProperty()&&(n=o),!i&&o.isClassPrivateProperty()&&(i=o),!s&&o.isClassPrivateMethod!=null&&o.isClassPrivateMethod()&&(s=o),!a&&o.isStaticBlock!=null&&o.isStaticBlock()&&(a=o);if(r&&i)throw i.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(r&&s)throw s.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(r&&!Bn(t,un.decorators))throw e.buildCodeFrameError(`Decorators are not enabled.
If you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-proposal-class-properties" and enable loose mode, like so:
["@babel/plugin-proposal-decorators", { "version": "legacy" }]
["@babel/plugin-proposal-class-properties", { "loose": true }]`);if(s&&!Bn(t,un.privateMethods))throw s.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-proposal-private-methods` to your configuration.");if((n||i)&&!Bn(t,un.fields)&&!Bn(t,un.privateMethods))throw e.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-proposal-class-properties` to your configuration.");if(a&&!Bn(t,un.staticBlocks))throw e.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-proposal-class-static-block` to your configuration.");return!!(r||s||a||(n||i)&&Bn(t,un.fields))}});var ha=g(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});Object.defineProperty(ts,"FEATURES",{enumerable:!0,get:function(){return ul.FEATURES}});Object.defineProperty(ts,"buildCheckInRHS",{enumerable:!0,get:function(){return ll.buildCheckInRHS}});ts.createClassFeaturePlugin=x1e;Object.defineProperty(ts,"enableFeature",{enumerable:!0,get:function(){return ul.enableFeature}});Object.defineProperty(ts,"injectInitialization",{enumerable:!0,get:function(){return kE.injectInitialization}});var OE=Pt(),v1e=rc(),T1e=$a(),ll=AO(),NE=DE(),kE=DO(),ul=NO(),S1e=CE(),rp="7.21.0".split(".").reduce((e,t)=>e*1e5+ +t,0),ol="@babel/plugin-class-features/version";function x1e({name:e,feature:t,loose:r,manipulateOptions:n,api:i={assumption:()=>{}},inherits:s}){let a=i.assumption("setPublicClassFields"),o=i.assumption("privateFieldsAsSymbols"),l=i.assumption("privateFieldsAsProperties"),u=i.assumption("constantSuper"),c=i.assumption("noDocumentAll");if(l&&o)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let f=l||o;if(r===!0){let d=[];a!==void 0&&d.push('"setPublicClassFields"'),l!==void 0&&d.push('"privateFieldsAsProperties"'),o!==void 0&&d.push('"privateFieldsAsSymbols"'),d.length!==0&&console.warn(`[${e}]: You are using the "loose: true" option and you are explicitly setting a value for the ${d.join(" and ")} assumption${d.length>1?"s":""}. The "loose" option can cause incompatibilities with the other class features plugins, so it's recommended that you replace it with the following top-level option:
"assumptions": {
"setPublicClassFields": true,
"privateFieldsAsSymbols": true
}`)}return{name:e,manipulateOptions:n,inherits:s,pre(d){(0,ul.enableFeature)(d,t,r),(!d.get(ol)||d.get(ol)<rp)&&d.set(ol,rp)},visitor:{Class(d,{file:m}){if(m.get(ol)!==rp||!(0,ul.shouldTransform)(d,m))return;d.isClassDeclaration()&&(0,S1e.assertFieldTransformed)(d);let S=(0,ul.isLoose)(m,t),p,E=(0,NE.hasDecorators)(d.node),b=[],_=[],D=[],A=new Set,I=d.get("body");for(let L of I.get("body")){if((L.isClassProperty()||L.isClassMethod())&&L.node.computed&&D.push(L),L.isPrivate()){let{name:J}=L.node.key.id,pe=`get ${J}`,Ee=`set ${J}`;if(L.isClassPrivateMethod()){if(L.node.kind==="get"){if(A.has(pe)||A.has(J)&&!A.has(Ee))throw L.buildCodeFrameError("Duplicate private field");A.add(pe).add(J)}else if(L.node.kind==="set"){if(A.has(Ee)||A.has(J)&&!A.has(pe))throw L.buildCodeFrameError("Duplicate private field");A.add(Ee).add(J)}}else{if(A.has(J)&&!A.has(pe)&&!A.has(Ee)||A.has(J)&&(A.has(pe)||A.has(Ee)))throw L.buildCodeFrameError("Duplicate private field");A.add(J)}}L.isClassMethod({kind:"constructor"})?p=L:(_.push(L),(L.isProperty()||L.isPrivate()||L.isStaticBlock!=null&&L.isStaticBlock())&&b.push(L))}if(!b.length&&!E)return;let O=d.node.id,F;!O||d.isClassExpression()?((0,v1e.default)(d),F=d.scope.generateUidIdentifier("class")):F=OE.types.cloneNode(d.node.id);let z=(0,ll.buildPrivateNamesMap)(b),Y=(0,ll.buildPrivateNamesNodes)(z,l!=null?l:S,o!=null?o:!1,m);(0,ll.transformPrivateNamesUsage)(F,d,z,{privateFieldsAsProperties:f!=null?f:S,noDocumentAll:c,innerBinding:O},m);let Z,Te,Se,ut,se;E?(Te=ut=Z=[],{instanceNodes:Se,wrapClass:se}=(0,NE.buildDecoratedClass)(F,d,_,m)):(Z=(0,kE.extractComputedKeys)(d,D,m),{staticNodes:Te,pureStaticNodes:ut,instanceNodes:Se,wrapClass:se}=(0,ll.buildFieldsInitNodes)(F,d.node.superClass,b,z,m,a!=null?a:S,f!=null?f:S,u!=null?u:S,O)),Se.length>0&&(0,kE.injectInitialization)(d,p,Se,(L,J)=>{if(!E)for(let pe of b)OE.types.isStaticBlock!=null&&OE.types.isStaticBlock(pe.node)||pe.node.static||pe.traverse(L,J)});let M=se(d);M.insertBefore([...Y,...Z]),Te.length>0&&M.insertAfter(Te),ut.length>0&&M.find(L=>L.isStatement()||L.isDeclaration()).insertAfter(ut)},ExportDefaultDeclaration(d,{file:m}){{if(m.get(ol)!==rp)return;let S=d.get("declaration");S.isClassDeclaration()&&(0,NE.hasDecorators)(S.node)&&(S.node.id?(0,T1e.default)(d):S.node.type="ClassExpression")}}}}}});var FE=g(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.default=w1e;np.translateEnumValues=BO;var ma=Pt(),P1e=require("assert"),A1e=Jf(),kO=new WeakMap,C1e=ma.template.expression(`
(function (ID) {
ASSIGNMENTS;
return ID;
})(INIT)
`);function w1e(e,t){let{node:r,parentPath:n}=e;if(r.declare){e.remove();return}let i=r.id.name,{fill:s,data:a,isPure:o}=O1e(e,t,r.id);switch(n.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let u=t.isProgram(e.parent),c=l(n),f=t.objectExpression([]);(c||u)&&(f=t.logicalExpression("||",t.cloneNode(s.ID),f));let d=C1e(Object.assign({},s,{INIT:f}));o&&(0,A1e.default)(d),c?(n.isExportDeclaration()?n:e).replaceWith(t.expressionStatement(t.assignmentExpression("=",t.cloneNode(r.id),d))):e.scope.registerDeclaration(e.replaceWith(t.variableDeclaration(u?"var":"let",[t.variableDeclarator(r.id,d)]))[0]),kO.set(e.scope.getBindingIdentifier(i),a);break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function l(u){return u.isExportDeclaration()?l(u.parentPath):u.getData(i)?!0:(u.setData(i,!0),!1)}}var D1e=(0,ma.template)(`
ENUM["NAME"] = VALUE;
`),I1e=(0,ma.template)(`
ENUM[ENUM["NAME"] = VALUE] = "NAME";
`),_1e=(e,t)=>(e?D1e:I1e)(t);function O1e(e,t,r){let{enumValues:n,data:i,isPure:s}=BO(e,t),a=n.map(([o,l])=>_1e(t.isStringLiteral(l),{ENUM:t.cloneNode(r),NAME:o,VALUE:l}));return{fill:{ID:t.cloneNode(r),ASSIGNMENTS:a},data:i,isPure:s}}function FO(e,t){let{seen:r,path:n,t:i}=t,s=e.node.name;r.has(s)&&!e.scope.hasOwnBinding(s)&&(e.replaceWith(i.memberExpression(i.cloneNode(n.node.id),i.cloneNode(e.node))),e.skip())}var N1e={ReferencedIdentifier:FO};function BO(e,t){let r=new Map,n=-1,i,s=!0,a=e.get("members").map(o=>{let l=o.node,u=t.isIdentifier(l.id)?l.id.name:l.id.value,c=o.get("initializer"),f=l.initializer,d;if(f)n=jO(c,r),n!==void 0?(r.set(u,n),typeof n=="number"?d=t.numericLiteral(n):(P1e(typeof n=="string"),d=t.stringLiteral(n))):(s&&(s=c.isPure()),c.isReferencedIdentifier()?FO(c,{t,seen:r,path:e}):c.traverse(N1e,{t,seen:r,path:e}),d=c.node,r.set(u,void 0));else if(typeof n=="number")n+=1,d=t.numericLiteral(n),r.set(u,n);else{if(typeof n=="string")throw e.buildCodeFrameError("Enum member must have initializer.");{let m=t.memberExpression(t.cloneNode(e.node.id),t.stringLiteral(i),!0);d=t.binaryExpression("+",t.numericLiteral(1),m),r.set(u,void 0)}}return i=u,[u,d]});return{isPure:s,data:r,enumValues:a}}function jO(e,t,r=new Set){return n(e);function n(o){let l=o.node;switch(l.type){case"MemberExpression":return i(o,t,r);case"StringLiteral":return l.value;case"UnaryExpression":return s(o);case"BinaryExpression":return a(o);case"NumericLiteral":return l.value;case"ParenthesizedExpression":return n(o.get("expression"));case"Identifier":return i(o,t,r);case"TemplateLiteral":{if(l.quasis.length===1)return l.quasis[0].value.cooked;let u=o.get("expressions"),c=l.quasis,f="";for(let d=0;d<c.length;d++)if(f+=c[d].value.cooked,d+1<c.length){let m=i(u[d],t,r);if(m===void 0)return;f+=m}return f}default:return}}function i(o,l,u){if(o.isMemberExpression()){let c=o.node,f=c.object,d=c.property;if(!ma.types.isIdentifier(f)||(c.computed?!ma.types.isStringLiteral(d):!ma.types.isIdentifier(d)))return;let m=o.scope.getBindingIdentifier(f.name),S=kO.get(m);return S?S.get(d.computed?d.value:d.name):void 0}else if(o.isIdentifier()){let c=o.node.name,f=l==null?void 0:l.get(c);if(f!==void 0)return f;if(u.has(o.node))return;let d=o.resolve();if(d)return u.add(o.node),f=jO(d,void 0,u),l==null||l.set(c,f),f}}function s(o){let l=n(o.get("argument"));if(l!==void 0)switch(o.node.operator){case"+":return l;case"-":return-l;case"~":return~l;default:return}}function a(o){let l=n(o.get("left"));if(l===void 0)return;let u=n(o.get("right"));if(u!==void 0)switch(o.node.operator){case"|":return l|u;case"&":return l&u;case">>":return l>>u;case">>>":return l>>>u;case"<<":return l<<u;case"^":return l^u;case"*":return l*u;case"/":return l/u;case"+":return l+u;case"-":return l-u;case"%":return l%u;case"**":return Math.pow(l,u);default:return}}}});var LO=g(BE=>{"use strict";Object.defineProperty(BE,"__esModule",{value:!0});BE.default=F1e;var k1e=FE();function F1e(e,t){let{name:r}=e.node.id,n=e.parentPath.isExportNamedDeclaration(),i=n;!i&&t.isProgram(e.parent)&&(i=e.parent.body.some(o=>t.isExportNamedDeclaration(o)&&o.exportKind!=="type"&&!o.source&&o.specifiers.some(l=>t.isExportSpecifier(l)&&l.exportKind!=="type"&&l.local.name===r)));let{enumValues:s}=(0,k1e.translateEnumValues)(e,t);if(i){let o=t.objectExpression(s.map(([l,u])=>t.objectProperty(t.isValidIdentifier(l)?t.identifier(l):t.stringLiteral(l),u)));e.scope.hasOwnBinding(r)?(n?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,o]))):(e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,o)])),e.scope.registerDeclaration(e));return}let a=new Map(s);e.scope.path.traverse({Scope(o){o.scope.hasOwnBinding(r)&&o.skip()},MemberExpression(o){if(!t.isIdentifier(o.node.object,{name:r}))return;let l;if(o.node.computed)if(t.isStringLiteral(o.node.property))l=o.node.property.value;else return;else if(t.isIdentifier(o.node.property))l=o.node.property.name;else return;a.has(l)&&o.replaceWith(t.cloneNode(a.get(l)))}}),e.remove()}});var RO=g(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.default=B1e;var Ze=Pt();function B1e(e,t){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!t)throw e.get("id").buildCodeFrameError("Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let r=e.node.id.name,n=LE(e,Ze.types.cloneNode(e.node,!0)),i=e.scope.hasOwnBinding(r);e.parent.type==="ExportNamedDeclaration"?i?e.parentPath.replaceWith(n):(e.parentPath.insertAfter(n),e.replaceWith(ip(r)),e.scope.registerDeclaration(e.parentPath)):i?e.replaceWith(n):e.scope.registerDeclaration(e.replaceWithMultiple([ip(r),n])[0])}function ip(e){return Ze.types.variableDeclaration("let",[Ze.types.variableDeclarator(Ze.types.identifier(e))])}function jE(e,t){return Ze.types.memberExpression(Ze.types.identifier(e),Ze.types.identifier(t))}function j1e(e,t,r){if(e.kind!=="const")throw r.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel. Change to const or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let{declarations:n}=e;if(n.every(a=>Ze.types.isIdentifier(a.id))){for(let a of n)a.init=Ze.types.assignmentExpression("=",jE(t,a.id.name),a.init);return[e]}let i=Ze.types.getBindingIdentifiers(e),s=[];for(let a in i)s.push(Ze.types.assignmentExpression("=",jE(t,a),Ze.types.cloneNode(i[a])));return[e,Ze.types.expressionStatement(Ze.types.sequenceExpression(s))]}function MO(e,t){return e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function LE(e,t,r){let n=new Set,i=t.id;Ze.types.assertIdentifier(i);let s=e.scope.generateUid(i.name),a=Ze.types.isTSModuleBlock(t.body)?t.body.body:[Ze.types.exportNamedDeclaration(t.body)];for(let l=0;l<a.length;l++){let u=a[l];switch(u.type){case"TSModuleDeclaration":{if(!Ze.types.isIdentifier(u.id))throw MO(e,u);let c=LE(e,u),f=u.id.name;n.has(f)?a[l]=c:(n.add(f),a.splice(l++,1,ip(f),c));continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":n.add(u.id.name);continue;case"VariableDeclaration":{for(let c in Ze.types.getBindingIdentifiers(u))n.add(c);continue}default:continue;case"ExportNamedDeclaration":}if(!("declare"in u.declaration&&u.declaration.declare))switch(u.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{let c=u.declaration.id.name;n.add(c),a.splice(l++,1,u.declaration,Ze.types.expressionStatement(Ze.types.assignmentExpression("=",jE(s,c),Ze.types.identifier(c))));break}case"VariableDeclaration":{let c=j1e(u.declaration,s,e.hub);a.splice(l,c.length,...c),l+=c.length-1;break}case"TSModuleDeclaration":{if(!Ze.types.isIdentifier(u.declaration.id))throw MO(e,u.declaration);let c=LE(e,u.declaration,Ze.types.identifier(s)),f=u.declaration.id.name;n.has(f)?a[l]=c:(n.add(f),a.splice(l++,1,ip(f),c))}}}let o=Ze.types.objectExpression([]);if(r){let l=Ze.types.memberExpression(r,i);o=Ze.template.expression.ast`
${Ze.types.cloneNode(l)} ||
(${Ze.types.cloneNode(l)} = ${o})
`}return Ze.template.statement.ast`
(function (${Ze.types.identifier(s)}) {
${a}
})(${i} || (${Ze.types.cloneNode(i)} = ${o}));
`}});var UO=g(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.default=void 0;var L1e=tt(),M1e=tO(),R1e=ha(),q1e=LO(),U1e=FE(),V1e=RO();function $1e(e){switch(e.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return e.parentPath.findParent(t=>t.type!=="TSQualifiedName").type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return e.parent.exportKind==="type"||e.parentPath.parent.exportKind==="type";default:return!1}}var op=new WeakMap,Fr=new WeakMap,qO=new WeakSet;function RE({scope:e},t){return e.hasBinding(t)?!1:op.get(e).has(t)?!0:(console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.
This problem is likely caused by another plugin injecting
"${t}" without registering it in the scope tracker. If you are the author
of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1)}function sp(e,t){op.get(e).add(t)}function ap(e){let t=e.getBindingIdentifiers();for(let r of Object.keys(t)){let n=e.scope.getBinding(r);n&&n.identifier===t[r]&&n.scope.removeBinding(r)}e.opts.noScope=!0,e.remove(),e.opts.noScope=!1}var K1e=(0,L1e.declare)((e,t)=>{let{types:r,template:n}=e;e.assertVersion(7);let i=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/,{allowNamespaces:s=!0,jsxPragma:a="React.createElement",jsxPragmaFrag:o="React.Fragment",onlyRemoveTypeImports:l=!1,optimizeConstEnums:u=!1}=t;var{allowDeclareFields:c=!1}=t;let f={field(p){let{node:E}=p;if(!c&&E.declare)throw p.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(E.declare){if(E.value)throw p.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");E.decorators||p.remove()}else if(E.definite){if(E.value)throw p.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");!c&&!E.decorators&&!r.isClassPrivateProperty(E)&&p.remove()}else(E.abstract||!c&&!E.value&&!E.decorators&&!r.isClassPrivateProperty(E))&&p.remove();E.accessibility&&(E.accessibility=null),E.abstract&&(E.abstract=null),E.readonly&&(E.readonly=null),E.optional&&(E.optional=null),E.typeAnnotation&&(E.typeAnnotation=null),E.definite&&(E.definite=null),E.declare&&(E.declare=null),E.override&&(E.override=null)},method({node:p}){p.accessibility&&(p.accessibility=null),p.abstract&&(p.abstract=null),p.optional&&(p.optional=null),p.override&&(p.override=null)},constructor(p,E){p.node.accessibility&&(p.node.accessibility=null);let b=[],{scope:_}=p;for(let D of p.get("params")){let A=D.node;if(A.type==="TSParameterProperty"){let I=A.parameter;if(qO.has(I))continue;qO.add(I);let O;if(r.isIdentifier(I))O=I;else if(r.isAssignmentPattern(I)&&r.isIdentifier(I.left))O=I.left;else throw D.buildCodeFrameError("Parameter properties can not be destructuring patterns.");b.push(n.statement.ast`
this.${r.cloneNode(O)} = ${r.cloneNode(O)}`),D.replaceWith(D.get("parameter")),_.registerBinding("param",D)}}(0,R1e.injectInitialization)(E,p,b)}};return{name:"transform-typescript",inherits:M1e.default,visitor:{Pattern:m,Identifier:m,RestElement:m,Program:{enter(p,E){let{file:b}=E,_=null,D=null,A=p.scope;if(op.has(A)||op.set(A,new Set),b.ast.comments)for(let F of b.ast.comments){let z=i.exec(F.value);z&&(z[1]?D=z[2]:_=z[2])}let I=_||a;I&&([I]=I.split("."));let O=D||o;O&&([O]=O.split("."));for(let F of p.get("body")){if(F.isImportDeclaration()){if(Fr.has(E.file.ast.program)||Fr.set(E.file.ast.program,!0),F.node.importKind==="type"){for(let Te of F.node.specifiers)sp(A,Te.local.name);F.remove();continue}let z=new Set,Y=F.node.specifiers.length,Z=()=>Y>0&&Y===z.size;for(let Te of F.node.specifiers)if(Te.type==="ImportSpecifier"&&Te.importKind==="type"){sp(A,Te.local.name);let Se=F.scope.getBinding(Te.local.name);Se&&z.add(Se.path)}if(l)Fr.set(p.node,!1);else{if(F.node.specifiers.length===0){Fr.set(p.node,!1);continue}for(let Te of F.node.specifiers){let Se=F.scope.getBinding(Te.local.name);Se&&!z.has(Se.path)&&(S({binding:Se,programPath:p,pragmaImportName:I,pragmaFragImportName:O})?z.add(Se.path):Fr.set(p.node,!1))}}if(Z()&&!l)F.remove();else for(let Te of z)Te.remove();continue}if(F.isExportDeclaration()&&(F=F.get("declaration")),F.isVariableDeclaration({declare:!0}))for(let z of Object.keys(F.getBindingIdentifiers()))sp(A,z);else(F.isTSTypeAliasDeclaration()||F.isTSDeclareFunction()&&F.get("id").isIdentifier()||F.isTSInterfaceDeclaration()||F.isClassDeclaration({declare:!0})||F.isTSEnumDeclaration({declare:!0})||F.isTSModuleDeclaration({declare:!0})&&F.get("id").isIdentifier())&&sp(A,F.node.id.name)}},exit(p){p.node.sourceType==="module"&&Fr.get(p.node)&&p.pushContainer("body",r.exportNamedDeclaration())}},ExportNamedDeclaration(p,E){if(Fr.has(E.file.ast.program)||Fr.set(E.file.ast.program,!0),p.node.exportKind==="type"){p.remove();return}if(p.node.source&&p.node.specifiers.length>0&&p.node.specifiers.every(b=>b.type==="ExportSpecifier"&&b.exportKind==="type")){p.remove();return}if(!p.node.source&&p.node.specifiers.length>0&&p.node.specifiers.every(b=>r.isExportSpecifier(b)&&RE(p,b.local.name))){p.remove();return}Fr.set(E.file.ast.program,!1)},ExportAllDeclaration(p){p.node.exportKind==="type"&&p.remove()},ExportSpecifier(p){(!p.parent.source&&RE(p,p.node.local.name)||p.node.exportKind==="type")&&p.remove()},ExportDefaultDeclaration(p,E){if(Fr.has(E.file.ast.program)||Fr.set(E.file.ast.program,!0),r.isIdentifier(p.node.declaration)&&RE(p,p.node.declaration.name)){p.remove();return}Fr.set(E.file.ast.program,!1)},TSDeclareFunction(p){ap(p)},TSDeclareMethod(p){ap(p)},VariableDeclaration(p){p.node.declare&&ap(p)},VariableDeclarator({node:p}){p.definite&&(p.definite=null)},TSIndexSignature(p){p.remove()},ClassDeclaration(p){let{node:E}=p;E.declare&&ap(p)},Class(p){let{node:E}=p;E.typeParameters&&(E.typeParameters=null),E.superTypeParameters&&(E.superTypeParameters=null),E.implements&&(E.implements=null),E.abstract&&(E.abstract=null),p.get("body.body").forEach(b=>{b.isClassMethod()||b.isClassPrivateMethod()?b.node.kind==="constructor"?f.constructor(b,p):f.method(b):(b.isClassProperty()||b.isClassPrivateProperty()||b.isClassAccessorProperty())&&f.field(b)})},Function(p){let{node:E}=p;E.typeParameters&&(E.typeParameters=null),E.returnType&&(E.returnType=null);let b=E.params;b.length>0&&r.isIdentifier(b[0],{name:"this"})&&b.shift()},TSModuleDeclaration(p){(0,V1e.default)(p,s)},TSInterfaceDeclaration(p){p.remove()},TSTypeAliasDeclaration(p){p.remove()},TSEnumDeclaration(p){u&&p.node.const?(0,q1e.default)(p,r):(0,U1e.default)(p,r)},TSImportEqualsDeclaration(p){if(r.isTSExternalModuleReference(p.node.moduleReference))throw p.buildCodeFrameError(`\`import ${p.node.id.name} = require('${p.node.moduleReference.expression.value}')\` is not supported by @babel/plugin-transform-typescript
Please consider using \`import ${p.node.id.name} from '${p.node.moduleReference.expression.value}';\` alongside Typescript's --allowSyntheticDefaultImports option.`);p.replaceWith(r.variableDeclaration("var",[r.variableDeclarator(p.node.id,d(p.node.moduleReference))])),p.scope.registerDeclaration(p)},TSExportAssignment(p){throw p.buildCodeFrameError("`export =` is not supported by @babel/plugin-transform-typescript\nPlease consider using `export <value>;`.")},TSTypeAssertion(p){p.replaceWith(p.node.expression)},[`TSAsExpression${r.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](p){let{node:E}=p;do E=E.expression;while(r.isTSAsExpression(E)||r.isTSSatisfiesExpression!=null&&r.isTSSatisfiesExpression(E));p.replaceWith(E)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](p){p.replaceWith(p.node.expression)},CallExpression(p){p.node.typeParameters=null},OptionalCallExpression(p){p.node.typeParameters=null},NewExpression(p){p.node.typeParameters=null},JSXOpeningElement(p){p.node.typeParameters=null},TaggedTemplateExpression(p){p.node.typeParameters=null}}};function d(p){return r.isTSQualifiedName(p)?r.memberExpression(d(p.left),p.right):p}function m({node:p}){p.typeAnnotation&&(p.typeAnnotation=null),r.isIdentifier(p)&&p.optional&&(p.optional=null)}function S({binding:p,programPath:E,pragmaImportName:b,pragmaFragImportName:_}){for(let A of p.referencePaths)if(!$1e(A))return!1;if(p.identifier.name!==b&&p.identifier.name!==_)return!0;let D=!1;return E.traverse({"JSXElement|JSXFragment"(A){D=!0,A.stop()}}),!D}});lp.default=K1e});var UE=g(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});var W1e=tt(),z1e=UO(),G1e=mf();function H1e(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var cl=H1e(z1e),rs=new G1e.OptionValidator("@babel/preset-typescript");function Y1e(e={}){let{allowNamespaces:t=!0,jsxPragma:r,onlyRemoveTypeImports:n}=e,i={allExtensions:"allExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",isTSX:"isTSX",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums"},s=rs.validateStringOption(i.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment"),a=rs.validateBooleanOption(i.allExtensions,e.allExtensions,!1),o=rs.validateBooleanOption(i.isTSX,e.isTSX,!1);o&&rs.invariant(a,"isTSX:true requires allExtensions:true");let l=rs.validateBooleanOption(i.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,!1);l&&rs.invariant(a,"disallowAmbiguousJSXLike:true requires allExtensions:true");let u=rs.validateBooleanOption(i.optimizeConstEnums,e.optimizeConstEnums,!1);return{allExtensions:a,allowNamespaces:t,disallowAmbiguousJSXLike:l,isTSX:o,jsxPragma:r,jsxPragmaFrag:s,onlyRemoveTypeImports:n,optimizeConstEnums:u}}var X1e=W1e.declarePreset((e,t)=>{e.assertVersion(7);let{allExtensions:r,allowNamespaces:n,disallowAmbiguousJSXLike:i,isTSX:s,jsxPragma:a,jsxPragmaFrag:o,onlyRemoveTypeImports:l,optimizeConstEnums:u}=Y1e(t),c=(f,d)=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:n,disallowAmbiguousJSXLike:d,isTSX:f,jsxPragma:a,jsxPragmaFrag:o,onlyRemoveTypeImports:l,optimizeConstEnums:u});return{overrides:r?[{plugins:[[cl.default,c(s,i)]]}]:[{test:/\.ts$/,plugins:[[cl.default,c(!1,!1)]]},{test:/\.mts$/,sourceType:"module",plugins:[[cl.default,c(!1,!0)]]},{test:/\.cts$/,sourceType:"script",plugins:[[cl.default,c(!1,!0)]]},{test:/\.tsx$/,plugins:[[cl.default,c(!0,!1)]]}]}});qE.default=X1e});var HE=g(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.default=eTe;fl.supportsESM=void 0;var VO=zs();function KE(){let e=require("path");return KE=function(){return e},e}function WO(){let e=require("url");return WO=function(){return e},e}function WE(){let e=li();return WE=function(){return e},e}var zE=ci(),GE=Ki(),J1e=pE();function $O(e,t,r,n,i,s,a){try{var o=e[s](a),l=o.value}catch(u){r(u);return}o.done?t(l):Promise.resolve(l).then(n,i)}function Q1e(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function a(l){$O(s,n,i,a,o,"next",l)}function o(l){$O(s,n,i,a,o,"throw",l)}a(void 0)})}}var VE;try{VE=X_()}catch{}var Z1e=WE().satisfies(process.versions.node,"^12.17 || >=13.2");fl.supportsESM=Z1e;function*eTe(e,t){switch(KE().extname(e)){case".cjs":return KO(e,arguments[2]);case".mjs":break;case".cts":return tTe(e);default:try{return KO(e,arguments[2])}catch(r){if(r.code!=="ERR_REQUIRE_ESM")throw r}}if(yield*(0,VO.isAsync)())return yield*(0,VO.waitFor)(rTe(e));throw new GE.default(t,e)}function tTe(e){let t=".cts",r=!!(require.extensions[".ts"]||require.extensions[".cts"]||require.extensions[".mts"]),n;if(!r){let i={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:KE().basename(e),presets:[[nTe(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};n=function(s,a){if(n&&a.endsWith(t))try{return s._compile((0,J1e.transformFileSync)(a,Object.assign({},i,{filename:a})).code,a)}catch(o){if(!r){let l=J_();WE().lt(l.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw o}return require.extensions[".js"](s,a)},require.extensions[t]=n}try{let i=(0,zE.endHiddenCallStack)(require)(e);return i!=null&&i.__esModule?i.default:i}finally{r||(require.extensions[t]===n&&delete require.extensions[t],n=void 0)}}function KO(e){let t=(0,zE.endHiddenCallStack)(require)(e);return t!=null&&t.__esModule?t.default||(arguments[1]?t:void 0):t}function rTe(e){return $E.apply(this,arguments)}function $E(){return $E=Q1e(function*(e){if(!VE)throw new GE.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
`,e);return(yield(0,zE.endHiddenCallStack)(VE)((0,WO().pathToFileURL)(e))).default}),$E.apply(this,arguments)}function nTe(e){try{return UE()}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;let r="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(r+=`
If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
packageExtensions:
"@babel/core@*":
peerDependencies:
"@babel/preset-typescript": "*"
`),new GE.default(r,e)}}});var ZO=g(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.ROOT_CONFIG_FILENAMES=void 0;jn.findConfigUpwards=mTe;jn.findRelativeConfig=yTe;jn.findRootConfig=gTe;jn.loadConfig=bTe;jn.resolveShowConfigPath=ETe;function zO(){let e=ys();return zO=function(){return e},e}function XE(){let e=require("fs");return XE=function(){return e},e}function dr(){let e=require("path");return dr=function(){return e},e}function GO(){let e=wD();return GO=function(){return e},e}function HO(){let e=fr();return HO=function(){return e},e}var YO=$i(),iTe=Dg(),XO=yg(),sTe=HE(),aTe=mb(),Jr=Ki(),oTe=Vc(),lTe=ci(),up=zO()("babel:config:loading:files:configuration"),JE=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];jn.ROOT_CONFIG_FILENAMES=JE;var uTe=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],cTe=".babelignore",YE=new Set,fTe=(0,YO.makeStrongCache)(function*(t,r){if(!XE().existsSync(t))return r.never(),null;if(YE.has(t))return r.never(),up("Auto-ignoring usage of config %o.",t),{filepath:t,dirname:dr().dirname(t),options:{}};let n;try{YE.add(t),n=yield*(0,sTe.default)(t,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously.")}finally{YE.delete(t)}let i=!1;if(typeof n=="function"&&(yield*[],n=(0,lTe.endHiddenCallStack)(n)((0,iTe.makeConfigAPI)(r)),i=!0),!n||typeof n!="object"||Array.isArray(n))throw new Jr.default("Configuration should be an exported JavaScript object.",t);if(typeof n.then=="function")throw new Jr.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",t);return i&&!r.configured()&&vTe(t),{filepath:t,dirname:dr().dirname(t),options:n}}),pTe=(0,YO.makeWeakCacheSync)(e=>{let t=e.options.babel;if(typeof t=="undefined")return null;if(typeof t!="object"||Array.isArray(t)||t===null)throw new Jr.default(".babel property must be an object",e.filepath);return{filepath:e.filepath,dirname:e.dirname,options:t}}),dTe=(0,XO.makeStaticFileCache)((e,t)=>{let r;try{r=GO().parse(t)}catch(n){throw new Jr.default(`Error while parsing config - ${n.message}`,e)}if(!r)throw new Jr.default("No config detected",e);if(typeof r!="object")throw new Jr.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new Jr.default("Expected config object but found array",e);return delete r.$schema,{filepath:e,dirname:dr().dirname(e),options:r}}),hTe=(0,XO.makeStaticFileCache)((e,t)=>{let r=dr().dirname(e),n=t.split(`
`).map(i=>i.replace(/#(.*?)$/,"").trim()).filter(i=>!!i);for(let i of n)if(i[0]==="!")throw new Jr.default("Negation of file paths is not supported.",e);return{filepath:e,dirname:dr().dirname(e),ignore:n.map(i=>(0,aTe.default)(i,r))}});function mTe(e){let t=e;for(;;){for(let n of JE)if(XE().existsSync(dr().join(t,n)))return t;let r=dr().dirname(t);if(t===r)break;t=r}return null}function*yTe(e,t,r){let n=null,i=null,s=dr().dirname(e.filepath);for(let o of e.directories){if(!n){var a;n=yield*JO(uTe,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?pTe(e.pkg):null)}if(!i){let l=dr().join(o,cTe);i=yield*hTe(l),i&&up("Found ignore %o from %o.",i.filepath,s)}}return{config:n,ignore:i}}function gTe(e,t,r){return JO(JE,e,t,r)}function*JO(e,t,r,n,i=null){let a=(yield*HO().all(e.map(o=>QO(dr().join(t,o),r,n)))).reduce((o,l)=>{if(l&&o)throw new Jr.default(`Multiple configuration files found. Please remove one:
- ${dr().basename(o.filepath)}
- ${l.filepath}
from ${t}`);return l||o},i);return a&&up("Found configuration %o from %o.",a.filepath,t),a}function*bTe(e,t,r,n){let i=(((a,o)=>(a=a.split("."),o=o.split("."),+a[0]>+o[0]||a[0]==o[0]&&+a[1]>=+o[1]))(process.versions.node,"8.9")?require.resolve:(a,{paths:[o]},l=require("module"))=>{let u=l._findPath(a,l._nodeModulePaths(o).concat(o));if(u)return u;throw u=new Error(`Cannot resolve module '${a}'`),u.code="MODULE_NOT_FOUND",u})(e,{paths:[t]}),s=yield*QO(i,r,n);if(!s)throw new Jr.default("Config file contains no configuration data",i);return up("Loaded config %o from %o.",e,t),s}function QO(e,t,r){switch(dr().extname(e)){case".js":case".cjs":case".mjs":case".cts":return fTe(e,{envName:t,caller:r});default:return dTe(e)}}function*ETe(e){let t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){let r=dr().resolve(e,t);if(!(yield*oTe.stat(r)).isFile())throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return r}return null}function vTe(e){throw new Jr.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
for various types of caching, using the first param of their handler functions:
module.exports = function(api) {
// The API exposes the following:
// Cache the returned value forever and don't call this function again.
api.cache(true);
// Don't cache at all. Not recommended because it will be very slow.
api.cache(false);
// Cached based on the value of some function. If this function returns a value different from
// a previously-encountered value, the plugins will re-evaluate.
var env = api.cache(() => process.env.NODE_ENV);
// If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
// any possible NODE_ENV value that might come up during plugin execution.
var isProd = api.cache(() => process.env.NODE_ENV === "production");
// .cache(fn) will perform a linear search though instances to find the matching plugin based
// based on previous instantiated plugins. If you want to recreate the plugin and discard the
// previous instance whenever something changes, you may use:
var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
// Note, we also expose the following more-verbose versions of the above examples:
api.cache.forever(); // api.cache(true)
api.cache.never(); // api.cache(false)
api.cache.using(fn); // api.cache(fn)
// Return the value that will be cached.
return { };
};`,e)}});var xN=g(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.moduleResolve=SN;mp.resolve=ESe;function cn(){let e=require("assert");return cn=function(){return e},e}function ya(){let e=TTe(require("fs"),!0);return ya=function(){return e},e}function ga(){let e=require("process");return ga=function(){return e},e}function me(){let e=require("url");return me=function(){return e},e}function dl(){let e=require("path");return dl=function(){return e},e}function rv(){let e=require("module");return rv=function(){return e},e}function cN(){let e=require("v8");return cN=function(){return e},e}function hl(){let e=require("util");return hl=function(){return e},e}function fN(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(fN=function(n){return n?r:t})(e)}function TTe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=fN(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(n,s,a):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}var STe=ga().platform==="win32",xTe={}.hasOwnProperty,PTe=/^([A-Z][a-z\d]*)+$/,ATe=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Ut={};function pp(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}var pN=new Map,CTe="__node_internal_",eN;Ut.ERR_INVALID_ARG_TYPE=Br("ERR_INVALID_ARG_TYPE",(e,t,r)=>{cn()(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";if(e.endsWith(" argument"))n+=`${e} `;else{let o=e.includes(".")?"property":"argument";n+=`"${e}" ${o} `}n+="must be ";let i=[],s=[],a=[];for(let o of t)cn()(typeof o=="string","All expected entries have to be of type string"),ATe.has(o)?i.push(o.toLowerCase()):PTe.exec(o)===null?(cn()(o!=="object",'The value "object" should be written as "Object"'),a.push(o)):s.push(o);if(s.length>0){let o=i.indexOf("object");o!==-1&&(i.slice(o,1),s.push("Object"))}return i.length>0&&(n+=`${i.length>1?"one of type":"of type"} ${pp(i,"or")}`,(s.length>0||a.length>0)&&(n+=" or ")),s.length>0&&(n+=`an instance of ${pp(s,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${pp(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${OTe(r)}`,n},TypeError);Ut.ERR_INVALID_MODULE_SPECIFIER=Br("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);Ut.ERR_INVALID_PACKAGE_CONFIG=Br("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);Ut.ERR_INVALID_PACKAGE_TARGET=Br("ERR_INVALID_PACKAGE_TARGET",(e,t,r,n=!1,i=void 0)=>{let s=typeof r=="string"&&!n&&r.length>0&&!r.startsWith("./");return t==="."?(cn()(n===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${i?` imported from ${i}`:""}${s?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${i?` imported from ${i}`:""}${s?'; targets must start with "./"':""}`},Error);Ut.ERR_MODULE_NOT_FOUND=Br("ERR_MODULE_NOT_FOUND",(e,t,r="package")=>`Cannot find ${r} '${e}' imported from ${t}`,Error);Ut.ERR_NETWORK_IMPORT_DISALLOWED=Br("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Ut.ERR_PACKAGE_IMPORT_NOT_DEFINED=Br("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);Ut.ERR_PACKAGE_PATH_NOT_EXPORTED=Br("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);Ut.ERR_UNSUPPORTED_DIR_IMPORT=Br("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);Ut.ERR_UNKNOWN_FILE_EXTENSION=Br("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);Ut.ERR_INVALID_ARG_VALUE=Br("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=(0,hl().inspect)(t);return n.length>128&&(n=`${n.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);Ut.ERR_UNSUPPORTED_ESM_URL_SCHEME=Br("ERR_UNSUPPORTED_ESM_URL_SCHEME",(e,t)=>{let r=`Only URLs with a scheme in: ${pp(t)} are supported by the default ESM loader`;return STe&&e.protocol.length===2&&(r+=". On Windows, absolute paths must be valid file:// URLs"),r+=`. Received protocol '${e.protocol}'`,r},Error);function Br(e,t,r){return pN.set(e,t),wTe(r,e)}function wTe(e,t){return r;function r(...n){let i=Error.stackTraceLimit;tv()&&(Error.stackTraceLimit=0);let s=new e;tv()&&(Error.stackTraceLimit=i);let a=_Te(t,n,s);return Object.defineProperties(s,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),ITe(s),s.code=t,s}}function tv(){try{if(cN().startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):xTe.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function DTe(e){let t=CTe+e.name;return Object.defineProperty(e,"name",{value:t}),e}var ITe=DTe(function(e){let t=tv();return t&&(eN=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=eN),e});function _Te(e,t,r){let n=pN.get(e);if(cn()(n!==void 0,"expected `message` to be found"),typeof n=="function")return cn()(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,r,t);let i=/%[dfijoOs]/g,s=0;for(;i.exec(n)!==null;)s++;return cn()(s===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${s}).`),t.length===0?n:(t.unshift(n),Reflect.apply(hl().format,null,t))}function OTe(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,hl().inspect)(e,{depth:-1})}`;let t=(0,hl().inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}var NTe={read:FTe},kTe=NTe;function FTe(e){try{return{string:ya().default.readFileSync(dl().toNamespacedPath(dl().join(dl().dirname(e),"package.json")),"utf8")}}catch(t){let r=t;if(r.code==="ENOENT")return{string:void 0};throw r}}var{ERR_INVALID_PACKAGE_CONFIG:BTe}=Ut,dp=new Map;function dN(e,t,r){let n=dp.get(e);if(n!==void 0)return n;let i=kTe.read(e).string;if(i===void 0){let d={pjsonPath:e,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return dp.set(e,d),d}let s;try{s=JSON.parse(i)}catch(d){let m=d;throw new BTe(e,(r?`"${t}" from `:"")+(0,me().fileURLToPath)(r||t),m.message)}let{exports:a,imports:o,main:l,name:u,type:c}=s,f={pjsonPath:e,exists:!0,main:typeof l=="string"?l:void 0,name:typeof u=="string"?u:void 0,type:c==="module"||c==="commonjs"?c:"none",exports:a,imports:o&&typeof o=="object"?o:void 0};return dp.set(e,f),f}function nv(e){let t=new(me()).URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let s=dN((0,me().fileURLToPath)(t),e);if(s.exists)return s;let a=t;if(t=new(me()).URL("../package.json",t),t.pathname===a.pathname)break}let r=(0,me().fileURLToPath)(t),n={pjsonPath:r,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return dp.set(r,n),n}function jTe(e){return nv(e).type}var{ERR_UNKNOWN_FILE_EXTENSION:LTe}=Ut,MTe={}.hasOwnProperty,RTe={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function qTe(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}var tN={__proto__:null,"data:":UTe,"file:":$Te,"http:":rN,"https:":rN,"node:"(){return"builtin"}};function UTe(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return qTe(t)}function VTe(e){let t=e.pathname,r=t.length;for(;r--;){let n=t.codePointAt(r);if(n===47)return"";if(n===46)return t.codePointAt(r-1)===47?"":t.slice(r)}return""}function $Te(e,t,r){let n=VTe(e);if(n===".js")return jTe(e)==="module"?"module":"commonjs";let i=RTe[n];if(i)return i;if(r)return;let s=(0,me().fileURLToPath)(e);throw new LTe(n,s)}function rN(){}function hN(e,t){return MTe.call(tN,e.protocol)&&tN[e.protocol](e,t,!0)||null}var{ERR_INVALID_ARG_VALUE:KTe}=Ut,mN=Object.freeze(["node","import"]),WTe=new Set(mN);function zTe(){return mN}function GTe(){return WTe}function HTe(e){if(e!==void 0&&e!==zTe()){if(!Array.isArray(e))throw new KTe("conditions",e,"expected an array");return new Set(e)}return GTe()}var cp=RegExp.prototype[Symbol.replace],nN=!1,{ERR_NETWORK_IMPORT_DISALLOWED:QE,ERR_INVALID_MODULE_SPECIFIER:hp,ERR_INVALID_PACKAGE_CONFIG:yN,ERR_INVALID_PACKAGE_TARGET:YTe,ERR_MODULE_NOT_FOUND:iv,ERR_PACKAGE_IMPORT_NOT_DEFINED:XTe,ERR_PACKAGE_PATH_NOT_EXPORTED:JTe,ERR_UNSUPPORTED_DIR_IMPORT:QTe,ERR_UNSUPPORTED_ESM_URL_SCHEME:gN}=Ut,bN={}.hasOwnProperty,iN=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,sN=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,ZTe=/^\.|%|\\/,fp=/\*/g,eSe=/%2f|%5c/i,aN=new Set,tSe=/[/\\]{2}/;function oN(e,t,r,n,i,s,a){let o=(0,me().fileURLToPath)(n),l=tSe.exec(a?e:t)!==null;ga().emitWarning(`Use of deprecated ${l?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${i?"imports":"exports"}" field module resolution of the package at ${o}${s?` imported from ${(0,me().fileURLToPath)(s)}`:""}.`,"DeprecationWarning","DEP0166")}function lN(e,t,r,n){if(hN(e,{parentURL:r.href})!=="module")return;let s=(0,me().fileURLToPath)(e.href),a=(0,me().fileURLToPath)(new(me()).URL(".",t)),o=(0,me().fileURLToPath)(r);n?ga().emitWarning(`Package ${a} has a "main" field set to ${JSON.stringify(n)}, excluding the full filename and extension to the resolved file at "${s.slice(a.length)}", imported from ${o}.
Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):ga().emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${s.slice(a.length)}", imported from ${o}.
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function EN(e){try{return(0,ya().statSync)(e)}catch{return new(ya()).Stats}}function ZE(e){let t=(0,ya().statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r==null?!1:r}function rSe(e,t,r){let n;if(t.main!==void 0){if(n=new(me()).URL(t.main,e),ZE(n))return n;let a=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],o=-1;for(;++o<a.length&&(n=new(me()).URL(a[o],e),!ZE(n));)n=void 0;if(n)return lN(n,e,r,t.main),n}let i=["./index.js","./index.json","./index.node"],s=-1;for(;++s<i.length&&(n=new(me()).URL(i[s],e),!ZE(n));)n=void 0;if(n)return lN(n,e,r,t.main),n;throw new iv((0,me().fileURLToPath)(new(me()).URL(".",e)),(0,me().fileURLToPath)(r))}function nSe(e,t,r){if(eSe.exec(e.pathname)!==null)throw new hp(e.pathname,'must not include encoded "/" or "\\" characters',(0,me().fileURLToPath)(t));let n=(0,me().fileURLToPath)(e),i=EN(n.endsWith("/")?n.slice(-1):n);if(i.isDirectory()){let s=new QTe(n,(0,me().fileURLToPath)(t));throw s.url=String(e),s}if(!i.isFile())throw new iv(n||e.pathname,t&&(0,me().fileURLToPath)(t),"module");if(!r){let s=(0,ya().realpathSync)(n),{search:a,hash:o}=e;e=(0,me().pathToFileURL)(s+(n.endsWith(dl().sep)?"/":"")),e.search=a,e.hash=o}return e}function iSe(e,t,r){return new XTe(e,t&&(0,me().fileURLToPath)(new(me()).URL(".",t)),(0,me().fileURLToPath)(r))}function ev(e,t,r){return new JTe((0,me().fileURLToPath)(new(me()).URL(".",t)),e,r&&(0,me().fileURLToPath)(r))}function sSe(e,t,r,n,i){let s=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,me().fileURLToPath)(r)}`;throw new hp(e,s,i&&(0,me().fileURLToPath)(i))}function pl(e,t,r,n,i){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new YTe((0,me().fileURLToPath)(new(me()).URL(".",r)),e,t,n,i&&(0,me().fileURLToPath)(i))}function aSe(e,t,r,n,i,s,a,o,l){if(t!==""&&!s&&e[e.length-1]!=="/")throw pl(r,e,n,a,i);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let d=!1;try{new(me()).URL(e),d=!0}catch{}if(!d){let m=s?cp.call(fp,e,()=>t):e+t;return TN(m,n,l)}}throw pl(r,e,n,a,i)}if(iN.exec(e.slice(2))!==null)if(sN.exec(e.slice(2))===null){if(!o){let d=s?r.replace("*",()=>t):r+t,m=s?cp.call(fp,e,()=>t):e;oN(m,d,r,n,a,i,!0)}}else throw pl(r,e,n,a,i);let u=new(me()).URL(e,n),c=u.pathname,f=new(me()).URL(".",n).pathname;if(!c.startsWith(f))throw pl(r,e,n,a,i);if(t==="")return u;if(iN.exec(t)!==null){let d=s?r.replace("*",()=>t):r+t;if(sN.exec(t)===null){if(!o){let m=s?cp.call(fp,e,()=>t):e;oN(m,d,r,n,a,i,!1)}}else sSe(d,r,n,a,i)}return s?new(me()).URL(cp.call(fp,u.href,()=>t)):new(me()).URL(t,u)}function oSe(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function ba(e,t,r,n,i,s,a,o,l){if(typeof t=="string")return aSe(t,r,n,e,i,s,a,o,l);if(Array.isArray(t)){let u=t;if(u.length===0)return null;let c,f=-1;for(;++f<u.length;){let d=u[f],m;try{m=ba(e,d,r,n,i,s,a,o,l)}catch(S){let p=S;if(c=p,p.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw S}if(m!==void 0){if(m===null){c=null;continue}return m}}if(c==null)return null;throw c}if(typeof t=="object"&&t!==null){let u=Object.getOwnPropertyNames(t),c=-1;for(;++c<u.length;){let f=u[c];if(oSe(f))throw new yN((0,me().fileURLToPath)(e),i,'"exports" cannot contain numeric property keys.')}for(c=-1;++c<u.length;){let f=u[c];if(f==="default"||l&&l.has(f)){let d=t[f],m=ba(e,d,r,n,i,s,a,o,l);if(m===void 0)continue;return m}}return null}if(t===null)return null;throw pl(n,t,e,a,i)}function lSe(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let n=Object.getOwnPropertyNames(e),i=!1,s=0,a=-1;for(;++a<n.length;){let o=n[a],l=o===""||o[0]!==".";if(s++===0)i=l;else if(i!==l)throw new yN((0,me().fileURLToPath)(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return i}function uSe(e,t,r){let n=(0,me().fileURLToPath)(t);aN.has(n+"|"+e)||(aN.add(n+"|"+e),ga().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${(0,me().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function uN(e,t,r,n,i){let s=r.exports;if(lSe(s,e,n)&&(s={".":s}),bN.call(s,t)&&!t.includes("*")&&!t.endsWith("/")){let c=s[t],f=ba(e,c,"",t,n,!1,!1,!1,i);if(f==null)throw ev(t,e,n);return f}let a="",o="",l=Object.getOwnPropertyNames(s),u=-1;for(;++u<l.length;){let c=l[u],f=c.indexOf("*");if(f!==-1&&t.startsWith(c.slice(0,f))){t.endsWith("/")&&uSe(t,e,n);let d=c.slice(f+1);t.length>=c.length&&t.endsWith(d)&&vN(a,c)===1&&c.lastIndexOf("*")===f&&(a=c,o=t.slice(f,t.length-d.length))}}if(a){let c=s[a],f=ba(e,c,o,a,n,!0,!1,t.endsWith("/"),i);if(f==null)throw ev(t,e,n);return f}throw ev(t,e,n)}function vN(e,t){let r=e.indexOf("*"),n=t.indexOf("*"),i=r===-1?e.length:r+1,s=n===-1?t.length:n+1;return i>s?-1:s>i||r===-1?1:n===-1||e.length>t.length?-1:t.length>e.length?1:0}function cSe(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let s="is not a valid internal imports specifier name";throw new hp(e,s,(0,me().fileURLToPath)(t))}let n,i=nv(t);if(i.exists){n=(0,me().pathToFileURL)(i.pjsonPath);let s=i.imports;if(s)if(bN.call(s,e)&&!e.includes("*")){let a=ba(n,s[e],"",e,t,!1,!0,!1,r);if(a!=null)return a}else{let a="",o="",l=Object.getOwnPropertyNames(s),u=-1;for(;++u<l.length;){let c=l[u],f=c.indexOf("*");if(f!==-1&&e.startsWith(c.slice(0,-1))){let d=c.slice(f+1);e.length>=c.length&&e.endsWith(d)&&vN(a,c)===1&&c.lastIndexOf("*")===f&&(a=c,o=e.slice(f,e.length-d.length))}}if(a){let c=s[a],f=ba(n,c,o,a,t,!0,!0,!1,r);if(f!=null)return f}}}throw iSe(e,n,t)}function fSe(e,t){let r=e.indexOf("/"),n=!0,i=!1;e[0]==="@"&&(i=!0,r===-1||e.length===0?n=!1:r=e.indexOf("/",r+1));let s=r===-1?e:e.slice(0,r);if(ZTe.exec(s)!==null&&(n=!1),!n)throw new hp(e,"is not a valid package name",(0,me().fileURLToPath)(t));let a="."+(r===-1?"":e.slice(r));return{packageName:s,packageSubpath:a,isScoped:i}}function TN(e,t,r){if(rv().builtinModules.includes(e))return new(me()).URL("node:"+e);let{packageName:n,packageSubpath:i,isScoped:s}=fSe(e,t),a=nv(t);if(a.exists){let c=(0,me().pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==void 0&&a.exports!==null)return uN(c,i,a,t,r)}let o=new(me()).URL("./node_modules/"+n+"/package.json",t),l=(0,me().fileURLToPath)(o),u;do{if(!EN(l.slice(0,-13)).isDirectory()){u=l,o=new(me()).URL((s?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",o),l=(0,me().fileURLToPath)(o);continue}let f=dN(l,e,t);return f.exports!==void 0&&f.exports!==null?uN(o,i,f,t,r):i==="."?rSe(o,f,t):new(me()).URL(i,o)}while(l.length!==u.length);throw new iv(n,(0,me().fileURLToPath)(t))}function pSe(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function sv(e){return e===""?!1:e[0]==="/"?!0:pSe(e)}function SN(e,t,r,n){let i=t.protocol,s=i==="http:"||i==="https:",a;if(sv(e))a=new(me()).URL(e,t);else if(!s&&e[0]==="#")a=cSe(e,t,r);else try{a=new(me()).URL(e)}catch{s||(a=TN(e,t,r))}return cn()(a!==void 0,"expected to be defined"),a.protocol!=="file:"?a:nSe(a,t,n)}function dSe(e,t,r){if(r){let n=r.protocol;if(n==="http:"||n==="https:"){if(sv(e)){let i=t==null?void 0:t.protocol;if(i&&i!=="https:"&&i!=="http:")throw new QE(e,r,"remote imports cannot import from a local location.");return{url:(t==null?void 0:t.href)||""}}throw rv().builtinModules.includes(e)?new QE(e,r,"remote imports cannot import from a local location."):new QE(e,r,"only relative and absolute specifiers are supported.")}}}function hSe(e){return!!(e&&typeof e=="object"&&"href"in e&&typeof e.href=="string"&&"protocol"in e&&typeof e.protocol=="string"&&e.href&&e.protocol)}function mSe(e){if(e!==void 0&&typeof e!="string"&&!hSe(e))throw new Ut.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function ySe(e){let t=e.protocol;if(t!=="file:"&&t!=="data:"&&t!=="node:")throw new gN(e)}function gSe(e,t){let r=e==null?void 0:e.protocol;if(r&&r!=="file:"&&r!=="data:"&&(!t||r!=="https:"&&r!=="http:"))throw new gN(e,["file","data"].concat(t?["https","http"]:[]))}function bSe(e,t={}){let{parentURL:r}=t;cn()(r!==void 0,"expected `parentURL` to be defined"),mSe(r);let n;if(r)try{n=new(me()).URL(r)}catch{}let i;try{i=sv(e)?new(me()).URL(e,n):new(me()).URL(e);let l=i.protocol;if(l==="data:"||nN&&(l==="https:"||l==="http:"))return{url:i.href,format:null}}catch{}let s=dSe(e,i,n);if(s)return s;if(i&&i.protocol==="node:")return{url:e};gSe(i,nN);let a=HTe(t.conditions),o=SN(e,new(me()).URL(r),a,!1);return ySe(o),{url:o.href,format:hN(o,{parentURL:r})}}function ESe(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return bSe(e,{parentURL:t}).url}catch(r){let n=r;if(n.code==="ERR_UNSUPPORTED_DIR_IMPORT"&&typeof n.url=="string")return n.url;throw r}}});var AN=g(av=>{"use strict";Object.defineProperty(av,"__esModule",{value:!0});av.default=TSe;var vSe=xN(),PN;PN=vSe.resolve;function TSe(e,t){return PN(e,t)}});var BN=g(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.loadPlugin=OSe;yi.loadPreset=NSe;yi.resolvePreset=yi.resolvePlugin=void 0;function wN(){let e=ys();return wN=function(){return e},e}function uv(){let e=require("path");return uv=function(){return e},e}var cv=zs(),DN=HE();function lv(){let e=require("url");return lv=function(){return e},e}var SSe=AN(),IN=wN()("babel:config:loading:files:plugins"),xSe=/^module:/,PSe=/^(?!@|module:|[^/]+\/|babel-plugin-)/,ASe=/^(?!@|module:|[^/]+\/|babel-preset-)/,CSe=/^(@babel\/)(?!plugin-|[^/]+\/)/,wSe=/^(@babel\/)(?!preset-|[^/]+\/)/,DSe=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,ISe=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,_Se=/^(@(?!babel$)[^/]+)$/,_N=kN.bind(null,"plugin");yi.resolvePlugin=_N;var ON=kN.bind(null,"preset");yi.resolvePreset=ON;function*OSe(e,t){let r=_N(e,t,yield*(0,cv.isAsync)()),n=yield*FN("plugin",r);return IN("Loaded plugin %o from %o.",e,t),{filepath:r,value:n}}function*NSe(e,t){let r=ON(e,t,yield*(0,cv.isAsync)()),n=yield*FN("preset",r);return IN("Loaded preset %o from %o.",e,t),{filepath:r,value:n}}function ov(e,t){if(uv().isAbsolute(t))return t;let r=e==="preset";return t.replace(r?ASe:PSe,`babel-${e}-`).replace(r?wSe:CSe,`$1${e}-`).replace(r?ISe:DSe,`$1babel-${e}-`).replace(_Se,`$1/babel-${e}`).replace(xSe,"")}function*NN(e,t){let r=ov(e,t),{error:n,value:i}=yield r;if(!n)return i;if(n.code!=="MODULE_NOT_FOUND")throw n;r!==t&&!(yield t).error&&(n.message+=`
- If you want to resolve "${t}", use "module:${t}"`),(yield ov(e,"@babel/"+t)).error||(n.message+=`
- Did you mean "@babel/${t}"?`);let s=e==="preset"?"plugin":"preset";if((yield ov(s,t)).error||(n.message+=`
- Did you accidentally pass a ${s} as a ${e}?`),e==="plugin"){let a=r.replace("-proposal-","-transform-");a!==r&&!(yield a).error&&(n.message+=`
- Did you mean "${a}"?`)}throw n.message+=`
Make sure that all the Babel plugins and presets you are using
are defined as dependencies or devDependencies in your package.json
file. It's possible that the missing plugin is loaded by a preset
you are using that forgot to add the plugin to its dependencies: you
can workaround this problem by explicitly adding the missing package
to your top-level package.json.
`,n}function kSe(e,t){try{return t?{error:null,value:(((r,n)=>(r=r.split("."),n=n.split("."),+r[0]>+n[0]||r[0]==n[0]&&+r[1]>=+n[1]))(process.versions.node,"8.9")?require.resolve:(r,{paths:[n]},i=require("module"))=>{let s=i._findPath(r,i._nodeModulePaths(n).concat(n));if(s)return s;throw s=new Error(`Cannot resolve module '${r}'`),s.code="MODULE_NOT_FOUND",s})(e,{paths:[t]})}:{error:null,value:require.resolve(e)}}catch(r){return{error:r,value:null}}}function FSe(e,t){try{return{error:null,value:(0,SSe.default)(e,t)}}catch(r){return{error:r,value:null}}}function CN(e,t,r){let n=NN(e,t),i=n.next();for(;!i.done;)i=n.next(kSe(i.value,r));return i.value}function BSe(e,t,r){let n=(0,lv().pathToFileURL)(uv().join(r,"./babel-virtual-resolve-base.js")).href,i=NN(e,t),s=i.next();for(;!s.done;)s=i.next(FSe(s.value,n));return(0,lv().fileURLToPath)(s.value)}function kN(e,t,r,n){if(!DN.supportsESM||!n)return CN(e,t,r);try{return BSe(e,t,r)}catch(i){try{return CN(e,t,r)}catch(s){throw i.type==="MODULE_NOT_FOUND"?i:s.type==="MODULE_NOT_FOUND"?s:i}}}yp=new Set;var yp;function*FN(e,t){if(!(yield*(0,cv.isAsync)())&&yp.has(t))throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return yp.add(t),yield*(0,DN.default)(t,`You appear to be using a native ECMAScript module ${e}, which is only supported when running Babel asynchronously.`,!0)}catch(r){throw r.message=`[BABEL]: ${r.message} (While processing: ${t})`,r}finally{yp.delete(t)}}});var Wo=g(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});Object.defineProperty(vr,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return Ea.ROOT_CONFIG_FILENAMES}});Object.defineProperty(vr,"findConfigUpwards",{enumerable:!0,get:function(){return Ea.findConfigUpwards}});Object.defineProperty(vr,"findPackageData",{enumerable:!0,get:function(){return jSe.findPackageData}});Object.defineProperty(vr,"findRelativeConfig",{enumerable:!0,get:function(){return Ea.findRelativeConfig}});Object.defineProperty(vr,"findRootConfig",{enumerable:!0,get:function(){return Ea.findRootConfig}});Object.defineProperty(vr,"loadConfig",{enumerable:!0,get:function(){return Ea.loadConfig}});Object.defineProperty(vr,"loadPlugin",{enumerable:!0,get:function(){return gp.loadPlugin}});Object.defineProperty(vr,"loadPreset",{enumerable:!0,get:function(){return gp.loadPreset}});Object.defineProperty(vr,"resolvePlugin",{enumerable:!0,get:function(){return gp.resolvePlugin}});Object.defineProperty(vr,"resolvePreset",{enumerable:!0,get:function(){return gp.resolvePreset}});Object.defineProperty(vr,"resolveShowConfigPath",{enumerable:!0,get:function(){return Ea.resolveShowConfigPath}});var jSe=yD(),Ea=ZO(),gp=BN()});var LN=g(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});va.transform=void 0;va.transformAsync=USe;va.transformSync=qSe;function jN(){let e=fr();return jN=function(){return e},e}var LSe=oa(),MSe=qf(),bp=ci(),Ep=jN()(function*(t,r){let n=yield*(0,LSe.default)(r);return n===null?null:yield*(0,MSe.run)(n,t)}),RSe=function(t,r,n){let i,s;if(typeof r=="function"?(s=r,i=void 0):(i=r,s=n),s===void 0)return(0,bp.beginHiddenCallStack)(Ep.sync)(t,i);(0,bp.beginHiddenCallStack)(Ep.errback)(t,i,s)};va.transform=RSe;function qSe(...e){return(0,bp.beginHiddenCallStack)(Ep.sync)(...e)}function USe(...e){return(0,bp.beginHiddenCallStack)(Ep.async)(...e)}});var RN=g(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.transformFromAst=void 0;Ta.transformFromAstAsync=zSe;Ta.transformFromAstSync=WSe;function MN(){let e=fr();return MN=function(){return e},e}var VSe=oa(),$Se=qf(),vp=ci(),Tp=MN()(function*(e,t,r){let n=yield*(0,VSe.default)(r);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,$Se.run)(n,t,e)}),KSe=function(t,r,n,i){let s,a;if(typeof n=="function"?(a=n,s=void 0):(s=n,a=i),a===void 0)return(0,vp.beginHiddenCallStack)(Tp.sync)(t,r,s);(0,vp.beginHiddenCallStack)(Tp.errback)(t,r,s,a)};Ta.transformFromAst=KSe;function WSe(...e){return(0,vp.beginHiddenCallStack)(Tp.sync)(...e)}function zSe(...e){return(0,vp.beginHiddenCallStack)(Tp.async)(...e)}});var UN=g(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.parse=void 0;Sa.parseAsync=QSe;Sa.parseSync=JSe;function qN(){let e=fr();return qN=function(){return e},e}var GSe=oa(),HSe=Jb(),YSe=Wb(),Sp=ci(),xp=qN()(function*(t,r){let n=yield*(0,GSe.default)(r);return n===null?null:yield*(0,HSe.default)(n.passes,(0,YSe.default)(n),t)}),XSe=function(t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n===void 0)return(0,Sp.beginHiddenCallStack)(xp.sync)(t,r);(0,Sp.beginHiddenCallStack)(xp.errback)(t,r,n)};Sa.parse=XSe;function JSe(...e){return(0,Sp.beginHiddenCallStack)(xp.sync)(...e)}function QSe(...e){return(0,Sp.beginHiddenCallStack)(xp.async)(...e)}});var Pt=g(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(Fe,"File",{enumerable:!0,get:function(){return ZSe.default}});Object.defineProperty(Fe,"buildExternalHelpers",{enumerable:!0,get:function(){return exe.default}});Object.defineProperty(Fe,"createConfigItem",{enumerable:!0,get:function(){return fn.createConfigItem}});Object.defineProperty(Fe,"createConfigItemAsync",{enumerable:!0,get:function(){return fn.createConfigItemAsync}});Object.defineProperty(Fe,"createConfigItemSync",{enumerable:!0,get:function(){return fn.createConfigItemSync}});Object.defineProperty(Fe,"getEnv",{enumerable:!0,get:function(){return txe.getEnv}});Object.defineProperty(Fe,"loadOptions",{enumerable:!0,get:function(){return fn.loadOptions}});Object.defineProperty(Fe,"loadOptionsAsync",{enumerable:!0,get:function(){return fn.loadOptionsAsync}});Object.defineProperty(Fe,"loadOptionsSync",{enumerable:!0,get:function(){return fn.loadOptionsSync}});Object.defineProperty(Fe,"loadPartialConfig",{enumerable:!0,get:function(){return fn.loadPartialConfig}});Object.defineProperty(Fe,"loadPartialConfigAsync",{enumerable:!0,get:function(){return fn.loadPartialConfigAsync}});Object.defineProperty(Fe,"loadPartialConfigSync",{enumerable:!0,get:function(){return fn.loadPartialConfigSync}});Object.defineProperty(Fe,"parse",{enumerable:!0,get:function(){return hv.parse}});Object.defineProperty(Fe,"parseAsync",{enumerable:!0,get:function(){return hv.parseAsync}});Object.defineProperty(Fe,"parseSync",{enumerable:!0,get:function(){return hv.parseSync}});Object.defineProperty(Fe,"resolvePlugin",{enumerable:!0,get:function(){return VN.resolvePlugin}});Object.defineProperty(Fe,"resolvePreset",{enumerable:!0,get:function(){return VN.resolvePreset}});Object.defineProperty(Fe,"template",{enumerable:!0,get:function(){return zN().default}});Object.defineProperty(Fe,"tokTypes",{enumerable:!0,get:function(){return KN().tokTypes}});Object.defineProperty(Fe,"transform",{enumerable:!0,get:function(){return fv.transform}});Object.defineProperty(Fe,"transformAsync",{enumerable:!0,get:function(){return fv.transformAsync}});Object.defineProperty(Fe,"transformFile",{enumerable:!0,get:function(){return pv.transformFile}});Object.defineProperty(Fe,"transformFileAsync",{enumerable:!0,get:function(){return pv.transformFileAsync}});Object.defineProperty(Fe,"transformFileSync",{enumerable:!0,get:function(){return pv.transformFileSync}});Object.defineProperty(Fe,"transformFromAst",{enumerable:!0,get:function(){return dv.transformFromAst}});Object.defineProperty(Fe,"transformFromAstAsync",{enumerable:!0,get:function(){return dv.transformFromAstAsync}});Object.defineProperty(Fe,"transformFromAstSync",{enumerable:!0,get:function(){return dv.transformFromAstSync}});Object.defineProperty(Fe,"transformSync",{enumerable:!0,get:function(){return fv.transformSync}});Object.defineProperty(Fe,"traverse",{enumerable:!0,get:function(){return WN().default}});Fe.version=Fe.types=void 0;var ZSe=Fc(),exe=$w(),VN=Wo(),txe=_b();function $N(){let e=ye();return $N=function(){return e},e}Object.defineProperty(Fe,"types",{enumerable:!0,get:function(){return $N()}});function KN(){let e=Ms();return KN=function(){return e},e}function WN(){let e=yr();return WN=function(){return e},e}function zN(){let e=nn();return zN=function(){return e},e}var fn=oa(),fv=LN(),pv=pE(),dv=RN(),hv=UN(),qIe=Pt(),rxe="7.22.8";Fe.version=rxe;var nxe=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);Fe.DEFAULT_EXTENSIONS=nxe;Fe.OptionManager=class{init(t){return(0,fn.loadOptionsSync)(t)}},Fe.Plugin=function(t){throw new Error(`The (${t}) Babel 5 plugin is being run with an unsupported Babel version.`)}});var mv=g(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Pp.default=void 0;var ixe=tt(),sxe=(0,ixe.declare)((e,t)=>{e.assertVersion(7);let{version:r}=t;{let{legacy:i}=t;if(i!==void 0){if(typeof i!="boolean")throw new Error(".legacy must be a boolean.");if(r!==void 0)throw new Error("You can either use the .legacy or the .version option, not both.")}if(r===void 0)r=i?"legacy":"2018-09";else if(r!=="2023-01"&&r!=="2022-03"&&r!=="2021-12"&&r!=="2018-09"&&r!=="legacy")throw new Error("Unsupported decorators version: "+r);var{decoratorsBeforeExport:n}=t;if(n===void 0){if(r==="2021-12"||r==="2022-03")n=!1;else if(r==="2018-09")throw new Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if(r==="legacy"||r==="2022-03"||r==="2023-01")throw new Error(`'decoratorsBeforeExport' can't be used with ${r} decorators.`);if(typeof n!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:i},s){r==="legacy"?s.plugins.push("decorators-legacy"):r==="2023-01"?s.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):r==="2022-03"?s.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):r==="2021-12"?(s.plugins.push(["decorators",{decoratorsBeforeExport:n}],"decoratorAutoAccessors"),i.decoratorsBeforeExport=n):r==="2018-09"&&(s.plugins.push(["decorators",{decoratorsBeforeExport:n}]),i.decoratorsBeforeExport=n)}}});Pp.default=sxe});var JN=g(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.default=void 0;var oe=Pt(),axe=oe.template.statement(`
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
`),oxe=(0,oe.template)(`
CLASS_REF.prototype;
`),lxe=(0,oe.template)(`
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
`),uxe=(0,oe.template)(`
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
enumerable: true,
configurable: true,
writable: true,
initializer: function(){
return TEMP;
}
})
`),yv=new WeakSet;function GN(e){let r=(e.isClass()?[e,...e.get("body.body")]:e.get("properties")).reduce((n,i)=>n.concat(i.node.decorators||[]),[]).filter(n=>!oe.types.isIdentifier(n.expression));if(r.length!==0)return oe.types.sequenceExpression(r.map(n=>{let i=n.expression,s=n.expression=e.scope.generateDeclaredUidIdentifier("dec");return oe.types.assignmentExpression("=",s,i)}).concat([e.node]))}function cxe(e){if(!YN(e.node))return;let t=e.node.decorators||[];e.node.decorators=null;let r=e.scope.generateDeclaredUidIdentifier("class");return t.map(n=>n.expression).reverse().reduce(function(n,i){return axe({CLASS_REF:oe.types.cloneNode(r),DECORATOR:oe.types.cloneNode(i),INNER:n}).expression},e.node)}function YN(e){return!!(e.decorators&&e.decorators.length)}function fxe(e,t){if(gv(e.node.body.body))return XN(e,t,e.node.body.body)}function gv(e){return e.some(t=>{var r;return(r=t.decorators)==null?void 0:r.length})}function pxe(e,t){if(gv(e.node.properties))return XN(e,t,e.node.properties.filter(r=>r.type!=="SpreadElement"))}function XN(e,t,r){let n=e.scope.generateDeclaredUidIdentifier(e.isClass()?"class":"obj"),i=r.reduce(function(s,a){let o=[];if(a.decorators!=null&&(o=a.decorators,a.decorators=null),o.length===0)return s;if(a.computed)throw e.buildCodeFrameError("Computed method/property decorators are not yet supported.");let l=oe.types.isLiteral(a.key)?a.key:oe.types.stringLiteral(a.key.name),u=e.isClass()&&!a.static?oxe({CLASS_REF:n}).expression:n;if(oe.types.isClassProperty(a,{static:!1})){let c=e.scope.generateDeclaredUidIdentifier("descriptor"),f=a.value?oe.types.functionExpression(null,[],oe.types.blockStatement([oe.types.returnStatement(a.value)])):oe.types.nullLiteral();a.value=oe.types.callExpression(t.addHelper("initializerWarningHelper"),[c,oe.types.thisExpression()]),yv.add(a.value),s.push(oe.types.assignmentExpression("=",oe.types.cloneNode(c),oe.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[oe.types.cloneNode(u),oe.types.cloneNode(l),oe.types.arrayExpression(o.map(d=>oe.types.cloneNode(d.expression))),oe.types.objectExpression([oe.types.objectProperty(oe.types.identifier("configurable"),oe.types.booleanLiteral(!0)),oe.types.objectProperty(oe.types.identifier("enumerable"),oe.types.booleanLiteral(!0)),oe.types.objectProperty(oe.types.identifier("writable"),oe.types.booleanLiteral(!0)),oe.types.objectProperty(oe.types.identifier("initializer"),f)])])))}else s.push(oe.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[oe.types.cloneNode(u),oe.types.cloneNode(l),oe.types.arrayExpression(o.map(c=>oe.types.cloneNode(c.expression))),oe.types.isObjectProperty(a)||oe.types.isClassProperty(a,{static:!0})?uxe({TEMP:e.scope.generateDeclaredUidIdentifier("init"),TARGET:oe.types.cloneNode(u),PROPERTY:oe.types.cloneNode(l)}).expression:lxe({TARGET:oe.types.cloneNode(u),PROPERTY:oe.types.cloneNode(l)}).expression,oe.types.cloneNode(u)]));return s},[]);return oe.types.sequenceExpression([oe.types.assignmentExpression("=",oe.types.cloneNode(n),e.node),oe.types.sequenceExpression(i),oe.types.cloneNode(n)])}function HN({node:e,scope:t}){if(!YN(e)&&!gv(e.body.body))return;let r=e.id?oe.types.cloneNode(e.id):t.generateUidIdentifier("class");return oe.types.variableDeclaration("let",[oe.types.variableDeclarator(r,oe.types.toExpression(e))])}var dxe={ExportDefaultDeclaration(e){let t=e.get("declaration");if(!t.isClassDeclaration())return;let r=HN(t);if(r){let[n]=e.replaceWithMultiple([r,oe.types.exportNamedDeclaration(null,[oe.types.exportSpecifier(oe.types.cloneNode(r.declarations[0].id),oe.types.identifier("default"))])]);t.node.id||e.scope.registerDeclaration(n)}},ClassDeclaration(e){let t=HN(e);if(t){let[r]=e.replaceWith(t),n=r.get("declarations.0"),i=n.node.id,s=e.scope.getOwnBinding(i.name);s.identifier=i,s.path=n}},ClassExpression(e,t){let r=GN(e)||cxe(e)||fxe(e,t);r&&e.replaceWith(r)},ObjectExpression(e,t){let r=GN(e)||pxe(e,t);r&&e.replaceWith(r)},AssignmentExpression(e,t){yv.has(e.node.right)&&e.replaceWith(oe.types.callExpression(t.addHelper("initializerDefineProperty"),[oe.types.cloneNode(e.get("left.object").node),oe.types.stringLiteral(e.get("left.property").node.name||e.get("left.property").node.value),oe.types.cloneNode(e.get("right.arguments")[0].node),oe.types.cloneNode(e.get("right.arguments")[1].node)]))},CallExpression(e,t){e.node.arguments.length===3&&yv.has(e.node.arguments[2])&&e.node.callee.name===t.addHelper("defineProperty").name&&e.replaceWith(oe.types.callExpression(t.addHelper("initializerDefineProperty"),[oe.types.cloneNode(e.get("arguments")[0].node),oe.types.cloneNode(e.get("arguments")[1].node),oe.types.cloneNode(e.get("arguments.2.arguments")[0].node),oe.types.cloneNode(e.get("arguments.2.arguments")[1].node)]))}},hxe=dxe;Ap.default=hxe});var ak=g(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});bv.default=kxe;var B=Pt(),mxe=mv(),yxe=Xf(),gxe=$a();function nk(e,t=e.length-1){if(t===-1){e.unshift(65);return}let r=e[t];r===90?e[t]=97:r===122?(e[t]=65,nk(e,t-1)):e[t]=r+1}function bxe(e){let t=[],r=new Set;return e.traverse({PrivateName(n){r.add(n.node.id.name)}}),()=>{let n;do nk(t),n=String.fromCharCode(...t);while(r.has(n));return B.types.privateName(B.types.identifier(n))}}function Exe(e){let t;return()=>(t||(t=bxe(e)),t())}function vxe(e){if(e.type==="ClassDeclaration"){let t=e.scope.generateUidIdentifierBasedOnNode(e.node.id),r=B.types.identifier(e.node.id.name);return e.scope.rename(r.name,t.name),e.insertBefore(B.types.variableDeclaration("let",[B.types.variableDeclarator(t)])),e.get("id").replaceWith(r),[B.types.cloneNode(t),e]}else{let t,r;e.node.id?(t=e.node.id.name,r=e.scope.parent.generateDeclaredUidIdentifier(t),e.scope.rename(t,r.name)):e.parentPath.node.type==="VariableDeclarator"&&e.parentPath.node.id.type==="Identifier"?(t=e.parentPath.node.id.name,r=e.scope.parent.generateDeclaredUidIdentifier(t)):r=e.scope.parent.generateDeclaredUidIdentifier("decorated_class");let n=B.types.classExpression(t&&B.types.identifier(t),e.node.superClass,e.node.body),[i]=e.replaceWith(B.types.sequenceExpression([n,r]));return[B.types.cloneNode(r),i.get("expressions.0")]}}function QN(e,t,r){return e.type==="PrivateName"?B.types.classPrivateProperty(e,t,void 0,r):B.types.classProperty(e,t,void 0,void 0,r)}function ZN(e,t,r,n=!1){let{static:i}=e.node,s=B.types.blockStatement([B.types.returnStatement(B.types.memberExpression(B.types.thisExpression(),B.types.cloneNode(r)))]),a=B.types.blockStatement([B.types.expressionStatement(B.types.assignmentExpression("=",B.types.memberExpression(B.types.thisExpression(),B.types.cloneNode(r)),B.types.identifier("v")))]),o,l;t.type==="PrivateName"?(o=B.types.classPrivateMethod("get",B.types.cloneNode(t),[],s,i),l=B.types.classPrivateMethod("set",B.types.cloneNode(t),[B.types.identifier("v")],a,i)):(o=B.types.classMethod("get",B.types.cloneNode(t),[],s,n,i),l=B.types.classMethod("set",B.types.cloneNode(t),[B.types.identifier("v")],a,n,i)),e.insertAfter(l),e.insertAfter(o)}function ek(e,t){return t!=="2023-01"?[B.template.expression.ast`
function () {
return this.${B.types.cloneNode(e)};
}
`,B.template.expression.ast`
function (value) {
this.${B.types.cloneNode(e)} = value;
}
`]:[B.template.expression.ast`
o => o.${B.types.cloneNode(e)}
`,B.template.expression.ast`
(o, v) => o.${B.types.cloneNode(e)} = v
`]}var xa=0,ml=1,Txe=2,ik=3,Cp=4,Sxe=5;function xxe(e){switch(e.node.type){case"ClassProperty":case"ClassPrivateProperty":return xa;case"ClassAccessorProperty":return ml;case"ClassMethod":case"ClassPrivateMethod":return e.node.kind==="get"?ik:e.node.kind==="set"?Cp:Txe}}function Pxe(e){return"decorators"in e}function sk(e){let t=e.filter(Pxe);return[...t.filter(r=>r.isStatic&&r.kind>=ml&&r.kind<=Cp),...t.filter(r=>!r.isStatic&&r.kind>=ml&&r.kind<=Cp),...t.filter(r=>r.isStatic&&r.kind===xa),...t.filter(r=>!r.isStatic&&r.kind===xa)]}function Axe(e){return B.types.arrayExpression(sk(e).map(t=>{let r=t.decorators.length>1?B.types.arrayExpression(t.decorators):t.decorators[0],n=t.isStatic?t.kind+Sxe:t.kind;return B.types.arrayExpression([r,B.types.numericLiteral(n),t.name,...t.privateMethods||[]])}))}function Cxe(e){let t=[];for(let r of sk(e)){let{locals:n}=r;Array.isArray(n)?t.push(...n):n!==void 0&&t.push(n)}return t}function wxe(e,t,r,n){e.insertAfter(B.types.classPrivateMethod("get",B.types.cloneNode(t),[],B.types.blockStatement([B.types.returnStatement(B.types.callExpression(B.types.cloneNode(r),[B.types.thisExpression()]))]))),e.insertAfter(B.types.classPrivateMethod("set",B.types.cloneNode(t),[B.types.identifier("v")],B.types.blockStatement([B.types.expressionStatement(B.types.callExpression(B.types.cloneNode(n),[B.types.thisExpression(),B.types.identifier("v")]))])))}function Dxe(e){return e.type!=="TSParameterProperty"}function Ixe(e,t,r,n){let i,s;e.node.kind==="set"?(i=[B.types.identifier("v")],s=[B.types.expressionStatement(B.types.callExpression(r,[B.types.thisExpression(),B.types.identifier("v")]))]):(i=[],s=[B.types.returnStatement(B.types.callExpression(r,[B.types.thisExpression()]))]),e.replaceWith(B.types.classPrivateMethod(e.node.kind,B.types.cloneNode(t),i,B.types.blockStatement(s),n))}function tk(e){let{type:t}=e;return t!=="TSDeclareMethod"&&t!=="TSIndexSignature"&&t!=="StaticBlock"}function rk(e){return B.types.callExpression(B.types.arrowFunctionExpression([],B.types.blockStatement(e.body)),[])}function _xe(e){return e.length===0?B.types.unaryExpression("void",B.types.numericLiteral(0)):e.length===1?e[0]:B.types.sequenceExpression(e)}function Oxe(e,t,r,n){let i=e.get("body.body"),s=e.node.decorators,a=!1,o=Exe(e);for(let se of i)if(tk(se)){if(se.node.decorators&&se.node.decorators.length>0)a=!0;else if(se.node.type==="ClassAccessorProperty"){let{key:M,value:L,static:J,computed:pe}=se.node,Ee=o(),Pe=L?B.types.cloneNode(L):void 0,Me=QN(Ee,Pe,J),[Ke]=se.replaceWith(Me);ZN(Ke,M,Ee,pe)}}if(!s&&!a)return;let l=[],u,c,f=!1,d=!1,m=new Set,S,p,E,b,_=[],D=e.scope.parent,A=(se,M)=>{let L=D.generateDeclaredUidIdentifier(M);return _.push(B.types.assignmentExpression("=",L,se)),B.types.cloneNode(L)};if(s){E=D.generateDeclaredUidIdentifier("initClass");let[se,M]=vxe(e);e=M,b=se,e.node.decorators=null;for(let L of s)D.isStatic(L.expression)||(L.expression=A(L.expression,"dec"))}else e.node.id||(e.node.id=e.scope.generateUidIdentifier("Class")),b=B.types.cloneNode(e.node.id);let I,O=!1;if(a)for(let se of i){if(!tk(se))continue;let{node:M}=se,L=se.get("decorators"),J=Array.isArray(L)&&L.length>0;if(J)for(let We of L)D.isStatic(We.node.expression)||(We.node.expression=A(We.node.expression,"dec"));let pe="computed"in se.node&&se.node.computed===!0;pe&&(D.isStatic(M.key)||(M.key=A(M.key,"computedKey")));let Ee=xxe(se),{key:Pe}=M,Me=Pe.type==="PrivateName",Ke=!!se.node.static,At="computedKey";if(Me?At=Pe.id.name:!pe&&Pe.type==="Identifier"&&(At=Pe.name),Me&&!Ke&&(J&&(O=!0),(B.types.isClassPrivateProperty(M)||!I)&&(I=Pe)),se.isClassMethod({kind:"constructor"})&&(c=se),J){let We,st;if(Ee===ml){let{value:$}=se.node,V=[B.types.thisExpression()];$&&V.push(B.types.cloneNode($));let H=o(),ne=se.scope.parent.generateDeclaredUidIdentifier(`init_${At}`),De=B.types.callExpression(B.types.cloneNode(ne),V),be=QN(H,De,Ke),[Ae]=se.replaceWith(be);if(Me){st=ek(H,n);let at=Ae.scope.parent.generateDeclaredUidIdentifier(`get_${At}`),Re=Ae.scope.parent.generateDeclaredUidIdentifier(`set_${At}`);wxe(Ae,Pe,at,Re),We=[ne,at,Re]}else ZN(Ae,Pe,H,pe),We=ne}else if(Ee===xa){let $=se.scope.parent.generateDeclaredUidIdentifier(`init_${At}`),V=se.get("value");V.replaceWith(B.types.callExpression(B.types.cloneNode($),[B.types.thisExpression(),V.node].filter(H=>H))),We=$,Me&&(st=ek(Pe,n))}else if(Me){We=se.scope.parent.generateDeclaredUidIdentifier(`call_${At}`),new yxe.default({constantSuper:r,methodPath:se,objectRef:b,superRef:e.node.superClass,file:t.file,refToPreserve:b}).replace();let{params:V,body:H,async:ne}=se.node;if(st=[B.types.functionExpression(void 0,V.filter(Dxe),H,ne)],Ee===ik||Ee===Cp)Ixe(se,B.types.cloneNode(Pe),B.types.cloneNode(We),Ke);else{let De=se.node;e.node.body.body.unshift(B.types.classPrivateProperty(Pe,B.types.cloneNode(We),[],De.static)),m.add(Pe.id.name),se.remove()}}let Tt;pe?Tt=B.types.cloneNode(Pe):Pe.type==="PrivateName"?Tt=B.types.stringLiteral(Pe.id.name):Pe.type==="Identifier"?Tt=B.types.stringLiteral(Pe.name):Tt=B.types.cloneNode(Pe),l.push({kind:Ee,decorators:L.map($=>$.node.expression),name:Tt,isStatic:Ke,privateMethods:st,locals:We}),Ee!==xa&&(Ke?d=!0:f=!0),se.node&&(se.node.decorators=null),!u&&!Ke&&(Ee===xa||Ee===ml)&&(u=se)}}let F=Axe(l),z=B.types.arrayExpression((s||[]).map(se=>se.expression)),Y=Cxe(l);if(f){S=D.generateDeclaredUidIdentifier("initProto"),Y.push(S);let se=B.types.callExpression(B.types.cloneNode(S),[B.types.thisExpression()]);if(u){let M=u.get("value"),L=[se];M.node&&L.push(M.node),M.replaceWith(B.types.sequenceExpression(L))}else if(c)e.node.superClass?e.traverse({CallExpression:{exit(M){M.get("callee").isSuper()&&(M.replaceWith(B.types.callExpression(B.types.cloneNode(S),[M.node])),M.skip())}}}):c.node.body.body.unshift(B.types.expressionStatement(se));else{let M=[B.types.expressionStatement(se)];e.node.superClass&&M.unshift(B.types.expressionStatement(B.types.callExpression(B.types.super(),[B.types.spreadElement(B.types.identifier("args"))]))),e.node.body.body.unshift(B.types.classMethod("constructor",B.types.identifier("constructor"),[B.types.restElement(B.types.identifier("args"))],B.types.blockStatement(M)))}}d&&(p=D.generateDeclaredUidIdentifier("initStatic"),Y.push(p)),m.size>0&&e.traverse({PrivateName(se){if(!m.has(se.node.id.name))return;let M=se.parentPath,L=M.parentPath;if(L.node.type==="AssignmentExpression"&&L.node.left===M.node||L.node.type==="UpdateExpression"||L.node.type==="RestElement"||L.node.type==="ArrayPattern"||L.node.type==="ObjectProperty"&&L.node.value===M.node&&L.parentPath.type==="ObjectPattern"||L.node.type==="ForOfStatement"&&L.node.left===M.node)throw se.buildCodeFrameError(`Decorated private methods are not updatable, but "#${se.node.id.name}" is updated via this expression.`)}});let Z=[],Te=!1,Se=E&&B.types.callExpression(B.types.cloneNode(E),[]),ut=e.node;if(s){Z.push(b,E);let se=[],M=[];if(e.get("body.body").forEach(L=>{if(L.isStaticBlock()){M.push(L.node),L.remove();return}let J=L.isClassProperty()||L.isClassPrivateProperty();if((J||L.isClassPrivateMethod())&&L.node.static){if(J&&M.length>0){let pe=M.map(rk);L.node.value&&pe.push(L.node.value),L.node.value=_xe(pe),M=[]}L.node.static=!1,se.push(L.node),L.remove()}}),se.length>0||M.length>0){let L=B.template.expression.ast`
class extends ${t.addHelper("identity")} {}
`;L.body.body=[B.types.staticBlock([B.types.toStatement(ut,!0)||B.types.expressionStatement(ut)]),...se];let J=[],pe=B.types.newExpression(L,[]);M.length>0&&J.push(...M.map(rk)),Se&&(Te=!0,J.push(Se)),J.length>0?(J.unshift(B.types.callExpression(B.types.super(),[B.types.cloneNode(b)])),L.body.body.push(B.types.classMethod("constructor",B.types.identifier("constructor"),[],B.types.blockStatement([B.types.expressionStatement(B.types.sequenceExpression(J))])))):pe.arguments.push(B.types.cloneNode(b)),e.replaceWith(pe)}}return!Te&&Se&&e.node.body.body.push(B.types.staticBlock([B.types.expressionStatement(Se)])),ut.body.body.unshift(B.types.staticBlock([B.types.expressionStatement(Nxe(Y,Z,F,z,O?I:null,t,n)),d&&B.types.expressionStatement(B.types.callExpression(B.types.cloneNode(p),[B.types.thisExpression()]))].filter(Boolean))),e.insertBefore(_.map(se=>B.types.expressionStatement(se))),e.scope.crawl(),e}function Nxe(e,t,r,n,i,s,a){let o,l,u=[B.types.thisExpression(),r,n];return a==="2021-12"||a==="2022-03"&&!s.availableHelper("applyDecs2203R")?(o=B.types.arrayPattern([...e,...t]),l=B.types.callExpression(s.addHelper(a==="2021-12"?"applyDecs":"applyDecs2203"),u)):(a==="2023-01"?(i&&u.push(B.template.expression.ast`
_ => ${B.types.cloneNode(i)} in _
`),l=B.types.callExpression(s.addHelper("applyDecs2301"),u)):l=B.types.callExpression(s.addHelper("applyDecs2203R"),u),e.length>0?t.length>0?o=B.types.objectPattern([B.types.objectProperty(B.types.identifier("e"),B.types.arrayPattern(e)),B.types.objectProperty(B.types.identifier("c"),B.types.arrayPattern(t))]):(o=B.types.arrayPattern(e),l=B.types.memberExpression(l,B.types.identifier("e"),!1,!1)):(o=B.types.arrayPattern(t),l=B.types.memberExpression(l,B.types.identifier("c"),!1,!1))),B.types.assignmentExpression("=",o,l)}function kxe({assertVersion:e,assumption:t},{loose:r},n){var i;e(n==="2023-01"?"^7.21.0":n==="2021-12"?"^7.16.0":"^7.19.0");let s=new WeakSet,a=(i=t("constantSuper"))!=null?i:r;return{name:"proposal-decorators",inherits:mxe.default,visitor:{"ExportNamedDeclaration|ExportDefaultDeclaration"(o){var l;let{declaration:u}=o.node;(u==null?void 0:u.type)==="ClassDeclaration"&&((l=u.decorators)==null?void 0:l.length)>0&&(0,gxe.default)(o)},Class(o,l){if(s.has(o))return;let u=Oxe(o,l,a,n);u&&s.add(u)}}}}});var uk=g(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});wp.default=void 0;var Fxe=tt(),ok=mv(),lk=ha(),Bxe=JN(),jxe=ak(),Lxe=(0,Fxe.declare)((e,t)=>{e.assertVersion(7);var{legacy:r}=t;let{version:n}=t;return r||n==="legacy"?{name:"proposal-decorators",inherits:ok.default,visitor:Bxe.default}:n==="2021-12"||n==="2022-03"||n==="2023-01"?(0,jxe.default)(e,t,n):(e.assertVersion("^7.0.2"),(0,lk.createClassFeaturePlugin)({name:"proposal-decorators",api:e,feature:lk.FEATURES.decorators,inherits:ok.default}))});wp.default=Lxe});var fk=g(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.default=void 0;var Mxe=tt(),ck=ha(),Rxe=(0,Mxe.declare)((e,t)=>(e.assertVersion(7),(0,ck.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:ck.FEATURES.fields,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classProperties","classPrivateProperties")}})));Dp.default=Rxe});var pk=g(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.default=void 0;var qxe=tt(),Uxe=(0,qxe.declare)(e=>(e.assertVersion(7),{name:"syntax-class-static-block",manipulateOptions(t,r){r.plugins.push("classStaticBlock")}}));Ip.default=Uxe});var hk=g(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.default=void 0;var Vxe=tt(),$xe=pk(),dk=ha();function Kxe(e,t){let r="",n,i=1;do n=e._generateUid(r,i),i++;while(t.has(n));return n}var Wxe=(0,Vxe.declare)(({types:e,template:t,assertVersion:r})=>(r("^7.12.0"),{name:"proposal-class-static-block",inherits:$xe.default,pre(){(0,dk.enableFeature)(this.file,dk.FEATURES.staticBlocks,!1)},visitor:{ClassBody(n){let{scope:i}=n,s=new Set,a=n.get("body");for(let o of a)o.isPrivate()&&s.add(o.get("key.id").node.name);for(let o of a){if(!o.isStaticBlock())continue;let l=Kxe(i,s);s.add(l);let u=e.privateName(e.identifier(l)),c,f=o.node.body;f.length===1&&e.isExpressionStatement(f[0])?c=e.inheritsComments(f[0].expression,f[0]):c=t.expression.ast`(() => { ${f} })()`,o.replaceWith(e.classPrivateProperty(u,c,[],!0))}}}}));_p.default=Wxe});var mk=g(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.default=void 0;var zxe=tt(),Gxe=(0,zxe.declare)(e=>(e.assertVersion(7),{name:"syntax-numeric-separator",manipulateOptions(t,r){r.plugins.push("numericSeparator")}}));Op.default=Gxe});var gk=g(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.default=void 0;var Hxe=tt(),Yxe=mk();function yk({node:e}){var t;let{extra:r}=e;r!=null&&(t=r.raw)!=null&&t.includes("_")&&(r.raw=r.raw.replace(/_/g,""))}var Xxe=(0,Hxe.declare)(e=>(e.assertVersion(7),{name:"proposal-numeric-separator",inherits:Yxe.default,visitor:{NumericLiteral:yk,BigIntLiteral:yk}}));Np.default=Xxe});var bk=g(kp=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});kp.default=void 0;var Jxe=tt(),Qxe=(0,Jxe.declare)(e=>(e.assertVersion(7),{name:"syntax-logical-assignment-operators",manipulateOptions(t,r){r.plugins.push("logicalAssignment")}}));kp.default=Qxe});var Ek=g(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=void 0;var Zxe=tt(),ePe=bk(),Ln=Pt(),tPe=(0,Zxe.declare)(e=>(e.assertVersion(7),{name:"proposal-logical-assignment-operators",inherits:ePe.default,visitor:{AssignmentExpression(t){let{node:r,scope:n}=t,{operator:i,left:s,right:a}=r,o=i.slice(0,-1);if(!Ln.types.LOGICAL_OPERATORS.includes(o))return;let l=Ln.types.cloneNode(s);if(Ln.types.isMemberExpression(s)){let{object:u,property:c,computed:f}=s,d=n.maybeGenerateMemoised(u);if(d&&(s.object=d,l.object=Ln.types.assignmentExpression("=",Ln.types.cloneNode(d),u)),f){let m=n.maybeGenerateMemoised(c);m&&(s.property=m,l.property=Ln.types.assignmentExpression("=",Ln.types.cloneNode(m),c))}}t.replaceWith(Ln.types.logicalExpression(o,l,Ln.types.assignmentExpression("=",s,a)))}}}));Fp.default=tPe});var vk=g(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});Bp.default=void 0;var rPe=tt(),nPe=(0,rPe.declare)(e=>(e.assertVersion(7),{name:"syntax-nullish-coalescing-operator",manipulateOptions(t,r){r.plugins.push("nullishCoalescingOperator")}}));Bp.default=nPe});var Tk=g(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.default=void 0;var iPe=tt(),sPe=vk(),Tr=Pt(),aPe=(0,iPe.declare)((e,{loose:t=!1})=>{var r;e.assertVersion(7);let n=(r=e.assumption("noDocumentAll"))!=null?r:t;return{name:"proposal-nullish-coalescing-operator",inherits:sPe.default,visitor:{LogicalExpression(i){let{node:s,scope:a}=i;if(s.operator!=="??")return;let o,l;if(a.isStatic(s.left))o=s.left,l=Tr.types.cloneNode(s.left);else if(a.path.isPattern()){i.replaceWith(Tr.template.statement.ast`(() => ${i.node})()`);return}else o=a.generateUidIdentifierBasedOnNode(s.left),a.push({id:Tr.types.cloneNode(o)}),l=Tr.types.assignmentExpression("=",o,s.left);i.replaceWith(Tr.types.conditionalExpression(n?Tr.types.binaryExpression("!=",l,Tr.types.nullLiteral()):Tr.types.logicalExpression("&&",Tr.types.binaryExpression("!==",l,Tr.types.nullLiteral()),Tr.types.binaryExpression("!==",Tr.types.cloneNode(o),a.buildUndefinedNode())),Tr.types.cloneNode(o),s.right))}}}});jp.default=aPe});var Sk=g(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.default=void 0;var oPe=tt(),lPe=(0,oPe.declare)(e=>(e.assertVersion(7),{name:"syntax-optional-chaining",manipulateOptions(t,r){r.plugins.push("optionalChaining")}}));Lp.default=lPe});var Ak=g(Rp=>{"use strict";Object.defineProperty(Rp,"__esModule",{value:!0});var uPe=tt(),cPe=Sk(),rt=Pt(),Mn=PE();function Ev(e){let t=xk(e),{node:r,parentPath:n}=t;if(n.isLogicalExpression()){let{operator:i,right:s}=n.node;if(i==="&&"||i==="||"||i==="??"&&r===s)return Ev(n)}if(n.isSequenceExpression()){let{expressions:i}=n.node;return i[i.length-1]===r?Ev(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}function xk(e){let t=e;return e.findParent(r=>{if(!Mn.isTransparentExprWrapper(r.node))return!0;t=r}),t}var{ast:Pa}=rt.template.expression;function Mp(e){return e=Mn.skipTransparentExprWrapperNodes(e),rt.types.isIdentifier(e)||rt.types.isSuper(e)||rt.types.isMemberExpression(e)&&!e.computed&&Mp(e.object)}function fPe(e){let t=e,{scope:r}=e;for(;t.isOptionalMemberExpression()||t.isOptionalCallExpression();){let{node:n}=t,i=Mn.skipTransparentExprWrappers(t.isOptionalMemberExpression()?t.get("object"):t.get("callee"));if(n.optional)return!r.isStatic(i.node);t=i}}function Pk(e,{pureGetters:t,noDocumentAll:r}){let{scope:n}=e,i=xk(e),{parentPath:s}=i,a=Ev(i),o=!1,l=s.isCallExpression({callee:i.node})&&e.isOptionalMemberExpression(),u=[],c=e;if(n.path.isPattern()&&fPe(c)){e.replaceWith(rt.template.ast`(() => ${e.node})()`);return}for(;c.isOptionalMemberExpression()||c.isOptionalCallExpression();){let{node:m}=c;m.optional&&u.push(m),c.isOptionalMemberExpression()?(c.node.type="MemberExpression",c=Mn.skipTransparentExprWrappers(c.get("object"))):c.isOptionalCallExpression()&&(c.node.type="CallExpression",c=Mn.skipTransparentExprWrappers(c.get("callee")))}let f=e;s.isUnaryExpression({operator:"delete"})&&(f=s,o=!0);for(let m=u.length-1;m>=0;m--){let S=u[m],p=rt.types.isCallExpression(S),E=p?S.callee:S.object,b=Mn.skipTransparentExprWrapperNodes(E),_,D;if(p&&rt.types.isIdentifier(b,{name:"eval"})?(D=_=b,S.callee=rt.types.sequenceExpression([rt.types.numericLiteral(0),_])):t&&p&&Mp(b)?D=_=S.callee:(_=n.maybeGenerateMemoised(b),_?(D=rt.types.assignmentExpression("=",rt.types.cloneNode(_),E),p?S.callee=_:S.object=_):D=_=E),p&&rt.types.isMemberExpression(b))if(t&&Mp(b))S.callee=E;else{let{object:I}=b,O;if(rt.types.isSuper(I))O=rt.types.thisExpression();else{let F=n.maybeGenerateMemoised(I);F?(O=F,b.object=rt.types.assignmentExpression("=",F,I)):O=I}S.arguments.unshift(rt.types.cloneNode(O)),S.callee=rt.types.memberExpression(S.callee,rt.types.identifier("call"))}let A=f.node;if(m===0&&l){var d;let I=Mn.skipTransparentExprWrapperNodes(A.object),O;(!t||!Mp(I))&&(O=n.maybeGenerateMemoised(I),O&&(A.object=rt.types.assignmentExpression("=",O,I))),A=rt.types.callExpression(rt.types.memberExpression(A,rt.types.identifier("bind")),[rt.types.cloneNode((d=O)!=null?d:I)])}if(a){let I=r?Pa`${rt.types.cloneNode(D)} != null`:Pa`
${rt.types.cloneNode(D)} !== null && ${rt.types.cloneNode(_)} !== void 0`;f.replaceWith(rt.types.logicalExpression("&&",I,A)),f=Mn.skipTransparentExprWrappers(f.get("right"))}else{let I=r?Pa`${rt.types.cloneNode(D)} == null`:Pa`
${rt.types.cloneNode(D)} === null || ${rt.types.cloneNode(_)} === void 0`,O=o?Pa`true`:Pa`void 0`;f.replaceWith(rt.types.conditionalExpression(I,O,A)),f=Mn.skipTransparentExprWrappers(f.get("alternate"))}}}var pPe=uPe.declare((e,t)=>{var r,n;e.assertVersion(7);let{loose:i=!1}=t,s=(r=e.assumption("noDocumentAll"))!=null?r:i,a=(n=e.assumption("pureGetters"))!=null?n:i;return{name:"proposal-optional-chaining",inherits:cPe.default,visitor:{"OptionalCallExpression|OptionalMemberExpression"(o){Pk(o,{noDocumentAll:s,pureGetters:a})}}}});Rp.default=pPe;Rp.transform=Pk});var wk=g(qp=>{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});qp.default=void 0;var dPe=tt(),Ck=ha(),hPe=(0,dPe.declare)((e,t)=>(e.assertVersion(7),(0,Ck.createClassFeaturePlugin)({name:"proposal-private-methods",api:e,feature:Ck.FEATURES.privateMethods,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classPrivateMethods")}})));qp.default=hPe});var Dk=g(Up=>{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});Up.default=void 0;var mPe=tt(),yPe=(0,mPe.declare)(e=>(e.assertVersion(7),{name:"syntax-json-strings",manipulateOptions(t,r){r.plugins.push("jsonStrings")}}));Up.default=yPe});var Ik=g(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=void 0;var gPe=tt(),bPe=(0,gPe.declare)(e=>(e.assertVersion(7),{name:"syntax-optional-catch-binding",manipulateOptions(t,r){r.plugins.push("optionalCatchBinding")}}));Vp.default=bPe});var _k=g($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.default=void 0;var EPe=tt(),vPe=(0,EPe.declare)(e=>(e.assertVersion(7),{name:"syntax-async-generators",manipulateOptions(t,r){r.plugins.push("asyncGenerators")}}));$p.default=vPe});var Ok=g(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=void 0;var TPe=tt(),SPe=(0,TPe.declare)(e=>(e.assertVersion(7),{name:"syntax-object-rest-spread",manipulateOptions(t,r){r.plugins.push("objectRestSpread")}}));Kp.default=SPe});var Nk=g(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});Wp.default=void 0;var xPe=tt(),PPe=(0,xPe.declare)(e=>(e.assertVersion(7),{name:"syntax-export-namespace-from",manipulateOptions(t,r){r.plugins.push("exportNamespaceFrom")}}));Wp.default=PPe});var kk=g(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.default=void 0;var APe=tt(),CPe=Nk(),Rn=Pt(),wPe=(0,APe.declare)(e=>(e.assertVersion(7),{name:"proposal-export-namespace-from",inherits:CPe.default,visitor:{ExportNamedDeclaration(t){var r;let{node:n,scope:i}=t,{specifiers:s}=n,a=Rn.types.isExportDefaultSpecifier(s[0])?1:0;if(!Rn.types.isExportNamespaceSpecifier(s[a]))return;let o=[];a===1&&o.push(Rn.types.exportNamedDeclaration(null,[s.shift()],n.source));let l=s.shift(),{exported:u}=l,c=i.generateUidIdentifier((r=u.name)!=null?r:u.value);o.push(Rn.types.importDeclaration([Rn.types.importNamespaceSpecifier(c)],Rn.types.cloneNode(n.source)),Rn.types.exportNamedDeclaration(null,[Rn.types.exportSpecifier(Rn.types.cloneNode(c),u)])),n.specifiers.length>=1&&o.push(n);let[f]=t.replaceWithMultiple(o);t.scope.registerDeclaration(f)}}}));zp.default=wPe});var Fk=g(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.default=void 0;var DPe=tt(),IPe=(0,DPe.declare)(e=>(e.assertVersion(7),{name:"syntax-jsx",manipulateOptions(t,r){let{plugins:n}=r;n.some(i=>(Array.isArray(i)?i[0]:i)==="typescript")||n.push("jsx")}}));Gp.default=IPe});var Lk=g(Tv=>{"use strict";Object.defineProperty(Tv,"__esModule",{value:!0});Tv.default=MPe;var _Pe=Fk(),OPe=tt(),X=Pt(),vv=M0(),NPe=Jf(),yl={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"},kPe=/^\s*\*?\s*@jsxImportSource\s+([^\s]+)\s*$/m,FPe=/^\s*\*?\s*@jsxRuntime\s+([^\s]+)\s*$/m,BPe=/^\s*\*?\s*@jsx\s+([^\s]+)\s*$/m,jPe=/^\s*\*?\s*@jsxFrag\s+([^\s]+)\s*$/m,qn=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`),gi=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function LPe(e){return e.properties.some(t=>X.types.isObjectProperty(t,{computed:!1,shorthand:!1})&&(X.types.isIdentifier(t.key,{name:"__proto__"})||X.types.isStringLiteral(t.key,{value:"__proto__"})))}function MPe({name:e,development:t}){return(0,OPe.declare)((i,s)=>{let{pure:a,throwIfNamespace:o=!0,filter:l,runtime:u=t?"automatic":"classic",importSource:c=yl.importSource,pragma:f=yl.pragma,pragmaFrag:d=yl.pragmaFrag}=s;{var{useSpread:m=!1,useBuiltIns:S=!1}=s;if(u==="classic"){if(typeof m!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useSpread (defaults to false)");if(typeof S!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");if(m&&S)throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread but not both")}}let p={JSXOpeningElement(M,L){let J=[];b(M.scope)&&J.push(X.types.jsxAttribute(X.types.jsxIdentifier("__self"),X.types.jsxExpressionContainer(X.types.thisExpression()))),J.push(X.types.jsxAttribute(X.types.jsxIdentifier("__source"),X.types.jsxExpressionContainer(RPe(M,L)))),M.pushContainer("attributes",J)}};return{name:e,inherits:_Pe.default,visitor:{JSXNamespacedName(M){if(o)throw M.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.")},JSXSpreadChild(M){throw M.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(M,L){let{file:J}=L,pe=u,Ee=c,Pe=f,Me=d,Ke=!!s.importSource,At=!!s.pragma,We=!!s.pragmaFrag;if(J.ast.comments)for(let st of J.ast.comments){let Tt=kPe.exec(st.value);Tt&&(Ee=Tt[1],Ke=!0);let $=FPe.exec(st.value);$&&(pe=$[1]);let V=BPe.exec(st.value);V&&(Pe=V[1],At=!0);let H=jPe.exec(st.value);H&&(Me=H[1],We=!0)}if(gi(L,"runtime",pe),pe==="classic"){if(Ke)throw M.buildCodeFrameError("importSource cannot be set when runtime is classic.");let st=Bk(Pe),Tt=Bk(Me);gi(L,"id/createElement",()=>X.types.cloneNode(st)),gi(L,"id/fragment",()=>X.types.cloneNode(Tt)),gi(L,"defaultPure",Pe===yl.pragma)}else if(pe==="automatic"){if(At||We)throw M.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");let st=(Tt,$)=>gi(L,Tt,n(L,M,$,Ee));st("id/jsx",t?"jsxDEV":"jsx"),st("id/jsxs",t?"jsxDEV":"jsxs"),st("id/createElement","createElement"),st("id/fragment","Fragment"),gi(L,"defaultPure",Ee===yl.importSource)}else throw M.buildCodeFrameError('Runtime must be either "classic" or "automatic".');t&&M.traverse(p,L)}},JSXFragment:{exit(M,L){let J;qn(L,"runtime")==="classic"?J=Te(M,L):J=Z(M,L),M.replaceWith(X.types.inherits(J,M.node))}},JSXElement:{exit(M,L){let J;qn(L,"runtime")==="classic"||D(M)?J=Se(M,L):J=z(M,L),M.replaceWith(X.types.inherits(J,M.node))}},JSXAttribute(M){X.types.isJSXElement(M.node.value)&&(M.node.value=X.types.jsxExpressionContainer(M.node.value))}}};function E(M){return M.node.superClass!==null}function b(M){do{let{path:L}=M;if(L.isFunctionParent()&&!L.isArrowFunctionExpression())return!L.isMethod()||L.node.kind!=="constructor"?!0:!E(L.parentPath.parentPath);if(L.isTSModuleBlock())return!1}while(M=M.parent);return!0}function _(M,L,J){let pe=X.types.callExpression(qn(M,`id/${L}`)(),J);return(a!=null?a:qn(M,"defaultPure"))&&(0,NPe.default)(pe),pe}function D(M){let J=M.get("openingElement").node.attributes,pe=!1;for(let Ee=0;Ee<J.length;Ee++){let Pe=J[Ee];if(pe&&X.types.isJSXAttribute(Pe)&&Pe.name.name==="key")return!0;X.types.isJSXSpreadAttribute(Pe)&&(pe=!0)}return!1}function A(M,L){return X.types.isJSXIdentifier(M)?M.name==="this"&&X.types.isReferenced(M,L)?X.types.thisExpression():X.types.isValidIdentifier(M.name,!1)?(M.type="Identifier",M):X.types.stringLiteral(M.name):X.types.isJSXMemberExpression(M)?X.types.memberExpression(A(M.object,M),A(M.property,M)):X.types.isJSXNamespacedName(M)?X.types.stringLiteral(`${M.namespace.name}:${M.name.name}`):M}function I(M){return X.types.isJSXExpressionContainer(M)?M.expression:M}function O(M,L){if(X.types.isJSXSpreadAttribute(L.node)){let Ee=L.node.argument;return X.types.isObjectExpression(Ee)&&!LPe(Ee)?M.push(...Ee.properties):M.push(X.types.spreadElement(Ee)),M}let J=I(L.node.name.name!=="key"?L.node.value||X.types.booleanLiteral(!0):L.node.value);if(L.node.name.name==="key"&&J===null)throw L.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');if(X.types.isStringLiteral(J)&&!X.types.isJSXExpressionContainer(L.node.value)){var pe;J.value=J.value.replace(/\n\s+/g," "),(pe=J.extra)==null||delete pe.raw}return X.types.isJSXNamespacedName(L.node.name)?L.node.name=X.types.stringLiteral(L.node.name.namespace.name+":"+L.node.name.name.name):X.types.isValidIdentifier(L.node.name.name,!1)?L.node.name.type="Identifier":L.node.name=X.types.stringLiteral(L.node.name.name),M.push(X.types.inherits(X.types.objectProperty(L.node.name,J),L.node)),M}function F(M){let L;if(M.length===1)L=M[0];else if(M.length>1)L=X.types.arrayExpression(M);else return;return X.types.objectProperty(X.types.identifier("children"),L)}function z(M,L){let J=M.get("openingElement"),pe=[ut(J)],Ee=[],Pe=Object.create(null);for(let We of J.get("attributes"))if(We.isJSXAttribute()&&X.types.isJSXIdentifier(We.node.name)){let{name:st}=We.node.name;switch(st){case"__source":case"__self":if(Pe[st])throw jk(M,st);case"key":{let Tt=I(We.node.value);if(Tt===null)throw We.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');Pe[st]=Tt;break}default:Ee.push(We)}}else Ee.push(We);let Me=X.types.react.buildChildren(M.node),Ke;if(Ee.length||Me.length?Ke=Y(Ee,Me):Ke=X.types.objectExpression([]),pe.push(Ke),t){var At;pe.push((At=Pe.key)!=null?At:M.scope.buildUndefinedNode(),X.types.booleanLiteral(Me.length>1)),Pe.__source?(pe.push(Pe.__source),Pe.__self&&pe.push(Pe.__self)):Pe.__self&&pe.push(M.scope.buildUndefinedNode(),Pe.__self)}else Pe.key!==void 0&&pe.push(Pe.key);return _(L,Me.length>1?"jsxs":"jsx",pe)}function Y(M,L){let J=M.reduce(O,[]);return(L==null?void 0:L.length)>0&&J.push(F(L)),X.types.objectExpression(J)}function Z(M,L){let J=[qn(L,"id/fragment")()],pe=X.types.react.buildChildren(M.node);return J.push(X.types.objectExpression(pe.length>0?[F(pe)]:[])),t&&J.push(M.scope.buildUndefinedNode(),X.types.booleanLiteral(pe.length>1)),_(L,pe.length>1?"jsxs":"jsx",J)}function Te(M,L){if(!(l&&!l(M.node,L)))return _(L,"createElement",[qn(L,"id/fragment")(),X.types.nullLiteral(),...X.types.react.buildChildren(M.node)])}function Se(M,L){let J=M.get("openingElement");return _(L,"createElement",[ut(J),se(L,M,J.get("attributes")),...X.types.react.buildChildren(M.node)])}function ut(M){let L=A(M.node.name,M.node),J;return X.types.isIdentifier(L)?J=L.name:X.types.isStringLiteral(L)&&(J=L.value),X.types.react.isCompatTag(J)?X.types.stringLiteral(J):L}function se(M,L,J){let pe=qn(M,"runtime");if(pe!=="automatic"){let Me=[],Ke=J.reduce(O,[]);if(m)Ke.length&&Me.push(X.types.objectExpression(Ke));else{let We=0;Ke.forEach((st,Tt)=>{X.types.isSpreadElement(st)&&(Tt>We&&Me.push(X.types.objectExpression(Ke.slice(We,Tt))),Me.push(st.argument),We=Tt+1)}),Ke.length>We&&Me.push(X.types.objectExpression(Ke.slice(We)))}if(!Me.length)return X.types.nullLiteral();if(Me.length===1&&!(X.types.isSpreadElement(Ke[0])&&X.types.isObjectExpression(Ke[0].argument)))return Me[0];X.types.isObjectExpression(Me[0])||Me.unshift(X.types.objectExpression([]));let At=S?X.types.memberExpression(X.types.identifier("Object"),X.types.identifier("assign")):M.addHelper("extends");return X.types.callExpression(At,Me)}let Ee=[],Pe=Object.create(null);for(let Me of J){let Ke=X.types.isJSXAttribute(Me)&&X.types.isJSXIdentifier(Me.name)&&Me.name.name;if(pe==="automatic"&&(Ke==="__source"||Ke==="__self")){if(Pe[Ke])throw jk(L,Ke);Pe[Ke]=!0}O(Ee,Me)}return Ee.length===1&&X.types.isSpreadElement(Ee[0])&&!X.types.isObjectExpression(Ee[0].argument)?Ee[0].argument:Ee.length>0?X.types.objectExpression(Ee):X.types.nullLiteral()}});function r(i,s){switch(s){case"Fragment":return`${i}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${i}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${i}/jsx-runtime`;case"createElement":return i}}function n(i,s,a,o){return()=>{let l=r(o,a);if((0,vv.isModule)(s)){let u=qn(i,`imports/${a}`);return u?X.types.cloneNode(u):(u=(0,vv.addNamed)(s,a,l,{importedInterop:"uncompiled",importPosition:"after"}),gi(i,`imports/${a}`,u),u)}else{let u=qn(i,`requires/${l}`);return u?u=X.types.cloneNode(u):(u=(0,vv.addNamespace)(s,l,{importedInterop:"uncompiled"}),gi(i,`requires/${l}`,u)),X.types.memberExpression(u,X.types.identifier(a))}}}}function Bk(e){return e.split(".").map(t=>X.types.identifier(t)).reduce((t,r)=>X.types.memberExpression(t,r))}function RPe(e,t){let r=e.node.loc;if(!r)return e.scope.buildUndefinedNode();if(!t.fileNameIdentifier){let{filename:n=""}=t,i=e.scope.generateUidIdentifier("_jsxFileName");e.scope.getProgramParent().push({id:i,init:X.types.stringLiteral(n)}),t.fileNameIdentifier=i}return qPe(X.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function qPe(e,t,r){let n=t!=null?X.types.numericLiteral(t):X.types.nullLiteral(),i=r!=null?X.types.numericLiteral(r+1):X.types.nullLiteral();return X.template.expression.ast`{
fileName: ${e},
lineNumber: ${n},
columnNumber: ${i},
}`}function jk(e,t){let r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}});var Mk=g(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.default=void 0;var UPe=Lk(),VPe=(0,UPe.default)({name:"transform-react-jsx",development:!1});Hp.default=VPe});var Uk=g(Sv=>{"use strict";Object.defineProperty(Sv,"__esModule",{value:!0});Sv.transformDynamicImport=WPe;var Rk=Pt(),$Pe=wc(),qk=e=>Rk.template.expression.ast`require(${e})`,KPe=(e,t)=>Rk.types.callExpression(t.addHelper("interopRequireWildcard"),[qk(e)]);function WPe(e,t,r){let n=t?qk:KPe;e.replaceWith((0,$Pe.buildDynamicImport)(e.node,!0,!1,i=>n(i,r)))}});var Vk=g(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.default=void 0;var zPe=tt(),ns=wc(),GPe=K0(),jr=Pt(),HPe=Uk(),YPe=(0,zPe.declare)((e,t)=>{var r,n,i;e.assertVersion(7);let{strictNamespace:s=!1,mjsStrictNamespace:a=s,allowTopLevelThis:o,strict:l,strictMode:u,noInterop:c,importInterop:f,lazy:d=!1,allowCommonJSExports:m=!0,loose:S=!1}=t,p=(r=e.assumption("constantReexports"))!=null?r:S,E=(n=e.assumption("enumerableModuleMeta"))!=null?n:S,b=(i=e.assumption("noIncompleteNsImportDetection"))!=null?i:!1;if(typeof d!="boolean"&&typeof d!="function"&&(!Array.isArray(d)||!d.every(A=>typeof A=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof s!="boolean")throw new Error(".strictNamespace must be a boolean, or undefined");if(typeof a!="boolean")throw new Error(".mjsStrictNamespace must be a boolean, or undefined");let _=A=>jr.template.expression.ast`
(function(){
throw new Error(
"The CommonJS '" + "${A}" + "' variable is not available in ES6 modules." +
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
"Babel config for this file.");
})()
`,D={ReferencedIdentifier(A){let I=A.node.name;if(I!=="module"&&I!=="exports")return;let O=A.scope.getBinding(I);this.scope.getBinding(I)!==O||A.parentPath.isObjectProperty({value:A.node})&&A.parentPath.parentPath.isObjectPattern()||A.parentPath.isAssignmentExpression({left:A.node})||A.isAssignmentExpression({left:A.node})||A.replaceWith(_(I))},UpdateExpression(A){let I=A.get("argument");if(!I.isIdentifier())return;let O=I.node.name;if(O!=="module"&&O!=="exports")return;let F=A.scope.getBinding(O);this.scope.getBinding(O)===F&&A.replaceWith(jr.types.assignmentExpression(A.node.operator[0]+"=",I.node,_(O)))},AssignmentExpression(A){let I=A.get("left");if(I.isIdentifier()){let O=I.node.name;if(O!=="module"&&O!=="exports")return;let F=A.scope.getBinding(O);if(this.scope.getBinding(O)!==F)return;let Y=A.get("right");Y.replaceWith(jr.types.sequenceExpression([Y.node,_(O)]))}else if(I.isPattern()){let O=I.getOuterBindingIdentifiers(),F=Object.keys(O).filter(z=>z!=="module"&&z!=="exports"?!1:this.scope.getBinding(z)===A.scope.getBinding(z))[0];if(F){let z=A.get("right");z.replaceWith(jr.types.sequenceExpression([z.node,_(F)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(A){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||!jr.types.isImport(A.node.callee))return;let{scope:I}=A;do I.rename("require");while(I=I.parent);(0,HPe.transformDynamicImport)(A,c,this.file)},Program:{exit(A,I){if(!(0,ns.isModule)(A))return;A.scope.rename("exports"),A.scope.rename("module"),A.scope.rename("require"),A.scope.rename("__filename"),A.scope.rename("__dirname"),m||((0,GPe.default)(A,new Set(["module","exports"]),!1),A.traverse(D,{scope:A.scope}));let O=(0,ns.getModuleName)(this.file.opts,t);O&&(O=jr.types.stringLiteral(O));let{meta:F,headers:z}=(0,ns.rewriteModuleStatementsAndPrepareHeader)(A,{exportName:"exports",constantReexports:p,enumerableModuleMeta:E,strict:l,strictMode:u,allowTopLevelThis:o,noInterop:c,importInterop:f,lazy:d,esNamespaceOnly:typeof I.filename=="string"&&/\.mjs$/.test(I.filename)?a:s,noIncompleteNsImportDetection:b,filename:this.file.opts.filename});for(let[Y,Z]of F.source){let Te=jr.types.callExpression(jr.types.identifier("require"),[jr.types.stringLiteral(Y)]),Se;if((0,ns.isSideEffectImport)(Z)){if(Z.lazy)throw new Error("Assertion failure");Se=jr.types.expressionStatement(Te)}else{if(Z.lazy&&!Z.referenced)continue;let ut=(0,ns.wrapInterop)(A,Te,Z.interop)||Te;Z.lazy?Se=jr.template.statement.ast`
function ${Z.name}() {
const data = ${ut};
${Z.name} = function(){ return data; };
return data;
}
`:Se=jr.template.statement.ast`
var ${Z.name} = ${ut};
`}Se.loc=Z.loc,z.push(Se),z.push(...(0,ns.buildNamespaceInitStatements)(F,Z,p))}(0,ns.ensureStatementsHoisted)(z),A.unshiftContainer("body",z),A.get("body").forEach(Y=>{z.indexOf(Y.node)!==-1&&Y.isVariableDeclaration()&&Y.scope.registerDeclaration(Y)})}}}}});Yp.default=YPe});var $k=g(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.default=void 0;var XPe=tt(),JPe=(0,XPe.declare)(e=>(e.assertVersion(7),{name:"syntax-dynamic-import",manipulateOptions(t,r){r.plugins.push("dynamicImport")}}));Xp.default=JPe});var Kk=g(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.default=void 0;var QPe=tt(),ZPe=$k(),eAe=["commonjs","amd","systemjs"],tAe=`@babel/plugin-proposal-dynamic-import depends on a modules
transform plugin. Supported plugins are:
- @babel/plugin-transform-modules-commonjs ^7.4.0
- @babel/plugin-transform-modules-amd ^7.4.0
- @babel/plugin-transform-modules-systemjs ^7.4.0
If you are using Webpack or Rollup and thus don't want
Babel to transpile your imports and exports, you can use
the @babel/plugin-syntax-dynamic-import plugin and let your
bundler handle dynamic imports.
`,rAe=(0,QPe.declare)(e=>(e.assertVersion(7),{name:"proposal-dynamic-import",inherits:ZPe.default,pre(){this.file.set("@babel/plugin-proposal-dynamic-import","7.18.6")},visitor:{Program(){let t=this.file.get("@babel/plugin-transform-modules-*");if(!eAe.includes(t))throw new Error(tAe)}}}));Jp.default=rAe});var Wk=g(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.default=void 0;var nAe=tt(),iAe=(0,nAe.declare)(e=>(e.assertVersion(7),{name:"syntax-import-assertions",manipulateOptions(t,r){r.plugins.push("importAssertions")}}));Qp.default=iAe});var lAe={};iF(lAe,{babelTransform:()=>oAe,codeFrameColumns:()=>Hk.codeFrameColumns,declare:()=>Yk.declare,parse:()=>Jk.parse,traverse:()=>sAe,types:()=>Xk.types});module.exports=sF(lAe);var zk=is(Pt()),Hk=is(As()),Yk=is(tt()),Xk=is(Pt()),Jk=is(Ms()),Gk=is(yr()),sAe=Gk.default;function aAe(e,t,r,n){let i=[];return e&&i.push([uk(),{version:"2022-03"}],[fk()],[hk()],[gk()],[Ek()],[Tk()],[Ak()],[wk()],[Dk()],[Ik()],[_k()],[Ok()],[kk()],[({template:s})=>({name:"replace-ts-export-assignment",visitor:{TSExportAssignment(a){a.replaceWith(s("module.exports = ASSIGNMENT;")({ASSIGNMENT:a.node.expression}))}}})]),i.push([Mk(),{runtime:"automatic",importSource:"@playwright/test"}]),t?i.push([Wk()]):(i.push([Vk()]),i.push([Kk()])),{browserslistConfigFile:!1,babelrc:!1,configFile:!1,assumptions:{setPublicClassFields:!0},presets:e?[[UE(),{onlyRemoveTypeImports:!1}]]:[],plugins:[...r.map(([s,a])=>[require(s),a]),...i,...n.map(([s,a])=>[require(s),a])],compact:!1,sourceMaps:"both"}}var xv=!1;function oAe(e,t,r,n,i,s){if(xv)return{};xv=!0;try{let a=aAe(r,n,i,s);return zk.transform(e,{filename:t,...a})}finally{xv=!1}}0&&(module.exports={babelTransform,codeFrameColumns,declare,parse,traverse,types});