babelBundleImpl.js 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098
  1. "use strict";var N3=Object.create;var ol=Object.defineProperty;var k3=Object.getOwnPropertyDescriptor;var B3=Object.getOwnPropertyNames;var F3=Object.getPrototypeOf,j3=Object.prototype.hasOwnProperty;var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),L3=(e,t)=>{for(var r in t)ol(e,r,{get:t[r],enumerable:!0})},yv=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of B3(t))!j3.call(e,s)&&s!==r&&ol(e,s,{get:()=>t[s],enumerable:!(n=k3(t,s))||n.enumerable});return e};var Vn=(e,t,r)=>(r=e!=null?N3(F3(e)):{},yv(t||!e||!e.__esModule?ol(r,"default",{value:e,enumerable:!0}):r,e)),M3=e=>yv(ol({},"__esModule",{value:!0}),e);var Mp=g(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.Var=Re.User=Re.Statement=Re.SpreadProperty=Re.Scope=Re.RestProperty=Re.ReferencedMemberExpression=Re.ReferencedIdentifier=Re.Referenced=Re.Pure=Re.NumericLiteralTypeAnnotation=Re.Generated=Re.ForAwaitStatement=Re.Flow=Re.Expression=Re.ExistentialTypeParam=Re.BlockScoped=Re.BindingIdentifier=void 0;var R3=["Identifier","JSXIdentifier"];Re.ReferencedIdentifier=R3;var q3=["MemberExpression"];Re.ReferencedMemberExpression=q3;var U3=["Identifier"];Re.BindingIdentifier=U3;var V3=["Statement"];Re.Statement=V3;var $3=["Expression"];Re.Expression=$3;var W3=["Scopable","Pattern"];Re.Scope=W3;var K3=null;Re.Referenced=K3;var G3=null;Re.BlockScoped=G3;var H3=["VariableDeclaration"];Re.Var=H3;var Y3=null;Re.User=Y3;var X3=null;Re.Generated=X3;var J3=null;Re.Pure=J3;var z3=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];Re.Flow=z3;var Q3=["RestElement"];Re.RestProperty=Q3;var Z3=["RestElement"];Re.SpreadProperty=Z3;var ek=["ExistsTypeAnnotation"];Re.ExistentialTypeParam=ek;var tk=["NumberLiteralTypeAnnotation"];Re.NumericLiteralTypeAnnotation=tk;var rk=["ForOfStatement"];Re.ForAwaitStatement=rk});var ll=g(Rp=>{"use strict";Object.defineProperty(Rp,"__esModule",{value:!0});Rp.default=nk;function nk(e,t){let r=Object.keys(t);for(let n of r)if(e[n]!==t[n])return!1;return!0}});var ha=g(qp=>{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});qp.default=sk;var gv=new Set;function sk(e,t,r=""){if(gv.has(e))return;gv.add(e);let{internal:n,trace:s}=ik(1,2);n||console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\`
  2. ${s}`)}function ik(e,t){let{stackTraceLimit:r,prepareStackTrace:n}=Error,s;if(Error.stackTraceLimit=1+e+t,Error.prepareStackTrace=function(a,o){s=o},new Error().stack,Error.stackTraceLimit=r,Error.prepareStackTrace=n,!s)return{internal:!1,trace:""};let i=s.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(i[1].getFileName()),trace:i.map(a=>` at ${a}`).join(`
  3. `)}}});var It=g(v=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});v.isAccessor=EL;v.isAnyTypeAnnotation=qB;v.isArgumentPlaceholder=m8;v.isArrayExpression=ak;v.isArrayPattern=sB;v.isArrayTypeAnnotation=UB;v.isArrowFunctionExpression=iB;v.isAssignmentExpression=ok;v.isAssignmentPattern=nB;v.isAwaitExpression=DB;v.isBigIntLiteral=OB;v.isBinary=Vj;v.isBinaryExpression=lk;v.isBindExpression=y8;v.isBlock=Kj;v.isBlockParent=Wj;v.isBlockStatement=pk;v.isBooleanLiteral=kk;v.isBooleanLiteralTypeAnnotation=$B;v.isBooleanTypeAnnotation=VB;v.isBreakStatement=dk;v.isCallExpression=hk;v.isCatchClause=mk;v.isClass=yL;v.isClassAccessorProperty=FB;v.isClassBody=aB;v.isClassDeclaration=lB;v.isClassExpression=oB;v.isClassImplements=KB;v.isClassMethod=vB;v.isClassPrivateMethod=LB;v.isClassPrivateProperty=jB;v.isClassProperty=BB;v.isCompletionStatement=Yj;v.isConditional=Xj;v.isConditionalExpression=yk;v.isContinueStatement=gk;v.isDebuggerStatement=bk;v.isDecimalLiteral=x8;v.isDeclaration=sL;v.isDeclareClass=GB;v.isDeclareExportAllDeclaration=tF;v.isDeclareExportDeclaration=eF;v.isDeclareFunction=HB;v.isDeclareInterface=YB;v.isDeclareModule=XB;v.isDeclareModuleExports=JB;v.isDeclareOpaqueType=QB;v.isDeclareTypeAlias=zB;v.isDeclareVariable=ZB;v.isDeclaredPredicate=rF;v.isDecorator=b8;v.isDirective=ck;v.isDirectiveLiteral=fk;v.isDoExpression=E8;v.isDoWhileStatement=Ek;v.isEmptyStatement=vk;v.isEmptyTypeAnnotation=dF;v.isEnumBody=CL;v.isEnumBooleanBody=UF;v.isEnumBooleanMember=KF;v.isEnumDeclaration=qF;v.isEnumDefaultedMember=YF;v.isEnumMember=wL;v.isEnumNumberBody=VF;v.isEnumNumberMember=GF;v.isEnumStringBody=$F;v.isEnumStringMember=HF;v.isEnumSymbolBody=WF;v.isExistsTypeAnnotation=nF;v.isExportAllDeclaration=uB;v.isExportDeclaration=gL;v.isExportDefaultDeclaration=cB;v.isExportDefaultSpecifier=v8;v.isExportNamedDeclaration=fB;v.isExportNamespaceSpecifier=_B;v.isExportSpecifier=pB;v.isExpression=Uj;v.isExpressionStatement=Tk;v.isExpressionWrapper=Qj;v.isFile=Sk;v.isFlow=TL;v.isFlowBaseAnnotation=xL;v.isFlowDeclaration=PL;v.isFlowPredicate=AL;v.isFlowType=SL;v.isFor=Zj;v.isForInStatement=xk;v.isForOfStatement=dB;v.isForStatement=Pk;v.isForXStatement=eL;v.isFunction=tL;v.isFunctionDeclaration=Ak;v.isFunctionExpression=Ck;v.isFunctionParent=rL;v.isFunctionTypeAnnotation=sF;v.isFunctionTypeParam=iF;v.isGenericTypeAnnotation=aF;v.isIdentifier=wk;v.isIfStatement=Dk;v.isImmutable=uL;v.isImport=IB;v.isImportAttribute=g8;v.isImportDeclaration=hB;v.isImportDefaultSpecifier=mB;v.isImportExpression=bB;v.isImportNamespaceSpecifier=yB;v.isImportOrExportDeclaration=bv;v.isImportSpecifier=gB;v.isIndexedAccessType=XF;v.isInferredPredicate=oF;v.isInterfaceDeclaration=uF;v.isInterfaceExtends=lF;v.isInterfaceTypeAnnotation=cF;v.isInterpreterDirective=uk;v.isIntersectionTypeAnnotation=fF;v.isJSX=DL;v.isJSXAttribute=zF;v.isJSXClosingElement=QF;v.isJSXClosingFragment=f8;v.isJSXElement=ZF;v.isJSXEmptyExpression=e8;v.isJSXExpressionContainer=t8;v.isJSXFragment=u8;v.isJSXIdentifier=n8;v.isJSXMemberExpression=s8;v.isJSXNamespacedName=i8;v.isJSXOpeningElement=a8;v.isJSXOpeningFragment=c8;v.isJSXSpreadAttribute=o8;v.isJSXSpreadChild=r8;v.isJSXText=l8;v.isLVal=aL;v.isLabeledStatement=Ik;v.isLiteral=lL;v.isLogicalExpression=Fk;v.isLoop=Jj;v.isMemberExpression=jk;v.isMetaProperty=EB;v.isMethod=fL;v.isMiscellaneous=IL;v.isMixedTypeAnnotation=pF;v.isModuleDeclaration=ML;v.isModuleExpression=P8;v.isModuleSpecifier=bL;v.isNewExpression=Lk;v.isNoop=p8;v.isNullLiteral=Nk;v.isNullLiteralTypeAnnotation=WB;v.isNullableTypeAnnotation=hF;v.isNumberLiteral=BL;v.isNumberLiteralTypeAnnotation=mF;v.isNumberTypeAnnotation=yF;v.isNumericLiteral=_k;v.isObjectExpression=Rk;v.isObjectMember=pL;v.isObjectMethod=qk;v.isObjectPattern=TB;v.isObjectProperty=Uk;v.isObjectTypeAnnotation=gF;v.isObjectTypeCallProperty=EF;v.isObjectTypeIndexer=vF;v.isObjectTypeInternalSlot=bF;v.isObjectTypeProperty=TF;v.isObjectTypeSpreadProperty=SF;v.isOpaqueType=xF;v.isOptionalCallExpression=kB;v.isOptionalIndexedAccessType=JF;v.isOptionalMemberExpression=NB;v.isParenthesizedExpression=Kk;v.isPattern=mL;v.isPatternLike=iL;v.isPipelineBareFunction=w8;v.isPipelinePrimaryTopicReference=D8;v.isPipelineTopicExpression=C8;v.isPlaceholder=d8;v.isPrivate=vL;v.isPrivateName=MB;v.isProgram=Mk;v.isProperty=dL;v.isPureish=nL;v.isQualifiedTypeIdentifier=PF;v.isRecordExpression=T8;v.isRegExpLiteral=Bk;v.isRegexLiteral=FL;v.isRestElement=Vk;v.isRestProperty=jL;v.isReturnStatement=$k;v.isScopable=$j;v.isSequenceExpression=Wk;v.isSpreadElement=SB;v.isSpreadProperty=LL;v.isStandardized=qj;v.isStatement=Gj;v.isStaticBlock=RB;v.isStringLiteral=Ok;v.isStringLiteralTypeAnnotation=AF;v.isStringTypeAnnotation=CF;v.isSuper=xB;v.isSwitchCase=Gk;v.isSwitchStatement=Hk;v.isSymbolTypeAnnotation=wF;v.isTSAnyKeyword=M8;v.isTSArrayType=sj;v.isTSAsExpression=xj;v.isTSBaseType=kL;v.isTSBigIntKeyword=q8;v.isTSBooleanKeyword=R8;v.isTSCallSignatureDeclaration=k8;v.isTSConditionalType=fj;v.isTSConstructSignatureDeclaration=B8;v.isTSConstructorType=Z8;v.isTSDeclareFunction=O8;v.isTSDeclareMethod=_8;v.isTSEntityName=oL;v.isTSEnumDeclaration=Cj;v.isTSEnumMember=wj;v.isTSExportAssignment=Bj;v.isTSExpressionWithTypeArguments=bj;v.isTSExternalModuleReference=Nj;v.isTSFunctionType=Q8;v.isTSImportEqualsDeclaration=_j;v.isTSImportType=Oj;v.isTSIndexSignature=L8;v.isTSIndexedAccessType=mj;v.isTSInferType=pj;v.isTSInstantiationExpression=Sj;v.isTSInterfaceBody=vj;v.isTSInterfaceDeclaration=Ej;v.isTSIntersectionType=cj;v.isTSIntrinsicKeyword=U8;v.isTSLiteralType=gj;v.isTSMappedType=yj;v.isTSMethodSignature=j8;v.isTSModuleBlock=Ij;v.isTSModuleDeclaration=Dj;v.isTSNamedTupleMember=lj;v.isTSNamespaceExportDeclaration=Fj;v.isTSNeverKeyword=V8;v.isTSNonNullExpression=kj;v.isTSNullKeyword=$8;v.isTSNumberKeyword=W8;v.isTSObjectKeyword=K8;v.isTSOptionalType=aj;v.isTSParameterProperty=I8;v.isTSParenthesizedType=dj;v.isTSPropertySignature=F8;v.isTSQualifiedName=N8;v.isTSRestType=oj;v.isTSSatisfiesExpression=Pj;v.isTSStringKeyword=G8;v.isTSSymbolKeyword=H8;v.isTSThisType=z8;v.isTSTupleType=ij;v.isTSType=NL;v.isTSTypeAliasDeclaration=Tj;v.isTSTypeAnnotation=jj;v.isTSTypeAssertion=Aj;v.isTSTypeElement=_L;v.isTSTypeLiteral=nj;v.isTSTypeOperator=hj;v.isTSTypeParameter=Rj;v.isTSTypeParameterDeclaration=Mj;v.isTSTypeParameterInstantiation=Lj;v.isTSTypePredicate=tj;v.isTSTypeQuery=rj;v.isTSTypeReference=ej;v.isTSUndefinedKeyword=Y8;v.isTSUnionType=uj;v.isTSUnknownKeyword=X8;v.isTSVoidKeyword=J8;v.isTaggedTemplateExpression=PB;v.isTemplateElement=AB;v.isTemplateLiteral=CB;v.isTerminatorless=Hj;v.isThisExpression=Yk;v.isThisTypeAnnotation=DF;v.isThrowStatement=Xk;v.isTopicReference=A8;v.isTryStatement=Jk;v.isTupleExpression=S8;v.isTupleTypeAnnotation=IF;v.isTypeAlias=_F;v.isTypeAnnotation=NF;v.isTypeCastExpression=kF;v.isTypeParameter=BF;v.isTypeParameterDeclaration=FF;v.isTypeParameterInstantiation=jF;v.isTypeScript=OL;v.isTypeofTypeAnnotation=OF;v.isUnaryExpression=zk;v.isUnaryLike=hL;v.isUnionTypeAnnotation=LF;v.isUpdateExpression=Qk;v.isUserWhitespacable=cL;v.isV8IntrinsicIdentifier=h8;v.isVariableDeclaration=Zk;v.isVariableDeclarator=eB;v.isVariance=MF;v.isVoidTypeAnnotation=RF;v.isWhile=zj;v.isWhileStatement=tB;v.isWithStatement=rB;v.isYieldExpression=wB;var x=ll(),ma=ha();function ak(e,t){return!e||e.type!=="ArrayExpression"?!1:t==null||(0,x.default)(e,t)}function ok(e,t){return!e||e.type!=="AssignmentExpression"?!1:t==null||(0,x.default)(e,t)}function lk(e,t){return!e||e.type!=="BinaryExpression"?!1:t==null||(0,x.default)(e,t)}function uk(e,t){return!e||e.type!=="InterpreterDirective"?!1:t==null||(0,x.default)(e,t)}function ck(e,t){return!e||e.type!=="Directive"?!1:t==null||(0,x.default)(e,t)}function fk(e,t){return!e||e.type!=="DirectiveLiteral"?!1:t==null||(0,x.default)(e,t)}function pk(e,t){return!e||e.type!=="BlockStatement"?!1:t==null||(0,x.default)(e,t)}function dk(e,t){return!e||e.type!=="BreakStatement"?!1:t==null||(0,x.default)(e,t)}function hk(e,t){return!e||e.type!=="CallExpression"?!1:t==null||(0,x.default)(e,t)}function mk(e,t){return!e||e.type!=="CatchClause"?!1:t==null||(0,x.default)(e,t)}function yk(e,t){return!e||e.type!=="ConditionalExpression"?!1:t==null||(0,x.default)(e,t)}function gk(e,t){return!e||e.type!=="ContinueStatement"?!1:t==null||(0,x.default)(e,t)}function bk(e,t){return!e||e.type!=="DebuggerStatement"?!1:t==null||(0,x.default)(e,t)}function Ek(e,t){return!e||e.type!=="DoWhileStatement"?!1:t==null||(0,x.default)(e,t)}function vk(e,t){return!e||e.type!=="EmptyStatement"?!1:t==null||(0,x.default)(e,t)}function Tk(e,t){return!e||e.type!=="ExpressionStatement"?!1:t==null||(0,x.default)(e,t)}function Sk(e,t){return!e||e.type!=="File"?!1:t==null||(0,x.default)(e,t)}function xk(e,t){return!e||e.type!=="ForInStatement"?!1:t==null||(0,x.default)(e,t)}function Pk(e,t){return!e||e.type!=="ForStatement"?!1:t==null||(0,x.default)(e,t)}function Ak(e,t){return!e||e.type!=="FunctionDeclaration"?!1:t==null||(0,x.default)(e,t)}function Ck(e,t){return!e||e.type!=="FunctionExpression"?!1:t==null||(0,x.default)(e,t)}function wk(e,t){return!e||e.type!=="Identifier"?!1:t==null||(0,x.default)(e,t)}function Dk(e,t){return!e||e.type!=="IfStatement"?!1:t==null||(0,x.default)(e,t)}function Ik(e,t){return!e||e.type!=="LabeledStatement"?!1:t==null||(0,x.default)(e,t)}function Ok(e,t){return!e||e.type!=="StringLiteral"?!1:t==null||(0,x.default)(e,t)}function _k(e,t){return!e||e.type!=="NumericLiteral"?!1:t==null||(0,x.default)(e,t)}function Nk(e,t){return!e||e.type!=="NullLiteral"?!1:t==null||(0,x.default)(e,t)}function kk(e,t){return!e||e.type!=="BooleanLiteral"?!1:t==null||(0,x.default)(e,t)}function Bk(e,t){return!e||e.type!=="RegExpLiteral"?!1:t==null||(0,x.default)(e,t)}function Fk(e,t){return!e||e.type!=="LogicalExpression"?!1:t==null||(0,x.default)(e,t)}function jk(e,t){return!e||e.type!=="MemberExpression"?!1:t==null||(0,x.default)(e,t)}function Lk(e,t){return!e||e.type!=="NewExpression"?!1:t==null||(0,x.default)(e,t)}function Mk(e,t){return!e||e.type!=="Program"?!1:t==null||(0,x.default)(e,t)}function Rk(e,t){return!e||e.type!=="ObjectExpression"?!1:t==null||(0,x.default)(e,t)}function qk(e,t){return!e||e.type!=="ObjectMethod"?!1:t==null||(0,x.default)(e,t)}function Uk(e,t){return!e||e.type!=="ObjectProperty"?!1:t==null||(0,x.default)(e,t)}function Vk(e,t){return!e||e.type!=="RestElement"?!1:t==null||(0,x.default)(e,t)}function $k(e,t){return!e||e.type!=="ReturnStatement"?!1:t==null||(0,x.default)(e,t)}function Wk(e,t){return!e||e.type!=="SequenceExpression"?!1:t==null||(0,x.default)(e,t)}function Kk(e,t){return!e||e.type!=="ParenthesizedExpression"?!1:t==null||(0,x.default)(e,t)}function Gk(e,t){return!e||e.type!=="SwitchCase"?!1:t==null||(0,x.default)(e,t)}function Hk(e,t){return!e||e.type!=="SwitchStatement"?!1:t==null||(0,x.default)(e,t)}function Yk(e,t){return!e||e.type!=="ThisExpression"?!1:t==null||(0,x.default)(e,t)}function Xk(e,t){return!e||e.type!=="ThrowStatement"?!1:t==null||(0,x.default)(e,t)}function Jk(e,t){return!e||e.type!=="TryStatement"?!1:t==null||(0,x.default)(e,t)}function zk(e,t){return!e||e.type!=="UnaryExpression"?!1:t==null||(0,x.default)(e,t)}function Qk(e,t){return!e||e.type!=="UpdateExpression"?!1:t==null||(0,x.default)(e,t)}function Zk(e,t){return!e||e.type!=="VariableDeclaration"?!1:t==null||(0,x.default)(e,t)}function eB(e,t){return!e||e.type!=="VariableDeclarator"?!1:t==null||(0,x.default)(e,t)}function tB(e,t){return!e||e.type!=="WhileStatement"?!1:t==null||(0,x.default)(e,t)}function rB(e,t){return!e||e.type!=="WithStatement"?!1:t==null||(0,x.default)(e,t)}function nB(e,t){return!e||e.type!=="AssignmentPattern"?!1:t==null||(0,x.default)(e,t)}function sB(e,t){return!e||e.type!=="ArrayPattern"?!1:t==null||(0,x.default)(e,t)}function iB(e,t){return!e||e.type!=="ArrowFunctionExpression"?!1:t==null||(0,x.default)(e,t)}function aB(e,t){return!e||e.type!=="ClassBody"?!1:t==null||(0,x.default)(e,t)}function oB(e,t){return!e||e.type!=="ClassExpression"?!1:t==null||(0,x.default)(e,t)}function lB(e,t){return!e||e.type!=="ClassDeclaration"?!1:t==null||(0,x.default)(e,t)}function uB(e,t){return!e||e.type!=="ExportAllDeclaration"?!1:t==null||(0,x.default)(e,t)}function cB(e,t){return!e||e.type!=="ExportDefaultDeclaration"?!1:t==null||(0,x.default)(e,t)}function fB(e,t){return!e||e.type!=="ExportNamedDeclaration"?!1:t==null||(0,x.default)(e,t)}function pB(e,t){return!e||e.type!=="ExportSpecifier"?!1:t==null||(0,x.default)(e,t)}function dB(e,t){return!e||e.type!=="ForOfStatement"?!1:t==null||(0,x.default)(e,t)}function hB(e,t){return!e||e.type!=="ImportDeclaration"?!1:t==null||(0,x.default)(e,t)}function mB(e,t){return!e||e.type!=="ImportDefaultSpecifier"?!1:t==null||(0,x.default)(e,t)}function yB(e,t){return!e||e.type!=="ImportNamespaceSpecifier"?!1:t==null||(0,x.default)(e,t)}function gB(e,t){return!e||e.type!=="ImportSpecifier"?!1:t==null||(0,x.default)(e,t)}function bB(e,t){return!e||e.type!=="ImportExpression"?!1:t==null||(0,x.default)(e,t)}function EB(e,t){return!e||e.type!=="MetaProperty"?!1:t==null||(0,x.default)(e,t)}function vB(e,t){return!e||e.type!=="ClassMethod"?!1:t==null||(0,x.default)(e,t)}function TB(e,t){return!e||e.type!=="ObjectPattern"?!1:t==null||(0,x.default)(e,t)}function SB(e,t){return!e||e.type!=="SpreadElement"?!1:t==null||(0,x.default)(e,t)}function xB(e,t){return!e||e.type!=="Super"?!1:t==null||(0,x.default)(e,t)}function PB(e,t){return!e||e.type!=="TaggedTemplateExpression"?!1:t==null||(0,x.default)(e,t)}function AB(e,t){return!e||e.type!=="TemplateElement"?!1:t==null||(0,x.default)(e,t)}function CB(e,t){return!e||e.type!=="TemplateLiteral"?!1:t==null||(0,x.default)(e,t)}function wB(e,t){return!e||e.type!=="YieldExpression"?!1:t==null||(0,x.default)(e,t)}function DB(e,t){return!e||e.type!=="AwaitExpression"?!1:t==null||(0,x.default)(e,t)}function IB(e,t){return!e||e.type!=="Import"?!1:t==null||(0,x.default)(e,t)}function OB(e,t){return!e||e.type!=="BigIntLiteral"?!1:t==null||(0,x.default)(e,t)}function _B(e,t){return!e||e.type!=="ExportNamespaceSpecifier"?!1:t==null||(0,x.default)(e,t)}function NB(e,t){return!e||e.type!=="OptionalMemberExpression"?!1:t==null||(0,x.default)(e,t)}function kB(e,t){return!e||e.type!=="OptionalCallExpression"?!1:t==null||(0,x.default)(e,t)}function BB(e,t){return!e||e.type!=="ClassProperty"?!1:t==null||(0,x.default)(e,t)}function FB(e,t){return!e||e.type!=="ClassAccessorProperty"?!1:t==null||(0,x.default)(e,t)}function jB(e,t){return!e||e.type!=="ClassPrivateProperty"?!1:t==null||(0,x.default)(e,t)}function LB(e,t){return!e||e.type!=="ClassPrivateMethod"?!1:t==null||(0,x.default)(e,t)}function MB(e,t){return!e||e.type!=="PrivateName"?!1:t==null||(0,x.default)(e,t)}function RB(e,t){return!e||e.type!=="StaticBlock"?!1:t==null||(0,x.default)(e,t)}function qB(e,t){return!e||e.type!=="AnyTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function UB(e,t){return!e||e.type!=="ArrayTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function VB(e,t){return!e||e.type!=="BooleanTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function $B(e,t){return!e||e.type!=="BooleanLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function WB(e,t){return!e||e.type!=="NullLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function KB(e,t){return!e||e.type!=="ClassImplements"?!1:t==null||(0,x.default)(e,t)}function GB(e,t){return!e||e.type!=="DeclareClass"?!1:t==null||(0,x.default)(e,t)}function HB(e,t){return!e||e.type!=="DeclareFunction"?!1:t==null||(0,x.default)(e,t)}function YB(e,t){return!e||e.type!=="DeclareInterface"?!1:t==null||(0,x.default)(e,t)}function XB(e,t){return!e||e.type!=="DeclareModule"?!1:t==null||(0,x.default)(e,t)}function JB(e,t){return!e||e.type!=="DeclareModuleExports"?!1:t==null||(0,x.default)(e,t)}function zB(e,t){return!e||e.type!=="DeclareTypeAlias"?!1:t==null||(0,x.default)(e,t)}function QB(e,t){return!e||e.type!=="DeclareOpaqueType"?!1:t==null||(0,x.default)(e,t)}function ZB(e,t){return!e||e.type!=="DeclareVariable"?!1:t==null||(0,x.default)(e,t)}function eF(e,t){return!e||e.type!=="DeclareExportDeclaration"?!1:t==null||(0,x.default)(e,t)}function tF(e,t){return!e||e.type!=="DeclareExportAllDeclaration"?!1:t==null||(0,x.default)(e,t)}function rF(e,t){return!e||e.type!=="DeclaredPredicate"?!1:t==null||(0,x.default)(e,t)}function nF(e,t){return!e||e.type!=="ExistsTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function sF(e,t){return!e||e.type!=="FunctionTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function iF(e,t){return!e||e.type!=="FunctionTypeParam"?!1:t==null||(0,x.default)(e,t)}function aF(e,t){return!e||e.type!=="GenericTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function oF(e,t){return!e||e.type!=="InferredPredicate"?!1:t==null||(0,x.default)(e,t)}function lF(e,t){return!e||e.type!=="InterfaceExtends"?!1:t==null||(0,x.default)(e,t)}function uF(e,t){return!e||e.type!=="InterfaceDeclaration"?!1:t==null||(0,x.default)(e,t)}function cF(e,t){return!e||e.type!=="InterfaceTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function fF(e,t){return!e||e.type!=="IntersectionTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function pF(e,t){return!e||e.type!=="MixedTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function dF(e,t){return!e||e.type!=="EmptyTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function hF(e,t){return!e||e.type!=="NullableTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function mF(e,t){return!e||e.type!=="NumberLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function yF(e,t){return!e||e.type!=="NumberTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function gF(e,t){return!e||e.type!=="ObjectTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function bF(e,t){return!e||e.type!=="ObjectTypeInternalSlot"?!1:t==null||(0,x.default)(e,t)}function EF(e,t){return!e||e.type!=="ObjectTypeCallProperty"?!1:t==null||(0,x.default)(e,t)}function vF(e,t){return!e||e.type!=="ObjectTypeIndexer"?!1:t==null||(0,x.default)(e,t)}function TF(e,t){return!e||e.type!=="ObjectTypeProperty"?!1:t==null||(0,x.default)(e,t)}function SF(e,t){return!e||e.type!=="ObjectTypeSpreadProperty"?!1:t==null||(0,x.default)(e,t)}function xF(e,t){return!e||e.type!=="OpaqueType"?!1:t==null||(0,x.default)(e,t)}function PF(e,t){return!e||e.type!=="QualifiedTypeIdentifier"?!1:t==null||(0,x.default)(e,t)}function AF(e,t){return!e||e.type!=="StringLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function CF(e,t){return!e||e.type!=="StringTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function wF(e,t){return!e||e.type!=="SymbolTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function DF(e,t){return!e||e.type!=="ThisTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function IF(e,t){return!e||e.type!=="TupleTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function OF(e,t){return!e||e.type!=="TypeofTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function _F(e,t){return!e||e.type!=="TypeAlias"?!1:t==null||(0,x.default)(e,t)}function NF(e,t){return!e||e.type!=="TypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function kF(e,t){return!e||e.type!=="TypeCastExpression"?!1:t==null||(0,x.default)(e,t)}function BF(e,t){return!e||e.type!=="TypeParameter"?!1:t==null||(0,x.default)(e,t)}function FF(e,t){return!e||e.type!=="TypeParameterDeclaration"?!1:t==null||(0,x.default)(e,t)}function jF(e,t){return!e||e.type!=="TypeParameterInstantiation"?!1:t==null||(0,x.default)(e,t)}function LF(e,t){return!e||e.type!=="UnionTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function MF(e,t){return!e||e.type!=="Variance"?!1:t==null||(0,x.default)(e,t)}function RF(e,t){return!e||e.type!=="VoidTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function qF(e,t){return!e||e.type!=="EnumDeclaration"?!1:t==null||(0,x.default)(e,t)}function UF(e,t){return!e||e.type!=="EnumBooleanBody"?!1:t==null||(0,x.default)(e,t)}function VF(e,t){return!e||e.type!=="EnumNumberBody"?!1:t==null||(0,x.default)(e,t)}function $F(e,t){return!e||e.type!=="EnumStringBody"?!1:t==null||(0,x.default)(e,t)}function WF(e,t){return!e||e.type!=="EnumSymbolBody"?!1:t==null||(0,x.default)(e,t)}function KF(e,t){return!e||e.type!=="EnumBooleanMember"?!1:t==null||(0,x.default)(e,t)}function GF(e,t){return!e||e.type!=="EnumNumberMember"?!1:t==null||(0,x.default)(e,t)}function HF(e,t){return!e||e.type!=="EnumStringMember"?!1:t==null||(0,x.default)(e,t)}function YF(e,t){return!e||e.type!=="EnumDefaultedMember"?!1:t==null||(0,x.default)(e,t)}function XF(e,t){return!e||e.type!=="IndexedAccessType"?!1:t==null||(0,x.default)(e,t)}function JF(e,t){return!e||e.type!=="OptionalIndexedAccessType"?!1:t==null||(0,x.default)(e,t)}function zF(e,t){return!e||e.type!=="JSXAttribute"?!1:t==null||(0,x.default)(e,t)}function QF(e,t){return!e||e.type!=="JSXClosingElement"?!1:t==null||(0,x.default)(e,t)}function ZF(e,t){return!e||e.type!=="JSXElement"?!1:t==null||(0,x.default)(e,t)}function e8(e,t){return!e||e.type!=="JSXEmptyExpression"?!1:t==null||(0,x.default)(e,t)}function t8(e,t){return!e||e.type!=="JSXExpressionContainer"?!1:t==null||(0,x.default)(e,t)}function r8(e,t){return!e||e.type!=="JSXSpreadChild"?!1:t==null||(0,x.default)(e,t)}function n8(e,t){return!e||e.type!=="JSXIdentifier"?!1:t==null||(0,x.default)(e,t)}function s8(e,t){return!e||e.type!=="JSXMemberExpression"?!1:t==null||(0,x.default)(e,t)}function i8(e,t){return!e||e.type!=="JSXNamespacedName"?!1:t==null||(0,x.default)(e,t)}function a8(e,t){return!e||e.type!=="JSXOpeningElement"?!1:t==null||(0,x.default)(e,t)}function o8(e,t){return!e||e.type!=="JSXSpreadAttribute"?!1:t==null||(0,x.default)(e,t)}function l8(e,t){return!e||e.type!=="JSXText"?!1:t==null||(0,x.default)(e,t)}function u8(e,t){return!e||e.type!=="JSXFragment"?!1:t==null||(0,x.default)(e,t)}function c8(e,t){return!e||e.type!=="JSXOpeningFragment"?!1:t==null||(0,x.default)(e,t)}function f8(e,t){return!e||e.type!=="JSXClosingFragment"?!1:t==null||(0,x.default)(e,t)}function p8(e,t){return!e||e.type!=="Noop"?!1:t==null||(0,x.default)(e,t)}function d8(e,t){return!e||e.type!=="Placeholder"?!1:t==null||(0,x.default)(e,t)}function h8(e,t){return!e||e.type!=="V8IntrinsicIdentifier"?!1:t==null||(0,x.default)(e,t)}function m8(e,t){return!e||e.type!=="ArgumentPlaceholder"?!1:t==null||(0,x.default)(e,t)}function y8(e,t){return!e||e.type!=="BindExpression"?!1:t==null||(0,x.default)(e,t)}function g8(e,t){return!e||e.type!=="ImportAttribute"?!1:t==null||(0,x.default)(e,t)}function b8(e,t){return!e||e.type!=="Decorator"?!1:t==null||(0,x.default)(e,t)}function E8(e,t){return!e||e.type!=="DoExpression"?!1:t==null||(0,x.default)(e,t)}function v8(e,t){return!e||e.type!=="ExportDefaultSpecifier"?!1:t==null||(0,x.default)(e,t)}function T8(e,t){return!e||e.type!=="RecordExpression"?!1:t==null||(0,x.default)(e,t)}function S8(e,t){return!e||e.type!=="TupleExpression"?!1:t==null||(0,x.default)(e,t)}function x8(e,t){return!e||e.type!=="DecimalLiteral"?!1:t==null||(0,x.default)(e,t)}function P8(e,t){return!e||e.type!=="ModuleExpression"?!1:t==null||(0,x.default)(e,t)}function A8(e,t){return!e||e.type!=="TopicReference"?!1:t==null||(0,x.default)(e,t)}function C8(e,t){return!e||e.type!=="PipelineTopicExpression"?!1:t==null||(0,x.default)(e,t)}function w8(e,t){return!e||e.type!=="PipelineBareFunction"?!1:t==null||(0,x.default)(e,t)}function D8(e,t){return!e||e.type!=="PipelinePrimaryTopicReference"?!1:t==null||(0,x.default)(e,t)}function I8(e,t){return!e||e.type!=="TSParameterProperty"?!1:t==null||(0,x.default)(e,t)}function O8(e,t){return!e||e.type!=="TSDeclareFunction"?!1:t==null||(0,x.default)(e,t)}function _8(e,t){return!e||e.type!=="TSDeclareMethod"?!1:t==null||(0,x.default)(e,t)}function N8(e,t){return!e||e.type!=="TSQualifiedName"?!1:t==null||(0,x.default)(e,t)}function k8(e,t){return!e||e.type!=="TSCallSignatureDeclaration"?!1:t==null||(0,x.default)(e,t)}function B8(e,t){return!e||e.type!=="TSConstructSignatureDeclaration"?!1:t==null||(0,x.default)(e,t)}function F8(e,t){return!e||e.type!=="TSPropertySignature"?!1:t==null||(0,x.default)(e,t)}function j8(e,t){return!e||e.type!=="TSMethodSignature"?!1:t==null||(0,x.default)(e,t)}function L8(e,t){return!e||e.type!=="TSIndexSignature"?!1:t==null||(0,x.default)(e,t)}function M8(e,t){return!e||e.type!=="TSAnyKeyword"?!1:t==null||(0,x.default)(e,t)}function R8(e,t){return!e||e.type!=="TSBooleanKeyword"?!1:t==null||(0,x.default)(e,t)}function q8(e,t){return!e||e.type!=="TSBigIntKeyword"?!1:t==null||(0,x.default)(e,t)}function U8(e,t){return!e||e.type!=="TSIntrinsicKeyword"?!1:t==null||(0,x.default)(e,t)}function V8(e,t){return!e||e.type!=="TSNeverKeyword"?!1:t==null||(0,x.default)(e,t)}function $8(e,t){return!e||e.type!=="TSNullKeyword"?!1:t==null||(0,x.default)(e,t)}function W8(e,t){return!e||e.type!=="TSNumberKeyword"?!1:t==null||(0,x.default)(e,t)}function K8(e,t){return!e||e.type!=="TSObjectKeyword"?!1:t==null||(0,x.default)(e,t)}function G8(e,t){return!e||e.type!=="TSStringKeyword"?!1:t==null||(0,x.default)(e,t)}function H8(e,t){return!e||e.type!=="TSSymbolKeyword"?!1:t==null||(0,x.default)(e,t)}function Y8(e,t){return!e||e.type!=="TSUndefinedKeyword"?!1:t==null||(0,x.default)(e,t)}function X8(e,t){return!e||e.type!=="TSUnknownKeyword"?!1:t==null||(0,x.default)(e,t)}function J8(e,t){return!e||e.type!=="TSVoidKeyword"?!1:t==null||(0,x.default)(e,t)}function z8(e,t){return!e||e.type!=="TSThisType"?!1:t==null||(0,x.default)(e,t)}function Q8(e,t){return!e||e.type!=="TSFunctionType"?!1:t==null||(0,x.default)(e,t)}function Z8(e,t){return!e||e.type!=="TSConstructorType"?!1:t==null||(0,x.default)(e,t)}function ej(e,t){return!e||e.type!=="TSTypeReference"?!1:t==null||(0,x.default)(e,t)}function tj(e,t){return!e||e.type!=="TSTypePredicate"?!1:t==null||(0,x.default)(e,t)}function rj(e,t){return!e||e.type!=="TSTypeQuery"?!1:t==null||(0,x.default)(e,t)}function nj(e,t){return!e||e.type!=="TSTypeLiteral"?!1:t==null||(0,x.default)(e,t)}function sj(e,t){return!e||e.type!=="TSArrayType"?!1:t==null||(0,x.default)(e,t)}function ij(e,t){return!e||e.type!=="TSTupleType"?!1:t==null||(0,x.default)(e,t)}function aj(e,t){return!e||e.type!=="TSOptionalType"?!1:t==null||(0,x.default)(e,t)}function oj(e,t){return!e||e.type!=="TSRestType"?!1:t==null||(0,x.default)(e,t)}function lj(e,t){return!e||e.type!=="TSNamedTupleMember"?!1:t==null||(0,x.default)(e,t)}function uj(e,t){return!e||e.type!=="TSUnionType"?!1:t==null||(0,x.default)(e,t)}function cj(e,t){return!e||e.type!=="TSIntersectionType"?!1:t==null||(0,x.default)(e,t)}function fj(e,t){return!e||e.type!=="TSConditionalType"?!1:t==null||(0,x.default)(e,t)}function pj(e,t){return!e||e.type!=="TSInferType"?!1:t==null||(0,x.default)(e,t)}function dj(e,t){return!e||e.type!=="TSParenthesizedType"?!1:t==null||(0,x.default)(e,t)}function hj(e,t){return!e||e.type!=="TSTypeOperator"?!1:t==null||(0,x.default)(e,t)}function mj(e,t){return!e||e.type!=="TSIndexedAccessType"?!1:t==null||(0,x.default)(e,t)}function yj(e,t){return!e||e.type!=="TSMappedType"?!1:t==null||(0,x.default)(e,t)}function gj(e,t){return!e||e.type!=="TSLiteralType"?!1:t==null||(0,x.default)(e,t)}function bj(e,t){return!e||e.type!=="TSExpressionWithTypeArguments"?!1:t==null||(0,x.default)(e,t)}function Ej(e,t){return!e||e.type!=="TSInterfaceDeclaration"?!1:t==null||(0,x.default)(e,t)}function vj(e,t){return!e||e.type!=="TSInterfaceBody"?!1:t==null||(0,x.default)(e,t)}function Tj(e,t){return!e||e.type!=="TSTypeAliasDeclaration"?!1:t==null||(0,x.default)(e,t)}function Sj(e,t){return!e||e.type!=="TSInstantiationExpression"?!1:t==null||(0,x.default)(e,t)}function xj(e,t){return!e||e.type!=="TSAsExpression"?!1:t==null||(0,x.default)(e,t)}function Pj(e,t){return!e||e.type!=="TSSatisfiesExpression"?!1:t==null||(0,x.default)(e,t)}function Aj(e,t){return!e||e.type!=="TSTypeAssertion"?!1:t==null||(0,x.default)(e,t)}function Cj(e,t){return!e||e.type!=="TSEnumDeclaration"?!1:t==null||(0,x.default)(e,t)}function wj(e,t){return!e||e.type!=="TSEnumMember"?!1:t==null||(0,x.default)(e,t)}function Dj(e,t){return!e||e.type!=="TSModuleDeclaration"?!1:t==null||(0,x.default)(e,t)}function Ij(e,t){return!e||e.type!=="TSModuleBlock"?!1:t==null||(0,x.default)(e,t)}function Oj(e,t){return!e||e.type!=="TSImportType"?!1:t==null||(0,x.default)(e,t)}function _j(e,t){return!e||e.type!=="TSImportEqualsDeclaration"?!1:t==null||(0,x.default)(e,t)}function Nj(e,t){return!e||e.type!=="TSExternalModuleReference"?!1:t==null||(0,x.default)(e,t)}function kj(e,t){return!e||e.type!=="TSNonNullExpression"?!1:t==null||(0,x.default)(e,t)}function Bj(e,t){return!e||e.type!=="TSExportAssignment"?!1:t==null||(0,x.default)(e,t)}function Fj(e,t){return!e||e.type!=="TSNamespaceExportDeclaration"?!1:t==null||(0,x.default)(e,t)}function jj(e,t){return!e||e.type!=="TSTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Lj(e,t){return!e||e.type!=="TSTypeParameterInstantiation"?!1:t==null||(0,x.default)(e,t)}function Mj(e,t){return!e||e.type!=="TSTypeParameterDeclaration"?!1:t==null||(0,x.default)(e,t)}function Rj(e,t){return!e||e.type!=="TSTypeParameter"?!1:t==null||(0,x.default)(e,t)}function qj(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return t==null||(0,x.default)(e,t)}function Uj(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return t==null||(0,x.default)(e,t)}function Vj(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return t==null||(0,x.default)(e,t)}function $j(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,x.default)(e,t)}function Wj(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,x.default)(e,t)}function Kj(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,x.default)(e,t)}function Gj(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,x.default)(e,t)}function Hj(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,x.default)(e,t)}function Yj(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,x.default)(e,t)}function Xj(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function Jj(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,x.default)(e,t)}function zj(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function Qj(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return t==null||(0,x.default)(e,t)}function Zj(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function eL(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function tL(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,x.default)(e,t)}function rL(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,x.default)(e,t)}function nL(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,x.default)(e,t)}function sL(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,x.default)(e,t)}function iL(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,x.default)(e,t)}function aL(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,x.default)(e,t)}function oL(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,x.default)(e,t)}function lL(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,x.default)(e,t)}function uL(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,x.default)(e,t)}function cL(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,x.default)(e,t)}function fL(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return t==null||(0,x.default)(e,t)}function pL(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return t==null||(0,x.default)(e,t)}function dL(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,x.default)(e,t)}function hL(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return t==null||(0,x.default)(e,t)}function mL(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,x.default)(e,t)}function yL(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return t==null||(0,x.default)(e,t)}function bv(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,x.default)(e,t)}function gL(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return t==null||(0,x.default)(e,t)}function bL(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,x.default)(e,t)}function EL(e,t){if(!e)return!1;switch(e.type){case"ClassAccessorProperty":break;default:return!1}return t==null||(0,x.default)(e,t)}function vL(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return t==null||(0,x.default)(e,t)}function TL(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,x.default)(e,t)}function SL(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,x.default)(e,t)}function xL(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,x.default)(e,t)}function PL(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,x.default)(e,t)}function AL(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return t==null||(0,x.default)(e,t)}function CL(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,x.default)(e,t)}function wL(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,x.default)(e,t)}function DL(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,x.default)(e,t)}function IL(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return t==null||(0,x.default)(e,t)}function OL(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,x.default)(e,t)}function _L(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,x.default)(e,t)}function NL(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,x.default)(e,t)}function kL(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,x.default)(e,t)}function BL(e,t){return(0,ma.default)("isNumberLiteral","isNumericLiteral"),!e||e.type!=="NumberLiteral"?!1:t==null||(0,x.default)(e,t)}function FL(e,t){return(0,ma.default)("isRegexLiteral","isRegExpLiteral"),!e||e.type!=="RegexLiteral"?!1:t==null||(0,x.default)(e,t)}function jL(e,t){return(0,ma.default)("isRestProperty","isRestElement"),!e||e.type!=="RestProperty"?!1:t==null||(0,x.default)(e,t)}function LL(e,t){return(0,ma.default)("isSpreadProperty","isSpreadElement"),!e||e.type!=="SpreadProperty"?!1:t==null||(0,x.default)(e,t)}function ML(e,t){return(0,ma.default)("isModuleDeclaration","isImportOrExportDeclaration"),bv(e,t)}});var Vp=g(Up=>{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});Up.default=RL;var ya=It();function RL(e,t,r){if(!(0,ya.isMemberExpression)(e))return!1;let n=Array.isArray(t)?t:t.split("."),s=[],i;for(i=e;(0,ya.isMemberExpression)(i);i=i.object)s.push(i.property);if(s.push(i),s.length<n.length||!r&&s.length>n.length)return!1;for(let a=0,o=s.length-1;a<n.length;a++,o--){let l=s[o],u;if((0,ya.isIdentifier)(l))u=l.name;else if((0,ya.isStringLiteral)(l))u=l.value;else if((0,ya.isThisExpression)(l))u="this";else return!1;if(n[a]!==u)return!1}return!0}});var Wp=g($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.default=UL;var qL=Vp();function UL(e,t){let r=e.split(".");return n=>(0,qL.default)(n,r,t)}});var Ev=g(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var VL=Wp(),$L=(0,VL.default)("React.Component"),WL=$L;ul.default=WL});var vv=g(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=KL;function KL(e){return!!e&&/^[a-z]/.test(e)}});var Sv=g((yAe,Tv)=>{"use strict";var ga=null;function ba(e){if(ga!==null&&typeof ga.property){let t=ga;return ga=ba.prototype=null,t}return ga=ba.prototype=e==null?Object.create(null):e,new ba}ba();Tv.exports=function(t){return ba(t)}});var cl=g(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.default=GL;var xv=Ar();function GL(e,t){if(e===t)return!0;if(e==null||xv.ALIAS_KEYS[t])return!1;let r=xv.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 Yp=g(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.default=YL;var HL=Ar();function YL(e,t){if(e===t)return!0;let r=HL.PLACEHOLDERS_ALIAS[e];if(r){for(let n of r)if(t===n)return!0}return!1}});var ti=g(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.default=ZL;var XL=ll(),JL=cl(),zL=Yp(),QL=Ar();function ZL(e,t,r){return t?(0,JL.default)(t.type,e)?typeof r=="undefined"?!0:(0,XL.default)(t,r):!r&&t.type==="Placeholder"&&e in QL.FLIPPED_ALIAS_KEYS?(0,zL.default)(t.expectedNode,e):!1:!1}});var Dv=g(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.isIdentifierChar=wv;Ea.isIdentifierName=nM;Ea.isIdentifierStart=Cv;var zp="\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",Pv="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",eM=new RegExp("["+zp+"]"),tM=new RegExp("["+zp+Pv+"]");zp=Pv=null;var Av=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],rM=[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 Jp(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Cv(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&eM.test(String.fromCharCode(e)):Jp(e,Av)}function wv(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&&tM.test(String.fromCharCode(e)):Jp(e,Av)||Jp(e,rM)}function nM(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 s=e.charCodeAt(++r);(s&64512)===56320&&(n=65536+((n&1023)<<10)+(s&1023))}if(t){if(t=!1,!Cv(n))return!1}else if(!wv(n))return!1}return!t}});var Nv=g(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.isKeyword=lM;bs.isReservedWord=Iv;bs.isStrictBindOnlyReservedWord=_v;bs.isStrictBindReservedWord=oM;bs.isStrictReservedWord=Ov;var Qp={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"]},sM=new Set(Qp.keyword),iM=new Set(Qp.strict),aM=new Set(Qp.strictBind);function Iv(e,t){return t&&e==="await"||e==="enum"}function Ov(e,t){return Iv(e,t)||iM.has(e)}function _v(e){return aM.has(e)}function oM(e,t){return Ov(e,t)||_v(e)}function lM(e){return sM.has(e)}});var ri=g(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});Object.defineProperty(en,"isIdentifierChar",{enumerable:!0,get:function(){return Zp.isIdentifierChar}});Object.defineProperty(en,"isIdentifierName",{enumerable:!0,get:function(){return Zp.isIdentifierName}});Object.defineProperty(en,"isIdentifierStart",{enumerable:!0,get:function(){return Zp.isIdentifierStart}});Object.defineProperty(en,"isKeyword",{enumerable:!0,get:function(){return va.isKeyword}});Object.defineProperty(en,"isReservedWord",{enumerable:!0,get:function(){return va.isReservedWord}});Object.defineProperty(en,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return va.isStrictBindOnlyReservedWord}});Object.defineProperty(en,"isStrictBindReservedWord",{enumerable:!0,get:function(){return va.isStrictBindReservedWord}});Object.defineProperty(en,"isStrictReservedWord",{enumerable:!0,get:function(){return va.isStrictReservedWord}});var Zp=Dv(),va=Nv()});var ni=g(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.default=uM;var ed=ri();function uM(e,t=!0){return typeof e!="string"||t&&((0,ed.isKeyword)(e)||(0,ed.isStrictReservedWord)(e,!0))?!1:(0,ed.isIdentifierName)(e)}});var jv=g(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.readCodePoint=Fv;Ta.readInt=Bv;Ta.readStringContents=fM;var cM=function(t){return t>=48&&t<=57},kv={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},fl={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 fM(e,t,r,n,s,i){let a=r,o=n,l=s,u="",c=null,f=r,{length:d}=t;for(;;){if(r>=d){i.unterminated(a,o,l),u+=t.slice(f,r);break}let m=t.charCodeAt(r);if(pM(e,m,t,r)){u+=t.slice(f,r);break}if(m===92){u+=t.slice(f,r);let C=dM(t,r,n,s,e==="template",i);C.ch===null&&!c?c={pos:r,lineStart:n,curLine:s}:u+=C.ch,{pos:r,lineStart:n,curLine:s}=C,f=r}else m===8232||m===8233?(++r,++s,n=r):m===10||m===13?e==="template"?(u+=t.slice(f,r)+`
  4. `,++r,m===13&&t.charCodeAt(r)===10&&++r,++s,f=n=r):i.unterminated(a,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:s,containsInvalid:!!c}}function pM(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function dM(e,t,r,n,s,i){let a=!s;t++;let o=u=>({pos:t,ch:u,lineStart:r,curLine:n}),l=e.charCodeAt(t++);switch(l){case 110:return o(`
  5. `);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=rd(e,t,r,n,2,!1,a,i),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=Fv(e,t,r,n,a,i),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(s)return o(null);i.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(s)return o(null);i.strictNumericEscape(u,r,n)}return o(String.fromCharCode(d))}return o(String.fromCharCode(l))}}function rd(e,t,r,n,s,i,a,o){let l=t,u;return{n:u,pos:t}=Bv(e,t,r,n,16,s,i,!1,o,!a),u===null&&(a?o.invalidEscapeSequence(l,r,n):t=l-1),{code:u,pos:t}}function Bv(e,t,r,n,s,i,a,o,l,u){let c=t,f=s===16?kv.hex:kv.decBinOct,d=s===16?fl.hex:s===10?fl.dec:s===8?fl.oct:fl.bin,m=!1,C=0;for(let p=0,b=i==null?1/0:i;p<b;++p){let E=e.charCodeAt(t),O;if(E===95&&o!=="bail"){let P=e.charCodeAt(t-1),A=e.charCodeAt(t+1);if(o){if(Number.isNaN(A)||!d(A)||f.has(P)||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(E>=97?O=E-97+10:E>=65?O=E-65+10:cM(E)?O=E-48:O=1/0,O>=s){if(O<=9&&u)return{n:null,pos:t};if(O<=9&&l.invalidDigit(t,r,n,s))O=0;else if(a)O=0,m=!0;else break}++t,C=C*s+O}return t===c||i!=null&&t-c!==i||m?{n:null,pos:t}:{n:C,pos:t}}function Fv(e,t,r,n,s,i){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=rd(e,t,r,n,e.indexOf("}",t)-t,!0,s,i),++t,o!==null&&o>1114111)if(s)i.invalidCodePoint(t,r,n);else return{code:null,pos:t}}else({code:o,pos:t}=rd(e,t,r,n,4,!1,s,i));return{code:o,pos:t}}});var $n=g(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.UPDATE_OPERATORS=Ne.UNARY_OPERATORS=Ne.STRING_UNARY_OPERATORS=Ne.STATEMENT_OR_BLOCK_KEYS=Ne.NUMBER_UNARY_OPERATORS=Ne.NUMBER_BINARY_OPERATORS=Ne.NOT_LOCAL_BINDING=Ne.LOGICAL_OPERATORS=Ne.INHERIT_KEYS=Ne.FOR_INIT_KEYS=Ne.FLATTENABLE_KEYS=Ne.EQUALITY_BINARY_OPERATORS=Ne.COMPARISON_BINARY_OPERATORS=Ne.COMMENT_KEYS=Ne.BOOLEAN_UNARY_OPERATORS=Ne.BOOLEAN_NUMBER_BINARY_OPERATORS=Ne.BOOLEAN_BINARY_OPERATORS=Ne.BLOCK_SCOPED_SYMBOL=Ne.BINARY_OPERATORS=Ne.ASSIGNMENT_OPERATORS=void 0;var hM=["consequent","body","alternate"];Ne.STATEMENT_OR_BLOCK_KEYS=hM;var mM=["body","expressions"];Ne.FLATTENABLE_KEYS=mM;var yM=["left","init"];Ne.FOR_INIT_KEYS=yM;var gM=["leadingComments","trailingComments","innerComments"];Ne.COMMENT_KEYS=gM;var Lv=["||","&&","??"];Ne.LOGICAL_OPERATORS=Lv;var bM=["++","--"];Ne.UPDATE_OPERATORS=bM;var Mv=[">","<",">=","<="];Ne.BOOLEAN_NUMBER_BINARY_OPERATORS=Mv;var Rv=["==","===","!=","!=="];Ne.EQUALITY_BINARY_OPERATORS=Rv;var qv=[...Rv,"in","instanceof"];Ne.COMPARISON_BINARY_OPERATORS=qv;var Uv=[...qv,...Mv];Ne.BOOLEAN_BINARY_OPERATORS=Uv;var nd=["-","/","%","*","**","&","|",">>",">>>","<<","^"];Ne.NUMBER_BINARY_OPERATORS=nd;var EM=["+",...nd,...Uv,"|>"];Ne.BINARY_OPERATORS=EM;var vM=["=","+=",...nd.map(e=>e+"="),...Lv.map(e=>e+"=")];Ne.ASSIGNMENT_OPERATORS=vM;var Vv=["delete","!"];Ne.BOOLEAN_UNARY_OPERATORS=Vv;var $v=["+","-","~"];Ne.NUMBER_UNARY_OPERATORS=$v;var Wv=["typeof"];Ne.STRING_UNARY_OPERATORS=Wv;var TM=["void","throw",...Vv,...$v,...Wv];Ne.UNARY_OPERATORS=TM;var SM={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};Ne.INHERIT_KEYS=SM;var xM=Symbol.for("var used to be block scoped");Ne.BLOCK_SCOPED_SYMBOL=xM;var PM=Symbol.for("should not be considered a local binding");Ne.NOT_LOCAL_BINDING=PM});var hn=g(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.VISITOR_KEYS=Ye.NODE_PARENT_VALIDATIONS=Ye.NODE_FIELDS=Ye.FLIPPED_ALIAS_KEYS=Ye.DEPRECATED_KEYS=Ye.BUILDER_KEYS=Ye.ALIAS_KEYS=void 0;Ye.arrayOf=Qv;Ye.arrayOfType=Zv;Ye.assertEach=e1;Ye.assertNodeOrValueType=OM;Ye.assertNodeType=sd;Ye.assertOneOf=IM;Ye.assertOptionalChainStart=NM;Ye.assertShape=_M;Ye.assertValueType=od;Ye.chain=t1;Ye.default=r1;Ye.defineAliasedType=FM;Ye.typeIs=ml;Ye.validate=ad;Ye.validateArrayOfType=DM;Ye.validateOptional=CM;Ye.validateOptionalType=wM;Ye.validateType=AM;var Kv=ti(),hl=yl(),Gv={};Ye.VISITOR_KEYS=Gv;var Hv={};Ye.ALIAS_KEYS=Hv;var pl={};Ye.FLIPPED_ALIAS_KEYS=pl;var Yv={};Ye.NODE_FIELDS=Yv;var Xv={};Ye.BUILDER_KEYS=Xv;var Jv={};Ye.DEPRECATED_KEYS=Jv;var zv={};Ye.NODE_PARENT_VALIDATIONS=zv;function dl(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function ad(e){return{validate:e}}function ml(e){return typeof e=="string"?sd(e):sd(...e)}function AM(e){return ad(ml(e))}function CM(e){return{validate:e,optional:!0}}function wM(e){return{validate:ml(e),optional:!0}}function Qv(e){return t1(od("array"),e1(e))}function Zv(e){return Qv(ml(e))}function DM(e){return ad(Zv(e))}function e1(e){function t(r,n,s){if(Array.isArray(s))for(let i=0;i<s.length;i++){let a=`${n}[${i}]`,o=s[i];e(r,a,o),process.env.BABEL_TYPES_8_BREAKING&&(0,hl.validateChild)(r,a,o)}}return t.each=e,t}function IM(...e){function t(r,n,s){if(e.indexOf(s)<0)throw new TypeError(`Property ${n} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(s)}`)}return t.oneOf=e,t}function sd(...e){function t(r,n,s){for(let i of e)if((0,Kv.default)(i,s)){(0,hl.validateChild)(r,n,s);return}throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(s==null?void 0:s.type)}`)}return t.oneOfNodeTypes=e,t}function OM(...e){function t(r,n,s){for(let i of e)if(dl(s)===i||(0,Kv.default)(i,s)){(0,hl.validateChild)(r,n,s);return}throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(s==null?void 0:s.type)}`)}return t.oneOfNodeOrValueTypes=e,t}function od(e){function t(r,n,s){if(!(dl(s)===e))throw new TypeError(`Property ${n} expected type of ${e} but got ${dl(s)}`)}return t.type=e,t}function _M(e){function t(r,n,s){let i=[];for(let a of Object.keys(e))try{(0,hl.validateField)(r,a,s[a],e[a])}catch(o){if(o instanceof TypeError){i.push(o.message);continue}throw o}if(i.length)throw new TypeError(`Property ${n} of ${r.type} expected to have the following:
  6. ${i.join(`
  7. `)}`)}return t.shapeOf=e,t}function NM(){function e(t){var r;let n=t;for(;t;){let{type:s}=n;if(s==="OptionalCallExpression"){if(n.optional)return;n=n.callee;continue}if(s==="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 t1(...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 kM=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],BM=["default","optional","deprecated","validate"],id={};function FM(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s,i;r.inherits&&(n=(s=id[r.inherits].aliases)==null?void 0:s.slice()),(i=n)!=null||(n=[]),r.aliases=n}let a=e.filter(o=>!n.includes(o));n.unshift(...a),r1(t,r)}}function r1(e,t={}){let r=t.inherits&&id[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 s=t.visitor||r.visitor||[],i=t.aliases||r.aliases||[],a=t.builder||r.builder||t.visitor||[];for(let o of Object.keys(t))if(kM.indexOf(o)===-1)throw new Error(`Unknown type option "${o}" on ${e}`);t.deprecatedAlias&&(Jv[t.deprecatedAlias]=e);for(let o of s.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=od(dl(l.default)));for(let u of Object.keys(l))if(BM.indexOf(u)===-1)throw new Error(`Unknown field key "${u}" on ${e}.${o}`)}Gv[e]=t.visitor=s,Xv[e]=t.builder=a,Yv[e]=t.fields=n,Hv[e]=t.aliases=i,i.forEach(o=>{pl[o]=pl[o]||[],pl[o].push(e)}),t.validate&&(zv[e]=t.validate),id[e]=t}});var ud=g(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});fr.patternLikeCommon=fr.functionTypeAnnotationCommon=fr.functionDeclarationCommon=fr.functionCommon=fr.classMethodOrPropertyCommon=fr.classMethodOrDeclareMethodCommon=void 0;var Qt=ti(),jM=ni(),n1=ri(),LM=jv(),Sa=$n(),h=hn(),ee=(0,h.defineAliasedType)("Standardized");ee("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"]});ee("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,h.assertValueType)("string");let e=(0,h.assertOneOf)(...Sa.ASSIGNMENT_OPERATORS),t=(0,h.assertOneOf)("=");return function(r,n,s){((0,Qt.default)("Pattern",r.left)?t:e)(r,n,s)}}()},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,h.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});ee("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,h.assertOneOf)(...Sa.BINARY_OPERATORS)},left:{validate:function(){let e=(0,h.assertNodeType)("Expression"),t=(0,h.assertNodeType)("Expression","PrivateName");return Object.assign(function(n,s,i){(n.operator==="in"?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,h.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});ee("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}});ee("Directive",{visitor:["value"],fields:{value:{validate:(0,h.assertNodeType)("DirectiveLiteral")}}});ee("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}});ee("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"]});ee("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});ee("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}})});ee("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});ee("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"]});ee("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});ee("DebuggerStatement",{aliases:["Statement"]});ee("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});ee("EmptyStatement",{aliases:["Statement"]});ee("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});ee("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}}});ee("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")}}});ee("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 si=()=>({params:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});fr.functionCommon=si;var Es=()=>({returnType:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});fr.functionTypeAnnotationCommon=Es;var s1=()=>Object.assign({},si(),{declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}});fr.functionDeclarationCommon=s1;ee("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},s1(),Es(),{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,Qt.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}()});ee("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},si(),Es(),{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var ii=()=>({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}});fr.patternLikeCommon=ii;ee("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},ii(),{name:{validate:(0,h.chain)((0,h.assertValueType)("string"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,jM.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[,s]=n,i={computed:!1};if(s==="property"){if((0,Qt.default)("MemberExpression",e,i)||(0,Qt.default)("OptionalMemberExpression",e,i))return}else if(s==="key"){if((0,Qt.default)("Property",e,i)||(0,Qt.default)("Method",e,i))return}else if(s==="exported"){if((0,Qt.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,Qt.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"&&(0,Qt.default)("MetaProperty",e,{meta:r}))return;if(((0,n1.isKeyword)(r.name)||(0,n1.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}});ee("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")}}});ee("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,h.assertNodeType)("Identifier")},body:{validate:(0,h.assertNodeType)("Statement")}}});ee("StringLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});ee("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,h.chain)((0,h.assertValueType)("number"),Object.assign(function(e,t,r){if(1/r<0||!Number.isFinite(r)){let n=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});ee("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});ee("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});ee("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:""}}});ee("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,h.assertOneOf)(...Sa.LOGICAL_OPERATORS)},left:{validate:(0,h.assertNodeType)("Expression")},right:{validate:(0,h.assertNodeType)("Expression")}}});ee("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,s,i){(n.computed?t:e)(n,s,i)};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}})});ee("NewExpression",{inherits:"CallExpression"});ee("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"]});ee("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});ee("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},si(),Es(),{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,s,i){(n.computed?t:e)(n,s,i)};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"]});ee("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,s,i){(n.computed?t:e)(n,s,i)},{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,Qt.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,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;((0,Qt.default)("ObjectPattern",r)?e:t)(s,"value",s.value)}}()});ee("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},ii(),{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,s]=r;if(e[n].length>+s+1)throw new TypeError(`RestElement must be last element of ${n}`)}});ee("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression"),optional:!0}}});ee("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Expression")))}},aliases:["Expression"]});ee("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}}});ee("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")))}}});ee("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")))}}});ee("ThisExpression",{aliases:["Expression"]});ee("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}});ee("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")}}});ee("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,h.assertNodeType)("Expression")},operator:{validate:(0,h.assertOneOf)(...Sa.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});ee("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)(...Sa.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});ee("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,Qt.default)("ForXStatement",e,{left:r})&&r.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}});ee("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,s){(r.init?e:t)(r,n,s)}}()},definite:{optional:!0,validate:(0,h.assertValueType)("boolean")},init:{optional:!0,validate:(0,h.assertNodeType)("Expression")}}});ee("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}});ee("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}});ee("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},ii(),{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}})});ee("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},ii(),{elements:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeOrValueType)("null","PatternLike","LVal")))}})});ee("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},si(),Es(),{expression:{validate:(0,h.assertValueType)("boolean")},body:{validate:(0,h.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});ee("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")))}}});ee("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}}});ee("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],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},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,Qt.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id))}}()});ee("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")))}}});ee("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"))}});ee("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,s){(r.source?e:t)(r,n,s)}:e}()))},source:{validate:(0,h.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("type","value"))}});ee("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}}});ee("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,s){(0,Qt.default)("VariableDeclaration",s)?e(r,n,s):t(r,n,s)}}()},right:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")},await:{default:!1}}});ee("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")},phase:{default:null,validate:(0,h.assertOneOf)("source","defer")},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}}});ee("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}});ee("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}});ee("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}}});ee("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,h.assertOneOf)("source","defer")},source:{validate:(0,h.assertNodeType)("Expression")},options:{validate:(0,h.assertNodeType)("Expression"),optional:!0}}});ee("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,Qt.default)("Identifier",e.property,{name:n}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,h.assertNodeType)("Identifier")}}});var gl=()=>({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,s){(r.computed?t:e)(r,n,s)}}(),(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});fr.classMethodOrPropertyCommon=gl;var ld=()=>Object.assign({},si(),gl(),{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}});fr.classMethodOrDeclareMethodCommon=ld;ee("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({},ld(),Es(),{body:{validate:(0,h.assertNodeType)("BlockStatement")}})});ee("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},ii(),{properties:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("RestElement","ObjectProperty")))}})});ee("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}});ee("Super",{aliases:["Expression"]});ee("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}}});ee("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,s=()=>{throw new Error("Internal @babel/types error.")},{str:i,firstInvalidLoc:a}=(0,LM.readStringContents)("template",r,0,0,0,{unterminated(){n=!0},strictNumericEscape:s,invalidEscapeSequence:s,numericSeparatorInEscapeSequence:s,unexpectedNumericSeparator:s,invalidDigit:s,invalidCodePoint:s});if(!n)throw new Error("Invalid raw");t.value.cooked=a?null:i})},tail:{default:!1}}});ee("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.
  8. Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}});ee("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")}}});ee("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}});ee("Import",{aliases:["Expression"]});ee("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});ee("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,h.assertNodeType)("Identifier")}}});ee("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,s,i){(n.computed?t:e)(n,s,i)},{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")}}});ee("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}}});ee("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},gl(),{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}})});ee("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},gl(),{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,s){(r.computed?t:e)(r,n,s)}}(),(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}})});ee("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}}});ee("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},ld(),Es(),{kind:{validate:(0,h.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,h.assertNodeType)("PrivateName")},body:{validate:(0,h.assertNodeType)("BlockStatement")}})});ee("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,h.assertNodeType)("Identifier")}}});ee("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 i1=g(()=>{"use strict";var j=hn(),me=(0,j.defineAliasedType)("Flow"),cd=e=>{let t=e==="DeclareClass";me(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,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")})})};me("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,j.validateType)("FlowType")}});me("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,j.validate)((0,j.assertValueType)("boolean"))}});me("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,j.validateType)("Identifier"),typeParameters:(0,j.validateOptionalType)("TypeParameterInstantiation")}});cd("DeclareClass");me("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier"),predicate:(0,j.validateOptionalType)("DeclaredPredicate")}});cd("DeclareInterface");me("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"))}});me("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,j.validateType)("TypeAnnotation")}});me("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")}});me("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")}});me("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,j.validateType)("Identifier")}});me("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"))}});me("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,j.validateType)("StringLiteral"),exportKind:(0,j.validateOptional)((0,j.assertOneOf)("type","value"))}});me("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,j.validateType)("Flow")}});me("ExistsTypeAnnotation",{aliases:["FlowType"]});me("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")}});me("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,j.validateOptionalType)("Identifier"),typeAnnotation:(0,j.validateType)("FlowType"),optional:(0,j.validateOptional)((0,j.assertValueType)("boolean"))}});me("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,j.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,j.validateOptionalType)("TypeParameterInstantiation")}});me("InferredPredicate",{aliases:["FlowPredicate"]});me("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,j.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,j.validateOptionalType)("TypeParameterInstantiation")}});cd("InterfaceDeclaration");me("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,j.validateOptional)((0,j.arrayOfType)("InterfaceExtends")),body:(0,j.validateType)("ObjectTypeAnnotation")}});me("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});me("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,j.validateType)("FlowType")}});me("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,j.validate)((0,j.assertValueType)("number"))}});me("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,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"))}});me("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"))}});me("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,j.validateType)("FlowType"),static:(0,j.validate)((0,j.assertValueType)("boolean"))}});me("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")}});me("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"))}});me("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,j.validateType)("FlowType")}});me("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")}});me("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,j.validateType)("Identifier"),qualification:(0,j.validateType)(["Identifier","QualifiedTypeIdentifier"])}});me("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,j.validate)((0,j.assertValueType)("string"))}});me("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});me("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,j.validateType)("FlowType")}});me("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")}});me("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,j.validateType)("FlowType")}});me("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,j.validateType)("Expression"),typeAnnotation:(0,j.validateType)("TypeAnnotation")}});me("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")}});me("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,j.validate)((0,j.arrayOfType)("TypeParameter"))}});me("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});me("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,j.validate)((0,j.arrayOfType)("FlowType"))}});me("Variance",{builder:["kind"],fields:{kind:(0,j.validate)((0,j.assertOneOf)("minus","plus"))}});me("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});me("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,j.validateType)("Identifier"),body:(0,j.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});me("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"))}});me("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"))}});me("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"))}});me("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,j.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,j.validate)((0,j.assertValueType)("boolean"))}});me("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,j.validateType)("Identifier"),init:(0,j.validateType)("BooleanLiteral")}});me("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,j.validateType)("Identifier"),init:(0,j.validateType)("NumericLiteral")}});me("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,j.validateType)("Identifier"),init:(0,j.validateType)("StringLiteral")}});me("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,j.validateType)("Identifier")}});me("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,j.validateType)("FlowType"),indexType:(0,j.validateType)("FlowType")}});me("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 a1=g(()=>{"use strict";var tt=hn(),Zt=(0,tt.defineAliasedType)("JSX");Zt("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,tt.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,tt.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Zt("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,tt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Zt("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,tt.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,tt.assertNodeType)("JSXClosingElement")},children:{validate:(0,tt.chain)((0,tt.assertValueType)("array"),(0,tt.assertEach)((0,tt.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,tt.assertValueType)("boolean"),optional:!0}})});Zt("JSXEmptyExpression",{});Zt("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,tt.assertNodeType)("Expression","JSXEmptyExpression")}}});Zt("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,tt.assertNodeType)("Expression")}}});Zt("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,tt.assertValueType)("string")}}});Zt("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,tt.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,tt.assertNodeType)("JSXIdentifier")}}});Zt("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,tt.assertNodeType)("JSXIdentifier")},name:{validate:(0,tt.assertNodeType)("JSXIdentifier")}}});Zt("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,tt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,tt.chain)((0,tt.assertValueType)("array"),(0,tt.assertEach)((0,tt.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,tt.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});Zt("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,tt.assertNodeType)("Expression")}}});Zt("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,tt.assertValueType)("string")}}});Zt("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,tt.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,tt.assertNodeType)("JSXClosingFragment")},children:{validate:(0,tt.chain)((0,tt.assertValueType)("array"),(0,tt.assertEach)((0,tt.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});Zt("JSXOpeningFragment",{aliases:["Immutable"]});Zt("JSXClosingFragment",{aliases:["Immutable"]})});var fd=g(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.PLACEHOLDERS_FLIPPED_ALIAS=Wn.PLACEHOLDERS_ALIAS=Wn.PLACEHOLDERS=void 0;var MM=hn(),o1=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];Wn.PLACEHOLDERS=o1;var El={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};Wn.PLACEHOLDERS_ALIAS=El;for(let e of o1){let t=MM.ALIAS_KEYS[e];t!=null&&t.length&&(El[e]=t)}var bl={};Wn.PLACEHOLDERS_FLIPPED_ALIAS=bl;Object.keys(El).forEach(e=>{El[e].forEach(t=>{Object.hasOwnProperty.call(bl,t)||(bl[t]=[]),bl[t].push(e)})})});var l1=g(()=>{"use strict";var vl=hn(),RM=fd(),pd=(0,vl.defineAliasedType)("Miscellaneous");pd("Noop",{visitor:[]});pd("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,vl.assertNodeType)("Identifier")},expectedNode:{validate:(0,vl.assertOneOf)(...RM.PLACEHOLDERS)}}});pd("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,vl.assertValueType)("string")}}})});var u1=g(()=>{"use strict";var Xe=hn();(0,Xe.default)("ArgumentPlaceholder",{});(0,Xe.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,Xe.assertNodeType)("Expression")},callee:{validate:(0,Xe.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,Xe.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,Xe.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,Xe.assertNodeType)("StringLiteral")}}});(0,Xe.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,Xe.assertNodeType)("Expression")}}});(0,Xe.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,Xe.assertNodeType)("BlockStatement")},async:{validate:(0,Xe.assertValueType)("boolean"),default:!1}}});(0,Xe.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,Xe.assertNodeType)("Identifier")}}});(0,Xe.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,Xe.chain)((0,Xe.assertValueType)("array"),(0,Xe.assertEach)((0,Xe.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,Xe.default)("TupleExpression",{fields:{elements:{validate:(0,Xe.chain)((0,Xe.assertValueType)("array"),(0,Xe.assertEach)((0,Xe.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,Xe.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,Xe.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,Xe.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,Xe.assertNodeType)("Program")}},aliases:["Expression"]});(0,Xe.default)("TopicReference",{aliases:["Expression"]});(0,Xe.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,Xe.assertNodeType)("Expression")}},aliases:["Expression"]});(0,Xe.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,Xe.assertNodeType)("Expression")}},aliases:["Expression"]});(0,Xe.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var g1=g(()=>{"use strict";var U=hn(),c1=ud(),qM=ti(),Ae=(0,U.defineAliasedType)("TypeScript"),pr=(0,U.assertValueType)("boolean"),f1=()=>({returnType:{validate:(0,U.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,U.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});Ae("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}}});Ae("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,c1.functionDeclarationCommon)(),f1())});Ae("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,c1.classMethodOrDeclareMethodCommon)(),f1())});Ae("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,U.validateType)("TSEntityName"),right:(0,U.validateType)("Identifier")}});var Tl=()=>({typeParameters:(0,U.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,U.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,U.validateOptionalType)("TSTypeAnnotation")}),p1={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:Tl()};Ae("TSCallSignatureDeclaration",p1);Ae("TSConstructSignatureDeclaration",p1);var d1=()=>({key:(0,U.validateType)("Expression"),computed:{default:!1},optional:(0,U.validateOptional)(pr)});Ae("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},d1(),{readonly:(0,U.validateOptional)(pr),typeAnnotation:(0,U.validateOptionalType)("TSTypeAnnotation"),initializer:(0,U.validateOptionalType)("Expression"),kind:{validate:(0,U.assertOneOf)("get","set")}})});Ae("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},Tl(),d1(),{kind:{validate:(0,U.assertOneOf)("method","get","set")}})});Ae("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,U.validateOptional)(pr),static:(0,U.validateOptional)(pr),parameters:(0,U.validateArrayOfType)("Identifier"),typeAnnotation:(0,U.validateOptionalType)("TSTypeAnnotation")}});var UM=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let e of UM)Ae(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});Ae("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var h1={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};Ae("TSFunctionType",Object.assign({},h1,{fields:Tl()}));Ae("TSConstructorType",Object.assign({},h1,{fields:Object.assign({},Tl(),{abstract:(0,U.validateOptional)(pr)})}));Ae("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,U.validateType)("TSEntityName"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});Ae("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)(pr)}});Ae("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,U.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});Ae("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,U.validateArrayOfType)("TSTypeElement")}});Ae("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,U.validateType)("TSType")}});Ae("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,U.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});Ae("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,U.validateType)("TSType")}});Ae("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,U.validateType)("TSType")}});Ae("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,U.validateType)("Identifier"),optional:{validate:pr,default:!1},elementType:(0,U.validateType)("TSType")}});var m1={aliases:["TSType"],visitor:["types"],fields:{types:(0,U.validateArrayOfType)("TSType")}};Ae("TSUnionType",m1);Ae("TSIntersectionType",m1);Ae("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")}});Ae("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,U.validateType)("TSTypeParameter")}});Ae("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,U.validateType)("TSType")}});Ae("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,U.validate)((0,U.assertValueType)("string")),typeAnnotation:(0,U.validateType)("TSType")}});Ae("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,U.validateType)("TSType"),indexType:(0,U.validateType)("TSType")}});Ae("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")}});Ae("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(s,i,a){(0,qM.default)("UnaryExpression",a)?(t(a,"operator",a.operator),e(a,"argument",a.argument)):r(s,i,a)}return n.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],n}()}}});Ae("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,U.validateType)("TSEntityName"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});Ae("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,U.validateOptional)(pr),id:(0,U.validateType)("Identifier"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,U.validateOptional)((0,U.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,U.validateType)("TSInterfaceBody")}});Ae("TSInterfaceBody",{visitor:["body"],fields:{body:(0,U.validateArrayOfType)("TSTypeElement")}});Ae("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,U.validateOptional)(pr),id:(0,U.validateType)("Identifier"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,U.validateType)("TSType")}});Ae("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,U.validateType)("Expression"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});var y1={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,U.validateType)("Expression"),typeAnnotation:(0,U.validateType)("TSType")}};Ae("TSAsExpression",y1);Ae("TSSatisfiesExpression",y1);Ae("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,U.validateType)("TSType"),expression:(0,U.validateType)("Expression")}});Ae("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,U.validateOptional)(pr),const:(0,U.validateOptional)(pr),id:(0,U.validateType)("Identifier"),members:(0,U.validateArrayOfType)("TSEnumMember"),initializer:(0,U.validateOptionalType)("Expression")}});Ae("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,U.validateType)(["Identifier","StringLiteral"]),initializer:(0,U.validateOptionalType)("Expression")}});Ae("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,U.validateOptional)(pr),global:(0,U.validateOptional)(pr),id:(0,U.validateType)(["Identifier","StringLiteral"]),body:(0,U.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});Ae("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,U.validateArrayOfType)("Statement")}});Ae("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,U.validateType)("StringLiteral"),qualifier:(0,U.validateOptionalType)("TSEntityName"),typeParameters:(0,U.validateOptionalType)("TSTypeParameterInstantiation")}});Ae("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,U.validate)(pr),id:(0,U.validateType)("Identifier"),moduleReference:(0,U.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,U.assertOneOf)("type","value"),optional:!0}}});Ae("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,U.validateType)("StringLiteral")}});Ae("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,U.validateType)("Expression")}});Ae("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,U.validateType)("Expression")}});Ae("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,U.validateType)("Identifier")}});Ae("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,U.assertNodeType)("TSType")}}});Ae("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,U.chain)((0,U.assertValueType)("array"),(0,U.assertEach)((0,U.assertNodeType)("TSType")))}}});Ae("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,U.chain)((0,U.assertValueType)("array"),(0,U.assertEach)((0,U.assertNodeType)("TSTypeParameter")))}}});Ae("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 b1=g(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.DEPRECATED_ALIASES=void 0;var VM={ModuleDeclaration:"ImportOrExportDeclaration"};Sl.DEPRECATED_ALIASES=VM});var Ar=g(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});Object.defineProperty(er,"ALIAS_KEYS",{enumerable:!0,get:function(){return Ft.ALIAS_KEYS}});Object.defineProperty(er,"BUILDER_KEYS",{enumerable:!0,get:function(){return Ft.BUILDER_KEYS}});Object.defineProperty(er,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return dd.DEPRECATED_ALIASES}});Object.defineProperty(er,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Ft.DEPRECATED_KEYS}});Object.defineProperty(er,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Ft.FLIPPED_ALIAS_KEYS}});Object.defineProperty(er,"NODE_FIELDS",{enumerable:!0,get:function(){return Ft.NODE_FIELDS}});Object.defineProperty(er,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Ft.NODE_PARENT_VALIDATIONS}});Object.defineProperty(er,"PLACEHOLDERS",{enumerable:!0,get:function(){return xa.PLACEHOLDERS}});Object.defineProperty(er,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return xa.PLACEHOLDERS_ALIAS}});Object.defineProperty(er,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return xa.PLACEHOLDERS_FLIPPED_ALIAS}});er.TYPES=void 0;Object.defineProperty(er,"VISITOR_KEYS",{enumerable:!0,get:function(){return Ft.VISITOR_KEYS}});var Kn=Sv();ud();i1();a1();l1();u1();g1();var Ft=hn(),xa=fd(),dd=b1();Object.keys(dd.DEPRECATED_ALIASES).forEach(e=>{Ft.FLIPPED_ALIAS_KEYS[e]=Ft.FLIPPED_ALIAS_KEYS[dd.DEPRECATED_ALIASES[e]]});Kn(Ft.VISITOR_KEYS);Kn(Ft.ALIAS_KEYS);Kn(Ft.FLIPPED_ALIAS_KEYS);Kn(Ft.NODE_FIELDS);Kn(Ft.BUILDER_KEYS);Kn(Ft.DEPRECATED_KEYS);Kn(xa.PLACEHOLDERS_ALIAS);Kn(xa.PLACEHOLDERS_FLIPPED_ALIAS);var $M=[].concat(Object.keys(Ft.VISITOR_KEYS),Object.keys(Ft.FLIPPED_ALIAS_KEYS),Object.keys(Ft.DEPRECATED_KEYS));er.TYPES=$M});var yl=g(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.default=WM;Pa.validateChild=T1;Pa.validateField=v1;var E1=Ar();function WM(e,t,r){if(!e)return;let n=E1.NODE_FIELDS[e.type];if(!n)return;let s=n[t];v1(e,t,r,s),T1(e,t,r)}function v1(e,t,r,n){n!=null&&n.validate&&(n.optional&&r==null||n.validate(e,t,r))}function T1(e,t,r){if(r==null)return;let n=E1.NODE_PARENT_VALIDATIONS[r.type];n&&n(e,t,r)}});var S1=g(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.default=HM;var KM=yl(),GM=Ce();function HM(e){let t=GM.BUILDER_KEYS[e.type];for(let r of t)(0,KM.default)(e,r,e[r]);return e}});var tr=g(y=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0});y.anyTypeAnnotation=P6;y.argumentPlaceholder=Z5;y.arrayExpression=YM;y.arrayPattern=$4;y.arrayTypeAnnotation=A6;y.arrowFunctionExpression=W4;y.assignmentExpression=XM;y.assignmentPattern=V4;y.awaitExpression=p6;y.bigIntLiteral=h6;y.binaryExpression=JM;y.bindExpression=eR;y.blockStatement=e4;y.booleanLiteral=v4;y.booleanLiteralTypeAnnotation=w6;y.booleanTypeAnnotation=C6;y.breakStatement=t4;y.callExpression=r4;y.catchClause=n4;y.classAccessorProperty=E6;y.classBody=K4;y.classDeclaration=H4;y.classExpression=G4;y.classImplements=I6;y.classMethod=i6;y.classPrivateMethod=T6;y.classPrivateProperty=v6;y.classProperty=b6;y.conditionalExpression=s4;y.continueStatement=i4;y.debuggerStatement=a4;y.decimalLiteral=oR;y.declareClass=O6;y.declareExportAllDeclaration=R6;y.declareExportDeclaration=M6;y.declareFunction=_6;y.declareInterface=N6;y.declareModule=k6;y.declareModuleExports=B6;y.declareOpaqueType=j6;y.declareTypeAlias=F6;y.declareVariable=L6;y.declaredPredicate=q6;y.decorator=rR;y.directive=QM;y.directiveLiteral=ZM;y.doExpression=nR;y.doWhileStatement=o4;y.emptyStatement=l4;y.emptyTypeAnnotation=z6;y.enumBooleanBody=A5;y.enumBooleanMember=I5;y.enumDeclaration=P5;y.enumDefaultedMember=N5;y.enumNumberBody=C5;y.enumNumberMember=O5;y.enumStringBody=w5;y.enumStringMember=_5;y.enumSymbolBody=D5;y.existsTypeAnnotation=U6;y.exportAllDeclaration=Y4;y.exportDefaultDeclaration=X4;y.exportDefaultSpecifier=sR;y.exportNamedDeclaration=J4;y.exportNamespaceSpecifier=m6;y.exportSpecifier=z4;y.expressionStatement=u4;y.file=c4;y.forInStatement=f4;y.forOfStatement=Q4;y.forStatement=p4;y.functionDeclaration=d4;y.functionExpression=h4;y.functionTypeAnnotation=V6;y.functionTypeParam=$6;y.genericTypeAnnotation=W6;y.identifier=m4;y.ifStatement=y4;y.import=d6;y.importAttribute=tR;y.importDeclaration=Z4;y.importDefaultSpecifier=e6;y.importExpression=n6;y.importNamespaceSpecifier=t6;y.importSpecifier=r6;y.indexedAccessType=k5;y.inferredPredicate=K6;y.interfaceDeclaration=H6;y.interfaceExtends=G6;y.interfaceTypeAnnotation=Y6;y.interpreterDirective=zM;y.intersectionTypeAnnotation=X6;y.jSXAttribute=y.jsxAttribute=F5;y.jSXClosingElement=y.jsxClosingElement=j5;y.jSXClosingFragment=y.jsxClosingFragment=X5;y.jSXElement=y.jsxElement=L5;y.jSXEmptyExpression=y.jsxEmptyExpression=M5;y.jSXExpressionContainer=y.jsxExpressionContainer=R5;y.jSXFragment=y.jsxFragment=H5;y.jSXIdentifier=y.jsxIdentifier=U5;y.jSXMemberExpression=y.jsxMemberExpression=V5;y.jSXNamespacedName=y.jsxNamespacedName=$5;y.jSXOpeningElement=y.jsxOpeningElement=W5;y.jSXOpeningFragment=y.jsxOpeningFragment=Y5;y.jSXSpreadAttribute=y.jsxSpreadAttribute=K5;y.jSXSpreadChild=y.jsxSpreadChild=q5;y.jSXText=y.jsxText=G5;y.labeledStatement=g4;y.logicalExpression=T4;y.memberExpression=S4;y.metaProperty=s6;y.mixedTypeAnnotation=J6;y.moduleExpression=lR;y.newExpression=x4;y.noop=J5;y.nullLiteral=E4;y.nullLiteralTypeAnnotation=D6;y.nullableTypeAnnotation=Q6;y.numberLiteral=P9;y.numberLiteralTypeAnnotation=Z6;y.numberTypeAnnotation=e5;y.numericLiteral=x1;y.objectExpression=A4;y.objectMethod=C4;y.objectPattern=a6;y.objectProperty=w4;y.objectTypeAnnotation=t5;y.objectTypeCallProperty=n5;y.objectTypeIndexer=s5;y.objectTypeInternalSlot=r5;y.objectTypeProperty=i5;y.objectTypeSpreadProperty=a5;y.opaqueType=o5;y.optionalCallExpression=g6;y.optionalIndexedAccessType=B5;y.optionalMemberExpression=y6;y.parenthesizedExpression=O4;y.pipelineBareFunction=fR;y.pipelinePrimaryTopicReference=pR;y.pipelineTopicExpression=cR;y.placeholder=z5;y.privateName=S6;y.program=P4;y.qualifiedTypeIdentifier=l5;y.recordExpression=iR;y.regExpLiteral=P1;y.regexLiteral=A9;y.restElement=A1;y.restProperty=C9;y.returnStatement=D4;y.sequenceExpression=I4;y.spreadElement=C1;y.spreadProperty=w9;y.staticBlock=x6;y.stringLiteral=b4;y.stringLiteralTypeAnnotation=u5;y.stringTypeAnnotation=c5;y.super=o6;y.switchCase=_4;y.switchStatement=N4;y.symbolTypeAnnotation=f5;y.taggedTemplateExpression=l6;y.templateElement=u6;y.templateLiteral=c6;y.thisExpression=k4;y.thisTypeAnnotation=p5;y.throwStatement=B4;y.topicReference=uR;y.tryStatement=F4;y.tSAnyKeyword=y.tsAnyKeyword=SR;y.tSArrayType=y.tsArrayType=VR;y.tSAsExpression=y.tsAsExpression=o9;y.tSBigIntKeyword=y.tsBigIntKeyword=PR;y.tSBooleanKeyword=y.tsBooleanKeyword=xR;y.tSCallSignatureDeclaration=y.tsCallSignatureDeclaration=gR;y.tSConditionalType=y.tsConditionalType=XR;y.tSConstructSignatureDeclaration=y.tsConstructSignatureDeclaration=bR;y.tSConstructorType=y.tsConstructorType=LR;y.tSDeclareFunction=y.tsDeclareFunction=hR;y.tSDeclareMethod=y.tsDeclareMethod=mR;y.tSEnumDeclaration=y.tsEnumDeclaration=c9;y.tSEnumMember=y.tsEnumMember=f9;y.tSExportAssignment=y.tsExportAssignment=b9;y.tSExpressionWithTypeArguments=y.tsExpressionWithTypeArguments=r9;y.tSExternalModuleReference=y.tsExternalModuleReference=y9;y.tSFunctionType=y.tsFunctionType=jR;y.tSImportEqualsDeclaration=y.tsImportEqualsDeclaration=m9;y.tSImportType=y.tsImportType=h9;y.tSIndexSignature=y.tsIndexSignature=TR;y.tSIndexedAccessType=y.tsIndexedAccessType=ZR;y.tSInferType=y.tsInferType=JR;y.tSInstantiationExpression=y.tsInstantiationExpression=a9;y.tSInterfaceBody=y.tsInterfaceBody=s9;y.tSInterfaceDeclaration=y.tsInterfaceDeclaration=n9;y.tSIntersectionType=y.tsIntersectionType=YR;y.tSIntrinsicKeyword=y.tsIntrinsicKeyword=AR;y.tSLiteralType=y.tsLiteralType=t9;y.tSMappedType=y.tsMappedType=e9;y.tSMethodSignature=y.tsMethodSignature=vR;y.tSModuleBlock=y.tsModuleBlock=d9;y.tSModuleDeclaration=y.tsModuleDeclaration=p9;y.tSNamedTupleMember=y.tsNamedTupleMember=GR;y.tSNamespaceExportDeclaration=y.tsNamespaceExportDeclaration=E9;y.tSNeverKeyword=y.tsNeverKeyword=CR;y.tSNonNullExpression=y.tsNonNullExpression=g9;y.tSNullKeyword=y.tsNullKeyword=wR;y.tSNumberKeyword=y.tsNumberKeyword=DR;y.tSObjectKeyword=y.tsObjectKeyword=IR;y.tSOptionalType=y.tsOptionalType=WR;y.tSParameterProperty=y.tsParameterProperty=dR;y.tSParenthesizedType=y.tsParenthesizedType=zR;y.tSPropertySignature=y.tsPropertySignature=ER;y.tSQualifiedName=y.tsQualifiedName=yR;y.tSRestType=y.tsRestType=KR;y.tSSatisfiesExpression=y.tsSatisfiesExpression=l9;y.tSStringKeyword=y.tsStringKeyword=OR;y.tSSymbolKeyword=y.tsSymbolKeyword=_R;y.tSThisType=y.tsThisType=FR;y.tSTupleType=y.tsTupleType=$R;y.tSTypeAliasDeclaration=y.tsTypeAliasDeclaration=i9;y.tSTypeAnnotation=y.tsTypeAnnotation=v9;y.tSTypeAssertion=y.tsTypeAssertion=u9;y.tSTypeLiteral=y.tsTypeLiteral=UR;y.tSTypeOperator=y.tsTypeOperator=QR;y.tSTypeParameter=y.tsTypeParameter=x9;y.tSTypeParameterDeclaration=y.tsTypeParameterDeclaration=S9;y.tSTypeParameterInstantiation=y.tsTypeParameterInstantiation=T9;y.tSTypePredicate=y.tsTypePredicate=RR;y.tSTypeQuery=y.tsTypeQuery=qR;y.tSTypeReference=y.tsTypeReference=MR;y.tSUndefinedKeyword=y.tsUndefinedKeyword=NR;y.tSUnionType=y.tsUnionType=HR;y.tSUnknownKeyword=y.tsUnknownKeyword=kR;y.tSVoidKeyword=y.tsVoidKeyword=BR;y.tupleExpression=aR;y.tupleTypeAnnotation=d5;y.typeAlias=m5;y.typeAnnotation=y5;y.typeCastExpression=g5;y.typeParameter=b5;y.typeParameterDeclaration=E5;y.typeParameterInstantiation=v5;y.typeofTypeAnnotation=h5;y.unaryExpression=j4;y.unionTypeAnnotation=T5;y.updateExpression=L4;y.v8IntrinsicIdentifier=Q5;y.variableDeclaration=M4;y.variableDeclarator=R4;y.variance=S5;y.voidTypeAnnotation=x5;y.whileStatement=q4;y.withStatement=U4;y.yieldExpression=f6;var N=S1(),xl=ha();function YM(e=[]){return(0,N.default)({type:"ArrayExpression",elements:e})}function XM(e,t,r){return(0,N.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function JM(e,t,r){return(0,N.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function zM(e){return(0,N.default)({type:"InterpreterDirective",value:e})}function QM(e){return(0,N.default)({type:"Directive",value:e})}function ZM(e){return(0,N.default)({type:"DirectiveLiteral",value:e})}function e4(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 r4(e,t){return(0,N.default)({type:"CallExpression",callee:e,arguments:t})}function n4(e=null,t){return(0,N.default)({type:"CatchClause",param:e,body:t})}function s4(e,t,r){return(0,N.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function i4(e=null){return(0,N.default)({type:"ContinueStatement",label:e})}function a4(){return{type:"DebuggerStatement"}}function o4(e,t){return(0,N.default)({type:"DoWhileStatement",test:e,body:t})}function l4(){return{type:"EmptyStatement"}}function u4(e){return(0,N.default)({type:"ExpressionStatement",expression:e})}function c4(e,t=null,r=null){return(0,N.default)({type:"File",program:e,comments:t,tokens:r})}function f4(e,t,r){return(0,N.default)({type:"ForInStatement",left:e,right:t,body:r})}function p4(e=null,t=null,r=null,n){return(0,N.default)({type:"ForStatement",init:e,test:t,update:r,body:n})}function d4(e=null,t,r,n=!1,s=!1){return(0,N.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:s})}function h4(e=null,t,r,n=!1,s=!1){return(0,N.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:s})}function m4(e){return(0,N.default)({type:"Identifier",name:e})}function y4(e,t,r=null){return(0,N.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function g4(e,t){return(0,N.default)({type:"LabeledStatement",label:e,body:t})}function b4(e){return(0,N.default)({type:"StringLiteral",value:e})}function x1(e){return(0,N.default)({type:"NumericLiteral",value:e})}function E4(){return{type:"NullLiteral"}}function v4(e){return(0,N.default)({type:"BooleanLiteral",value:e})}function P1(e,t=""){return(0,N.default)({type:"RegExpLiteral",pattern:e,flags:t})}function T4(e,t,r){return(0,N.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function S4(e,t,r=!1,n=null){return(0,N.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:n})}function x4(e,t){return(0,N.default)({type:"NewExpression",callee:e,arguments:t})}function P4(e,t=[],r="script",n=null){return(0,N.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:n,sourceFile:null})}function A4(e){return(0,N.default)({type:"ObjectExpression",properties:e})}function C4(e="method",t,r,n,s=!1,i=!1,a=!1){return(0,N.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:s,generator:i,async:a})}function w4(e,t,r=!1,n=!1,s=null){return(0,N.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:s})}function A1(e){return(0,N.default)({type:"RestElement",argument:e})}function D4(e=null){return(0,N.default)({type:"ReturnStatement",argument:e})}function I4(e){return(0,N.default)({type:"SequenceExpression",expressions:e})}function O4(e){return(0,N.default)({type:"ParenthesizedExpression",expression:e})}function _4(e=null,t){return(0,N.default)({type:"SwitchCase",test:e,consequent:t})}function N4(e,t){return(0,N.default)({type:"SwitchStatement",discriminant:e,cases:t})}function k4(){return{type:"ThisExpression"}}function B4(e){return(0,N.default)({type:"ThrowStatement",argument:e})}function F4(e,t=null,r=null){return(0,N.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function j4(e,t,r=!0){return(0,N.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function L4(e,t,r=!1){return(0,N.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function M4(e,t){return(0,N.default)({type:"VariableDeclaration",kind:e,declarations:t})}function R4(e,t=null){return(0,N.default)({type:"VariableDeclarator",id:e,init:t})}function q4(e,t){return(0,N.default)({type:"WhileStatement",test:e,body:t})}function U4(e,t){return(0,N.default)({type:"WithStatement",object:e,body:t})}function V4(e,t){return(0,N.default)({type:"AssignmentPattern",left:e,right:t})}function $4(e){return(0,N.default)({type:"ArrayPattern",elements:e})}function W4(e,t,r=!1){return(0,N.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function K4(e){return(0,N.default)({type:"ClassBody",body:e})}function G4(e=null,t=null,r,n=null){return(0,N.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:n})}function H4(e=null,t=null,r,n=null){return(0,N.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n})}function Y4(e){return(0,N.default)({type:"ExportAllDeclaration",source:e})}function X4(e){return(0,N.default)({type:"ExportDefaultDeclaration",declaration:e})}function J4(e=null,t=[],r=null){return(0,N.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function z4(e,t){return(0,N.default)({type:"ExportSpecifier",local:e,exported:t})}function Q4(e,t,r,n=!1){return(0,N.default)({type:"ForOfStatement",left:e,right:t,body:r,await:n})}function Z4(e,t){return(0,N.default)({type:"ImportDeclaration",specifiers:e,source:t})}function e6(e){return(0,N.default)({type:"ImportDefaultSpecifier",local:e})}function t6(e){return(0,N.default)({type:"ImportNamespaceSpecifier",local:e})}function r6(e,t){return(0,N.default)({type:"ImportSpecifier",local:e,imported:t})}function n6(e,t=null){return(0,N.default)({type:"ImportExpression",source:e,options:t})}function s6(e,t){return(0,N.default)({type:"MetaProperty",meta:e,property:t})}function i6(e="method",t,r,n,s=!1,i=!1,a=!1,o=!1){return(0,N.default)({type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:s,static:i,generator:a,async:o})}function a6(e){return(0,N.default)({type:"ObjectPattern",properties:e})}function C1(e){return(0,N.default)({type:"SpreadElement",argument:e})}function o6(){return{type:"Super"}}function l6(e,t){return(0,N.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function u6(e,t=!1){return(0,N.default)({type:"TemplateElement",value:e,tail:t})}function c6(e,t){return(0,N.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function f6(e=null,t=!1){return(0,N.default)({type:"YieldExpression",argument:e,delegate:t})}function p6(e){return(0,N.default)({type:"AwaitExpression",argument:e})}function d6(){return{type:"Import"}}function h6(e){return(0,N.default)({type:"BigIntLiteral",value:e})}function m6(e){return(0,N.default)({type:"ExportNamespaceSpecifier",exported:e})}function y6(e,t,r=!1,n){return(0,N.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n})}function g6(e,t,r){return(0,N.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function b6(e,t=null,r=null,n=null,s=!1,i=!1){return(0,N.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i})}function E6(e,t=null,r=null,n=null,s=!1,i=!1){return(0,N.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i})}function v6(e,t=null,r=null,n=!1){return(0,N.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n})}function T6(e="method",t,r,n,s=!1){return(0,N.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:s})}function S6(e){return(0,N.default)({type:"PrivateName",id:e})}function x6(e){return(0,N.default)({type:"StaticBlock",body:e})}function P6(){return{type:"AnyTypeAnnotation"}}function A6(e){return(0,N.default)({type:"ArrayTypeAnnotation",elementType:e})}function C6(){return{type:"BooleanTypeAnnotation"}}function w6(e){return(0,N.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function D6(){return{type:"NullLiteralTypeAnnotation"}}function I6(e,t=null){return(0,N.default)({type:"ClassImplements",id:e,typeParameters:t})}function O6(e,t=null,r=null,n){return(0,N.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n})}function _6(e){return(0,N.default)({type:"DeclareFunction",id:e})}function N6(e,t=null,r=null,n){return(0,N.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n})}function k6(e,t,r=null){return(0,N.default)({type:"DeclareModule",id:e,body:t,kind:r})}function B6(e){return(0,N.default)({type:"DeclareModuleExports",typeAnnotation:e})}function F6(e,t=null,r){return(0,N.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function j6(e,t=null,r=null){return(0,N.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function L6(e){return(0,N.default)({type:"DeclareVariable",id:e})}function M6(e=null,t=null,r=null){return(0,N.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function R6(e){return(0,N.default)({type:"DeclareExportAllDeclaration",source:e})}function q6(e){return(0,N.default)({type:"DeclaredPredicate",value:e})}function U6(){return{type:"ExistsTypeAnnotation"}}function V6(e=null,t,r=null,n){return(0,N.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n})}function $6(e=null,t){return(0,N.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function W6(e,t=null){return(0,N.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function K6(){return{type:"InferredPredicate"}}function G6(e,t=null){return(0,N.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function H6(e,t=null,r=null,n){return(0,N.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n})}function Y6(e=null,t){return(0,N.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function X6(e){return(0,N.default)({type:"IntersectionTypeAnnotation",types:e})}function J6(){return{type:"MixedTypeAnnotation"}}function z6(){return{type:"EmptyTypeAnnotation"}}function Q6(e){return(0,N.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function Z6(e){return(0,N.default)({type:"NumberLiteralTypeAnnotation",value:e})}function e5(){return{type:"NumberTypeAnnotation"}}function t5(e,t=[],r=[],n=[],s=!1){return(0,N.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:s})}function r5(e,t,r,n,s){return(0,N.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:s})}function n5(e){return(0,N.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function s5(e=null,t,r,n=null){return(0,N.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null})}function i5(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 o5(e,t=null,r=null,n){return(0,N.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n})}function l5(e,t){return(0,N.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function u5(e){return(0,N.default)({type:"StringLiteralTypeAnnotation",value:e})}function c5(){return{type:"StringTypeAnnotation"}}function f5(){return{type:"SymbolTypeAnnotation"}}function p5(){return{type:"ThisTypeAnnotation"}}function d5(e){return(0,N.default)({type:"TupleTypeAnnotation",types:e})}function h5(e){return(0,N.default)({type:"TypeofTypeAnnotation",argument:e})}function m5(e,t=null,r){return(0,N.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function y5(e){return(0,N.default)({type:"TypeAnnotation",typeAnnotation:e})}function g5(e,t){return(0,N.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function b5(e=null,t=null,r=null){return(0,N.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function E5(e){return(0,N.default)({type:"TypeParameterDeclaration",params:e})}function v5(e){return(0,N.default)({type:"TypeParameterInstantiation",params:e})}function T5(e){return(0,N.default)({type:"UnionTypeAnnotation",types:e})}function S5(e){return(0,N.default)({type:"Variance",kind:e})}function x5(){return{type:"VoidTypeAnnotation"}}function P5(e,t){return(0,N.default)({type:"EnumDeclaration",id:e,body:t})}function A5(e){return(0,N.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function C5(e){return(0,N.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function w5(e){return(0,N.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function D5(e){return(0,N.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function I5(e){return(0,N.default)({type:"EnumBooleanMember",id:e,init:null})}function O5(e,t){return(0,N.default)({type:"EnumNumberMember",id:e,init:t})}function _5(e,t){return(0,N.default)({type:"EnumStringMember",id:e,init:t})}function N5(e){return(0,N.default)({type:"EnumDefaultedMember",id:e})}function k5(e,t){return(0,N.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function B5(e,t){return(0,N.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function F5(e,t=null){return(0,N.default)({type:"JSXAttribute",name:e,value:t})}function j5(e){return(0,N.default)({type:"JSXClosingElement",name:e})}function L5(e,t=null,r,n=null){return(0,N.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n})}function M5(){return{type:"JSXEmptyExpression"}}function R5(e){return(0,N.default)({type:"JSXExpressionContainer",expression:e})}function q5(e){return(0,N.default)({type:"JSXSpreadChild",expression:e})}function U5(e){return(0,N.default)({type:"JSXIdentifier",name:e})}function V5(e,t){return(0,N.default)({type:"JSXMemberExpression",object:e,property:t})}function $5(e,t){return(0,N.default)({type:"JSXNamespacedName",namespace:e,name:t})}function W5(e,t,r=!1){return(0,N.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function K5(e){return(0,N.default)({type:"JSXSpreadAttribute",argument:e})}function G5(e){return(0,N.default)({type:"JSXText",value:e})}function H5(e,t,r){return(0,N.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function Y5(){return{type:"JSXOpeningFragment"}}function X5(){return{type:"JSXClosingFragment"}}function J5(){return{type:"Noop"}}function z5(e,t){return(0,N.default)({type:"Placeholder",expectedNode:e,name:t})}function Q5(e){return(0,N.default)({type:"V8IntrinsicIdentifier",name:e})}function Z5(){return{type:"ArgumentPlaceholder"}}function eR(e,t){return(0,N.default)({type:"BindExpression",object:e,callee:t})}function tR(e,t){return(0,N.default)({type:"ImportAttribute",key:e,value:t})}function rR(e){return(0,N.default)({type:"Decorator",expression:e})}function nR(e,t=!1){return(0,N.default)({type:"DoExpression",body:e,async:t})}function sR(e){return(0,N.default)({type:"ExportDefaultSpecifier",exported:e})}function iR(e){return(0,N.default)({type:"RecordExpression",properties:e})}function aR(e=[]){return(0,N.default)({type:"TupleExpression",elements:e})}function oR(e){return(0,N.default)({type:"DecimalLiteral",value:e})}function lR(e){return(0,N.default)({type:"ModuleExpression",body:e})}function uR(){return{type:"TopicReference"}}function cR(e){return(0,N.default)({type:"PipelineTopicExpression",expression:e})}function fR(e){return(0,N.default)({type:"PipelineBareFunction",callee:e})}function pR(){return{type:"PipelinePrimaryTopicReference"}}function dR(e){return(0,N.default)({type:"TSParameterProperty",parameter:e})}function hR(e=null,t=null,r,n=null){return(0,N.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n})}function mR(e=null,t,r=null,n,s=null){return(0,N.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:s})}function yR(e,t){return(0,N.default)({type:"TSQualifiedName",left:e,right:t})}function gR(e=null,t,r=null){return(0,N.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function bR(e=null,t,r=null){return(0,N.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function ER(e,t=null,r=null){return(0,N.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:r,kind:null})}function vR(e,t=null,r,n=null){return(0,N.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null})}function TR(e,t=null){return(0,N.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function SR(){return{type:"TSAnyKeyword"}}function xR(){return{type:"TSBooleanKeyword"}}function PR(){return{type:"TSBigIntKeyword"}}function AR(){return{type:"TSIntrinsicKeyword"}}function CR(){return{type:"TSNeverKeyword"}}function wR(){return{type:"TSNullKeyword"}}function DR(){return{type:"TSNumberKeyword"}}function IR(){return{type:"TSObjectKeyword"}}function OR(){return{type:"TSStringKeyword"}}function _R(){return{type:"TSSymbolKeyword"}}function NR(){return{type:"TSUndefinedKeyword"}}function kR(){return{type:"TSUnknownKeyword"}}function BR(){return{type:"TSVoidKeyword"}}function FR(){return{type:"TSThisType"}}function jR(e=null,t,r=null){return(0,N.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function LR(e=null,t,r=null){return(0,N.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function MR(e,t=null){return(0,N.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function RR(e,t=null,r=null){return(0,N.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function qR(e,t=null){return(0,N.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function UR(e){return(0,N.default)({type:"TSTypeLiteral",members:e})}function VR(e){return(0,N.default)({type:"TSArrayType",elementType:e})}function $R(e){return(0,N.default)({type:"TSTupleType",elementTypes:e})}function WR(e){return(0,N.default)({type:"TSOptionalType",typeAnnotation:e})}function KR(e){return(0,N.default)({type:"TSRestType",typeAnnotation:e})}function GR(e,t,r=!1){return(0,N.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function HR(e){return(0,N.default)({type:"TSUnionType",types:e})}function YR(e){return(0,N.default)({type:"TSIntersectionType",types:e})}function XR(e,t,r,n){return(0,N.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n})}function JR(e){return(0,N.default)({type:"TSInferType",typeParameter:e})}function zR(e){return(0,N.default)({type:"TSParenthesizedType",typeAnnotation:e})}function QR(e){return(0,N.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function ZR(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 t9(e){return(0,N.default)({type:"TSLiteralType",literal:e})}function r9(e,t=null){return(0,N.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function n9(e,t=null,r=null,n){return(0,N.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n})}function s9(e){return(0,N.default)({type:"TSInterfaceBody",body:e})}function i9(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 o9(e,t){return(0,N.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function l9(e,t){return(0,N.default)({type:"TSSatisfiesExpression",expression:e,typeAnnotation:t})}function u9(e,t){return(0,N.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function c9(e,t){return(0,N.default)({type:"TSEnumDeclaration",id:e,members:t})}function f9(e,t=null){return(0,N.default)({type:"TSEnumMember",id:e,initializer:t})}function p9(e,t){return(0,N.default)({type:"TSModuleDeclaration",id:e,body:t})}function d9(e){return(0,N.default)({type:"TSModuleBlock",body:e})}function h9(e,t=null,r=null){return(0,N.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function m9(e,t){return(0,N.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function y9(e){return(0,N.default)({type:"TSExternalModuleReference",expression:e})}function g9(e){return(0,N.default)({type:"TSNonNullExpression",expression:e})}function b9(e){return(0,N.default)({type:"TSExportAssignment",expression:e})}function E9(e){return(0,N.default)({type:"TSNamespaceExportDeclaration",id:e})}function v9(e){return(0,N.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function T9(e){return(0,N.default)({type:"TSTypeParameterInstantiation",params:e})}function S9(e){return(0,N.default)({type:"TSTypeParameterDeclaration",params:e})}function x9(e=null,t=null,r){return(0,N.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function P9(e){return(0,xl.default)("NumberLiteral","NumericLiteral","The node type "),x1(e)}function A9(e,t=""){return(0,xl.default)("RegexLiteral","RegExpLiteral","The node type "),P1(e,t)}function C9(e){return(0,xl.default)("RestProperty","RestElement","The node type "),A1(e)}function w9(e){return(0,xl.default)("SpreadProperty","SpreadElement","The node type "),C1(e)}});var w1=g(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.default=O9;var D9=tr(),I9=Ce();function O9(e,t){let r=e.value.split(/\r\n|\n|\r/),n=0;for(let i=0;i<r.length;i++)r[i].match(/[^ \t]/)&&(n=i);let s="";for(let i=0;i<r.length;i++){let a=r[i],o=i===0,l=i===r.length-1,u=i===n,c=a.replace(/\t/g," ");o||(c=c.replace(/^[ ]+/,"")),l||(c=c.replace(/[ ]+$/,"")),c&&(u||(c+=" "),s+=c)}s&&t.push((0,I9.inherits)((0,D9.stringLiteral)(s),e))}});var D1=g(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.default=N9;var yd=It(),_9=w1();function N9(e){let t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];if((0,yd.isJSXText)(n)){(0,_9.default)(n,t);continue}(0,yd.isJSXExpressionContainer)(n)&&(n=n.expression),!(0,yd.isJSXEmptyExpression)(n)&&t.push(n)}return t}});var Ed=g(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.default=B9;var k9=Ar();function B9(e){return!!(e&&k9.VISITOR_KEYS[e.type])}});var I1=g(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.default=j9;var F9=Ed();function j9(e){if(!(0,F9.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 O1=g(T=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});T.assertAccessor=Q$;T.assertAnyTypeAnnotation=bq;T.assertArgumentPlaceholder=HU;T.assertArrayExpression=M9;T.assertArrayPattern=j7;T.assertArrayTypeAnnotation=Eq;T.assertArrowFunctionExpression=L7;T.assertAssignmentExpression=R9;T.assertAssignmentPattern=F7;T.assertAwaitExpression=aq;T.assertBigIntLiteral=lq;T.assertBinary=v$;T.assertBinaryExpression=q9;T.assertBindExpression=YU;T.assertBlock=x$;T.assertBlockParent=S$;T.assertBlockStatement=W9;T.assertBooleanLiteral=f7;T.assertBooleanLiteralTypeAnnotation=Tq;T.assertBooleanTypeAnnotation=vq;T.assertBreakStatement=K9;T.assertCallExpression=G9;T.assertCatchClause=H9;T.assertClass=Y$;T.assertClassAccessorProperty=dq;T.assertClassBody=M7;T.assertClassDeclaration=q7;T.assertClassExpression=R7;T.assertClassImplements=xq;T.assertClassMethod=Q7;T.assertClassPrivateMethod=mq;T.assertClassPrivateProperty=hq;T.assertClassProperty=pq;T.assertCompletionStatement=C$;T.assertConditional=w$;T.assertConditionalExpression=Y9;T.assertContinueStatement=X9;T.assertDebuggerStatement=J9;T.assertDecimalLiteral=tV;T.assertDeclaration=j$;T.assertDeclareClass=Pq;T.assertDeclareExportAllDeclaration=kq;T.assertDeclareExportDeclaration=Nq;T.assertDeclareFunction=Aq;T.assertDeclareInterface=Cq;T.assertDeclareModule=wq;T.assertDeclareModuleExports=Dq;T.assertDeclareOpaqueType=Oq;T.assertDeclareTypeAlias=Iq;T.assertDeclareVariable=_q;T.assertDeclaredPredicate=Bq;T.assertDecorator=JU;T.assertDirective=V9;T.assertDirectiveLiteral=$9;T.assertDoExpression=zU;T.assertDoWhileStatement=z9;T.assertEmptyStatement=Q9;T.assertEmptyTypeAnnotation=Kq;T.assertEnumBody=iW;T.assertEnumBooleanBody=EU;T.assertEnumBooleanMember=xU;T.assertEnumDeclaration=bU;T.assertEnumDefaultedMember=CU;T.assertEnumMember=aW;T.assertEnumNumberBody=vU;T.assertEnumNumberMember=PU;T.assertEnumStringBody=TU;T.assertEnumStringMember=AU;T.assertEnumSymbolBody=SU;T.assertExistsTypeAnnotation=Fq;T.assertExportAllDeclaration=U7;T.assertExportDeclaration=J$;T.assertExportDefaultDeclaration=V7;T.assertExportDefaultSpecifier=QU;T.assertExportNamedDeclaration=$7;T.assertExportNamespaceSpecifier=uq;T.assertExportSpecifier=W7;T.assertExpression=E$;T.assertExpressionStatement=Z9;T.assertExpressionWrapper=O$;T.assertFile=e7;T.assertFlow=eW;T.assertFlowBaseAnnotation=rW;T.assertFlowDeclaration=nW;T.assertFlowPredicate=sW;T.assertFlowType=tW;T.assertFor=_$;T.assertForInStatement=t7;T.assertForOfStatement=K7;T.assertForStatement=r7;T.assertForXStatement=N$;T.assertFunction=k$;T.assertFunctionDeclaration=n7;T.assertFunctionExpression=s7;T.assertFunctionParent=B$;T.assertFunctionTypeAnnotation=jq;T.assertFunctionTypeParam=Lq;T.assertGenericTypeAnnotation=Mq;T.assertIdentifier=i7;T.assertIfStatement=a7;T.assertImmutable=U$;T.assertImport=oq;T.assertImportAttribute=XU;T.assertImportDeclaration=G7;T.assertImportDefaultSpecifier=H7;T.assertImportExpression=J7;T.assertImportNamespaceSpecifier=Y7;T.assertImportOrExportDeclaration=X$;T.assertImportSpecifier=X7;T.assertIndexedAccessType=wU;T.assertInferredPredicate=Rq;T.assertInterfaceDeclaration=Uq;T.assertInterfaceExtends=qq;T.assertInterfaceTypeAnnotation=Vq;T.assertInterpreterDirective=U9;T.assertIntersectionTypeAnnotation=$q;T.assertJSX=oW;T.assertJSXAttribute=IU;T.assertJSXClosingElement=OU;T.assertJSXClosingFragment=$U;T.assertJSXElement=_U;T.assertJSXEmptyExpression=NU;T.assertJSXExpressionContainer=kU;T.assertJSXFragment=UU;T.assertJSXIdentifier=FU;T.assertJSXMemberExpression=jU;T.assertJSXNamespacedName=LU;T.assertJSXOpeningElement=MU;T.assertJSXOpeningFragment=VU;T.assertJSXSpreadAttribute=RU;T.assertJSXSpreadChild=BU;T.assertJSXText=qU;T.assertLVal=M$;T.assertLabeledStatement=o7;T.assertLiteral=q$;T.assertLogicalExpression=d7;T.assertLoop=D$;T.assertMemberExpression=h7;T.assertMetaProperty=z7;T.assertMethod=$$;T.assertMiscellaneous=lW;T.assertMixedTypeAnnotation=Wq;T.assertModuleDeclaration=gW;T.assertModuleExpression=rV;T.assertModuleSpecifier=z$;T.assertNewExpression=m7;T.assertNoop=WU;T.assertNullLiteral=c7;T.assertNullLiteralTypeAnnotation=Sq;T.assertNullableTypeAnnotation=Gq;T.assertNumberLiteral=dW;T.assertNumberLiteralTypeAnnotation=Hq;T.assertNumberTypeAnnotation=Yq;T.assertNumericLiteral=u7;T.assertObjectExpression=g7;T.assertObjectMember=W$;T.assertObjectMethod=b7;T.assertObjectPattern=Z7;T.assertObjectProperty=E7;T.assertObjectTypeAnnotation=Xq;T.assertObjectTypeCallProperty=zq;T.assertObjectTypeIndexer=Qq;T.assertObjectTypeInternalSlot=Jq;T.assertObjectTypeProperty=Zq;T.assertObjectTypeSpreadProperty=eU;T.assertOpaqueType=tU;T.assertOptionalCallExpression=fq;T.assertOptionalIndexedAccessType=DU;T.assertOptionalMemberExpression=cq;T.assertParenthesizedExpression=x7;T.assertPattern=H$;T.assertPatternLike=L$;T.assertPipelineBareFunction=iV;T.assertPipelinePrimaryTopicReference=aV;T.assertPipelineTopicExpression=sV;T.assertPlaceholder=KU;T.assertPrivate=Z$;T.assertPrivateName=yq;T.assertProgram=y7;T.assertProperty=K$;T.assertPureish=F$;T.assertQualifiedTypeIdentifier=rU;T.assertRecordExpression=ZU;T.assertRegExpLiteral=p7;T.assertRegexLiteral=hW;T.assertRestElement=v7;T.assertRestProperty=mW;T.assertReturnStatement=T7;T.assertScopable=T$;T.assertSequenceExpression=S7;T.assertSpreadElement=eq;T.assertSpreadProperty=yW;T.assertStandardized=b$;T.assertStatement=P$;T.assertStaticBlock=gq;T.assertStringLiteral=l7;T.assertStringLiteralTypeAnnotation=nU;T.assertStringTypeAnnotation=sU;T.assertSuper=tq;T.assertSwitchCase=P7;T.assertSwitchStatement=A7;T.assertSymbolTypeAnnotation=iU;T.assertTSAnyKeyword=yV;T.assertTSArrayType=jV;T.assertTSAsExpression=t$;T.assertTSBaseType=pW;T.assertTSBigIntKeyword=bV;T.assertTSBooleanKeyword=gV;T.assertTSCallSignatureDeclaration=fV;T.assertTSConditionalType=$V;T.assertTSConstructSignatureDeclaration=pV;T.assertTSConstructorType=_V;T.assertTSDeclareFunction=lV;T.assertTSDeclareMethod=uV;T.assertTSEntityName=R$;T.assertTSEnumDeclaration=s$;T.assertTSEnumMember=i$;T.assertTSExportAssignment=p$;T.assertTSExpressionWithTypeArguments=JV;T.assertTSExternalModuleReference=c$;T.assertTSFunctionType=OV;T.assertTSImportEqualsDeclaration=u$;T.assertTSImportType=l$;T.assertTSIndexSignature=mV;T.assertTSIndexedAccessType=HV;T.assertTSInferType=WV;T.assertTSInstantiationExpression=e$;T.assertTSInterfaceBody=QV;T.assertTSInterfaceDeclaration=zV;T.assertTSIntersectionType=VV;T.assertTSIntrinsicKeyword=EV;T.assertTSLiteralType=XV;T.assertTSMappedType=YV;T.assertTSMethodSignature=hV;T.assertTSModuleBlock=o$;T.assertTSModuleDeclaration=a$;T.assertTSNamedTupleMember=qV;T.assertTSNamespaceExportDeclaration=d$;T.assertTSNeverKeyword=vV;T.assertTSNonNullExpression=f$;T.assertTSNullKeyword=TV;T.assertTSNumberKeyword=SV;T.assertTSObjectKeyword=xV;T.assertTSOptionalType=MV;T.assertTSParameterProperty=oV;T.assertTSParenthesizedType=KV;T.assertTSPropertySignature=dV;T.assertTSQualifiedName=cV;T.assertTSRestType=RV;T.assertTSSatisfiesExpression=r$;T.assertTSStringKeyword=PV;T.assertTSSymbolKeyword=AV;T.assertTSThisType=IV;T.assertTSTupleType=LV;T.assertTSType=fW;T.assertTSTypeAliasDeclaration=ZV;T.assertTSTypeAnnotation=h$;T.assertTSTypeAssertion=n$;T.assertTSTypeElement=cW;T.assertTSTypeLiteral=FV;T.assertTSTypeOperator=GV;T.assertTSTypeParameter=g$;T.assertTSTypeParameterDeclaration=y$;T.assertTSTypeParameterInstantiation=m$;T.assertTSTypePredicate=kV;T.assertTSTypeQuery=BV;T.assertTSTypeReference=NV;T.assertTSUndefinedKeyword=CV;T.assertTSUnionType=UV;T.assertTSUnknownKeyword=wV;T.assertTSVoidKeyword=DV;T.assertTaggedTemplateExpression=rq;T.assertTemplateElement=nq;T.assertTemplateLiteral=sq;T.assertTerminatorless=A$;T.assertThisExpression=C7;T.assertThisTypeAnnotation=aU;T.assertThrowStatement=w7;T.assertTopicReference=nV;T.assertTryStatement=D7;T.assertTupleExpression=eV;T.assertTupleTypeAnnotation=oU;T.assertTypeAlias=uU;T.assertTypeAnnotation=cU;T.assertTypeCastExpression=fU;T.assertTypeParameter=pU;T.assertTypeParameterDeclaration=dU;T.assertTypeParameterInstantiation=hU;T.assertTypeScript=uW;T.assertTypeofTypeAnnotation=lU;T.assertUnaryExpression=I7;T.assertUnaryLike=G$;T.assertUnionTypeAnnotation=mU;T.assertUpdateExpression=O7;T.assertUserWhitespacable=V$;T.assertV8IntrinsicIdentifier=GU;T.assertVariableDeclaration=_7;T.assertVariableDeclarator=N7;T.assertVariance=yU;T.assertVoidTypeAnnotation=gU;T.assertWhile=I$;T.assertWhileStatement=k7;T.assertWithStatement=B7;T.assertYieldExpression=iq;var L9=ti(),Aa=ha();function S(e,t,r){if(!(0,L9.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}function M9(e,t){S("ArrayExpression",e,t)}function R9(e,t){S("AssignmentExpression",e,t)}function q9(e,t){S("BinaryExpression",e,t)}function U9(e,t){S("InterpreterDirective",e,t)}function V9(e,t){S("Directive",e,t)}function $9(e,t){S("DirectiveLiteral",e,t)}function W9(e,t){S("BlockStatement",e,t)}function K9(e,t){S("BreakStatement",e,t)}function G9(e,t){S("CallExpression",e,t)}function H9(e,t){S("CatchClause",e,t)}function Y9(e,t){S("ConditionalExpression",e,t)}function X9(e,t){S("ContinueStatement",e,t)}function J9(e,t){S("DebuggerStatement",e,t)}function z9(e,t){S("DoWhileStatement",e,t)}function Q9(e,t){S("EmptyStatement",e,t)}function Z9(e,t){S("ExpressionStatement",e,t)}function e7(e,t){S("File",e,t)}function t7(e,t){S("ForInStatement",e,t)}function r7(e,t){S("ForStatement",e,t)}function n7(e,t){S("FunctionDeclaration",e,t)}function s7(e,t){S("FunctionExpression",e,t)}function i7(e,t){S("Identifier",e,t)}function a7(e,t){S("IfStatement",e,t)}function o7(e,t){S("LabeledStatement",e,t)}function l7(e,t){S("StringLiteral",e,t)}function u7(e,t){S("NumericLiteral",e,t)}function c7(e,t){S("NullLiteral",e,t)}function f7(e,t){S("BooleanLiteral",e,t)}function p7(e,t){S("RegExpLiteral",e,t)}function d7(e,t){S("LogicalExpression",e,t)}function h7(e,t){S("MemberExpression",e,t)}function m7(e,t){S("NewExpression",e,t)}function y7(e,t){S("Program",e,t)}function g7(e,t){S("ObjectExpression",e,t)}function b7(e,t){S("ObjectMethod",e,t)}function E7(e,t){S("ObjectProperty",e,t)}function v7(e,t){S("RestElement",e,t)}function T7(e,t){S("ReturnStatement",e,t)}function S7(e,t){S("SequenceExpression",e,t)}function x7(e,t){S("ParenthesizedExpression",e,t)}function P7(e,t){S("SwitchCase",e,t)}function A7(e,t){S("SwitchStatement",e,t)}function C7(e,t){S("ThisExpression",e,t)}function w7(e,t){S("ThrowStatement",e,t)}function D7(e,t){S("TryStatement",e,t)}function I7(e,t){S("UnaryExpression",e,t)}function O7(e,t){S("UpdateExpression",e,t)}function _7(e,t){S("VariableDeclaration",e,t)}function N7(e,t){S("VariableDeclarator",e,t)}function k7(e,t){S("WhileStatement",e,t)}function B7(e,t){S("WithStatement",e,t)}function F7(e,t){S("AssignmentPattern",e,t)}function j7(e,t){S("ArrayPattern",e,t)}function L7(e,t){S("ArrowFunctionExpression",e,t)}function M7(e,t){S("ClassBody",e,t)}function R7(e,t){S("ClassExpression",e,t)}function q7(e,t){S("ClassDeclaration",e,t)}function U7(e,t){S("ExportAllDeclaration",e,t)}function V7(e,t){S("ExportDefaultDeclaration",e,t)}function $7(e,t){S("ExportNamedDeclaration",e,t)}function W7(e,t){S("ExportSpecifier",e,t)}function K7(e,t){S("ForOfStatement",e,t)}function G7(e,t){S("ImportDeclaration",e,t)}function H7(e,t){S("ImportDefaultSpecifier",e,t)}function Y7(e,t){S("ImportNamespaceSpecifier",e,t)}function X7(e,t){S("ImportSpecifier",e,t)}function J7(e,t){S("ImportExpression",e,t)}function z7(e,t){S("MetaProperty",e,t)}function Q7(e,t){S("ClassMethod",e,t)}function Z7(e,t){S("ObjectPattern",e,t)}function eq(e,t){S("SpreadElement",e,t)}function tq(e,t){S("Super",e,t)}function rq(e,t){S("TaggedTemplateExpression",e,t)}function nq(e,t){S("TemplateElement",e,t)}function sq(e,t){S("TemplateLiteral",e,t)}function iq(e,t){S("YieldExpression",e,t)}function aq(e,t){S("AwaitExpression",e,t)}function oq(e,t){S("Import",e,t)}function lq(e,t){S("BigIntLiteral",e,t)}function uq(e,t){S("ExportNamespaceSpecifier",e,t)}function cq(e,t){S("OptionalMemberExpression",e,t)}function fq(e,t){S("OptionalCallExpression",e,t)}function pq(e,t){S("ClassProperty",e,t)}function dq(e,t){S("ClassAccessorProperty",e,t)}function hq(e,t){S("ClassPrivateProperty",e,t)}function mq(e,t){S("ClassPrivateMethod",e,t)}function yq(e,t){S("PrivateName",e,t)}function gq(e,t){S("StaticBlock",e,t)}function bq(e,t){S("AnyTypeAnnotation",e,t)}function Eq(e,t){S("ArrayTypeAnnotation",e,t)}function vq(e,t){S("BooleanTypeAnnotation",e,t)}function Tq(e,t){S("BooleanLiteralTypeAnnotation",e,t)}function Sq(e,t){S("NullLiteralTypeAnnotation",e,t)}function xq(e,t){S("ClassImplements",e,t)}function Pq(e,t){S("DeclareClass",e,t)}function Aq(e,t){S("DeclareFunction",e,t)}function Cq(e,t){S("DeclareInterface",e,t)}function wq(e,t){S("DeclareModule",e,t)}function Dq(e,t){S("DeclareModuleExports",e,t)}function Iq(e,t){S("DeclareTypeAlias",e,t)}function Oq(e,t){S("DeclareOpaqueType",e,t)}function _q(e,t){S("DeclareVariable",e,t)}function Nq(e,t){S("DeclareExportDeclaration",e,t)}function kq(e,t){S("DeclareExportAllDeclaration",e,t)}function Bq(e,t){S("DeclaredPredicate",e,t)}function Fq(e,t){S("ExistsTypeAnnotation",e,t)}function jq(e,t){S("FunctionTypeAnnotation",e,t)}function Lq(e,t){S("FunctionTypeParam",e,t)}function Mq(e,t){S("GenericTypeAnnotation",e,t)}function Rq(e,t){S("InferredPredicate",e,t)}function qq(e,t){S("InterfaceExtends",e,t)}function Uq(e,t){S("InterfaceDeclaration",e,t)}function Vq(e,t){S("InterfaceTypeAnnotation",e,t)}function $q(e,t){S("IntersectionTypeAnnotation",e,t)}function Wq(e,t){S("MixedTypeAnnotation",e,t)}function Kq(e,t){S("EmptyTypeAnnotation",e,t)}function Gq(e,t){S("NullableTypeAnnotation",e,t)}function Hq(e,t){S("NumberLiteralTypeAnnotation",e,t)}function Yq(e,t){S("NumberTypeAnnotation",e,t)}function Xq(e,t){S("ObjectTypeAnnotation",e,t)}function Jq(e,t){S("ObjectTypeInternalSlot",e,t)}function zq(e,t){S("ObjectTypeCallProperty",e,t)}function Qq(e,t){S("ObjectTypeIndexer",e,t)}function Zq(e,t){S("ObjectTypeProperty",e,t)}function eU(e,t){S("ObjectTypeSpreadProperty",e,t)}function tU(e,t){S("OpaqueType",e,t)}function rU(e,t){S("QualifiedTypeIdentifier",e,t)}function nU(e,t){S("StringLiteralTypeAnnotation",e,t)}function sU(e,t){S("StringTypeAnnotation",e,t)}function iU(e,t){S("SymbolTypeAnnotation",e,t)}function aU(e,t){S("ThisTypeAnnotation",e,t)}function oU(e,t){S("TupleTypeAnnotation",e,t)}function lU(e,t){S("TypeofTypeAnnotation",e,t)}function uU(e,t){S("TypeAlias",e,t)}function cU(e,t){S("TypeAnnotation",e,t)}function fU(e,t){S("TypeCastExpression",e,t)}function pU(e,t){S("TypeParameter",e,t)}function dU(e,t){S("TypeParameterDeclaration",e,t)}function hU(e,t){S("TypeParameterInstantiation",e,t)}function mU(e,t){S("UnionTypeAnnotation",e,t)}function yU(e,t){S("Variance",e,t)}function gU(e,t){S("VoidTypeAnnotation",e,t)}function bU(e,t){S("EnumDeclaration",e,t)}function EU(e,t){S("EnumBooleanBody",e,t)}function vU(e,t){S("EnumNumberBody",e,t)}function TU(e,t){S("EnumStringBody",e,t)}function SU(e,t){S("EnumSymbolBody",e,t)}function xU(e,t){S("EnumBooleanMember",e,t)}function PU(e,t){S("EnumNumberMember",e,t)}function AU(e,t){S("EnumStringMember",e,t)}function CU(e,t){S("EnumDefaultedMember",e,t)}function wU(e,t){S("IndexedAccessType",e,t)}function DU(e,t){S("OptionalIndexedAccessType",e,t)}function IU(e,t){S("JSXAttribute",e,t)}function OU(e,t){S("JSXClosingElement",e,t)}function _U(e,t){S("JSXElement",e,t)}function NU(e,t){S("JSXEmptyExpression",e,t)}function kU(e,t){S("JSXExpressionContainer",e,t)}function BU(e,t){S("JSXSpreadChild",e,t)}function FU(e,t){S("JSXIdentifier",e,t)}function jU(e,t){S("JSXMemberExpression",e,t)}function LU(e,t){S("JSXNamespacedName",e,t)}function MU(e,t){S("JSXOpeningElement",e,t)}function RU(e,t){S("JSXSpreadAttribute",e,t)}function qU(e,t){S("JSXText",e,t)}function UU(e,t){S("JSXFragment",e,t)}function VU(e,t){S("JSXOpeningFragment",e,t)}function $U(e,t){S("JSXClosingFragment",e,t)}function WU(e,t){S("Noop",e,t)}function KU(e,t){S("Placeholder",e,t)}function GU(e,t){S("V8IntrinsicIdentifier",e,t)}function HU(e,t){S("ArgumentPlaceholder",e,t)}function YU(e,t){S("BindExpression",e,t)}function XU(e,t){S("ImportAttribute",e,t)}function JU(e,t){S("Decorator",e,t)}function zU(e,t){S("DoExpression",e,t)}function QU(e,t){S("ExportDefaultSpecifier",e,t)}function ZU(e,t){S("RecordExpression",e,t)}function eV(e,t){S("TupleExpression",e,t)}function tV(e,t){S("DecimalLiteral",e,t)}function rV(e,t){S("ModuleExpression",e,t)}function nV(e,t){S("TopicReference",e,t)}function sV(e,t){S("PipelineTopicExpression",e,t)}function iV(e,t){S("PipelineBareFunction",e,t)}function aV(e,t){S("PipelinePrimaryTopicReference",e,t)}function oV(e,t){S("TSParameterProperty",e,t)}function lV(e,t){S("TSDeclareFunction",e,t)}function uV(e,t){S("TSDeclareMethod",e,t)}function cV(e,t){S("TSQualifiedName",e,t)}function fV(e,t){S("TSCallSignatureDeclaration",e,t)}function pV(e,t){S("TSConstructSignatureDeclaration",e,t)}function dV(e,t){S("TSPropertySignature",e,t)}function hV(e,t){S("TSMethodSignature",e,t)}function mV(e,t){S("TSIndexSignature",e,t)}function yV(e,t){S("TSAnyKeyword",e,t)}function gV(e,t){S("TSBooleanKeyword",e,t)}function bV(e,t){S("TSBigIntKeyword",e,t)}function EV(e,t){S("TSIntrinsicKeyword",e,t)}function vV(e,t){S("TSNeverKeyword",e,t)}function TV(e,t){S("TSNullKeyword",e,t)}function SV(e,t){S("TSNumberKeyword",e,t)}function xV(e,t){S("TSObjectKeyword",e,t)}function PV(e,t){S("TSStringKeyword",e,t)}function AV(e,t){S("TSSymbolKeyword",e,t)}function CV(e,t){S("TSUndefinedKeyword",e,t)}function wV(e,t){S("TSUnknownKeyword",e,t)}function DV(e,t){S("TSVoidKeyword",e,t)}function IV(e,t){S("TSThisType",e,t)}function OV(e,t){S("TSFunctionType",e,t)}function _V(e,t){S("TSConstructorType",e,t)}function NV(e,t){S("TSTypeReference",e,t)}function kV(e,t){S("TSTypePredicate",e,t)}function BV(e,t){S("TSTypeQuery",e,t)}function FV(e,t){S("TSTypeLiteral",e,t)}function jV(e,t){S("TSArrayType",e,t)}function LV(e,t){S("TSTupleType",e,t)}function MV(e,t){S("TSOptionalType",e,t)}function RV(e,t){S("TSRestType",e,t)}function qV(e,t){S("TSNamedTupleMember",e,t)}function UV(e,t){S("TSUnionType",e,t)}function VV(e,t){S("TSIntersectionType",e,t)}function $V(e,t){S("TSConditionalType",e,t)}function WV(e,t){S("TSInferType",e,t)}function KV(e,t){S("TSParenthesizedType",e,t)}function GV(e,t){S("TSTypeOperator",e,t)}function HV(e,t){S("TSIndexedAccessType",e,t)}function YV(e,t){S("TSMappedType",e,t)}function XV(e,t){S("TSLiteralType",e,t)}function JV(e,t){S("TSExpressionWithTypeArguments",e,t)}function zV(e,t){S("TSInterfaceDeclaration",e,t)}function QV(e,t){S("TSInterfaceBody",e,t)}function ZV(e,t){S("TSTypeAliasDeclaration",e,t)}function e$(e,t){S("TSInstantiationExpression",e,t)}function t$(e,t){S("TSAsExpression",e,t)}function r$(e,t){S("TSSatisfiesExpression",e,t)}function n$(e,t){S("TSTypeAssertion",e,t)}function s$(e,t){S("TSEnumDeclaration",e,t)}function i$(e,t){S("TSEnumMember",e,t)}function a$(e,t){S("TSModuleDeclaration",e,t)}function o$(e,t){S("TSModuleBlock",e,t)}function l$(e,t){S("TSImportType",e,t)}function u$(e,t){S("TSImportEqualsDeclaration",e,t)}function c$(e,t){S("TSExternalModuleReference",e,t)}function f$(e,t){S("TSNonNullExpression",e,t)}function p$(e,t){S("TSExportAssignment",e,t)}function d$(e,t){S("TSNamespaceExportDeclaration",e,t)}function h$(e,t){S("TSTypeAnnotation",e,t)}function m$(e,t){S("TSTypeParameterInstantiation",e,t)}function y$(e,t){S("TSTypeParameterDeclaration",e,t)}function g$(e,t){S("TSTypeParameter",e,t)}function b$(e,t){S("Standardized",e,t)}function E$(e,t){S("Expression",e,t)}function v$(e,t){S("Binary",e,t)}function T$(e,t){S("Scopable",e,t)}function S$(e,t){S("BlockParent",e,t)}function x$(e,t){S("Block",e,t)}function P$(e,t){S("Statement",e,t)}function A$(e,t){S("Terminatorless",e,t)}function C$(e,t){S("CompletionStatement",e,t)}function w$(e,t){S("Conditional",e,t)}function D$(e,t){S("Loop",e,t)}function I$(e,t){S("While",e,t)}function O$(e,t){S("ExpressionWrapper",e,t)}function _$(e,t){S("For",e,t)}function N$(e,t){S("ForXStatement",e,t)}function k$(e,t){S("Function",e,t)}function B$(e,t){S("FunctionParent",e,t)}function F$(e,t){S("Pureish",e,t)}function j$(e,t){S("Declaration",e,t)}function L$(e,t){S("PatternLike",e,t)}function M$(e,t){S("LVal",e,t)}function R$(e,t){S("TSEntityName",e,t)}function q$(e,t){S("Literal",e,t)}function U$(e,t){S("Immutable",e,t)}function V$(e,t){S("UserWhitespacable",e,t)}function $$(e,t){S("Method",e,t)}function W$(e,t){S("ObjectMember",e,t)}function K$(e,t){S("Property",e,t)}function G$(e,t){S("UnaryLike",e,t)}function H$(e,t){S("Pattern",e,t)}function Y$(e,t){S("Class",e,t)}function X$(e,t){S("ImportOrExportDeclaration",e,t)}function J$(e,t){S("ExportDeclaration",e,t)}function z$(e,t){S("ModuleSpecifier",e,t)}function Q$(e,t){S("Accessor",e,t)}function Z$(e,t){S("Private",e,t)}function eW(e,t){S("Flow",e,t)}function tW(e,t){S("FlowType",e,t)}function rW(e,t){S("FlowBaseAnnotation",e,t)}function nW(e,t){S("FlowDeclaration",e,t)}function sW(e,t){S("FlowPredicate",e,t)}function iW(e,t){S("EnumBody",e,t)}function aW(e,t){S("EnumMember",e,t)}function oW(e,t){S("JSX",e,t)}function lW(e,t){S("Miscellaneous",e,t)}function uW(e,t){S("TypeScript",e,t)}function cW(e,t){S("TSTypeElement",e,t)}function fW(e,t){S("TSType",e,t)}function pW(e,t){S("TSBaseType",e,t)}function dW(e,t){(0,Aa.default)("assertNumberLiteral","assertNumericLiteral"),S("NumberLiteral",e,t)}function hW(e,t){(0,Aa.default)("assertRegexLiteral","assertRegExpLiteral"),S("RegexLiteral",e,t)}function mW(e,t){(0,Aa.default)("assertRestProperty","assertRestElement"),S("RestProperty",e,t)}function yW(e,t){(0,Aa.default)("assertSpreadProperty","assertSpreadElement"),S("SpreadProperty",e,t)}function gW(e,t){(0,Aa.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),S("ModuleDeclaration",e,t)}});var _1=g(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var Rr=tr(),bW=EW;Pl.default=bW;function EW(e){switch(e){case"string":return(0,Rr.stringTypeAnnotation)();case"number":return(0,Rr.numberTypeAnnotation)();case"undefined":return(0,Rr.voidTypeAnnotation)();case"boolean":return(0,Rr.booleanTypeAnnotation)();case"function":return(0,Rr.genericTypeAnnotation)((0,Rr.identifier)("Function"));case"object":return(0,Rr.genericTypeAnnotation)((0,Rr.identifier)("Object"));case"symbol":return(0,Rr.genericTypeAnnotation)((0,Rr.identifier)("Symbol"));case"bigint":return(0,Rr.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}});var Sd=g(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.default=k1;var Ca=It();function N1(e){return(0,Ca.isIdentifier)(e)?e.name:`${e.id.name}.${N1(e.qualification)}`}function k1(e){let t=Array.from(e),r=new Map,n=new Map,s=new Set,i=[];for(let a=0;a<t.length;a++){let o=t[a];if(o&&!(i.indexOf(o)>=0)){if((0,Ca.isAnyTypeAnnotation)(o))return[o];if((0,Ca.isFlowBaseAnnotation)(o)){n.set(o.type,o);continue}if((0,Ca.isUnionTypeAnnotation)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}if((0,Ca.isGenericTypeAnnotation)(o)){let l=N1(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=k1(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}i.push(o)}}for(let[,a]of n)i.push(a);for(let[,a]of r)i.push(a);return i}});var B1=g(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.default=SW;var vW=tr(),TW=Sd();function SW(e){let t=(0,TW.default)(e);return t.length===1?t[0]:(0,vW.unionTypeAnnotation)(t)}});var L1=g(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=j1;var wa=It();function F1(e){return(0,wa.isIdentifier)(e)?e.name:`${e.right.name}.${F1(e.left)}`}function j1(e){let t=Array.from(e),r=new Map,n=new Map,s=new Set,i=[];for(let a=0;a<t.length;a++){let o=t[a];if(o&&!(i.indexOf(o)>=0)){if((0,wa.isTSAnyKeyword)(o))return[o];if((0,wa.isTSBaseType)(o)){n.set(o.type,o);continue}if((0,wa.isTSUnionType)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}if((0,wa.isTSTypeReference)(o)&&o.typeParameters){let l=F1(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=j1(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}i.push(o)}}for(let[,a]of n)i.push(a);for(let[,a]of r)i.push(a);return i}});var M1=g(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.default=CW;var xW=tr(),PW=L1(),AW=It();function CW(e){let t=e.map(n=>(0,AW.isTSTypeAnnotation)(n)?n.typeAnnotation:n),r=(0,PW.default)(t);return r.length===1?r[0]:(0,xW.tsUnionType)(r)}});var R1=g(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});Object.defineProperty(w,"AnyTypeAnnotation",{enumerable:!0,get:function(){return D.anyTypeAnnotation}});Object.defineProperty(w,"ArgumentPlaceholder",{enumerable:!0,get:function(){return D.argumentPlaceholder}});Object.defineProperty(w,"ArrayExpression",{enumerable:!0,get:function(){return D.arrayExpression}});Object.defineProperty(w,"ArrayPattern",{enumerable:!0,get:function(){return D.arrayPattern}});Object.defineProperty(w,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return D.arrayTypeAnnotation}});Object.defineProperty(w,"ArrowFunctionExpression",{enumerable:!0,get:function(){return D.arrowFunctionExpression}});Object.defineProperty(w,"AssignmentExpression",{enumerable:!0,get:function(){return D.assignmentExpression}});Object.defineProperty(w,"AssignmentPattern",{enumerable:!0,get:function(){return D.assignmentPattern}});Object.defineProperty(w,"AwaitExpression",{enumerable:!0,get:function(){return D.awaitExpression}});Object.defineProperty(w,"BigIntLiteral",{enumerable:!0,get:function(){return D.bigIntLiteral}});Object.defineProperty(w,"BinaryExpression",{enumerable:!0,get:function(){return D.binaryExpression}});Object.defineProperty(w,"BindExpression",{enumerable:!0,get:function(){return D.bindExpression}});Object.defineProperty(w,"BlockStatement",{enumerable:!0,get:function(){return D.blockStatement}});Object.defineProperty(w,"BooleanLiteral",{enumerable:!0,get:function(){return D.booleanLiteral}});Object.defineProperty(w,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return D.booleanLiteralTypeAnnotation}});Object.defineProperty(w,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return D.booleanTypeAnnotation}});Object.defineProperty(w,"BreakStatement",{enumerable:!0,get:function(){return D.breakStatement}});Object.defineProperty(w,"CallExpression",{enumerable:!0,get:function(){return D.callExpression}});Object.defineProperty(w,"CatchClause",{enumerable:!0,get:function(){return D.catchClause}});Object.defineProperty(w,"ClassAccessorProperty",{enumerable:!0,get:function(){return D.classAccessorProperty}});Object.defineProperty(w,"ClassBody",{enumerable:!0,get:function(){return D.classBody}});Object.defineProperty(w,"ClassDeclaration",{enumerable:!0,get:function(){return D.classDeclaration}});Object.defineProperty(w,"ClassExpression",{enumerable:!0,get:function(){return D.classExpression}});Object.defineProperty(w,"ClassImplements",{enumerable:!0,get:function(){return D.classImplements}});Object.defineProperty(w,"ClassMethod",{enumerable:!0,get:function(){return D.classMethod}});Object.defineProperty(w,"ClassPrivateMethod",{enumerable:!0,get:function(){return D.classPrivateMethod}});Object.defineProperty(w,"ClassPrivateProperty",{enumerable:!0,get:function(){return D.classPrivateProperty}});Object.defineProperty(w,"ClassProperty",{enumerable:!0,get:function(){return D.classProperty}});Object.defineProperty(w,"ConditionalExpression",{enumerable:!0,get:function(){return D.conditionalExpression}});Object.defineProperty(w,"ContinueStatement",{enumerable:!0,get:function(){return D.continueStatement}});Object.defineProperty(w,"DebuggerStatement",{enumerable:!0,get:function(){return D.debuggerStatement}});Object.defineProperty(w,"DecimalLiteral",{enumerable:!0,get:function(){return D.decimalLiteral}});Object.defineProperty(w,"DeclareClass",{enumerable:!0,get:function(){return D.declareClass}});Object.defineProperty(w,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return D.declareExportAllDeclaration}});Object.defineProperty(w,"DeclareExportDeclaration",{enumerable:!0,get:function(){return D.declareExportDeclaration}});Object.defineProperty(w,"DeclareFunction",{enumerable:!0,get:function(){return D.declareFunction}});Object.defineProperty(w,"DeclareInterface",{enumerable:!0,get:function(){return D.declareInterface}});Object.defineProperty(w,"DeclareModule",{enumerable:!0,get:function(){return D.declareModule}});Object.defineProperty(w,"DeclareModuleExports",{enumerable:!0,get:function(){return D.declareModuleExports}});Object.defineProperty(w,"DeclareOpaqueType",{enumerable:!0,get:function(){return D.declareOpaqueType}});Object.defineProperty(w,"DeclareTypeAlias",{enumerable:!0,get:function(){return D.declareTypeAlias}});Object.defineProperty(w,"DeclareVariable",{enumerable:!0,get:function(){return D.declareVariable}});Object.defineProperty(w,"DeclaredPredicate",{enumerable:!0,get:function(){return D.declaredPredicate}});Object.defineProperty(w,"Decorator",{enumerable:!0,get:function(){return D.decorator}});Object.defineProperty(w,"Directive",{enumerable:!0,get:function(){return D.directive}});Object.defineProperty(w,"DirectiveLiteral",{enumerable:!0,get:function(){return D.directiveLiteral}});Object.defineProperty(w,"DoExpression",{enumerable:!0,get:function(){return D.doExpression}});Object.defineProperty(w,"DoWhileStatement",{enumerable:!0,get:function(){return D.doWhileStatement}});Object.defineProperty(w,"EmptyStatement",{enumerable:!0,get:function(){return D.emptyStatement}});Object.defineProperty(w,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return D.emptyTypeAnnotation}});Object.defineProperty(w,"EnumBooleanBody",{enumerable:!0,get:function(){return D.enumBooleanBody}});Object.defineProperty(w,"EnumBooleanMember",{enumerable:!0,get:function(){return D.enumBooleanMember}});Object.defineProperty(w,"EnumDeclaration",{enumerable:!0,get:function(){return D.enumDeclaration}});Object.defineProperty(w,"EnumDefaultedMember",{enumerable:!0,get:function(){return D.enumDefaultedMember}});Object.defineProperty(w,"EnumNumberBody",{enumerable:!0,get:function(){return D.enumNumberBody}});Object.defineProperty(w,"EnumNumberMember",{enumerable:!0,get:function(){return D.enumNumberMember}});Object.defineProperty(w,"EnumStringBody",{enumerable:!0,get:function(){return D.enumStringBody}});Object.defineProperty(w,"EnumStringMember",{enumerable:!0,get:function(){return D.enumStringMember}});Object.defineProperty(w,"EnumSymbolBody",{enumerable:!0,get:function(){return D.enumSymbolBody}});Object.defineProperty(w,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return D.existsTypeAnnotation}});Object.defineProperty(w,"ExportAllDeclaration",{enumerable:!0,get:function(){return D.exportAllDeclaration}});Object.defineProperty(w,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return D.exportDefaultDeclaration}});Object.defineProperty(w,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return D.exportDefaultSpecifier}});Object.defineProperty(w,"ExportNamedDeclaration",{enumerable:!0,get:function(){return D.exportNamedDeclaration}});Object.defineProperty(w,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return D.exportNamespaceSpecifier}});Object.defineProperty(w,"ExportSpecifier",{enumerable:!0,get:function(){return D.exportSpecifier}});Object.defineProperty(w,"ExpressionStatement",{enumerable:!0,get:function(){return D.expressionStatement}});Object.defineProperty(w,"File",{enumerable:!0,get:function(){return D.file}});Object.defineProperty(w,"ForInStatement",{enumerable:!0,get:function(){return D.forInStatement}});Object.defineProperty(w,"ForOfStatement",{enumerable:!0,get:function(){return D.forOfStatement}});Object.defineProperty(w,"ForStatement",{enumerable:!0,get:function(){return D.forStatement}});Object.defineProperty(w,"FunctionDeclaration",{enumerable:!0,get:function(){return D.functionDeclaration}});Object.defineProperty(w,"FunctionExpression",{enumerable:!0,get:function(){return D.functionExpression}});Object.defineProperty(w,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return D.functionTypeAnnotation}});Object.defineProperty(w,"FunctionTypeParam",{enumerable:!0,get:function(){return D.functionTypeParam}});Object.defineProperty(w,"GenericTypeAnnotation",{enumerable:!0,get:function(){return D.genericTypeAnnotation}});Object.defineProperty(w,"Identifier",{enumerable:!0,get:function(){return D.identifier}});Object.defineProperty(w,"IfStatement",{enumerable:!0,get:function(){return D.ifStatement}});Object.defineProperty(w,"Import",{enumerable:!0,get:function(){return D.import}});Object.defineProperty(w,"ImportAttribute",{enumerable:!0,get:function(){return D.importAttribute}});Object.defineProperty(w,"ImportDeclaration",{enumerable:!0,get:function(){return D.importDeclaration}});Object.defineProperty(w,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return D.importDefaultSpecifier}});Object.defineProperty(w,"ImportExpression",{enumerable:!0,get:function(){return D.importExpression}});Object.defineProperty(w,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return D.importNamespaceSpecifier}});Object.defineProperty(w,"ImportSpecifier",{enumerable:!0,get:function(){return D.importSpecifier}});Object.defineProperty(w,"IndexedAccessType",{enumerable:!0,get:function(){return D.indexedAccessType}});Object.defineProperty(w,"InferredPredicate",{enumerable:!0,get:function(){return D.inferredPredicate}});Object.defineProperty(w,"InterfaceDeclaration",{enumerable:!0,get:function(){return D.interfaceDeclaration}});Object.defineProperty(w,"InterfaceExtends",{enumerable:!0,get:function(){return D.interfaceExtends}});Object.defineProperty(w,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return D.interfaceTypeAnnotation}});Object.defineProperty(w,"InterpreterDirective",{enumerable:!0,get:function(){return D.interpreterDirective}});Object.defineProperty(w,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return D.intersectionTypeAnnotation}});Object.defineProperty(w,"JSXAttribute",{enumerable:!0,get:function(){return D.jsxAttribute}});Object.defineProperty(w,"JSXClosingElement",{enumerable:!0,get:function(){return D.jsxClosingElement}});Object.defineProperty(w,"JSXClosingFragment",{enumerable:!0,get:function(){return D.jsxClosingFragment}});Object.defineProperty(w,"JSXElement",{enumerable:!0,get:function(){return D.jsxElement}});Object.defineProperty(w,"JSXEmptyExpression",{enumerable:!0,get:function(){return D.jsxEmptyExpression}});Object.defineProperty(w,"JSXExpressionContainer",{enumerable:!0,get:function(){return D.jsxExpressionContainer}});Object.defineProperty(w,"JSXFragment",{enumerable:!0,get:function(){return D.jsxFragment}});Object.defineProperty(w,"JSXIdentifier",{enumerable:!0,get:function(){return D.jsxIdentifier}});Object.defineProperty(w,"JSXMemberExpression",{enumerable:!0,get:function(){return D.jsxMemberExpression}});Object.defineProperty(w,"JSXNamespacedName",{enumerable:!0,get:function(){return D.jsxNamespacedName}});Object.defineProperty(w,"JSXOpeningElement",{enumerable:!0,get:function(){return D.jsxOpeningElement}});Object.defineProperty(w,"JSXOpeningFragment",{enumerable:!0,get:function(){return D.jsxOpeningFragment}});Object.defineProperty(w,"JSXSpreadAttribute",{enumerable:!0,get:function(){return D.jsxSpreadAttribute}});Object.defineProperty(w,"JSXSpreadChild",{enumerable:!0,get:function(){return D.jsxSpreadChild}});Object.defineProperty(w,"JSXText",{enumerable:!0,get:function(){return D.jsxText}});Object.defineProperty(w,"LabeledStatement",{enumerable:!0,get:function(){return D.labeledStatement}});Object.defineProperty(w,"LogicalExpression",{enumerable:!0,get:function(){return D.logicalExpression}});Object.defineProperty(w,"MemberExpression",{enumerable:!0,get:function(){return D.memberExpression}});Object.defineProperty(w,"MetaProperty",{enumerable:!0,get:function(){return D.metaProperty}});Object.defineProperty(w,"MixedTypeAnnotation",{enumerable:!0,get:function(){return D.mixedTypeAnnotation}});Object.defineProperty(w,"ModuleExpression",{enumerable:!0,get:function(){return D.moduleExpression}});Object.defineProperty(w,"NewExpression",{enumerable:!0,get:function(){return D.newExpression}});Object.defineProperty(w,"Noop",{enumerable:!0,get:function(){return D.noop}});Object.defineProperty(w,"NullLiteral",{enumerable:!0,get:function(){return D.nullLiteral}});Object.defineProperty(w,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return D.nullLiteralTypeAnnotation}});Object.defineProperty(w,"NullableTypeAnnotation",{enumerable:!0,get:function(){return D.nullableTypeAnnotation}});Object.defineProperty(w,"NumberLiteral",{enumerable:!0,get:function(){return D.numberLiteral}});Object.defineProperty(w,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return D.numberLiteralTypeAnnotation}});Object.defineProperty(w,"NumberTypeAnnotation",{enumerable:!0,get:function(){return D.numberTypeAnnotation}});Object.defineProperty(w,"NumericLiteral",{enumerable:!0,get:function(){return D.numericLiteral}});Object.defineProperty(w,"ObjectExpression",{enumerable:!0,get:function(){return D.objectExpression}});Object.defineProperty(w,"ObjectMethod",{enumerable:!0,get:function(){return D.objectMethod}});Object.defineProperty(w,"ObjectPattern",{enumerable:!0,get:function(){return D.objectPattern}});Object.defineProperty(w,"ObjectProperty",{enumerable:!0,get:function(){return D.objectProperty}});Object.defineProperty(w,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return D.objectTypeAnnotation}});Object.defineProperty(w,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return D.objectTypeCallProperty}});Object.defineProperty(w,"ObjectTypeIndexer",{enumerable:!0,get:function(){return D.objectTypeIndexer}});Object.defineProperty(w,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return D.objectTypeInternalSlot}});Object.defineProperty(w,"ObjectTypeProperty",{enumerable:!0,get:function(){return D.objectTypeProperty}});Object.defineProperty(w,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return D.objectTypeSpreadProperty}});Object.defineProperty(w,"OpaqueType",{enumerable:!0,get:function(){return D.opaqueType}});Object.defineProperty(w,"OptionalCallExpression",{enumerable:!0,get:function(){return D.optionalCallExpression}});Object.defineProperty(w,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return D.optionalIndexedAccessType}});Object.defineProperty(w,"OptionalMemberExpression",{enumerable:!0,get:function(){return D.optionalMemberExpression}});Object.defineProperty(w,"ParenthesizedExpression",{enumerable:!0,get:function(){return D.parenthesizedExpression}});Object.defineProperty(w,"PipelineBareFunction",{enumerable:!0,get:function(){return D.pipelineBareFunction}});Object.defineProperty(w,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return D.pipelinePrimaryTopicReference}});Object.defineProperty(w,"PipelineTopicExpression",{enumerable:!0,get:function(){return D.pipelineTopicExpression}});Object.defineProperty(w,"Placeholder",{enumerable:!0,get:function(){return D.placeholder}});Object.defineProperty(w,"PrivateName",{enumerable:!0,get:function(){return D.privateName}});Object.defineProperty(w,"Program",{enumerable:!0,get:function(){return D.program}});Object.defineProperty(w,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return D.qualifiedTypeIdentifier}});Object.defineProperty(w,"RecordExpression",{enumerable:!0,get:function(){return D.recordExpression}});Object.defineProperty(w,"RegExpLiteral",{enumerable:!0,get:function(){return D.regExpLiteral}});Object.defineProperty(w,"RegexLiteral",{enumerable:!0,get:function(){return D.regexLiteral}});Object.defineProperty(w,"RestElement",{enumerable:!0,get:function(){return D.restElement}});Object.defineProperty(w,"RestProperty",{enumerable:!0,get:function(){return D.restProperty}});Object.defineProperty(w,"ReturnStatement",{enumerable:!0,get:function(){return D.returnStatement}});Object.defineProperty(w,"SequenceExpression",{enumerable:!0,get:function(){return D.sequenceExpression}});Object.defineProperty(w,"SpreadElement",{enumerable:!0,get:function(){return D.spreadElement}});Object.defineProperty(w,"SpreadProperty",{enumerable:!0,get:function(){return D.spreadProperty}});Object.defineProperty(w,"StaticBlock",{enumerable:!0,get:function(){return D.staticBlock}});Object.defineProperty(w,"StringLiteral",{enumerable:!0,get:function(){return D.stringLiteral}});Object.defineProperty(w,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return D.stringLiteralTypeAnnotation}});Object.defineProperty(w,"StringTypeAnnotation",{enumerable:!0,get:function(){return D.stringTypeAnnotation}});Object.defineProperty(w,"Super",{enumerable:!0,get:function(){return D.super}});Object.defineProperty(w,"SwitchCase",{enumerable:!0,get:function(){return D.switchCase}});Object.defineProperty(w,"SwitchStatement",{enumerable:!0,get:function(){return D.switchStatement}});Object.defineProperty(w,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return D.symbolTypeAnnotation}});Object.defineProperty(w,"TSAnyKeyword",{enumerable:!0,get:function(){return D.tsAnyKeyword}});Object.defineProperty(w,"TSArrayType",{enumerable:!0,get:function(){return D.tsArrayType}});Object.defineProperty(w,"TSAsExpression",{enumerable:!0,get:function(){return D.tsAsExpression}});Object.defineProperty(w,"TSBigIntKeyword",{enumerable:!0,get:function(){return D.tsBigIntKeyword}});Object.defineProperty(w,"TSBooleanKeyword",{enumerable:!0,get:function(){return D.tsBooleanKeyword}});Object.defineProperty(w,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return D.tsCallSignatureDeclaration}});Object.defineProperty(w,"TSConditionalType",{enumerable:!0,get:function(){return D.tsConditionalType}});Object.defineProperty(w,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return D.tsConstructSignatureDeclaration}});Object.defineProperty(w,"TSConstructorType",{enumerable:!0,get:function(){return D.tsConstructorType}});Object.defineProperty(w,"TSDeclareFunction",{enumerable:!0,get:function(){return D.tsDeclareFunction}});Object.defineProperty(w,"TSDeclareMethod",{enumerable:!0,get:function(){return D.tsDeclareMethod}});Object.defineProperty(w,"TSEnumDeclaration",{enumerable:!0,get:function(){return D.tsEnumDeclaration}});Object.defineProperty(w,"TSEnumMember",{enumerable:!0,get:function(){return D.tsEnumMember}});Object.defineProperty(w,"TSExportAssignment",{enumerable:!0,get:function(){return D.tsExportAssignment}});Object.defineProperty(w,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return D.tsExpressionWithTypeArguments}});Object.defineProperty(w,"TSExternalModuleReference",{enumerable:!0,get:function(){return D.tsExternalModuleReference}});Object.defineProperty(w,"TSFunctionType",{enumerable:!0,get:function(){return D.tsFunctionType}});Object.defineProperty(w,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return D.tsImportEqualsDeclaration}});Object.defineProperty(w,"TSImportType",{enumerable:!0,get:function(){return D.tsImportType}});Object.defineProperty(w,"TSIndexSignature",{enumerable:!0,get:function(){return D.tsIndexSignature}});Object.defineProperty(w,"TSIndexedAccessType",{enumerable:!0,get:function(){return D.tsIndexedAccessType}});Object.defineProperty(w,"TSInferType",{enumerable:!0,get:function(){return D.tsInferType}});Object.defineProperty(w,"TSInstantiationExpression",{enumerable:!0,get:function(){return D.tsInstantiationExpression}});Object.defineProperty(w,"TSInterfaceBody",{enumerable:!0,get:function(){return D.tsInterfaceBody}});Object.defineProperty(w,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return D.tsInterfaceDeclaration}});Object.defineProperty(w,"TSIntersectionType",{enumerable:!0,get:function(){return D.tsIntersectionType}});Object.defineProperty(w,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return D.tsIntrinsicKeyword}});Object.defineProperty(w,"TSLiteralType",{enumerable:!0,get:function(){return D.tsLiteralType}});Object.defineProperty(w,"TSMappedType",{enumerable:!0,get:function(){return D.tsMappedType}});Object.defineProperty(w,"TSMethodSignature",{enumerable:!0,get:function(){return D.tsMethodSignature}});Object.defineProperty(w,"TSModuleBlock",{enumerable:!0,get:function(){return D.tsModuleBlock}});Object.defineProperty(w,"TSModuleDeclaration",{enumerable:!0,get:function(){return D.tsModuleDeclaration}});Object.defineProperty(w,"TSNamedTupleMember",{enumerable:!0,get:function(){return D.tsNamedTupleMember}});Object.defineProperty(w,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return D.tsNamespaceExportDeclaration}});Object.defineProperty(w,"TSNeverKeyword",{enumerable:!0,get:function(){return D.tsNeverKeyword}});Object.defineProperty(w,"TSNonNullExpression",{enumerable:!0,get:function(){return D.tsNonNullExpression}});Object.defineProperty(w,"TSNullKeyword",{enumerable:!0,get:function(){return D.tsNullKeyword}});Object.defineProperty(w,"TSNumberKeyword",{enumerable:!0,get:function(){return D.tsNumberKeyword}});Object.defineProperty(w,"TSObjectKeyword",{enumerable:!0,get:function(){return D.tsObjectKeyword}});Object.defineProperty(w,"TSOptionalType",{enumerable:!0,get:function(){return D.tsOptionalType}});Object.defineProperty(w,"TSParameterProperty",{enumerable:!0,get:function(){return D.tsParameterProperty}});Object.defineProperty(w,"TSParenthesizedType",{enumerable:!0,get:function(){return D.tsParenthesizedType}});Object.defineProperty(w,"TSPropertySignature",{enumerable:!0,get:function(){return D.tsPropertySignature}});Object.defineProperty(w,"TSQualifiedName",{enumerable:!0,get:function(){return D.tsQualifiedName}});Object.defineProperty(w,"TSRestType",{enumerable:!0,get:function(){return D.tsRestType}});Object.defineProperty(w,"TSSatisfiesExpression",{enumerable:!0,get:function(){return D.tsSatisfiesExpression}});Object.defineProperty(w,"TSStringKeyword",{enumerable:!0,get:function(){return D.tsStringKeyword}});Object.defineProperty(w,"TSSymbolKeyword",{enumerable:!0,get:function(){return D.tsSymbolKeyword}});Object.defineProperty(w,"TSThisType",{enumerable:!0,get:function(){return D.tsThisType}});Object.defineProperty(w,"TSTupleType",{enumerable:!0,get:function(){return D.tsTupleType}});Object.defineProperty(w,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return D.tsTypeAliasDeclaration}});Object.defineProperty(w,"TSTypeAnnotation",{enumerable:!0,get:function(){return D.tsTypeAnnotation}});Object.defineProperty(w,"TSTypeAssertion",{enumerable:!0,get:function(){return D.tsTypeAssertion}});Object.defineProperty(w,"TSTypeLiteral",{enumerable:!0,get:function(){return D.tsTypeLiteral}});Object.defineProperty(w,"TSTypeOperator",{enumerable:!0,get:function(){return D.tsTypeOperator}});Object.defineProperty(w,"TSTypeParameter",{enumerable:!0,get:function(){return D.tsTypeParameter}});Object.defineProperty(w,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return D.tsTypeParameterDeclaration}});Object.defineProperty(w,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return D.tsTypeParameterInstantiation}});Object.defineProperty(w,"TSTypePredicate",{enumerable:!0,get:function(){return D.tsTypePredicate}});Object.defineProperty(w,"TSTypeQuery",{enumerable:!0,get:function(){return D.tsTypeQuery}});Object.defineProperty(w,"TSTypeReference",{enumerable:!0,get:function(){return D.tsTypeReference}});Object.defineProperty(w,"TSUndefinedKeyword",{enumerable:!0,get:function(){return D.tsUndefinedKeyword}});Object.defineProperty(w,"TSUnionType",{enumerable:!0,get:function(){return D.tsUnionType}});Object.defineProperty(w,"TSUnknownKeyword",{enumerable:!0,get:function(){return D.tsUnknownKeyword}});Object.defineProperty(w,"TSVoidKeyword",{enumerable:!0,get:function(){return D.tsVoidKeyword}});Object.defineProperty(w,"TaggedTemplateExpression",{enumerable:!0,get:function(){return D.taggedTemplateExpression}});Object.defineProperty(w,"TemplateElement",{enumerable:!0,get:function(){return D.templateElement}});Object.defineProperty(w,"TemplateLiteral",{enumerable:!0,get:function(){return D.templateLiteral}});Object.defineProperty(w,"ThisExpression",{enumerable:!0,get:function(){return D.thisExpression}});Object.defineProperty(w,"ThisTypeAnnotation",{enumerable:!0,get:function(){return D.thisTypeAnnotation}});Object.defineProperty(w,"ThrowStatement",{enumerable:!0,get:function(){return D.throwStatement}});Object.defineProperty(w,"TopicReference",{enumerable:!0,get:function(){return D.topicReference}});Object.defineProperty(w,"TryStatement",{enumerable:!0,get:function(){return D.tryStatement}});Object.defineProperty(w,"TupleExpression",{enumerable:!0,get:function(){return D.tupleExpression}});Object.defineProperty(w,"TupleTypeAnnotation",{enumerable:!0,get:function(){return D.tupleTypeAnnotation}});Object.defineProperty(w,"TypeAlias",{enumerable:!0,get:function(){return D.typeAlias}});Object.defineProperty(w,"TypeAnnotation",{enumerable:!0,get:function(){return D.typeAnnotation}});Object.defineProperty(w,"TypeCastExpression",{enumerable:!0,get:function(){return D.typeCastExpression}});Object.defineProperty(w,"TypeParameter",{enumerable:!0,get:function(){return D.typeParameter}});Object.defineProperty(w,"TypeParameterDeclaration",{enumerable:!0,get:function(){return D.typeParameterDeclaration}});Object.defineProperty(w,"TypeParameterInstantiation",{enumerable:!0,get:function(){return D.typeParameterInstantiation}});Object.defineProperty(w,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return D.typeofTypeAnnotation}});Object.defineProperty(w,"UnaryExpression",{enumerable:!0,get:function(){return D.unaryExpression}});Object.defineProperty(w,"UnionTypeAnnotation",{enumerable:!0,get:function(){return D.unionTypeAnnotation}});Object.defineProperty(w,"UpdateExpression",{enumerable:!0,get:function(){return D.updateExpression}});Object.defineProperty(w,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return D.v8IntrinsicIdentifier}});Object.defineProperty(w,"VariableDeclaration",{enumerable:!0,get:function(){return D.variableDeclaration}});Object.defineProperty(w,"VariableDeclarator",{enumerable:!0,get:function(){return D.variableDeclarator}});Object.defineProperty(w,"Variance",{enumerable:!0,get:function(){return D.variance}});Object.defineProperty(w,"VoidTypeAnnotation",{enumerable:!0,get:function(){return D.voidTypeAnnotation}});Object.defineProperty(w,"WhileStatement",{enumerable:!0,get:function(){return D.whileStatement}});Object.defineProperty(w,"WithStatement",{enumerable:!0,get:function(){return D.withStatement}});Object.defineProperty(w,"YieldExpression",{enumerable:!0,get:function(){return D.yieldExpression}});var D=tr()});var U1=g(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});Cd.buildUndefinedNode=wW;var q1=tr();function wW(){return(0,q1.unaryExpression)("void",(0,q1.numericLiteral)(0),!0)}});var Gn=g(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.default=DW;var V1=Ar(),$1=It(),mn=Function.call.bind(Object.prototype.hasOwnProperty);function W1(e,t,r,n){return e&&typeof e.type=="string"?G1(e,t,r,n):e}function K1(e,t,r,n){return Array.isArray(e)?e.map(s=>W1(s,t,r,n)):W1(e,t,r,n)}function DW(e,t=!0,r=!1){return G1(e,t,r,new Map)}function G1(e,t=!0,r=!1,n){if(!e)return e;let{type:s}=e,i={type:e.type};if((0,$1.isIdentifier)(e))i.name=e.name,mn(e,"optional")&&typeof e.optional=="boolean"&&(i.optional=e.optional),mn(e,"typeAnnotation")&&(i.typeAnnotation=t?K1(e.typeAnnotation,!0,r,n):e.typeAnnotation);else if(mn(V1.NODE_FIELDS,s))for(let a of Object.keys(V1.NODE_FIELDS[s]))mn(e,a)&&(t?i[a]=(0,$1.isFile)(e)&&a==="comments"?Al(e.comments,t,r,n):K1(e[a],!0,r,n):i[a]=e[a]);else throw new Error(`Unknown node type: "${s}"`);return mn(e,"loc")&&(r?i.loc=null:i.loc=e.loc),mn(e,"leadingComments")&&(i.leadingComments=Al(e.leadingComments,t,r,n)),mn(e,"innerComments")&&(i.innerComments=Al(e.innerComments,t,r,n)),mn(e,"trailingComments")&&(i.trailingComments=Al(e.trailingComments,t,r,n)),mn(e,"extra")&&(i.extra=Object.assign({},e.extra)),i}function Al(e,t,r,n){return!e||!t?e:e.map(s=>{let i=n.get(s);if(i)return i;let{type:a,value:o,loc:l}=s,u={type:a,value:o,loc:l};return r&&(u.loc=null),n.set(s,u),u})}});var H1=g(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.default=OW;var IW=Gn();function OW(e){return(0,IW.default)(e,!1)}});var Y1=g(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.default=NW;var _W=Gn();function NW(e){return(0,_W.default)(e)}});var X1=g(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.default=BW;var kW=Gn();function BW(e){return(0,kW.default)(e,!0,!0)}});var J1=g(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.default=jW;var FW=Gn();function jW(e){return(0,FW.default)(e,!1,!0)}});var kd=g(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.default=LW;function LW(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 z1=g(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=RW;var MW=kd();function RW(e,t,r,n){return(0,MW.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])}});var Cl=g(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.default=qW;function qW(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}});var Ld=g(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.default=VW;var UW=Cl();function VW(e,t){(0,UW.default)("innerComments",e,t)}});var Rd=g(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.default=WW;var $W=Cl();function WW(e,t){(0,$W.default)("leadingComments",e,t)}});var Ud=g(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.default=GW;var KW=Cl();function GW(e,t){(0,KW.default)("trailingComments",e,t)}});var $d=g(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=JW;var HW=Ud(),YW=Rd(),XW=Ld();function JW(e,t){return(0,HW.default)(e,t),(0,YW.default)(e,t),(0,XW.default)(e,t),e}});var Q1=g(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=QW;var zW=$n();function QW(e){return zW.COMMENT_KEYS.forEach(t=>{e[t]=null}),e}});var eT=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 we=Ar(),ZW=we.FLIPPED_ALIAS_KEYS.Standardized;G.STANDARDIZED_TYPES=ZW;var eK=we.FLIPPED_ALIAS_KEYS.Expression;G.EXPRESSION_TYPES=eK;var tK=we.FLIPPED_ALIAS_KEYS.Binary;G.BINARY_TYPES=tK;var rK=we.FLIPPED_ALIAS_KEYS.Scopable;G.SCOPABLE_TYPES=rK;var nK=we.FLIPPED_ALIAS_KEYS.BlockParent;G.BLOCKPARENT_TYPES=nK;var sK=we.FLIPPED_ALIAS_KEYS.Block;G.BLOCK_TYPES=sK;var iK=we.FLIPPED_ALIAS_KEYS.Statement;G.STATEMENT_TYPES=iK;var aK=we.FLIPPED_ALIAS_KEYS.Terminatorless;G.TERMINATORLESS_TYPES=aK;var oK=we.FLIPPED_ALIAS_KEYS.CompletionStatement;G.COMPLETIONSTATEMENT_TYPES=oK;var lK=we.FLIPPED_ALIAS_KEYS.Conditional;G.CONDITIONAL_TYPES=lK;var uK=we.FLIPPED_ALIAS_KEYS.Loop;G.LOOP_TYPES=uK;var cK=we.FLIPPED_ALIAS_KEYS.While;G.WHILE_TYPES=cK;var fK=we.FLIPPED_ALIAS_KEYS.ExpressionWrapper;G.EXPRESSIONWRAPPER_TYPES=fK;var pK=we.FLIPPED_ALIAS_KEYS.For;G.FOR_TYPES=pK;var dK=we.FLIPPED_ALIAS_KEYS.ForXStatement;G.FORXSTATEMENT_TYPES=dK;var hK=we.FLIPPED_ALIAS_KEYS.Function;G.FUNCTION_TYPES=hK;var mK=we.FLIPPED_ALIAS_KEYS.FunctionParent;G.FUNCTIONPARENT_TYPES=mK;var yK=we.FLIPPED_ALIAS_KEYS.Pureish;G.PUREISH_TYPES=yK;var gK=we.FLIPPED_ALIAS_KEYS.Declaration;G.DECLARATION_TYPES=gK;var bK=we.FLIPPED_ALIAS_KEYS.PatternLike;G.PATTERNLIKE_TYPES=bK;var EK=we.FLIPPED_ALIAS_KEYS.LVal;G.LVAL_TYPES=EK;var vK=we.FLIPPED_ALIAS_KEYS.TSEntityName;G.TSENTITYNAME_TYPES=vK;var TK=we.FLIPPED_ALIAS_KEYS.Literal;G.LITERAL_TYPES=TK;var SK=we.FLIPPED_ALIAS_KEYS.Immutable;G.IMMUTABLE_TYPES=SK;var xK=we.FLIPPED_ALIAS_KEYS.UserWhitespacable;G.USERWHITESPACABLE_TYPES=xK;var PK=we.FLIPPED_ALIAS_KEYS.Method;G.METHOD_TYPES=PK;var AK=we.FLIPPED_ALIAS_KEYS.ObjectMember;G.OBJECTMEMBER_TYPES=AK;var CK=we.FLIPPED_ALIAS_KEYS.Property;G.PROPERTY_TYPES=CK;var wK=we.FLIPPED_ALIAS_KEYS.UnaryLike;G.UNARYLIKE_TYPES=wK;var DK=we.FLIPPED_ALIAS_KEYS.Pattern;G.PATTERN_TYPES=DK;var IK=we.FLIPPED_ALIAS_KEYS.Class;G.CLASS_TYPES=IK;var Z1=we.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;G.IMPORTOREXPORTDECLARATION_TYPES=Z1;var OK=we.FLIPPED_ALIAS_KEYS.ExportDeclaration;G.EXPORTDECLARATION_TYPES=OK;var _K=we.FLIPPED_ALIAS_KEYS.ModuleSpecifier;G.MODULESPECIFIER_TYPES=_K;var NK=we.FLIPPED_ALIAS_KEYS.Accessor;G.ACCESSOR_TYPES=NK;var kK=we.FLIPPED_ALIAS_KEYS.Private;G.PRIVATE_TYPES=kK;var BK=we.FLIPPED_ALIAS_KEYS.Flow;G.FLOW_TYPES=BK;var FK=we.FLIPPED_ALIAS_KEYS.FlowType;G.FLOWTYPE_TYPES=FK;var jK=we.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;G.FLOWBASEANNOTATION_TYPES=jK;var LK=we.FLIPPED_ALIAS_KEYS.FlowDeclaration;G.FLOWDECLARATION_TYPES=LK;var MK=we.FLIPPED_ALIAS_KEYS.FlowPredicate;G.FLOWPREDICATE_TYPES=MK;var RK=we.FLIPPED_ALIAS_KEYS.EnumBody;G.ENUMBODY_TYPES=RK;var qK=we.FLIPPED_ALIAS_KEYS.EnumMember;G.ENUMMEMBER_TYPES=qK;var UK=we.FLIPPED_ALIAS_KEYS.JSX;G.JSX_TYPES=UK;var VK=we.FLIPPED_ALIAS_KEYS.Miscellaneous;G.MISCELLANEOUS_TYPES=VK;var $K=we.FLIPPED_ALIAS_KEYS.TypeScript;G.TYPESCRIPT_TYPES=$K;var WK=we.FLIPPED_ALIAS_KEYS.TSTypeElement;G.TSTYPEELEMENT_TYPES=WK;var KK=we.FLIPPED_ALIAS_KEYS.TSType;G.TSTYPE_TYPES=KK;var GK=we.FLIPPED_ALIAS_KEYS.TSBaseType;G.TSBASETYPE_TYPES=GK;var HK=Z1;G.MODULEDECLARATION_TYPES=HK});var Hd=g(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=YK;var wl=It(),Kd=tr();function YK(e,t){if((0,wl.isBlockStatement)(e))return e;let r=[];return(0,wl.isEmptyStatement)(e)?r=[]:((0,wl.isStatement)(e)||((0,wl.isFunction)(t)?e=(0,Kd.returnStatement)(e):e=(0,Kd.expressionStatement)(e)),r=[e]),(0,Kd.blockStatement)(r)}});var tT=g(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.default=JK;var XK=Hd();function JK(e,t="body"){let r=(0,XK.default)(e[t],e);return e[t]=r,r}});var Jd=g(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=ZK;var zK=ni(),QK=ri();function ZK(e){e=e+"";let t="";for(let r of e)t+=(0,QK.isIdentifierChar)(r.codePointAt(0))?r:"-";return t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,function(r,n){return n?n.toUpperCase():""}),(0,zK.default)(t)||(t=`_${t}`),t||"_"}});var rT=g(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=tG;var eG=Jd();function tG(e){return e=(0,eG.default)(e),(e==="eval"||e==="arguments")&&(e="_"+e),e}});var nT=g(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=sG;var rG=It(),nG=tr();function sG(e,t=e.key||e.property){return!e.computed&&(0,rG.isIdentifier)(t)&&(t=(0,nG.stringLiteral)(t.name)),t}});var sT=g(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var Da=It(),iG=aG;Dl.default=iG;function aG(e){if((0,Da.isExpressionStatement)(e)&&(e=e.expression),(0,Da.isExpression)(e))return e;if((0,Da.isClass)(e)?e.type="ClassExpression":(0,Da.isFunction)(e)&&(e.type="FunctionExpression"),!(0,Da.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e}});var th=g(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.default=Zd;var oG=Ar();function Zd(e,t,r){if(!e)return;let n=oG.VISITOR_KEYS[e.type];if(n){r=r||{},t(e,r);for(let s of n){let i=e[s];if(Array.isArray(i))for(let a of i)Zd(a,t,r);else Zd(i,t,r)}}}});var nh=g(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.default=cG;var lG=$n(),iT=["tokens","start","end","loc","raw","rawValue"],uG=[...lG.COMMENT_KEYS,"comments",...iT];function cG(e,t={}){let r=t.preserveComments?iT:uG;for(let s of r)e[s]!=null&&(e[s]=void 0);for(let s of Object.keys(e))s[0]==="_"&&e[s]!=null&&(e[s]=void 0);let n=Object.getOwnPropertySymbols(e);for(let s of n)e[s]=null}});var ih=g(sh=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});sh.default=dG;var fG=th(),pG=nh();function dG(e,t){return(0,fG.default)(e,pG.default,t),e}});var oT=g(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.default=vs;var aT=It(),hG=Gn(),mG=ih();function vs(e,t=e.key){let r;return e.kind==="method"?vs.increment()+"":((0,aT.isIdentifier)(t)?r=t.name:(0,aT.isStringLiteral)(t)?r=JSON.stringify(t.value):r=JSON.stringify((0,mG.default)((0,hG.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}vs.uid=0;vs.increment=function(){return vs.uid>=Number.MAX_SAFE_INTEGER?vs.uid=0:vs.uid++}});var Ia=g(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.default=oh;var ai=It();function oh(e,t,r){let n=[].concat(e),s=Object.create(null);for(;n.length;){let i=n.shift();if(!i)continue;let a=oh.keys[i.type];if((0,ai.isIdentifier)(i)){t?(s[i.name]=s[i.name]||[]).push(i):s[i.name]=i;continue}if((0,ai.isExportDeclaration)(i)&&!(0,ai.isExportAllDeclaration)(i)){(0,ai.isDeclaration)(i.declaration)&&n.push(i.declaration);continue}if(r){if((0,ai.isFunctionDeclaration)(i)){n.push(i.id);continue}if((0,ai.isFunctionExpression)(i))continue}if(a)for(let o=0;o<a.length;o++){let l=a[o],u=i[l];u&&(Array.isArray(u)?n.push(...u):n.push(u))}}return s}oh.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 lT=g(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.default=Il;var yG=Ia(),Ts=It(),uh=tr(),gG=Gn();function Il(e,t,r){let n=[],s=!0;for(let i of e)if((0,Ts.isEmptyStatement)(i)||(s=!1),(0,Ts.isExpression)(i))n.push(i);else if((0,Ts.isExpressionStatement)(i))n.push(i.expression);else if((0,Ts.isVariableDeclaration)(i)){if(i.kind!=="var")return;for(let a of i.declarations){let o=(0,yG.default)(a);for(let l of Object.keys(o))r.push({kind:i.kind,id:(0,gG.default)(o[l])});a.init&&n.push((0,uh.assignmentExpression)("=",a.id,a.init))}s=!0}else if((0,Ts.isIfStatement)(i)){let a=i.consequent?Il([i.consequent],t,r):t.buildUndefinedNode(),o=i.alternate?Il([i.alternate],t,r):t.buildUndefinedNode();if(!a||!o)return;n.push((0,uh.conditionalExpression)(i.test,a,o))}else if((0,Ts.isBlockStatement)(i)){let a=Il(i.body,t,r);if(!a)return;n.push(a)}else if((0,Ts.isEmptyStatement)(i))e.indexOf(i)===0&&(s=!0);else return;return s&&n.push(t.buildUndefinedNode()),n.length===1?n[0]:(0,uh.sequenceExpression)(n)}});var uT=g(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.default=EG;var bG=lT();function EG(e,t){if(!(e!=null&&e.length))return;let r=[],n=(0,bG.default)(e,t,r);if(n){for(let s of r)t.push(s);return n}}});var cT=g(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var Ol=It(),vG=tr(),TG=SG;_l.default=TG;function SG(e,t){if((0,Ol.isStatement)(e))return e;let r=!1,n;if((0,Ol.isClass)(e))r=!0,n="ClassDeclaration";else if((0,Ol.isFunction)(e))r=!0,n="FunctionDeclaration";else if((0,Ol.isAssignmentExpression)(e))return(0,vG.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 fT=g(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var xG=ni(),Wt=tr(),PG=ph;Nl.default=PG;var AG=Function.call.bind(Object.prototype.toString);function CG(e){return AG(e)==="[object RegExp]"}function wG(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 ph(e){if(e===void 0)return(0,Wt.identifier)("undefined");if(e===!0||e===!1)return(0,Wt.booleanLiteral)(e);if(e===null)return(0,Wt.nullLiteral)();if(typeof e=="string")return(0,Wt.stringLiteral)(e);if(typeof e=="number"){let t;if(Number.isFinite(e))t=(0,Wt.numericLiteral)(Math.abs(e));else{let r;Number.isNaN(e)?r=(0,Wt.numericLiteral)(0):r=(0,Wt.numericLiteral)(1),t=(0,Wt.binaryExpression)("/",r,(0,Wt.numericLiteral)(0))}return(e<0||Object.is(e,-0))&&(t=(0,Wt.unaryExpression)("-",t)),t}if(CG(e)){let t=e.source,r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,Wt.regExpLiteral)(t,r)}if(Array.isArray(e))return(0,Wt.arrayExpression)(e.map(ph));if(wG(e)){let t=[];for(let r of Object.keys(e)){let n;(0,xG.default)(r)?n=(0,Wt.identifier)(r):n=(0,Wt.stringLiteral)(r),t.push((0,Wt.objectProperty)(n,ph(e[r])))}return(0,Wt.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}});var pT=g(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.default=IG;var DG=tr();function IG(e,t,r=!1){return e.object=(0,DG.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e}});var hT=g(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.default=_G;var dT=$n(),OG=$d();function _G(e,t){if(!e||!t)return e;for(let r of dT.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 dT.INHERIT_KEYS.force)e[r]=t[r];return(0,OG.default)(e,t),e}});var mT=g(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.default=BG;var NG=tr(),kG=Ce();function BG(e,t){if((0,kG.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,NG.memberExpression)(t,e.object),e}});var yT=g(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var FG=Ia(),jG=LG;kl.default=jG;function LG(e,t){return(0,FG.default)(e,t,!0)}});var gT=g(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.default=RG;var MG=Ar();function RG(e,t,r){typeof t=="function"&&(t={enter:t});let{enter:n,exit:s}=t;yh(e,n,s,r,[])}function yh(e,t,r,n,s){let i=MG.VISITOR_KEYS[e.type];if(i){t&&t(e,s,n);for(let a of i){let o=e[a];if(Array.isArray(o))for(let l=0;l<o.length;l++){let u=o[l];u&&(s.push({node:e,key:a,index:l}),yh(u,t,r,n,s),s.pop())}else o&&(s.push({node:e,key:a}),yh(o,t,r,n,s),s.pop())}r&&r(e,s,n)}}});var bT=g(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.default=UG;var qG=Ia();function UG(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let n=qG.default.keys[t.type];if(n)for(let s=0;s<n.length;s++){let i=n[s],a=t[i];if(Array.isArray(a)){if(a.indexOf(e)>=0)return!0}else if(a===e)return!0}return!1}});var vh=g(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.default=WG;var VG=It(),$G=$n();function WG(e){return(0,VG.isVariableDeclaration)(e)&&(e.kind!=="var"||e[$G.BLOCK_SCOPED_SYMBOL])}});var vT=g(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});Th.default=GG;var ET=It(),KG=vh();function GG(e){return(0,ET.isFunctionDeclaration)(e)||(0,ET.isClassDeclaration)(e)||(0,KG.default)(e)}});var TT=g(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.default=XG;var HG=cl(),YG=It();function XG(e){return(0,HG.default)(e.type,"Immutable")?!0:(0,YG.isIdentifier)(e)?e.name==="undefined":!1}});var xT=g(Ph=>{"use strict";Object.defineProperty(Ph,"__esModule",{value:!0});Ph.default=xh;var ST=Ar();function xh(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(ST.NODE_FIELDS[e.type]||e.type),n=ST.VISITOR_KEYS[e.type];for(let s of r){let i=e[s],a=t[s];if(typeof i!=typeof a)return!1;if(!(i==null&&a==null)){if(i==null||a==null)return!1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(let o=0;o<i.length;o++)if(!xh(i[o],a[o]))return!1;continue}if(typeof i=="object"&&!(n!=null&&n.includes(s))){for(let o of Object.keys(i))if(i[o]!==a[o])return!1;continue}if(!xh(i,a))return!1}}return!0}});var PT=g(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.default=JG;function JG(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 AT=g(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.default=zG;var Ss=It();function zG(e,t){return(0,Ss.isBlockStatement)(e)&&((0,Ss.isFunction)(t)||(0,Ss.isCatchClause)(t))?!1:(0,Ss.isPattern)(e)&&((0,Ss.isFunction)(t)||(0,Ss.isCatchClause)(t))?!0:(0,Ss.isScopable)(e)}});var wT=g(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.default=QG;var CT=It();function QG(e){return(0,CT.isImportDefaultSpecifier)(e)||(0,CT.isIdentifier)(e.imported||e.exported,{name:"default"})}});var DT=g(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.default=tH;var ZG=ni(),eH=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 tH(e){return(0,ZG.default)(e)&&!eH.has(e)}});var IT=g(Ih=>{"use strict";Object.defineProperty(Ih,"__esModule",{value:!0});Ih.default=sH;var rH=It(),nH=$n();function sH(e){return(0,rH.isVariableDeclaration)(e,{kind:"var"})&&!e[nH.BLOCK_SCOPED_SYMBOL]}});var Ce=g(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var yn={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(te,"__internal__deprecationWarning",{enumerable:!0,get:function(){return oY.default}});Object.defineProperty(te,"addComment",{enumerable:!0,get:function(){return yH.default}});Object.defineProperty(te,"addComments",{enumerable:!0,get:function(){return gH.default}});Object.defineProperty(te,"appendToMemberExpression",{enumerable:!0,get:function(){return kH.default}});Object.defineProperty(te,"assertNode",{enumerable:!0,get:function(){return lH.default}});Object.defineProperty(te,"buildMatchMemberExpression",{enumerable:!0,get:function(){return aY.default}});Object.defineProperty(te,"clone",{enumerable:!0,get:function(){return pH.default}});Object.defineProperty(te,"cloneDeep",{enumerable:!0,get:function(){return dH.default}});Object.defineProperty(te,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return hH.default}});Object.defineProperty(te,"cloneNode",{enumerable:!0,get:function(){return fH.default}});Object.defineProperty(te,"cloneWithoutLoc",{enumerable:!0,get:function(){return mH.default}});Object.defineProperty(te,"createFlowUnionType",{enumerable:!0,get:function(){return OT.default}});Object.defineProperty(te,"createTSUnionType",{enumerable:!0,get:function(){return cH.default}});Object.defineProperty(te,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return uH.default}});Object.defineProperty(te,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return OT.default}});Object.defineProperty(te,"ensureBlock",{enumerable:!0,get:function(){return xH.default}});Object.defineProperty(te,"getBindingIdentifiers",{enumerable:!0,get:function(){return RH.default}});Object.defineProperty(te,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return qH.default}});Object.defineProperty(te,"inheritInnerComments",{enumerable:!0,get:function(){return bH.default}});Object.defineProperty(te,"inheritLeadingComments",{enumerable:!0,get:function(){return EH.default}});Object.defineProperty(te,"inheritTrailingComments",{enumerable:!0,get:function(){return TH.default}});Object.defineProperty(te,"inherits",{enumerable:!0,get:function(){return BH.default}});Object.defineProperty(te,"inheritsComments",{enumerable:!0,get:function(){return vH.default}});Object.defineProperty(te,"is",{enumerable:!0,get:function(){return $H.default}});Object.defineProperty(te,"isBinding",{enumerable:!0,get:function(){return WH.default}});Object.defineProperty(te,"isBlockScoped",{enumerable:!0,get:function(){return KH.default}});Object.defineProperty(te,"isImmutable",{enumerable:!0,get:function(){return GH.default}});Object.defineProperty(te,"isLet",{enumerable:!0,get:function(){return HH.default}});Object.defineProperty(te,"isNode",{enumerable:!0,get:function(){return YH.default}});Object.defineProperty(te,"isNodesEquivalent",{enumerable:!0,get:function(){return XH.default}});Object.defineProperty(te,"isPlaceholderType",{enumerable:!0,get:function(){return JH.default}});Object.defineProperty(te,"isReferenced",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(te,"isScope",{enumerable:!0,get:function(){return QH.default}});Object.defineProperty(te,"isSpecifierDefault",{enumerable:!0,get:function(){return ZH.default}});Object.defineProperty(te,"isType",{enumerable:!0,get:function(){return eY.default}});Object.defineProperty(te,"isValidES3Identifier",{enumerable:!0,get:function(){return tY.default}});Object.defineProperty(te,"isValidIdentifier",{enumerable:!0,get:function(){return rY.default}});Object.defineProperty(te,"isVar",{enumerable:!0,get:function(){return nY.default}});Object.defineProperty(te,"matchesPattern",{enumerable:!0,get:function(){return sY.default}});Object.defineProperty(te,"prependToMemberExpression",{enumerable:!0,get:function(){return FH.default}});te.react=void 0;Object.defineProperty(te,"removeComments",{enumerable:!0,get:function(){return SH.default}});Object.defineProperty(te,"removeProperties",{enumerable:!0,get:function(){return jH.default}});Object.defineProperty(te,"removePropertiesDeep",{enumerable:!0,get:function(){return LH.default}});Object.defineProperty(te,"removeTypeDuplicates",{enumerable:!0,get:function(){return MH.default}});Object.defineProperty(te,"shallowEqual",{enumerable:!0,get:function(){return VH.default}});Object.defineProperty(te,"toBindingIdentifierName",{enumerable:!0,get:function(){return PH.default}});Object.defineProperty(te,"toBlock",{enumerable:!0,get:function(){return AH.default}});Object.defineProperty(te,"toComputedKey",{enumerable:!0,get:function(){return CH.default}});Object.defineProperty(te,"toExpression",{enumerable:!0,get:function(){return wH.default}});Object.defineProperty(te,"toIdentifier",{enumerable:!0,get:function(){return DH.default}});Object.defineProperty(te,"toKeyAlias",{enumerable:!0,get:function(){return IH.default}});Object.defineProperty(te,"toSequenceExpression",{enumerable:!0,get:function(){return OH.default}});Object.defineProperty(te,"toStatement",{enumerable:!0,get:function(){return _H.default}});Object.defineProperty(te,"traverse",{enumerable:!0,get:function(){return Bl.default}});Object.defineProperty(te,"traverseFast",{enumerable:!0,get:function(){return UH.default}});Object.defineProperty(te,"validate",{enumerable:!0,get:function(){return iY.default}});Object.defineProperty(te,"valueToNode",{enumerable:!0,get:function(){return NH.default}});var iH=Ev(),aH=vv(),oH=D1(),lH=I1(),Oh=O1();Object.keys(Oh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===Oh[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return Oh[e]}})});var uH=_1(),OT=B1(),cH=M1(),_h=tr();Object.keys(_h).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===_h[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return _h[e]}})});var Nh=R1();Object.keys(Nh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===Nh[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return Nh[e]}})});var kh=U1();Object.keys(kh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===kh[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return kh[e]}})});var fH=Gn(),pH=H1(),dH=Y1(),hH=X1(),mH=J1(),yH=z1(),gH=kd(),bH=Ld(),EH=Rd(),vH=$d(),TH=Ud(),SH=Q1(),Bh=eT();Object.keys(Bh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===Bh[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return Bh[e]}})});var Fh=$n();Object.keys(Fh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===Fh[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return Fh[e]}})});var xH=tT(),PH=rT(),AH=Hd(),CH=nT(),wH=sT(),DH=Jd(),IH=oT(),OH=uT(),_H=cT(),NH=fT(),jh=Ar();Object.keys(jh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===jh[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return jh[e]}})});var kH=pT(),BH=hT(),FH=mT(),jH=nh(),LH=ih(),MH=Sd(),RH=Ia(),qH=yT(),Bl=gT();Object.keys(Bl).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===Bl[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return Bl[e]}})});var UH=th(),VH=ll(),$H=ti(),WH=bT(),KH=vT(),GH=TT(),HH=vh(),YH=Ed(),XH=xT(),JH=Yp(),zH=PT(),QH=AT(),ZH=wT(),eY=cl(),tY=DT(),rY=ni(),nY=IT(),sY=Vp(),iY=yl(),aY=Wp(),Lh=It();Object.keys(Lh).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(yn,e)||e in te&&te[e]===Lh[e]||Object.defineProperty(te,e,{enumerable:!0,get:function(){return Lh[e]}})});var oY=ha(),lY={isReactComponent:iH.default,isCompatTag:aH.default,buildChildren:oH.default};te.react=lY});var _a=g(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.explode=qT;oi.isExplodedVisitor=RT;oi.merge=pY;oi.verify=UT;var MT=Mp(),uY=Ce(),{DEPRECATED_KEYS:_T,DEPRECATED_ALIASES:NT,FLIPPED_ALIAS_KEYS:kT,TYPES:cY,__internal__deprecationWarning:BT}=uY;function fY(e){return e in MT}function RT(e){return e==null?void 0:e._exploded}function qT(e){if(RT(e))return e;e._exploded=!0;for(let t of Object.keys(e)){if(xs(t))continue;let r=t.split("|");if(r.length===1)continue;let n=e[t];delete e[t];for(let s of r)e[s]=n}UT(e),delete e.__esModule,dY(e),LT(e);for(let t of Object.keys(e)){if(xs(t)||!fY(t))continue;let r=e[t];for(let s of Object.keys(r))r[s]=hY(t,r[s]);delete e[t];let n=MT[t];if(n!==null)for(let s of n)e[s]?Oa(e[s],r):e[s]=r;else Oa(e,r)}for(let t of Object.keys(e)){if(xs(t))continue;let r=kT[t];if(t in _T){let s=_T[t];BT(t,s,"Visitor "),r=[s]}else if(t in NT){let s=NT[t];BT(t,s,"Visitor "),r=kT[s]}if(!r)continue;let n=e[t];delete e[t];for(let s of r){let i=e[s];i?Oa(i,n):e[s]=Object.assign({},n)}}for(let t of Object.keys(e))xs(t)||LT(e[t]);return e}function UT(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")&&FT(t,e[t]),xs(t))continue;if(cY.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")FT(`${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 FT(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 pY(e,t=[],r){let n={};for(let s=0;s<e.length;s++){let i=qT(e[s]),a=t[s],o=i;(a||r)&&(o=jT(o,a,r)),Oa(n,o);for(let l of Object.keys(i)){if(xs(l))continue;let u=i[l];(a||r)&&(u=jT(u,a,r));let c=n[l]||(n[l]={});Oa(c,u)}}return n}function jT(e,t,r){let n={};for(let s of["enter","exit"]){let i=e[s];Array.isArray(i)&&(i=i.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,s,o)),o!==a&&(o.toString=()=>a.toString()),o}),n[s]=i)}return n}function dY(e){for(let t of Object.keys(e)){if(xs(t))continue;let r=e[t];typeof r=="function"&&(e[t]={enter:r})}}function LT(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function hY(e,t){let r=function(n){if(n[`is${e}`]())return t.apply(this,arguments)};return r.toString=()=>t.toString(),r}function xs(e){return e[0]==="_"||e==="enter"||e==="exit"||e==="shouldSkip"||e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"}function Oa(e,t){for(let r of["enter","exit"])t[r]&&(e[r]=[].concat(e[r]||[],t[r]))}});var Ps=g(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});yr.clear=mY;yr.clearPath=$T;yr.clearScope=WT;yr.getCachedPaths=yY;yr.getOrCreateCachedPaths=gY;yr.scope=yr.path=void 0;var Na=new WeakMap;yr.path=Na;var VT=new WeakMap;yr.scope=VT;function mY(){$T(),WT()}function $T(){yr.path=Na=new WeakMap}function WT(){yr.scope=VT=new WeakMap}var Mh=Object.freeze({});function yY(e,t){var r,n;return e=null,(r=Na.get((n=e)!=null?n:Mh))==null?void 0:r.get(t)}function gY(e,t){var r,n;e=null;let s=Na.get((r=e)!=null?r:Mh);s||Na.set((n=e)!=null?n:Mh,s=new WeakMap);let i=s.get(t);return i||s.set(t,i=new Map),i}});var GT=g((XCe,KT)=>{var li=1e3,ui=li*60,ci=ui*60,As=ci*24,bY=As*7,EY=As*365.25;KT.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return vY(e);if(r==="number"&&isFinite(e))return t.long?SY(e):TY(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function vY(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*EY;case"weeks":case"week":case"w":return r*bY;case"days":case"day":case"d":return r*As;case"hours":case"hour":case"hrs":case"hr":case"h":return r*ci;case"minutes":case"minute":case"mins":case"min":case"m":return r*ui;case"seconds":case"second":case"secs":case"sec":case"s":return r*li;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function TY(e){var t=Math.abs(e);return t>=As?Math.round(e/As)+"d":t>=ci?Math.round(e/ci)+"h":t>=ui?Math.round(e/ui)+"m":t>=li?Math.round(e/li)+"s":e+"ms"}function SY(e){var t=Math.abs(e);return t>=As?Fl(e,t,As,"day"):t>=ci?Fl(e,t,ci,"hour"):t>=ui?Fl(e,t,ui,"minute"):t>=li?Fl(e,t,li,"second"):e+" ms"}function Fl(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}});var Rh=g((JCe,HT)=>{function xY(e){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=a,r.humanize=GT(),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,C;function p(...b){if(!p.enabled)return;let E=p,O=Number(new Date),P=O-(f||O);E.diff=P,E.prev=f,E.curr=O,f=O,b[0]=r.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let A=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(k,B)=>{if(k==="%%")return"%";A++;let M=r.formatters[B];if(typeof M=="function"){let H=b[A];k=M.call(E,H),b.splice(A,1),A--}return k}),r.formatArgs.call(E,b),(E.log||r.log).apply(E,b)}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,C=r.enabled(c)),C),set:b=>{d=b}}),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 s(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 i(){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}HT.exports=xY});var YT=g((gr,jl)=>{gr.formatArgs=AY;gr.save=CY;gr.load=wY;gr.useColors=PY;gr.storage=DY();gr.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`."))}})();gr.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 PY(){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 AY(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+jl.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,s=>{s!=="%%"&&(r++,s==="%c"&&(n=r))}),e.splice(n,0,t)}gr.log=console.debug||console.log||(()=>{});function CY(e){try{e?gr.storage.setItem("debug",e):gr.storage.removeItem("debug")}catch{}}function wY(){let e;try{e=gr.storage.getItem("debug")}catch{}return!e&&typeof process!="undefined"&&"env"in process&&(e=process.env.DEBUG),e}function DY(){try{return localStorage}catch{}}jl.exports=Rh()(gr);var{formatters:IY}=jl.exports;IY.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var JT=g((zCe,XT)=>{"use strict";XT.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),s=t.indexOf("--");return n!==-1&&(s===-1?!0:n<s)}});var Uh=g((QCe,zT)=>{"use strict";var OY=require("os"),qr=JT(),Kt=process.env,fi;qr("no-color")||qr("no-colors")||qr("color=false")?fi=!1:(qr("color")||qr("colors")||qr("color=true")||qr("color=always"))&&(fi=!0);"FORCE_COLOR"in Kt&&(fi=Kt.FORCE_COLOR.length===0||parseInt(Kt.FORCE_COLOR,10)!==0);function _Y(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function NY(e){if(fi===!1)return 0;if(qr("color=16m")||qr("color=full")||qr("color=truecolor"))return 3;if(qr("color=256"))return 2;if(e&&!e.isTTY&&fi!==!0)return 0;let t=fi?1:0;if(process.platform==="win32"){let r=OY.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 qh(e){let t=NY(e);return _Y(t)}zT.exports={supportsColor:qh,stdout:qh(process.stdout),stderr:qh(process.stderr)}});var ZT=g((Rt,Ml)=>{var kY=require("tty"),Ll=require("util");Rt.init=qY;Rt.log=LY;Rt.formatArgs=FY;Rt.save=MY;Rt.load=RY;Rt.useColors=BY;Rt.destroy=Ll.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Rt.colors=[6,2,3,4,5,1];try{let e=Uh();e&&(e.stderr||e).level>=2&&(Rt.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{}Rt.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(s,i)=>i.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 BY(){return"colors"in Rt.inspectOpts?!!Rt.inspectOpts.colors:kY.isatty(process.stderr.fd)}function FY(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${s};1m${t} \x1B[0m`;e[0]=i+e[0].split(`
  9. `).join(`
  10. `+i),e.push(s+"m+"+Ml.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=jY()+t+" "+e[0]}function jY(){return Rt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function LY(...e){return process.stderr.write(Ll.format(...e)+`
  11. `)}function MY(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function RY(){return process.env.DEBUG}function qY(e){e.inspectOpts={};let t=Object.keys(Rt.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Rt.inspectOpts[t[r]]}Ml.exports=Rh()(Rt);var{formatters:QT}=Ml.exports;QT.o=function(e){return this.inspectOpts.colors=this.useColors,Ll.inspect(e,this.inspectOpts).split(`
  12. `).map(t=>t.trim()).join(" ")};QT.O=function(e){return this.inspectOpts.colors=this.useColors,Ll.inspect(e,this.inspectOpts)}});var Cs=g((ZCe,Vh)=>{typeof process=="undefined"||process.type==="renderer"||process.browser===!0||process.__nwjs?Vh.exports=YT():Vh.exports=ZT()});var ka=g(Kh=>{"use strict";Object.defineProperty(Kh,"__esModule",{value:!0});Kh.default=WY;var UY=Ce(),{cloneNode:$h,exportNamedDeclaration:eS,exportSpecifier:tS,identifier:Wh,variableDeclaration:VY,variableDeclarator:$Y}=UY;function WY(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){let i=e.get("declaration"),a=i.isFunctionDeclaration()||i.isClassDeclaration(),o=i.isFunctionExpression()||i.isClassExpression(),l=i.isScope()?i.scope.parent:i.scope,u=i.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)&&(i.node.id=$h(u)));let f=a?i.node:VY("var",[$Y($h(u),i.node)]),d=eS(null,[tS($h(u),Wh("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(i=>tS(Wh(i),Wh(i))),s=eS(null,n);return e.insertAfter(s),e.replaceWith(t.node),e}});var Hn=g(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;pi.requeueComputedKeyAndDecorators=Gh;pi.skipAllButComputedKey=function(t){t.skip(),t.node.computed&&t.context.maybeQueue(t.get("key"))};function Gh(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 KY={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&Gh(e))},Property(e){e.isObjectProperty()||(e.skip(),Gh(e))}},GY=KY;pi.default=GY});var rS=g(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var HY=ka(),YY=Ce(),XY=Hn(),JY=ql(),zY=_a(),QY={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,XY.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 s;e.shorthand=!1,(s=e.extra)!=null&&s.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)}},Hh=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(YY.isDeclaration(n)&&!n.id)return}r.isExportAllDeclaration()||(0,HY.default)(r)}}maybeConvertFromClassFunctionDeclaration(t){return t}maybeConvertFromClassFunctionExpression(t){return t}rename(){let{binding:t,oldName:r,newName:n}=this,{scope:s,path:i}=t,a=i.find(l=>l.isDeclaration()||l.isFunctionExpression()||l.isClassExpression());a&&a.getOuterBindingIdentifiers()[r]===t.identifier&&this.maybeConvertFromExportDeclaration(a);let o=arguments[0]||s.block;(0,JY.traverseNode)(o,(0,zY.explode)(QY),s,this,s.path,{discriminant:!0}),arguments[0]||(s.removeOwnBinding(r),s.bindings[n]=t,this.binding.identifier.name=n),a&&(this.maybeConvertFromClassFunctionDeclaration(i),this.maybeConvertFromClassFunctionExpression(i))}};Rl.default=Hh});var nS=g(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var Yh=class{constructor({identifier:t,scope:r,path:n,kind:s}){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=s,(s==="var"||s==="hoisted")&&ZY(n)&&this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(t){this.hasDeoptedValue||(this.hasValue=!0,this.value=t)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(t){this.constant=!1,this.constantViolations.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}};Ul.default=Yh;function ZY(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 sS=g((swe,eX)=>{eX.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 aS=g((iwe,iS)=>{"use strict";iS.exports=sS()});var Qh=g(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var tX=rS(),rX=Ur(),nX=nS(),sX=aS(),mS=Ce(),oS=mS,lS=Ps(),iX=_a(),{NOT_LOCAL_BINDING:uS,callExpression:cS,cloneNode:fS,getBindingIdentifiers:aX,identifier:di,isArrayExpression:pS,isBinary:oX,isClass:lX,isClassBody:uX,isClassDeclaration:cX,isExportAllDeclaration:yS,isExportDefaultDeclaration:fX,isExportNamedDeclaration:Xh,isFunctionDeclaration:pX,isIdentifier:Vl,isImportDeclaration:Jh,isLiteral:dX,isMethod:hX,isModuleSpecifier:mX,isNullLiteral:yX,isObjectExpression:gX,isProperty:bX,isPureish:EX,isRegExpLiteral:vX,isSuper:TX,isTaggedTemplateExpression:SX,isTemplateLiteral:gS,isThisExpression:dS,isUnaryExpression:xX,isVariableDeclaration:PX,matchesPattern:AX,memberExpression:zh,numericLiteral:CX,toIdentifier:wX,variableDeclaration:DX,variableDeclarator:IX,isRecordExpression:OX,isTupleExpression:_X,isObjectProperty:NX,isTopicReference:hS,isMetaProperty:kX,isPrivateName:BX,isExportDeclaration:FX,buildUndefinedNode:jX}=mS;function ht(e,t){switch(e==null?void 0:e.type){default:if(Jh(e)||FX(e)){var r;if((yS(e)||Xh(e)||Jh(e))&&e.source)ht(e.source,t);else if((Xh(e)||Jh(e))&&(r=e.specifiers)!=null&&r.length)for(let n of e.specifiers)ht(n,t);else(fX(e)||Xh(e))&&e.declaration&&ht(e.declaration,t)}else mX(e)?ht(e.local,t):dX(e)&&!yX(e)&&!vX(e)&&!gS(e)&&t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":ht(e.object,t),ht(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":ht(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(let n of e.properties)ht(n,t);break;case"SpreadElement":case"RestElement":ht(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":ht(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"),ht(e.argument,t);break;case"AwaitExpression":t.push("await"),ht(e.argument,t);break;case"AssignmentExpression":ht(e.left,t);break;case"VariableDeclarator":ht(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":ht(e.id,t);break;case"PrivateName":ht(e.id,t);break;case"ParenthesizedExpression":ht(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":ht(e.argument,t);break;case"MetaProperty":ht(e.meta,t),ht(e.property,t);break;case"JSXElement":ht(e.openingElement,t);break;case"JSXOpeningElement":ht(e.name,t);break;case"JSXFragment":ht(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":ht(e.namespace,t),ht(e.name,t);break}}var $l={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(yS(t))return;let n=t.declaration;if(cX(n)||pX(n)){let s=n.id;if(!s)return;let i=r.getBinding(s.name);i==null||i.reference(e)}else if(PX(n))for(let s of n.declarations)for(let i of Object.keys(aX(s))){let a=r.getBinding(i);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 s=e.node.id.name;e.scope.bindings[s]=e.scope.parent.getBinding(s)}},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[uS]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.has("id")&&!e.get("id").node[uS]&&e.scope.registerBinding("local",e)}},LX=0,Ba=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=lS.scope.get(r);if((n==null?void 0:n.path)===t)return n;lS.scope.set(r,this),this.uid=LX++,this.block=r,this.path=t,this.labels=new Map,this.inited=!1}get parent(){var t;let r,n=this.path;do{let s=n.key==="key"||n.listKey==="decorators";n=n.parentPath,s&&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,rX.default)(t,r,this,n,this.path)}generateDeclaredUidIdentifier(t){let r=this.generateUidIdentifier(t);return this.push({id:r}),fS(r)}generateUidIdentifier(t){return di(this.generateUid(t))}generateUid(t="temp"){t=wX(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 s=this.getProgramParent();return s.references[r]=!0,s.uids[r]=!0,r}_generateUid(t,r){let n=t;return r>1&&(n+=r),`_${n}`}generateUidBasedOnNode(t,r){let n=[];ht(t,n);let s=n.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(t,r){return di(this.generateUidBasedOnNode(t,r))}isStatic(t){if(dS(t)||TX(t)||hS(t))return!0;if(Vl(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}),fS(n))}}checkBlockScopedCollisions(t,r,n,s){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(s,`Duplicate declaration "${n}"`,TypeError)}rename(t,r){let n=this.getBinding(t);n&&(r||(r=this.generateUidIdentifier(t).name),new tX.default(n,t,r).rename(arguments[2]))}_renameFromMap(t,r,n,s){t[r]&&(t[n]=s,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 s=r.bindings[n];console.log(" -",n,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(r=r.parent);console.log(t)}toArray(t,r,n){if(Vl(t)){let a=this.getBinding(t.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return t}if(pS(t))return t;if(Vl(t,{name:"arguments"}))return cS(zh(zh(zh(di("Array"),di("prototype")),di("slice")),di("call")),[t]);let s,i=[t];return r===!0?s="toConsumableArray":typeof r=="number"?(i.push(CX(r)),s="slicedToArray"):s="toArray",n&&(i.unshift(this.hub.addHelper(s)),s="maybeArrayLike"),cS(this.hub.addHelper(s),i)}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 s of r)this.registerBinding(n==="using"||n==="await using"?"const":n,s)}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 s of n){let i=r||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(i?"unknown":"module",s)}}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 jX()}registerConstantViolation(t){let r=t.getBindingIdentifiers();for(let s of Object.keys(r)){var n;(n=this.getBinding(s))==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 s=this.getProgramParent(),i=r.getOuterBindingIdentifiers(!0);for(let a of Object.keys(i)){s.references[a]=!0;for(let o of i[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 nX.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(Vl(t)){let a=this.getBinding(t.name);return a?r?a.constant:!0:!1}else{if(dS(t)||kX(t)||hS(t)||BX(t))return!0;if(lX(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(uX(t)){for(let a of t.body)if(!this.isPure(a,r))return!1;return!0}else{if(oX(t))return this.isPure(t.left,r)&&this.isPure(t.right,r);if(pS(t)||_X(t)){for(let a of t.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(gX(t)||OX(t)){for(let a of t.properties)if(!this.isPure(a,r))return!1;return!0}else if(hX(t)){var s;return!(t.computed&&!this.isPure(t.key,r)||((s=t.decorators)==null?void 0:s.length)>0)}else if(bX(t)){var i;return!(t.computed&&!this.isPure(t.key,r)||((i=t.decorators)==null?void 0:i.length)>0||(NX(t)||t.static)&&t.value!==null&&!this.isPure(t.value,r))}else{if(xX(t))return this.isPure(t.argument,r);if(SX(t))return AX(t.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(t.quasi,r);if(gS(t)){for(let a of t.expressions)if(!this.isPure(a,r))return!1;return!0}else return EX(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,iX.isExplodedVisitor)($l)){for(let i of $l.enter)i.call(n,t,n);let s=$l[t.type];if(s)for(let i of s.enter)i.call(n,t,n)}t.traverse($l,n),this.crawling=!1;for(let s of n.assignments){let i=s.getBindingIdentifiers();for(let a of Object.keys(i))s.scope.getBinding(a)||r.addGlobal(i[a]);s.scope.registerConstantViolation(s)}for(let s of n.references){let i=s.scope.getBinding(s.node.name);i?i.reference(s):r.addGlobal(s.node)}for(let s of n.constantViolations)s.scope.registerConstantViolation(s)}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:s,kind:i="var",id:a}=t;if(!n&&!s&&(i==="var"||i==="let")&&r.isFunction()&&!r.node.name&&oS.isCallExpression(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&oS.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:${i}:${o}`,u=!s&&r.getData(l);if(!u){let d=DX(i,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),s||r.setData(l,u)}let c=IX(a,n),f=u.node.declarations.push(c);r.scope.registerBinding(i,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 s=this;do{for(let i of Object.keys(s.bindings)){let a=s.bindings[i];a.kind===n&&(r[i]=a)}s=s.parent}while(s)}return r}bindingIdentifierEquals(t,r){return this.getBindingIdentifier(t)===r}getBinding(t){let r=this,n;do{let i=r.getOwnBinding(t);if(i){var s;if(!((s=n)!=null&&s.isPattern()&&i.kind!=="param"&&i.kind!=="local"))return i}else if(!i&&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,s,i;return t?!!(this.hasOwnBinding(t)||(typeof r=="boolean"&&(r={noGlobals:r}),this.parentHasBinding(t,r))||!((n=r)!=null&&n.noUids)&&this.hasUid(t)||!((s=r)!=null&&s.noGlobals)&&e.globals.includes(t)||!((i=r)!=null&&i.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)}};Wl.default=Ba;Ba.globals=Object.keys(sX.builtin);Ba.contextVariables=["arguments","undefined","Infinity","NaN"]});var ES=g((Kl,bS)=>{(function(e,t){typeof Kl=="object"&&typeof bS!="undefined"?t(Kl):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e.setArray={}))})(Kl,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 s=e.get(r,n);if(s!==void 0)return s;let{array:i,_indexes:a}=r;return a[n]=i.push(n)-1},e.pop=r=>{let{array:n,_indexes:s}=r;if(n.length===0)return;let i=n.pop();s[i]=void 0},e.SetArray=t,Object.defineProperty(e,"__esModule",{value:!0})})});var Zh=g((Gl,vS)=>{(function(e,t){typeof Gl=="object"&&typeof vS!="undefined"?t(Gl):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e.sourcemapCodec={}))})(Gl,function(e){"use strict";let t=",".charCodeAt(0),r=";".charCodeAt(0),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),i=new Uint8Array(128);for(let p=0;p<n.length;p++){let b=n.charCodeAt(p);s[p]=b,i[b]=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 b="";for(let E=0;E<p.length;E++)b+=String.fromCharCode(p[E]);return b}};function o(p){let b=new Int32Array(5),E=[],O=0;do{let P=l(p,O),A=[],I=!0,k=0;b[0]=0;for(let B=O;B<P;B++){let M;B=u(p,B,b,0);let H=b[0];H<k&&(I=!1),k=H,c(p,B,P)?(B=u(p,B,b,1),B=u(p,B,b,2),B=u(p,B,b,3),c(p,B,P)?(B=u(p,B,b,4),M=[H,b[1],b[2],b[3],b[4]]):M=[H,b[1],b[2],b[3]]):M=[H],A.push(M)}I||f(A),E.push(A),O=P+1}while(O<=p.length);return E}function l(p,b){let E=p.indexOf(";",b);return E===-1?p.length:E}function u(p,b,E,O){let P=0,A=0,I=0;do{let B=p.charCodeAt(b++);I=i[B],P|=(I&31)<<A,A+=5}while(I&32);let k=P&1;return P>>>=1,k&&(P=-2147483648|-P),E[O]+=P,b}function c(p,b,E){return b>=E?!1:p.charCodeAt(b)!==t}function f(p){p.sort(d)}function d(p,b){return p[0]-b[0]}function m(p){let b=new Int32Array(5),E=1024*16,O=E-36,P=new Uint8Array(E),A=P.subarray(0,O),I=0,k="";for(let B=0;B<p.length;B++){let M=p[B];if(B>0&&(I===E&&(k+=a.decode(P),I=0),P[I++]=r),M.length!==0){b[0]=0;for(let H=0;H<M.length;H++){let ie=M[H];I>O&&(k+=a.decode(A),P.copyWithin(0,O,I),I-=O),H>0&&(P[I++]=t),I=C(P,I,b,ie,0),ie.length!==1&&(I=C(P,I,b,ie,1),I=C(P,I,b,ie,2),I=C(P,I,b,ie,3),ie.length!==4&&(I=C(P,I,b,ie,4)))}}}return k+a.decode(P.subarray(0,I))}function C(p,b,E,O,P){let A=O[P],I=A-E[P];E[P]=A,I=I<0?-I<<1|1:I<<1;do{let k=I&31;I>>>=5,I>0&&(k|=32),p[b++]=s[k]}while(I>0);return b}e.decode=o,e.encode=m,Object.defineProperty(e,"__esModule",{value:!0})})});var TS=g((em,tm)=>{(function(e,t){typeof em=="object"&&typeof tm!="undefined"?tm.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.resolveURI=t())})(em,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(E){E[E.Empty=1]="Empty",E[E.Hash=2]="Hash",E[E.Query=3]="Query",E[E.RelativePath=4]="RelativePath",E[E.AbsolutePath=5]="AbsolutePath",E[E.SchemeRelative=6]="SchemeRelative",E[E.Absolute=7]="Absolute"})(n||(n={}));function s(E){return e.test(E)}function i(E){return E.startsWith("//")}function a(E){return E.startsWith("/")}function o(E){return E.startsWith("file:")}function l(E){return/^[.?#]/.test(E)}function u(E){let O=t.exec(E);return f(O[1],O[2]||"",O[3],O[4]||"",O[5]||"/",O[6]||"",O[7]||"")}function c(E){let O=r.exec(E),P=O[2];return f("file:","",O[1]||"","",a(P)?P:"/"+P,O[3]||"",O[4]||"")}function f(E,O,P,A,I,k,B){return{scheme:E,user:O,host:P,port:A,path:I,query:k,hash:B,type:n.Absolute}}function d(E){if(i(E)){let P=u("http:"+E);return P.scheme="",P.type=n.SchemeRelative,P}if(a(E)){let P=u("http://foo.com"+E);return P.scheme="",P.host="",P.type=n.AbsolutePath,P}if(o(E))return c(E);if(s(E))return u(E);let O=u("http://foo.com/"+E);return O.scheme="",O.host="",O.type=E?E.startsWith("?")?n.Query:E.startsWith("#")?n.Hash:n.RelativePath:n.Empty,O}function m(E){if(E.endsWith("/.."))return E;let O=E.lastIndexOf("/");return E.slice(0,O+1)}function C(E,O){p(O,O.type),E.path==="/"?E.path=O.path:E.path=m(O.path)+E.path}function p(E,O){let P=O<=n.RelativePath,A=E.path.split("/"),I=1,k=0,B=!1;for(let H=1;H<A.length;H++){let ie=A[H];if(!ie){B=!0;continue}if(B=!1,ie!=="."){if(ie===".."){k?(B=!0,k--,I--):P&&(A[I++]=ie);continue}A[I++]=ie,k++}}let M="";for(let H=1;H<I;H++)M+="/"+A[H];(!M||B&&!M.endsWith("/.."))&&(M+="/"),E.path=M}function b(E,O){if(!E&&!O)return"";let P=d(E),A=P.type;if(O&&A!==n.Absolute){let k=d(O),B=k.type;switch(A){case n.Empty:P.hash=k.hash;case n.Hash:P.query=k.query;case n.Query:case n.RelativePath:C(P,k);case n.AbsolutePath:P.user=k.user,P.host=k.host,P.port=k.port;case n.SchemeRelative:P.scheme=k.scheme}B>A&&(A=B)}p(P,A);let I=P.query+P.hash;switch(A){case n.Hash:case n.Query:return I;case n.RelativePath:{let k=P.path.slice(1);return k?l(O||E)&&!l(k)?"./"+k+I:k+I:I||"."}case n.AbsolutePath:return P.path+I;default:return P.scheme+"//"+P.user+P.host+P.port+P.path+I}}return b})});var Yl=g((Hl,SS)=>{(function(e,t){typeof Hl=="object"&&typeof SS!="undefined"?t(Hl,Zh(),TS()):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))})(Hl,function(e,t,r){"use strict";function n(W){return W&&typeof W=="object"&&"default"in W?W:{default:W}}var s=n(r);function i(W,V){return V&&!V.endsWith("/")&&(V+="/"),s.default(W,V)}function a(W){if(!W)return"";let V=W.lastIndexOf("/");return W.slice(0,V+1)}let o=0,l=1,u=2,c=3,f=4,d=1,m=2;function C(W,V){let z=p(W,0);if(z===W.length)return W;V||(W=W.slice());for(let se=z;se<W.length;se=p(W,se+1))W[se]=E(W[se],V);return W}function p(W,V){for(let z=V;z<W.length;z++)if(!b(W[z]))return z;return W.length}function b(W){for(let V=1;V<W.length;V++)if(W[V][o]<W[V-1][o])return!1;return!0}function E(W,V){return V||(W=W.slice()),W.sort(O)}function O(W,V){return W[o]-V[o]}let P=!1;function A(W,V,z,se){for(;z<=se;){let xe=z+(se-z>>1),he=W[xe][o]-V;if(he===0)return P=!0,xe;he<0?z=xe+1:se=xe-1}return P=!1,z-1}function I(W,V,z){for(let se=z+1;se<W.length&&W[se][o]===V;z=se++);return z}function k(W,V,z){for(let se=z-1;se>=0&&W[se][o]===V;z=se--);return z}function B(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function M(W,V,z,se){let{lastKey:xe,lastNeedle:he,lastIndex:Pe}=z,Ze=0,$e=W.length-1;if(se===xe){if(V===he)return P=Pe!==-1&&W[Pe][o]===V,Pe;V>=he?Ze=Pe===-1?0:Pe:$e=Pe}return z.lastKey=se,z.lastNeedle=V,z.lastIndex=A(W,V,Ze,$e)}function H(W,V){let z=V.map(ce);for(let se=0;se<W.length;se++){let xe=W[se];for(let he=0;he<xe.length;he++){let Pe=xe[he];if(Pe.length===1)continue;let Ze=Pe[l],$e=Pe[u],et=Pe[c],vt=z[Ze],Tt=vt[$e]||(vt[$e]=[]),kt=V[Ze],zt=I(Tt,et,M(Tt,et,kt,$e));ie(Tt,kt.lastIndex=zt+1,[et,se,Pe[o]])}}return z}function ie(W,V,z){for(let se=W.length;se>V;se--)W[se]=W[se-1];W[V]=z}function ce(){return{__proto__:null}}let ve=function(W,V){let z=typeof W=="string"?JSON.parse(W):W;if(!("sections"in z))return new pe(z,V);let se=[],xe=[],he=[],Pe=[];dt(z,V,se,xe,he,Pe,0,0,1/0,1/0);let Ze={version:3,file:z.file,names:Pe,sources:xe,sourcesContent:he,mappings:se};return e.presortedDecodedMap(Ze)};function dt(W,V,z,se,xe,he,Pe,Ze,$e,et){let{sections:vt}=W;for(let Tt=0;Tt<vt.length;Tt++){let{map:kt,offset:zt}=vt[Tt],mr=$e,dn=et;if(Tt+1<vt.length){let Pr=vt[Tt+1].offset;mr=Math.min($e,Pe+Pr.line),mr===$e?dn=Math.min(et,Ze+Pr.column):mr<$e&&(dn=Ze+Pr.column)}ut(kt,V,z,se,xe,he,Pe+zt.line,Ze+zt.column,mr,dn)}}function ut(W,V,z,se,xe,he,Pe,Ze,$e,et){if("sections"in W)return dt(...arguments);let vt=new pe(W,V),Tt=se.length,kt=he.length,zt=e.decodedMappings(vt),{resolvedSources:mr,sourcesContent:dn}=vt;if(q(se,mr),q(he,vt.names),dn)q(xe,dn);else for(let Pr=0;Pr<mr.length;Pr++)xe.push(null);for(let Pr=0;Pr<zt.length;Pr++){let jp=Pe+Pr;if(jp>$e)return;let fv=Y(z,jp),_3=Pr===0?Ze:0,pv=zt[Pr];for(let Lp=0;Lp<pv.length;Lp++){let gs=pv[Lp],al=_3+gs[o];if(jp===$e&&al>=et)return;if(gs.length===1){fv.push([al]);continue}let dv=Tt+gs[l],hv=gs[u],mv=gs[c];fv.push(gs.length===4?[al,dv,hv,mv]:[al,dv,hv,mv,kt+gs[f]])}}}function q(W,V){for(let z=0;z<V.length;z++)W.push(V[z])}function Y(W,V){for(let z=W.length;z<=V;z++)W[z]=[];return W[V]}let fe="`line` must be greater than 0 (lines start at line 1)",X="`column` must be greater than or equal to 0 (columns start at column 0)",Z=-1,J=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 pe{constructor(V,z){let se=typeof V=="string";if(!se&&V._decodedMemo)return V;let xe=se?JSON.parse(V):V,{version:he,file:Pe,names:Ze,sourceRoot:$e,sources:et,sourcesContent:vt}=xe;this.version=he,this.file=Pe,this.names=Ze,this.sourceRoot=$e,this.sources=et,this.sourcesContent=vt;let Tt=i($e||"",a(z));this.resolvedSources=et.map(zt=>i(zt||"",Tt));let{mappings:kt}=xe;typeof kt=="string"?(this._encoded=kt,this._decoded=void 0):(this._encoded=void 0,this._decoded=C(kt,se)),this._decodedMemo=B(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{e.encodedMappings=V=>{var z;return(z=V._encoded)!==null&&z!==void 0?z:V._encoded=t.encode(V._decoded)},e.decodedMappings=V=>V._decoded||(V._decoded=t.decode(V._encoded)),e.traceSegment=(V,z,se)=>{let xe=e.decodedMappings(V);if(z>=xe.length)return null;let he=xe[z],Pe=Qe(he,V._decodedMemo,z,se,J);return Pe===-1?null:he[Pe]},e.originalPositionFor=(V,{line:z,column:se,bias:xe})=>{if(z--,z<0)throw new Error(fe);if(se<0)throw new Error(X);let he=e.decodedMappings(V);if(z>=he.length)return ke(null,null,null,null);let Pe=he[z],Ze=Qe(Pe,V._decodedMemo,z,se,xe||J);if(Ze===-1)return ke(null,null,null,null);let $e=Pe[Ze];if($e.length===1)return ke(null,null,null,null);let{names:et,resolvedSources:vt}=V;return ke(vt[$e[l]],$e[u]+1,$e[c],$e.length===5?et[$e[f]]:null)},e.allGeneratedPositionsFor=(V,{source:z,line:se,column:xe,bias:he})=>W(V,z,se,xe,he||Z,!0),e.generatedPositionFor=(V,{source:z,line:se,column:xe,bias:he})=>W(V,z,se,xe,he||J,!1),e.eachMapping=(V,z)=>{let se=e.decodedMappings(V),{names:xe,resolvedSources:he}=V;for(let Pe=0;Pe<se.length;Pe++){let Ze=se[Pe];for(let $e=0;$e<Ze.length;$e++){let et=Ze[$e],vt=Pe+1,Tt=et[0],kt=null,zt=null,mr=null,dn=null;et.length!==1&&(kt=he[et[1]],zt=et[2]+1,mr=et[3]),et.length===5&&(dn=xe[et[4]]),z({generatedLine:vt,generatedColumn:Tt,source:kt,originalLine:zt,originalColumn:mr,name:dn})}}},e.sourceContentFor=(V,z)=>{let{sources:se,resolvedSources:xe,sourcesContent:he}=V;if(he==null)return null;let Pe=se.indexOf(z);return Pe===-1&&(Pe=xe.indexOf(z)),Pe===-1?null:he[Pe]},e.presortedDecodedMap=(V,z)=>{let se=new pe(De(V,[]),z);return se._decoded=V.mappings,se},e.decodedMap=V=>De(V,e.decodedMappings(V)),e.encodedMap=V=>De(V,e.encodedMappings(V));function W(V,z,se,xe,he,Pe){if(se--,se<0)throw new Error(fe);if(xe<0)throw new Error(X);let{sources:Ze,resolvedSources:$e}=V,et=Ze.indexOf(z);if(et===-1&&(et=$e.indexOf(z)),et===-1)return Pe?[]:Ie(null,null);let Tt=(V._bySources||(V._bySources=H(e.decodedMappings(V),V._bySourceMemos=Ze.map(B))))[et][se];if(Tt==null)return Pe?[]:Ie(null,null);let kt=V._bySourceMemos[et];if(Pe)return Et(Tt,kt,se,xe,he);let zt=Qe(Tt,kt,se,xe,he);if(zt===-1)return Ie(null,null);let mr=Tt[zt];return Ie(mr[d]+1,mr[m])}})();function De(W,V){return{version:W.version,file:W.file,names:W.names,sourceRoot:W.sourceRoot,sources:W.sources,sourcesContent:W.sourcesContent,mappings:V}}function ke(W,V,z,se){return{source:W,line:V,column:z,name:se}}function Ie(W,V){return{line:W,column:V}}function Qe(W,V,z,se,xe){let he=M(W,se,V,z);return P?he=(xe===Z?I:k)(W,se,he):xe===Z&&he++,he===-1||he===W.length?-1:he}function Et(W,V,z,se,xe){let he=Qe(W,V,z,se,J);if(!P&&xe===Z&&he++,he===-1||he===W.length)return[];let Pe=P?se:W[he][o];P||(he=k(W,Pe,he));let Ze=I(W,Pe,he),$e=[];for(;he<=Ze;he++){let et=W[he];$e.push(Ie(et[d]+1,et[m]))}return $e}e.AnyMap=ve,e.GREATEST_LOWER_BOUND=J,e.LEAST_UPPER_BOUND=Z,e.TraceMap=pe,Object.defineProperty(e,"__esModule",{value:!0})})});var rm=g((Xl,xS)=>{(function(e,t){typeof Xl=="object"&&typeof xS!="undefined"?t(Xl,ES(),Zh(),Yl()):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))})(Xl,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:k}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=I,this.sourceRoot=k}}e.addSegment=(A,I,k,B,M,H,ie,ce)=>c(!1,A,I,k,B,M,H,ie,ce),e.maybeAddSegment=(A,I,k,B,M,H,ie,ce)=>c(!0,A,I,k,B,M,H,ie,ce),e.addMapping=(A,I)=>P(!1,A,I),e.maybeAddMapping=(A,I)=>P(!0,A,I),e.setSourceContent=(A,I,k)=>{let{_sources:B,_sourcesContent:M}=A;M[t.put(B,I)]=k},e.toDecodedMap=A=>{let{file:I,sourceRoot:k,_mappings:B,_sources:M,_sourcesContent:H,_names:ie}=A;return p(B),{version:3,file:I||void 0,names:ie.array,sourceRoot:k||void 0,sources:M.array,sourcesContent:H,mappings:B}},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:k,_sources:B,_names:M}=A;for(let H=0;H<k.length;H++){let ie=k[H];for(let ce=0;ce<ie.length;ce++){let ve=ie[ce],dt={line:H+1,column:ve[0]},ut,q,Y;ve.length!==1&&(ut=B.array[ve[1]],q={line:ve[2]+1,column:ve[3]},ve.length===5&&(Y=M.array[ve[4]])),I.push({generated:dt,source:ut,original:q,name:Y})}}return I},e.fromMap=A=>{let I=new n.TraceMap(A),k=new f({file:I.file,sourceRoot:I.sourceRoot});return b(k._names,I.names),b(k._sources,I.sources),k._sourcesContent=I.sourcesContent||I.sources.map(()=>null),k._mappings=n.decodedMappings(I),k},c=(A,I,k,B,M,H,ie,ce,ve)=>{let{_mappings:dt,_sources:ut,_sourcesContent:q,_names:Y}=I,fe=d(dt,k),X=m(fe,B);if(!M)return A&&E(fe,X)?void 0:C(fe,X,[B]);let Z=t.put(ut,M),J=ce?t.put(Y,ce):-1;if(Z===q.length&&(q[Z]=ve!=null?ve:null),!(A&&O(fe,X,Z,H,ie,J)))return C(fe,X,ce?[B,Z,H,ie,J]:[B,Z,H,ie])};function d(A,I){for(let k=A.length;k<=I;k++)A[k]=[];return A[I]}function m(A,I){let k=A.length;for(let B=k-1;B>=0;k=B--){let M=A[B];if(I>=M[0])break}return k}function C(A,I,k){for(let B=A.length;B>I;B--)A[B]=A[B-1];A[I]=k}function p(A){let{length:I}=A,k=I;for(let B=k-1;B>=0&&!(A[B].length>0);k=B,B--);k<I&&(A.length=k)}function b(A,I){for(let k=0;k<I.length;k++)t.put(A,I[k])}function E(A,I){return I===0?!0:A[I-1].length===1}function O(A,I,k,B,M,H){if(I===0)return!1;let ie=A[I-1];return ie.length===1?!1:k===ie[1]&&B===ie[2]&&M===ie[3]&&H===(ie.length===5?ie[4]:-1)}function P(A,I,k){let{generated:B,source:M,original:H,name:ie,content:ce}=k;if(!M)return c(A,I,B.line-1,B.column,null,null,null,null,null);let ve=M;return c(A,I,B.line-1,B.column,ve,H.line-1,H.column,ie,ce)}e.GenMapping=f,Object.defineProperty(e,"__esModule",{value:!0})})});var PS=g(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var Yn=rm(),nm=Yl(),sm=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 s=this._map=new Yn.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 nm.TraceMap(t.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var i;(0,Yn.setSourceContent)(s,a[o],(i=this._inputMap.sourcesContent)==null?void 0:i[o])}}if(typeof r=="string"&&!t.inputSourceMap)(0,Yn.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,Yn.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,Yn.toEncodedMap)(this._map)}getDecoded(){return(0,Yn.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,Yn.allMappings)(this._map))}mark(t,r,n,s,i,a){var o;this._rawMappings=void 0;let l;if(r!=null)if(this._inputMap){if(l=(0,nm.originalPositionFor)(this._inputMap,{line:r,column:n}),!l.name&&i){let u=(0,nm.originalPositionFor)(this._inputMap,i);u.name&&(s=u.name)}}else l={source:(a==null?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:r,column:n};(0,Yn.maybeAddMapping)(this._map,{name:s,generated:t,source:(o=l)==null?void 0:o.source,original:l})}};Jl.default=sm});var AS=g(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var im=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,s,i){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=s,o.filename=i,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 s=r[n];this._appendChar(s.char,s.repeat,s)}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 s=t.length,i=this._position;if(this._last=t.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=t,this._appendCount=0):this._str+=t,!n&&!this._map){i.column+=s;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(`
  13. `),d=0;for(f!==0&&this._mark(c,a,o,l,u);f!==-1;)i.line++,i.column=0,d=f+1,d<s&&c!==void 0&&this._mark(++c,0,null,null,u),f=t.indexOf(`
  14. `,d);i.column+=s-d}_mark(t,r,n,s,i){var a;(a=this._map)==null||a.mark(this._position,t,r,n,s,i)}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,s=this._sourcePosition;n&&(this._canMarkIdName=!1,s.identifierName=n),r(),n&&(this._canMarkIdName=!0,s.identifierName=void 0,s.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 s=r[t],i=this._sourcePosition;s&&(i.line=s.line,i.column=Math.max(s.column+n,0),i.filename=r.filename)}getCurrentColumn(){let t=this._queue,r=this._queueCursor,n=-1,s=0;for(let i=0;i<r;i++){let a=t[i];a.char===10&&(n=s),s+=a.repeat}return n===-1?this._position.column+s:s-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}};zl.default=im});var OS=g(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.nodes=void 0;var MX=Ce(),{FLIPPED_ALIAS_KEYS:RX,isArrayExpression:qX,isAssignmentExpression:wS,isBinary:DS,isBlockStatement:UX,isCallExpression:IS,isFunction:Fa,isIdentifier:Ql,isLiteral:VX,isMemberExpression:am,isObjectExpression:$X,isOptionalCallExpression:WX,isOptionalMemberExpression:KX,isStringLiteral:GX}=MX;function hi(e,t){return e&&(am(e)||KX(e)?(hi(e.object,t),e.computed&&hi(e.property,t)):DS(e)||wS(e)?(hi(e.left,t),hi(e.right,t)):IS(e)||WX(e)?(t.hasCall=!0,hi(e.callee,t)):Fa(e)?t.hasFunction=!0:Ql(e)&&(t.hasHelper=t.hasHelper||e.callee&&gn(e.callee))),t}function CS(e){return hi(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function gn(e){return e?am(e)?gn(e.object)||gn(e.property):Ql(e)?e.name==="require"||e.name.charCodeAt(0)===95:IS(e)?gn(e.callee):DS(e)||wS(e)?Ql(e.left)&&gn(e.left)||gn(e.right):!1:!1}function HX(e){return VX(e)||$X(e)||qX(e)||Ql(e)||am(e)}var Xn={AssignmentExpression(e){let t=CS(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(Fa(e.left)||Fa(e.right))return 2},Literal(e){if(GX(e)&&e.value==="use strict")return 2},CallExpression(e){if(Fa(e.callee)||gn(e))return 3},OptionalCallExpression(e){if(Fa(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){let r=e.declarations[t],n=gn(r.id)&&!HX(r.init);if(!n&&r.init){let s=CS(r.init);n=gn(r.init)&&s.hasCall||s.hasFunction}if(n)return 3}},IfStatement(e){if(UX(e.consequent))return 3}};Zl.nodes=Xn;Xn.ObjectProperty=Xn.ObjectTypeProperty=Xn.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1};Xn.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&!((r=t.properties)!=null&&r.length))return 1};Xn.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};Xn.ObjectTypeInternalSlot=function(e,t){var r,n,s;if(t.internalSlots[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)&&!((s=t.indexers)!=null&&s.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([e,t]){[e].concat(RX[e]||[]).forEach(function(r){let n=t?3:0;Xn[r]=()=>n})})});var YS=g(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.ArrowFunctionExpression=UJ;rt.AssignmentExpression=$J;rt.Binary=IJ;rt.BinaryExpression=jJ;rt.ClassExpression=RJ;rt.ConditionalExpression=dm;rt.DoExpression=DJ;rt.FunctionExpression=qJ;rt.FunctionTypeAnnotation=AJ;rt.Identifier=KJ;rt.LogicalExpression=WJ;rt.NullableTypeAnnotation=PJ;rt.ObjectExpression=wJ;rt.OptionalIndexedAccessType=_J;rt.OptionalCallExpression=rt.OptionalMemberExpression=VJ;rt.SequenceExpression=LJ;rt.TSTypeAssertion=rt.TSSatisfiesExpression=rt.TSAsExpression=NJ;rt.TSInferType=BJ;rt.TSInstantiationExpression=FJ;rt.TSIntersectionType=rt.TSUnionType=kJ;rt.UnaryLike=HS;rt.IntersectionTypeAnnotation=rt.UnionTypeAnnotation=OJ;rt.UpdateExpression=CJ;rt.AwaitExpression=rt.YieldExpression=MJ;var YX=Ce(),{isArrayTypeAnnotation:om,isArrowFunctionExpression:NS,isAssignmentExpression:kS,isAwaitExpression:lm,isBinary:tu,isBinaryExpression:BS,isUpdateExpression:XX,isCallExpression:um,isClass:JX,isClassExpression:zX,isConditional:QX,isConditionalExpression:FS,isExportDeclaration:ZX,isExportDefaultDeclaration:eJ,isExpressionStatement:jS,isFor:tJ,isForInStatement:LS,isForOfStatement:MS,isForStatement:RS,isFunctionExpression:rJ,isIfStatement:nJ,isIndexedAccessType:sJ,isIntersectionTypeAnnotation:qS,isLogicalExpression:eu,isMemberExpression:cm,isNewExpression:fm,isNullableTypeAnnotation:iJ,isObjectPattern:aJ,isOptionalCallExpression:US,isOptionalMemberExpression:VS,isReturnStatement:oJ,isSequenceExpression:lJ,isSwitchStatement:uJ,isTSArrayType:$S,isTSAsExpression:cJ,isTSInstantiationExpression:fJ,isTSIntersectionType:pJ,isTSNonNullExpression:dJ,isTSOptionalType:WS,isTSRestType:hJ,isTSTypeAssertion:mJ,isTSUnionType:yJ,isTaggedTemplateExpression:gJ,isThrowStatement:bJ,isTypeAnnotation:EJ,isUnaryLike:pm,isUnionTypeAnnotation:KS,isVariableDeclarator:vJ,isWhileStatement:TJ,isYieldExpression:SJ,isTSSatisfiesExpression:xJ}=YX,_S={"||":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 GS(e){return cJ(e)||xJ(e)||mJ(e)}var ru=(e,t)=>JX(t,{superClass:e}),ja=(e,t)=>(cm(t)||VS(t))&&t.object===e||(um(t)||US(t)||fm(t))&&t.callee===e||gJ(t)&&t.tag===e||dJ(t);function PJ(e,t){return om(t)}function AJ(e,t,r){if(!(r.length<3))return KS(t)||qS(t)||om(t)||EJ(t)&&NS(r[r.length-3])}function CJ(e,t){return ja(e,t)||ru(e,t)}function wJ(e,t,r){return La(r,3)}function DJ(e,t,r){return!e.async&&La(r,1)}function IJ(e,t){if(e.operator==="**"&&BS(t,{operator:"**"}))return t.left===e;if(ru(e,t)||ja(e,t)||pm(t)||lm(t))return!0;if(tu(t)){let r=t.operator,n=_S[r],s=e.operator,i=_S[s];if(n===i&&t.right===e&&!eu(t)||n>i)return!0}}function OJ(e,t){return om(t)||iJ(t)||qS(t)||KS(t)}function _J(e,t){return sJ(t,{objectType:e})}function NJ(){return!0}function kJ(e,t){return $S(t)||WS(t)||pJ(t)||yJ(t)||hJ(t)}function BJ(e,t){return $S(t)||WS(t)}function FJ(e,t){return(um(t)||US(t)||fm(t)||fJ(t))&&!!t.typeParameters}function jJ(e,t){return e.operator==="in"&&(vJ(t)||tJ(t))}function LJ(e,t){return!(RS(t)||bJ(t)||oJ(t)||nJ(t)&&t.test===e||TJ(t)&&t.test===e||LS(t)&&t.right===e||uJ(t)&&t.discriminant===e||jS(t)&&t.expression===e)}function MJ(e,t){return tu(t)||pm(t)||ja(e,t)||lm(t)&&SJ(e)||FS(t)&&e===t.test||ru(e,t)}function RJ(e,t,r){return La(r,5)}function HS(e,t){return ja(e,t)||BS(t,{operator:"**",left:e})||ru(e,t)}function qJ(e,t,r){return La(r,5)}function UJ(e,t){return ZX(t)||dm(e,t)}function dm(e,t){return pm(t)||tu(t)||FS(t,{test:e})||lm(t)||GS(t)?!0:HS(e,t)}function VJ(e,t){return um(t,{callee:e})||cm(t,{object:e})}function $J(e,t){return aJ(e.left)?!0:dm(e,t)}function WJ(e,t){if(GS(t))return!0;switch(e.operator){case"||":return eu(t)?t.operator==="??"||t.operator==="&&":!1;case"&&":return eu(t,{operator:"??"});case"??":return eu(t)&&t.operator!=="??"}}function KJ(e,t,r){var n;if((n=e.extra)!=null&&n.parenthesized&&kS(t,{left:e})&&(rJ(t.right)||zX(t.right))&&t.right.id==null)return!0;if(e.name==="let"){let s=cm(t,{object:e,computed:!0})||VS(t,{object:e,computed:!0,optional:!1});return La(r,s?57:32)}return e.name==="async"&&MS(t)&&e===t.left}function La(e,t){let r=t&1,n=t&2,s=t&4,i=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&&jS(c,{expression:u})||s&&eJ(c,{declaration:u})||n&&NS(c,{body:u})||i&&RS(c,{init:u})||a&&LS(c,{left:u})||o&&MS(c,{left:u}))return!0;if(l>0&&(ja(u,c)&&!fm(c)||lJ(c)&&c.expressions[0]===u||XX(c)&&!c.prefix||QX(c,{test:u})||tu(c,{left:u})||kS(c,{left:u})))u=c,l--,c=e[l];else return!1}return!1}});var mm=g(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.needsParens=sz;mi.needsWhitespace=hm;mi.needsWhitespaceAfter=nz;mi.needsWhitespaceBefore=rz;var GJ=OS(),HJ=YS(),YJ=Ce(),{FLIPPED_ALIAS_KEYS:XJ,isCallExpression:JJ,isExpressionStatement:zJ,isMemberExpression:QJ,isNewExpression:ZJ}=YJ;function XS(e){let t={};function r(n,s){let i=t[n];t[n]=i?function(a,o,l){let u=i(a,o,l);return u==null?s(a,o,l):u}:s}for(let n of Object.keys(e)){let s=XJ[n];if(s)for(let i of s)r(i,e[n]);else r(n,e[n])}return t}var ez=XS(HJ),tz=XS(GJ.nodes);function JS(e,t,r,n){let s=e[t.type];return s?s(t,r,n):null}function zS(e){return JJ(e)?!0:QJ(e)&&zS(e.object)}function hm(e,t,r){if(!e)return!1;zJ(e)&&(e=e.expression);let n=JS(tz,e,t);return typeof n=="number"?(n&r)!==0:!1}function rz(e,t){return hm(e,t,1)}function nz(e,t){return hm(e,t,2)}function sz(e,t,r){return t?ZJ(t)&&t.callee===e&&zS(e)?!0:JS(ez,e,t,r):!1}});var QS=g(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.TaggedTemplateExpression=iz;Ma.TemplateElement=az;Ma.TemplateLiteral=oz;function iz(e){this.print(e.tag,e),this.print(e.typeParameters,e),this.print(e.quasi,e)}function az(e,t){let r=t.quasis[0]===e,n=t.quasis[t.quasis.length-1]===e,s=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(s,!0)}function oz(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 tx=g(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.LogicalExpression=at.BinaryExpression=at.AssignmentExpression=kz;at.AssignmentPattern=Nz;at.AwaitExpression=Dz;at.BindExpression=Bz;at.CallExpression=Cz;at.ConditionalExpression=yz;at.Decorator=xz;at.DoExpression=dz;at.EmptyStatement=Oz;at.ExpressionStatement=_z;at.Import=wz;at.MemberExpression=Fz;at.MetaProperty=jz;at.ModuleExpression=Rz;at.NewExpression=gz;at.OptionalCallExpression=Az;at.OptionalMemberExpression=Pz;at.ParenthesizedExpression=hz;at.PrivateName=Lz;at.SequenceExpression=bz;at.Super=vz;at.ThisExpression=Ez;at.UnaryExpression=pz;at.UpdateExpression=mz;at.V8IntrinsicIdentifier=Mz;at.YieldExpression=Iz;at._shouldPrintDecoratorsBeforeExport=Sz;var lz=Ce(),uz=mm(),{isCallExpression:cz,isLiteral:ZS,isMemberExpression:ym,isNewExpression:fz}=lz;function pz(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 dz(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body,e)}function hz(e){this.tokenChar(40),this.print(e.expression,e),this.rightParens(e)}function mz(e){e.prefix?(this.token(e.operator),this.print(e.argument,e)):(this.printTerminatorless(e.argument,e,!0),this.token(e.operator))}function yz(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 gz(e,t){this.word("new"),this.space(),this.print(e.callee,e),!(this.format.minified&&e.arguments.length===0&&!e.optional&&!cz(t,{callee:e})&&!ym(t)&&!fz(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 bz(e){this.printList(e.expressions,e)}function Ez(){this.word("this")}function vz(){this.word("super")}function ex(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&e.property.type==="Identifier"&&ex(e.object);default:return!1}}function Tz(e){return e.type==="ParenthesizedExpression"?!1:!ex(e.type==="CallExpression"?e.callee:e)}function Sz(e){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof e.start=="number"&&e.start===e.declaration.start}function xz(e){this.tokenChar(64);let{expression:t}=e;Tz(t)?(this.tokenChar(40),this.print(t,e),this.tokenChar(41)):this.print(t,e),this.newline()}function Pz(e){let{computed:t}=e,{optional:r,property:n}=e;if(this.print(e.object,e),!t&&ym(n))throw new TypeError("Got a MemberExpression for MemberExpression property");ZS(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 Az(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 Cz(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 wz(){this.word("import")}function Dz(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))}function Iz(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 Oz(){this.semicolon(!0)}function _z(e){this.print(e.expression,e),this.semicolon()}function Nz(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 kz(e,t){let r=this.inForStatementInitCounter&&e.operator==="in"&&!uz.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 Bz(e){this.print(e.object,e),this.token("::"),this.print(e.callee,e)}function Fz(e){if(this.print(e.object,e),!e.computed&&ym(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;ZS(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 jz(e){this.print(e.meta,e),this.tokenChar(46),this.print(e.property,e)}function Lz(e){this.tokenChar(35),this.print(e.id,e)}function Mz(e){this.tokenChar(37),this.word(e.name)}function Rz(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 ix=g(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.BreakStatement=zz;St.CatchClause=nQ;St.ContinueStatement=Qz;St.DebuggerStatement=aQ;St.DoWhileStatement=Jz;St.ForOfStatement=St.ForInStatement=void 0;St.ForStatement=Gz;St.IfStatement=Kz;St.LabeledStatement=tQ;St.ReturnStatement=Zz;St.SwitchCase=iQ;St.SwitchStatement=sQ;St.ThrowStatement=eQ;St.TryStatement=rQ;St.VariableDeclaration=oQ;St.VariableDeclarator=lQ;St.WhileStatement=Hz;St.WithStatement=Wz;var qz=Ce(),{isFor:rx,isForStatement:Uz,isIfStatement:Vz,isStatement:$z}=qz;function Wz(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object,e),this.tokenChar(41),this.printBlock(e)}function Kz(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.space();let t=e.alternate&&Vz(nx(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 nx(e){let{body:t}=e;return $z(t)===!1?e:nx(t)}function Gz(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 Hz(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.printBlock(e)}function sx(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 Yz=sx;St.ForInStatement=Yz;var Xz=sx;St.ForOfStatement=Xz;function Jz(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 nu(e,t,r,n){t&&(e.space(),e.printTerminatorless(t,r,n)),e.semicolon()}function zz(e){this.word("break"),nu(this,e.label,e,!0)}function Qz(e){this.word("continue"),nu(this,e.label,e,!0)}function Zz(e){this.word("return"),nu(this,e.argument,e,!1)}function eQ(e){this.word("throw"),nu(this,e.argument,e,!1)}function tQ(e){this.print(e.label,e),this.tokenChar(58),this.space(),this.print(e.body,e)}function rQ(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 nQ(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param,e),this.print(e.param.typeAnnotation,e),this.tokenChar(41),this.space()),this.print(e.body,e)}function sQ(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 iQ(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 aQ(){this.word("debugger"),this.semicolon()}function oQ(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(!rx(t))for(let s of e.declarations)s.init&&(n=!0);if(this.printList(e.declarations,e,{separator:n?function(){this.tokenChar(44),this.newline()}:void 0,indent:e.declarations.length>1}),rx(t)){if(Uz(t)){if(t.init===e)return}else if(t.left===e)return}this.semicolon()}function lQ(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))}});var ax=g(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.ClassAccessorProperty=mQ;Cr.ClassBody=dQ;Cr.ClassExpression=Cr.ClassDeclaration=pQ;Cr.ClassMethod=gQ;Cr.ClassPrivateMethod=bQ;Cr.ClassPrivateProperty=yQ;Cr.ClassProperty=hQ;Cr.StaticBlock=vQ;Cr._classMethodHead=EQ;var uQ=Ce(),{isExportDefaultDeclaration:cQ,isExportNamedDeclaration:fQ}=uQ;function pQ(e,t){(!(cQ(t)||fQ(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 dQ(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 hQ(e){var t;this.printJoin(e.decorators,e);let r=(t=e.key.loc)==null||(t=t.end)==null?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function mQ(e){var t;this.printJoin(e.decorators,e);let r=(t=e.key.loc)==null||(t=t.end)==null?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function yQ(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 gQ(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function bQ(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function EQ(e){var t;this.printJoin(e.decorators,e);let r=(t=e.key.loc)==null||(t=t.end)==null?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function vQ(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 ox=g(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.ArrowFunctionExpression=OQ;Vr.FunctionDeclaration=Vr.FunctionExpression=IQ;Vr._functionHead=DQ;Vr._methodHead=CQ;Vr._param=AQ;Vr._parameters=PQ;Vr._params=xQ;Vr._predicate=wQ;var TQ=Ce(),{isIdentifier:SQ}=TQ;function xQ(e,t,r){this.print(e.typeParameters,e);let n=NQ.call(this,t,r);n&&this.sourceIdentifierName(n.name,n.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);let s=e.type==="ArrowFunctionExpression";this.print(e.returnType,e,s),this._noLineTerminator=s}function PQ(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 AQ(e,t){this.printJoin(e.decorators,e),this.print(e,t),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)}function CQ(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 wQ(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,e,t))}function DQ(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 IQ(e,t){this._functionHead(e,t),this.space(),this.print(e.body,e)}function OQ(e,t){e.async&&(this.word("async",!0),this.space());let r;!this.format.retainLines&&e.params.length===1&&SQ(r=e.params[0])&&!_Q(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 _Q(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 NQ(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 s,i;n={pos:(s=r.loc)==null?void 0:s.start,name:((i=r.loc)==null?void 0:i.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 gm=g(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.ExportAllDeclaration=KQ;rr.ExportDefaultDeclaration=HQ;rr.ExportDefaultSpecifier=UQ;rr.ExportNamedDeclaration=GQ;rr.ExportNamespaceSpecifier=$Q;rr.ExportSpecifier=VQ;rr.ImportAttribute=XQ;rr.ImportDeclaration=YQ;rr.ImportDefaultSpecifier=qQ;rr.ImportExpression=zQ;rr.ImportNamespaceSpecifier=JQ;rr.ImportSpecifier=RQ;rr._printAttributes=WQ;var kQ=Ce(),{isClassDeclaration:BQ,isExportDefaultSpecifier:FQ,isExportNamespaceSpecifier:jQ,isImportDefaultSpecifier:LQ,isImportNamespaceSpecifier:MQ,isStatement:ux}=kQ;function RQ(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 qQ(e){this.print(e.local,e)}function UQ(e){this.print(e.exported,e)}function VQ(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 $Q(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}var lx=!1;function WQ(e){let{importAttributesKeyword:t}=this.format,{attributes:r,assertions:n}=e;r&&!t&&!lx&&(lx=!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 s=t==="assert"||!t&&n;if(this.word(s?"assert":"with"),this.space(),!s&&t!=="with"){this.printList(r||n,e);return}this.tokenChar(123),this.space(),this.printList(r||n,e),this.space(),this.tokenChar(125)}function KQ(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 cx(e,t){BQ(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}function GQ(e){if(cx(this,e),this.word("export"),this.space(),e.declaration){let n=e.declaration;this.print(n,e),ux(n)||this.semicolon()}else{e.exportKind==="type"&&(this.word("type"),this.space());let n=e.specifiers.slice(0),s=!1;for(;;){let i=n[0];if(FQ(i)||jQ(i))s=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space());else break}if((n.length||!n.length&&!s)&&(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 HQ(e){cx(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();let t=e.declaration;this.print(t,e),ux(t)||this.semicolon()}function YQ(e){var t,r;this.word("import"),this.space();let n=e.importKind==="type"||e.importKind==="typeof";n?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());let s=e.specifiers.slice(0),i=!!s.length;for(;i;){let a=s[0];if(LQ(a)||MQ(a))this.print(s.shift(),e),s.length&&(this.tokenChar(44),this.space());else break}s.length?(this.tokenChar(123),this.space(),this.printList(s,e),this.space(),this.tokenChar(125)):n&&!i&&(this.tokenChar(123),this.tokenChar(125)),(i||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 XQ(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function JQ(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)}function zQ(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source,e),e.options!=null&&(this.tokenChar(44),this.space(),this.print(e.options,e)),this.tokenChar(41)}});var hx=g((bwe,dx)=>{"use strict";var fx={},QQ=fx.hasOwnProperty,px=(e,t)=>{for(let r in e)QQ.call(e,r)&&t(r,e[r])},ZQ=(e,t)=>(t&&px(t,(r,n)=>{e[r]=n}),e),eZ=(e,t)=>{let r=e.length,n=-1;for(;++n<r;)t(e[n])},Ra=fx.toString,tZ=Array.isArray,rZ=Buffer.isBuffer,nZ=e=>Ra.call(e)=="[object Object]",sZ=e=>typeof e=="string"||Ra.call(e)=="[object String]",iZ=e=>typeof e=="number"||Ra.call(e)=="[object Number]",aZ=e=>typeof e=="function",oZ=e=>Ra.call(e)=="[object Map]",lZ=e=>Ra.call(e)=="[object Set]",uZ={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},cZ=/["'\\\b\f\n\r\t]/,fZ=/[0-9]/,pZ=/[ !#-&\(-\[\]-_a-~]/,Jn=(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},s=t&&t.json;s&&(n.quotes="double",n.wrap=!0),t=ZQ(n,t),t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"&&(t.quotes="single");let i=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?"":`
  15. `,m,C=!0,p=t.numbers=="binary",b=t.numbers=="octal",E=t.numbers=="decimal",O=t.numbers=="hexadecimal";if(s&&e&&aZ(e.toJSON)&&(e=e.toJSON()),!sZ(e)){if(oZ(e))return e.size==0?"new Map()":(a||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Jn(Array.from(e),t)+")");if(lZ(e))return e.size==0?"new Set()":"new Set("+Jn(Array.from(e),t)+")";if(rZ(e))return e.length==0?"Buffer.from([])":"Buffer.from("+Jn(Array.from(e),t)+")";if(tZ(e))return m=[],t.wrap=!0,c&&(t.__inline1__=!1,t.__inline2__=!0),f||r(),eZ(e,k=>{C=!1,f&&(t.__inline2__=!1),m.push((a||f?"":l)+Jn(k,t))}),C?"[]":f?"["+m.join(", ")+"]":"["+d+m.join(","+d)+d+(a?"":u)+"]";if(iZ(e)){if(s)return JSON.stringify(e);if(E)return String(e);if(O){let k=e.toString(16);return o||(k=k.toUpperCase()),"0x"+k}if(p)return"0b"+e.toString(2);if(b)return"0o"+e.toString(8)}else return nZ(e)?(m=[],t.wrap=!0,r(),px(e,(k,B)=>{C=!1,m.push((a?"":l)+Jn(k,t)+":"+(a?"":" ")+Jn(B,t))}),C?"{}":"{"+d+m.join(","+d)+d+(a?"":u)+"}"):s?JSON.stringify(e)||"null":String(e)}let P=e,A=-1,I=P.length;for(m="";++A<I;){let k=P.charAt(A);if(t.es6){let ce=P.charCodeAt(A);if(ce>=55296&&ce<=56319&&I>A+1){let ve=P.charCodeAt(A+1);if(ve>=56320&&ve<=57343){let ut=((ce-55296)*1024+ve-56320+65536).toString(16);o||(ut=ut.toUpperCase()),m+="\\u{"+ut+"}",++A;continue}}}if(!t.escapeEverything){if(pZ.test(k)){m+=k;continue}if(k=='"'){m+=i==k?'\\"':k;continue}if(k=="`"){m+=i==k?"\\`":k;continue}if(k=="'"){m+=i==k?"\\'":k;continue}}if(k=="\0"&&!s&&!fZ.test(P.charAt(A+1))){m+="\\0";continue}if(cZ.test(k)){m+=uZ[k];continue}let B=k.charCodeAt(0);if(t.minimal&&B!=8232&&B!=8233){m+=k;continue}let M=B.toString(16);o||(M=M.toUpperCase());let H=M.length>2||s,ie="\\"+(H?"u":"x")+("0000"+M).slice(H?-4:-2);m+=ie}return t.wrap&&(m=i+m+i),i=="`"&&(m=m.replace(/\$\{/g,"\\${")),t.isScriptContext?m.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,s?"\\u003C!--":"\\x3C!--"):m};Jn.version="2.5.2";dx.exports=Jn});var Em=g(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.ArgumentPlaceholder=yZ;mt.ArrayPattern=mt.ArrayExpression=TZ;mt.BigIntLiteral=IZ;mt.BooleanLiteral=AZ;mt.DecimalLiteral=OZ;mt.Identifier=mZ;mt.NullLiteral=CZ;mt.NumericLiteral=wZ;mt.ObjectPattern=mt.ObjectExpression=bZ;mt.ObjectMethod=EZ;mt.ObjectProperty=vZ;mt.PipelineBareFunction=kZ;mt.PipelinePrimaryTopicReference=BZ;mt.PipelineTopicExpression=NZ;mt.RecordExpression=SZ;mt.RegExpLiteral=PZ;mt.SpreadElement=mt.RestElement=gZ;mt.StringLiteral=DZ;mt.TopicReference=_Z;mt.TupleExpression=xZ;var dZ=Ce(),yx=hx(),{isAssignmentPattern:hZ,isIdentifier:bm}=dZ;function mZ(e){var t;this.sourceIdentifierName(((t=e.loc)==null?void 0:t.identifierName)||e.name),this.word(e.name)}function yZ(){this.tokenChar(63)}function gZ(e){this.token("..."),this.print(e.argument,e)}function bZ(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 EZ(e){this.printJoin(e.decorators,e),this._methodHead(e),this.space(),this.print(e.body,e)}function vZ(e){if(this.printJoin(e.decorators,e),e.computed)this.tokenChar(91),this.print(e.key,e),this.tokenChar(93);else{if(hZ(e.value)&&bm(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}if(this.print(e.key,e),e.shorthand&&bm(e.key)&&bm(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value,e)}function TZ(e){let t=e.elements,r=t.length;this.tokenChar(91);for(let n=0;n<t.length;n++){let s=t[n];s?(n>0&&this.space(),this.print(s,e),n<r-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)}function SZ(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 xZ(e){let t=e.elements,r=t.length,n,s;if(this.format.recordAndTupleSyntaxType==="bar")n="[|",s="|]";else if(this.format.recordAndTupleSyntaxType==="hash")n="#[",s="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(n);for(let i=0;i<t.length;i++){let a=t[i];a&&(i>0&&this.space(),this.print(a,e),i<r-1&&this.tokenChar(44))}this.token(s)}function PZ(e){this.word(`/${e.pattern}/${e.flags}`)}function AZ(e){this.word(e.value?"true":"false")}function CZ(){this.word("null")}function wZ(e){let t=this.getPossibleRaw(e),r=this.format.jsescOption,n=e.value+"";r.numbers?this.number(yx(e.value,r)):t==null?this.number(n):this.format.minified?this.number(t.length<n.length?t:n):this.number(t)}function DZ(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let r=yx(e.value,this.format.jsescOption);this.token(r)}function IZ(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.word(t);return}this.word(e.value+"n")}function OZ(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.word(t);return}this.word(e.value+"m")}var mx=new Set(["^^","@@","^","%","#"]);function _Z(){let{topicToken:e}=this.format;if(mx.has(e))this.token(e);else{let t=JSON.stringify(e),r=Array.from(mx,n=>JSON.stringify(n));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${t} received instead).`)}}function NZ(e){this.print(e.expression,e)}function kZ(e){this.print(e.callee,e)}function BZ(){this.tokenChar(35)}});var bx=g(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.AnyTypeAnnotation=MZ;ue.ArrayTypeAnnotation=RZ;ue.BooleanLiteralTypeAnnotation=UZ;ue.BooleanTypeAnnotation=qZ;ue.DeclareClass=$Z;ue.DeclareExportAllDeclaration=eee;ue.DeclareExportDeclaration=ZZ;ue.DeclareFunction=WZ;ue.DeclareInterface=HZ;ue.DeclareModule=YZ;ue.DeclareModuleExports=XZ;ue.DeclareOpaqueType=zZ;ue.DeclareTypeAlias=JZ;ue.DeclareVariable=QZ;ue.DeclaredPredicate=GZ;ue.EmptyTypeAnnotation=See;ue.EnumBooleanBody=ree;ue.EnumBooleanMember=oee;ue.EnumDeclaration=tee;ue.EnumDefaultedMember=aee;ue.EnumNumberBody=nee;ue.EnumNumberMember=lee;ue.EnumStringBody=see;ue.EnumStringMember=uee;ue.EnumSymbolBody=iee;ue.ExistsTypeAnnotation=fee;ue.FunctionTypeAnnotation=pee;ue.FunctionTypeParam=dee;ue.IndexedAccessType=Hee;ue.InferredPredicate=KZ;ue.InterfaceDeclaration=gee;ue.GenericTypeAnnotation=ue.ClassImplements=ue.InterfaceExtends=hee;ue.InterfaceTypeAnnotation=Eee;ue.IntersectionTypeAnnotation=vee;ue.MixedTypeAnnotation=Tee;ue.NullLiteralTypeAnnotation=VZ;ue.NullableTypeAnnotation=xee;Object.defineProperty(ue,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return gx.NumericLiteral}});ue.NumberTypeAnnotation=Pee;ue.ObjectTypeAnnotation=Bee;ue.ObjectTypeCallProperty=jee;ue.ObjectTypeIndexer=Lee;ue.ObjectTypeInternalSlot=Fee;ue.ObjectTypeProperty=Mee;ue.ObjectTypeSpreadProperty=Ree;ue.OpaqueType=kee;ue.OptionalIndexedAccessType=Yee;ue.QualifiedTypeIdentifier=qee;Object.defineProperty(ue,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return gx.StringLiteral}});ue.StringTypeAnnotation=Aee;ue.SymbolTypeAnnotation=Uee;ue.ThisTypeAnnotation=Cee;ue.TupleTypeAnnotation=wee;ue.TypeAlias=Iee;ue.TypeAnnotation=Oee;ue.TypeCastExpression=Wee;ue.TypeParameter=Nee;ue.TypeParameterDeclaration=ue.TypeParameterInstantiation=_ee;ue.TypeofTypeAnnotation=Dee;ue.UnionTypeAnnotation=$ee;ue.Variance=Kee;ue.VoidTypeAnnotation=Gee;ue._interfaceish=mee;ue._variance=yee;var FZ=Ce(),jZ=gm(),gx=Em(),{isDeclareExportDeclaration:su,isStatement:LZ}=FZ;function MZ(){this.word("any")}function RZ(e){this.print(e.elementType,e,!0),this.tokenChar(91),this.tokenChar(93)}function qZ(){this.word("boolean")}function UZ(e){this.word(e.value?"true":"false")}function VZ(){this.word("null")}function $Z(e,t){su(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)}function WZ(e,t){su(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 KZ(){this.tokenChar(37),this.word("checks")}function GZ(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value,e),this.tokenChar(41)}function HZ(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)}function YZ(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id,e),this.space(),this.print(e.body,e)}function XZ(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation,e)}function JZ(e){this.word("declare"),this.space(),this.TypeAlias(e)}function zZ(e,t){su(t)||(this.word("declare"),this.space()),this.OpaqueType(e)}function QZ(e,t){su(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 ZZ(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),cee.call(this,e)}function eee(e){this.word("declare"),this.space(),jZ.ExportAllDeclaration.call(this,e)}function tee(e){let{id:t,body:r}=e;this.word("enum"),this.space(),this.print(t,e),this.print(r,e)}function iu(e,t,r){r&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function au(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 ree(e){let{explicitType:t}=e;iu(this,"boolean",t),au(this,e)}function nee(e){let{explicitType:t}=e;iu(this,"number",t),au(this,e)}function see(e){let{explicitType:t}=e;iu(this,"string",t),au(this,e)}function iee(e){iu(this,"symbol",!0),au(this,e)}function aee(e){let{id:t}=e;this.print(t,e),this.tokenChar(44)}function vm(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 oee(e){vm(this,e)}function lee(e){vm(this,e)}function uee(e){vm(this,e)}function cee(e){if(e.declaration){let t=e.declaration;this.print(t,e),LZ(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 fee(){this.tokenChar(42)}function pee(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 dee(e){this.print(e.name,e),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation,e)}function hee(e){this.print(e.id,e),this.print(e.typeParameters,e,!0)}function mee(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 yee(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 gee(e){this.word("interface"),this.space(),this._interfaceish(e)}function bee(){this.space(),this.tokenChar(38),this.space()}function Eee(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 vee(e){this.printJoin(e.types,e,{separator:bee})}function Tee(){this.word("mixed")}function See(){this.word("empty")}function xee(e){this.tokenChar(63),this.print(e.typeAnnotation,e)}function Pee(){this.word("number")}function Aee(){this.word("string")}function Cee(){this.word("this")}function wee(e){this.tokenChar(91),this.printList(e.types,e),this.tokenChar(93)}function Dee(e){this.word("typeof"),this.space(),this.print(e.argument,e)}function Iee(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 Oee(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)}function _ee(e){this.tokenChar(60),this.printList(e.params,e,{}),this.tokenChar(62)}function Nee(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 kee(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 Bee(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 Fee(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 jee(e){e.static&&(this.word("static"),this.space()),this.print(e.value,e)}function Lee(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 Mee(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 Ree(e){this.token("..."),this.print(e.argument,e)}function qee(e){this.print(e.qualification,e),this.tokenChar(46),this.print(e.id,e)}function Uee(){this.word("symbol")}function Vee(){this.space(),this.tokenChar(124),this.space()}function $ee(e){this.printJoin(e.types,e,{separator:Vee})}function Wee(e){this.tokenChar(40),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.tokenChar(41)}function Kee(e){e.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function Gee(){this.word("void")}function Hee(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)}function Yee(e){this.print(e.objectType,e),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)}});var Ex=g(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.BlockStatement=zee;bn.Directive=Qee;bn.DirectiveLiteral=tte;bn.File=Xee;bn.InterpreterDirective=rte;bn.Placeholder=nte;bn.Program=Jee;function Xee(e){e.program&&this.print(e.program.interpreter,e),this.print(e.program,e)}function Jee(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();let r=(t=e.directives)==null?void 0:t.length;if(r){var n;let s=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:s}),(n=e.directives[r-1].trailingComments)!=null&&n.length||this.newline(s)}this.printSequence(e.body,e)}function zee(e){var t;this.tokenChar(123);let r=(t=e.directives)==null?void 0:t.length;if(r){var n;let s=e.body.length?2:1;this.printSequence(e.directives,e,{indent:!0,trailingCommentsLineOffset:s}),(n=e.directives[r-1].trailingComments)!=null&&n.length||this.newline(s)}this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e)}function Qee(e){this.print(e.value,e),this.semicolon()}var Zee=/(?:^|[^\\])(?:\\\\)*'/,ete=/(?:^|[^\\])(?:\\\\)*"/;function tte(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let{value:r}=e;if(!ete.test(r))this.token(`"${r}"`);else if(!Zee.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 rte(e){this.token(`#!${e.value}`),this.newline(1,!0)}function nte(e){this.token("%%"),this.print(e.name),this.token("%%"),e.expectedNode==="Statement"&&this.semicolon()}});var vx=g(qt=>{"use strict";Object.defineProperty(qt,"__esModule",{value:!0});qt.JSXAttribute=ste;qt.JSXClosingElement=mte;qt.JSXClosingFragment=Ete;qt.JSXElement=pte;qt.JSXEmptyExpression=yte;qt.JSXExpressionContainer=ute;qt.JSXFragment=gte;qt.JSXIdentifier=ite;qt.JSXMemberExpression=ote;qt.JSXNamespacedName=ate;qt.JSXOpeningElement=hte;qt.JSXOpeningFragment=bte;qt.JSXSpreadAttribute=lte;qt.JSXSpreadChild=cte;qt.JSXText=fte;function ste(e){this.print(e.name,e),e.value&&(this.tokenChar(61),this.print(e.value,e))}function ite(e){this.word(e.name)}function ate(e){this.print(e.namespace,e),this.tokenChar(58),this.print(e.name,e)}function ote(e){this.print(e.object,e),this.tokenChar(46),this.print(e.property,e)}function lte(e){this.tokenChar(123),this.token("..."),this.print(e.argument,e),this.tokenChar(125)}function ute(e){this.tokenChar(123),this.print(e.expression,e),this.tokenChar(125)}function cte(e){this.tokenChar(123),this.token("..."),this.print(e.expression,e),this.tokenChar(125)}function fte(e){let t=this.getPossibleRaw(e);t!==void 0?this.token(t,!0):this.token(e.value,!0)}function pte(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 dte(){this.space()}function hte(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:dte})),e.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)}function mte(e){this.token("</"),this.print(e.name,e),this.tokenChar(62)}function yte(){this.printInnerComments()}function gte(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 bte(){this.tokenChar(60),this.tokenChar(62)}function Ete(){this.token("</"),this.tokenChar(62)}});var xx=g(oe=>{"use strict";Object.defineProperty(oe,"__esModule",{value:!0});oe.TSAnyKeyword=kte;oe.TSArrayType=tre;oe.TSSatisfiesExpression=oe.TSAsExpression=Ere;oe.TSBigIntKeyword=Bte;oe.TSBooleanKeyword=Mte;oe.TSCallSignatureDeclaration=wte;oe.TSConditionalType=lre;oe.TSConstructSignatureDeclaration=Dte;oe.TSConstructorType=Yte;oe.TSDeclareFunction=Pte;oe.TSDeclareMethod=Ate;oe.TSEnumDeclaration=Sre;oe.TSEnumMember=xre;oe.TSExportAssignment=Ore;oe.TSExpressionWithTypeArguments=mre;oe.TSExternalModuleReference=Dre;oe.TSFunctionType=Hte;oe.TSImportEqualsDeclaration=wre;oe.TSImportType=Cre;oe.TSIndexSignature=Nte;oe.TSIndexedAccessType=pre;oe.TSInferType=ure;oe.TSInstantiationExpression=Tre;oe.TSInterfaceBody=gre;oe.TSInterfaceDeclaration=yre;oe.TSIntersectionType=ore;oe.TSIntrinsicKeyword=Kte;oe.TSLiteralType=hre;oe.TSMappedType=dre;oe.TSMethodSignature=_te;oe.TSModuleBlock=Are;oe.TSModuleDeclaration=Pre;oe.TSNamedTupleMember=ire;oe.TSNamespaceExportDeclaration=_re;oe.TSNeverKeyword=Wte;oe.TSNonNullExpression=Ire;oe.TSNullKeyword=$te;oe.TSNumberKeyword=jte;oe.TSObjectKeyword=Lte;oe.TSOptionalType=nre;oe.TSParameterProperty=xte;oe.TSParenthesizedType=cre;oe.TSPropertySignature=Ite;oe.TSQualifiedName=Cte;oe.TSRestType=sre;oe.TSStringKeyword=Rte;oe.TSSymbolKeyword=qte;oe.TSThisType=Gte;oe.TSTupleType=rre;oe.TSTypeAliasDeclaration=bre;oe.TSTypeAnnotation=vte;oe.TSTypeAssertion=vre;oe.TSTypeLiteral=Zte;oe.TSTypeOperator=fre;oe.TSTypeParameter=Ste;oe.TSTypeParameterDeclaration=oe.TSTypeParameterInstantiation=Tte;oe.TSTypePredicate=zte;oe.TSTypeQuery=Qte;oe.TSTypeReference=Jte;oe.TSUndefinedKeyword=Vte;oe.TSUnionType=are;oe.TSUnknownKeyword=Fte;oe.TSVoidKeyword=Ute;oe.tsPrintClassMemberModifiers=kre;oe.tsPrintFunctionOrConstructorType=Xte;oe.tsPrintPropertyOrMethodName=Ote;oe.tsPrintSignatureDeclarationBase=Nre;oe.tsPrintTypeLiteralOrInterfaceBody=ere;function vte(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)}function Tte(e,t){this.tokenChar(60),this.printList(e.params,e,{}),t.type==="ArrowFunctionExpression"&&e.params.length===1&&this.tokenChar(44),this.tokenChar(62)}function Ste(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 xte(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)}function Pte(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.tokenChar(59)}function Ate(e){this._classMethodHead(e),this.tokenChar(59)}function Cte(e){this.print(e.left,e),this.tokenChar(46),this.print(e.right,e)}function wte(e){this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)}function Dte(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)}function Ite(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 Ote(e){e.computed&&this.tokenChar(91),this.print(e.key,e),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)}function _te(e){let{kind:t}=e;(t==="set"||t==="get")&&(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)}function Nte(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 kte(){this.word("any")}function Bte(){this.word("bigint")}function Fte(){this.word("unknown")}function jte(){this.word("number")}function Lte(){this.word("object")}function Mte(){this.word("boolean")}function Rte(){this.word("string")}function qte(){this.word("symbol")}function Ute(){this.word("void")}function Vte(){this.word("undefined")}function $te(){this.word("null")}function Wte(){this.word("never")}function Kte(){this.word("intrinsic")}function Gte(){this.word("this")}function Hte(e){this.tsPrintFunctionOrConstructorType(e)}function Yte(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)}function Xte(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 Jte(e){this.print(e.typeName,e,!0),this.print(e.typeParameters,e,!0)}function zte(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 Qte(e){this.word("typeof"),this.space(),this.print(e.exprName),e.typeParameters&&this.print(e.typeParameters,e)}function Zte(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function ere(e,t){Tm(this,e,t)}function Tm(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 tre(e){this.print(e.elementType,e,!0),this.token("[]")}function rre(e){this.tokenChar(91),this.printList(e.elementTypes,e),this.tokenChar(93)}function nre(e){this.print(e.typeAnnotation,e),this.tokenChar(63)}function sre(e){this.token("..."),this.print(e.typeAnnotation,e)}function ire(e){this.print(e.label,e),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType,e)}function are(e){Sx(this,e,"|")}function ore(e){Sx(this,e,"&")}function Sx(e,t,r){e.printJoin(t.types,t,{separator(){this.space(),this.token(r),this.space()}})}function lre(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 ure(e){this.token("infer"),this.space(),this.print(e.typeParameter)}function cre(e){this.tokenChar(40),this.print(e.typeAnnotation,e),this.tokenChar(41)}function fre(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation,e)}function pre(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)}function dre(e){let{nameType:t,optional:r,readonly:n,typeParameter:s}=e;this.tokenChar(123),this.space(),n&&(Tx(this,n),this.word("readonly"),this.space()),this.tokenChar(91),this.word(s.name),this.space(),this.word("in"),this.space(),this.print(s.constraint,s),t&&(this.space(),this.word("as"),this.space(),this.print(t,e)),this.tokenChar(93),r&&(Tx(this,r),this.tokenChar(63)),this.tokenChar(58),this.space(),this.print(e.typeAnnotation,e),this.space(),this.tokenChar(125)}function Tx(e,t){t!==!0&&e.token(t)}function hre(e){this.print(e.literal,e)}function mre(e){this.print(e.expression,e),this.print(e.typeParameters,e)}function yre(e){let{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r,e),this.print(n,e),s!=null&&s.length&&(this.space(),this.word("extends"),this.space(),this.printList(s,e)),this.space(),this.print(i,e)}function gre(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function bre(e){let{declare:t,id:r,typeParameters:n,typeAnnotation:s}=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(s,e),this.tokenChar(59)}function Ere(e){var t;let{type:r,expression:n,typeAnnotation:s}=e,i=!!((t=n.trailingComments)!=null&&t.length);this.print(n,e,!0,void 0,i),this.space(),this.word(r==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(s,e)}function vre(e){let{typeAnnotation:t,expression:r}=e;this.tokenChar(60),this.print(t,e),this.tokenChar(62),this.space(),this.print(r,e)}function Tre(e){this.print(e.expression,e),this.print(e.typeParameters,e)}function Sre(e){let{declare:t,const:r,id:n,members:s}=e;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(n,e),this.space(),Tm(this,s,e)}function xre(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 Pre(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 Are(e){Tm(this,e.body,e)}function Cre(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 wre(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 Dre(e){this.token("require("),this.print(e.expression,e),this.tokenChar(41)}function Ire(e){this.print(e.expression,e),this.tokenChar(33)}function Ore(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression,e),this.tokenChar(59)}function _re(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id,e)}function Nre(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 kre(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 Px=g(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});var Sm=QS();Object.keys(Sm).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Sm[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Sm[e]}})});var xm=tx();Object.keys(xm).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===xm[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return xm[e]}})});var Pm=ix();Object.keys(Pm).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Pm[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Pm[e]}})});var Am=ax();Object.keys(Am).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Am[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Am[e]}})});var Cm=ox();Object.keys(Cm).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Cm[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Cm[e]}})});var wm=gm();Object.keys(wm).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===wm[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return wm[e]}})});var Dm=Em();Object.keys(Dm).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Dm[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Dm[e]}})});var Im=bx();Object.keys(Im).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Im[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Im[e]}})});var Om=Ex();Object.keys(Om).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Om[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Om[e]}})});var _m=vx();Object.keys(_m).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===_m[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return _m[e]}})});var Nm=xx();Object.keys(Nm).forEach(function(e){e==="default"||e==="__esModule"||e in Ge&&Ge[e]===Nm[e]||Object.defineProperty(Ge,e,{enumerable:!0,get:function(){return Nm[e]}})})});var Cx=g(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.default=void 0;var Bre=AS(),Fre=mm(),jre=Ce(),Lre=Px(),{isFunction:Mre,isStatement:Rre,isClassBody:qre,isTSInterfaceBody:Ure,isTSEnumDeclaration:Vre}=jre,$re=/e/i,Wre=/\.0+$/,Kre=/^0[box]/,Gre=/^\s*[@#]__PURE__\s*$/,Ax=/[\n\r\u2028\u2029]/,Hre=/\*\//,{needsParens:Yre}=Fre,qa=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 Bre.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)&&!Kre.test(t)&&!$re.test(t)&&!Wre.test(t)&&t.charCodeAt(t.length-1)!==46}token(t,r=!1){this._maybePrintInnerComments();let n=this.getLastChar(),s=t.charCodeAt(0);(n===33&&(t==="--"||s===61)||s===43&&n===43||s===45&&n===45||s===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,s;for(s=0;s<n&&t.charCodeAt(s)===32;s++);if(s===n)return;let i=t.charCodeAt(s);if(i!==10){if(i!==47||s+1===n){this._parenPushNewlineState=null;return}let a=t.charCodeAt(s+1);if(a===42){if(Gre.test(t.slice(s+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 s=r==null||(n=r[t])==null?void 0:n.line;if(s!=null){let i=s-this._buf.getCurrentLine();for(let a=0;a<i;a++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(t,r,n){if(n)this._noLineTerminator=!0,this.print(t,r);else{let s={printed:!1};this._parenPushNewlineState=s,this.print(t,r),s.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(t,r,n,s,i){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=i||l.retainFunctionParens&&o==="FunctionExpression"&&((a=t.extra)==null?void 0:a.parenthesized)||Yre(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,s),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==null?void 0: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:s}=n;if(s==null&&this.format.retainLines){var i;let c=(i=t[0].loc)==null?void 0:i.start.line;c!=null&&c!==this._buf.getCurrentLine()&&(s=!0)}s&&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)}}s&&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:s,trailingComments:i}=t;s!=null&&s.length&&this._printComments(2,s,t,r,n),i!=null&&i.length&&this._printComments(2,i,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),s=this._indentInnerComments,i=this._printedComments.size;s&&this.indent(),this._printComments(1,r,t),n&&i!==this._printedComments.size&&this.space(),s&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(t,r,n={}){var s;n.statement=!0,(s=n.indent)!=null||(n.indent=!1),this.printJoin(t,r,n)}printList(t,r,n={}){n.separator==null&&(n.separator=Jre),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 s=r.nextNodeStartLine,i=this._lastCommentLine;if(s>0&&i>0){let a=s-i;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&&(Ax.test(t.value)||Hre.test(t.value))?2:(this._printedComments.add(t),this.format.shouldPrintComment(t.value)?1:0)}_printComment(t,r){let n=this._noLineTerminator,s=t.type==="CommentBlock",i=s&&r!==1&&!this._noLineTerminator;i&&this._buf.hasContent()&&r!==2&&this.newline(1);let a=this.getLastChar();a!==91&&a!==123&&this.space();let o;if(s){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,`
  16. `)}let c=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(c+=this._getIndent()),o=o.replace(/\n(?!$)/g,`
  17. ${" ".repeat(c)}`)}}else n?o=`/*${t.value}*/`:o=`//${t.value}`;this.endsWith(47)&&this._space(),this.source("start",t.loc),this._append(o,s),!s&&!n&&this.newline(1,!0),i&&r!==3&&this.newline(1)}_printComments(t,r,n,s,i=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 C=0;C<o;C++){let p=r[C],b=this._shouldPrintComment(p);if(b===2){l=!1;break}if(l&&p.loc&&b===1){let E=p.loc.start.line,O=p.loc.end.line;if(t===0){let P=0;C===0?this._buf.hasContent()&&(p.type==="CommentLine"||E!=O)&&(P=d=1):P=E-f,f=O,m(P),this._printComment(p,1),C+1===o&&(m(Math.max(u-f,d)),f=u)}else if(t===1){let P=E-(C===0?u:f);f=O,m(P),this._printComment(p,1),C+1===o&&(m(Math.min(1,c-f)),f=c)}else{let P=E-(C===0?c-i:f);f=O,m(P),this._printComment(p,1)}}else{if(l=!1,b!==1)continue;if(o===1){let E=p.loc?p.loc.start.line===p.loc.end.line:!Ax.test(p.value),O=E&&!Rre(n)&&!qre(s)&&!Ure(s)&&!Vre(s);t===0?this._printComment(p,O&&n.type!=="ObjectExpression"||E&&Mre(s,{body:n})?1:0):O&&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,C===0?2:C===o-1?3:0):this._printComment(p,0)}}t===2&&l&&f&&(this._lastCommentLine=f)}};Object.assign(qa.prototype,Lre);qa.prototype.Noop=function(){};var Xre=qa;ou.default=Xre;function Jre(){this.tokenChar(44),this.space()}});var uu=g(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.CodeGenerator=void 0;Ua.default=ene;var zre=PS(),Qre=Cx(),lu=class extends Qre.default{constructor(t,r={},n){let s=Zre(n,r),i=r.sourceMaps?new zre.default(r,n):null;super(s,i),this.ast=void 0,this.ast=t}generate(){return super.generate(this.ast)}};function Zre(e,t){var r;let n={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:(r=t.recordAndTupleSyntaxType)!=null?r:"hash",topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};n.decoratorsBeforeExport=t.decoratorsBeforeExport,n.jsescOption.json=t.jsonCompatibleStrings,n.minified?(n.compact=!0,n.shouldPrintComment=n.shouldPrintComment||(()=>n.comments)):n.shouldPrintComment=n.shouldPrintComment||(o=>n.comments||o.includes("@license")||o.includes("@preserve")),n.compact==="auto"&&(n.compact=typeof e=="string"&&e.length>5e5,n.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),n.compact&&(n.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:s,auxiliaryCommentAfter:i,shouldPrintComment:a}=n;return s&&!a(s)&&(n.auxiliaryCommentBefore=void 0),i&&!a(i)&&(n.auxiliaryCommentAfter=void 0),n}var km=class{constructor(t,r,n){this._generator=void 0,this._generator=new lu(t,r,n)}generate(){return this._generator.generate()}};Ua.CodeGenerator=km;function ene(e,t,r){return new lu(e,t,r).generate()}});var wx=g(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.find=sne;wr.findParent=nne;wr.getAncestry=une;wr.getDeepestCommonAncestorFrom=lne;wr.getEarliestCommonAncestorFrom=one;wr.getFunctionParent=ine;wr.getStatementParent=ane;wr.inType=pne;wr.isAncestor=cne;wr.isDescendant=fne;var tne=Ce(),{VISITOR_KEYS:rne}=tne;function nne(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null}function sne(e){let t=this;do if(e(t))return t;while(t=t.parentPath);return null}function ine(){return this.findParent(e=>e.isFunction())}function ane(){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 one(e){return this.getDeepestCommonAncestorFrom(e,function(t,r,n){let s,i=rne[t.type];for(let a of n){let o=a[r+1];if(!s){s=o;continue}if(o.listKey&&s.listKey===o.listKey&&o.key<s.key){s=o;continue}let l=i.indexOf(s.parentKey),u=i.indexOf(o.parentKey);l>u&&(s=o)}return s})}function lne(e,t){if(!e.length)return this;if(e.length===1)return e[0];let r=1/0,n,s,i=e.map(o=>{let l=[];do l.unshift(o);while((o=o.parentPath)&&o!==this);return l.length<r&&(r=l.length),l}),a=i[0];e:for(let o=0;o<r;o++){let l=a[o];for(let u of i)if(u[o]!==l)break e;n=o,s=l}if(s)return t?t(s,n,i):s;throw new Error("Couldn't find intersection")}function une(){let e=this,t=[];do t.push(e);while(e=e.parentPath);return t}function cne(e){return e.isDescendant(this)}function fne(e){return!!this.findParent(t=>t===e)}function pne(...e){let t=this;for(;t;){for(let r of e)if(t.node.type===r)return!0;t=t.parentPath}return!1}});var Fm=g(Bm=>{"use strict";Object.defineProperty(Bm,"__esModule",{value:!0});Bm.createUnionType=yne;var dne=Ce(),{createFlowUnionType:Dx,createTSUnionType:Ix,createUnionTypeAnnotation:hne,isFlowType:mne,isTSType:Dwe}=dne;function yne(e){{if(mne(e[0]))return Dx?Dx(e):hne(e);if(Ix)return Ix(e)}}});var Bx=g(jm=>{"use strict";Object.defineProperty(jm,"__esModule",{value:!0});jm.default=Tne;var gne=Ce(),_x=Fm(),{BOOLEAN_NUMBER_BINARY_OPERATORS:bne,createTypeAnnotationBasedOnTypeof:Ene,numberTypeAnnotation:Nx,voidTypeAnnotation:vne}=gne;function Tne(e){if(!this.isReferenced())return;let t=this.scope.getBinding(e.name);if(t)return t.identifier.typeAnnotation?t.identifier.typeAnnotation:Sne(t,this,e.name);if(e.name==="undefined")return vne();if(e.name==="NaN"||e.name==="Infinity")return Nx();e.name}function Sne(e,t,r){let n=[],s=[],i=Ox(e,t,s),a=kx(e,t,r);if(a){let o=Ox(e,a.ifStatement);i=i.filter(l=>o.indexOf(l)<0),n.push(a.typeAnnotation)}if(i.length){i.push(...s);for(let o of i)n.push(o.getTypeAnnotation())}if(n.length)return(0,_x.createUnionType)(n)}function Ox(e,t,r){let n=e.constantViolations.slice();return n.unshift(e.path),n.filter(s=>{s=s.resolve();let i=s._guessExecutionStatusRelativeTo(t);return r&&i==="unknown"&&r.push(s),i==="before"})}function xne(e,t){let r=t.node.operator,n=t.get("right").resolve(),s=t.get("left").resolve(),i;if(s.isIdentifier({name:e})?i=n:n.isIdentifier({name:e})&&(i=s),i)return r==="==="?i.getTypeAnnotation():bne.indexOf(r)>=0?Nx():void 0;if(r!=="==="&&r!=="==")return;let a,o;if(s.isUnaryExpression({operator:"typeof"})?(a=s,o=n):n.isUnaryExpression({operator:"typeof"})&&(a=n,o=s),!a||!a.get("argument").isIdentifier({name:e})||(o=o.resolve(),!o.isLiteral()))return;let l=o.node.value;if(typeof l=="string")return Ene(l)}function Pne(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 kx(e,t,r){let n=Pne(e,t,r);if(!n)return;let i=[n.get("test")],a=[];for(let o=0;o<i.length;o++){let l=i[o];if(l.isLogicalExpression())l.node.operator==="&&"&&(i.push(l.get("left")),i.push(l.get("right")));else if(l.isBinaryExpression()){let u=xne(r,l);u&&a.push(u)}}return a.length?{typeAnnotation:(0,_x.createUnionType)(a),ifStatement:n}:kx(e,n,r)}});var Vx=g(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt.ArrayExpression=Rx;nt.AssignmentExpression=Hne;nt.BinaryExpression=Vne;nt.BooleanLiteral=zne;nt.CallExpression=ase;nt.ConditionalExpression=Wne;nt.ClassDeclaration=nt.ClassExpression=nt.FunctionDeclaration=nt.ArrowFunctionExpression=nt.FunctionExpression=tse;Object.defineProperty(nt,"Identifier",{enumerable:!0,get:function(){return Cne.default}});nt.LogicalExpression=$ne;nt.NewExpression=Rne;nt.NullLiteral=Qne;nt.NumericLiteral=Jne;nt.ObjectExpression=ese;nt.ParenthesizedExpression=Gne;nt.RegExpLiteral=Zne;nt.RestElement=qx;nt.SequenceExpression=Kne;nt.StringLiteral=Xne;nt.TSAsExpression=Mx;nt.TSNonNullExpression=Mne;nt.TaggedTemplateExpression=ose;nt.TemplateLiteral=qne;nt.TypeCastExpression=Lx;nt.UnaryExpression=Une;nt.UpdateExpression=Yne;nt.VariableDeclarator=Lne;var Ane=Ce(),Cne=Bx(),jx=Fm(),{BOOLEAN_BINARY_OPERATORS:wne,BOOLEAN_UNARY_OPERATORS:Dne,NUMBER_BINARY_OPERATORS:Ine,NUMBER_UNARY_OPERATORS:One,STRING_UNARY_OPERATORS:_ne,anyTypeAnnotation:Fx,arrayTypeAnnotation:Lm,booleanTypeAnnotation:Mm,buildMatchMemberExpression:cu,genericTypeAnnotation:zn,identifier:ws,nullLiteralTypeAnnotation:Nne,numberTypeAnnotation:yi,stringTypeAnnotation:Ds,tupleTypeAnnotation:kne,unionTypeAnnotation:Bne,voidTypeAnnotation:Fne,isIdentifier:jne}=Ane;function Lne(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function Lx(e){return e.typeAnnotation}Lx.validParent=!0;function Mx(e){return e.typeAnnotation}Mx.validParent=!0;function Mne(){return this.get("expression").getTypeAnnotation()}function Rne(e){if(e.callee.type==="Identifier")return zn(e.callee)}function qne(){return Ds()}function Une(e){let t=e.operator;if(t==="void")return Fne();if(One.indexOf(t)>=0)return yi();if(_ne.indexOf(t)>=0)return Ds();if(Dne.indexOf(t)>=0)return Mm()}function Vne(e){let t=e.operator;if(Ine.indexOf(t)>=0)return yi();if(wne.indexOf(t)>=0)return Mm();if(t==="+"){let r=this.get("right"),n=this.get("left");return n.isBaseType("number")&&r.isBaseType("number")?yi():n.isBaseType("string")||r.isBaseType("string")?Ds():Bne([Ds(),yi()])}}function $ne(){let e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,jx.createUnionType)(e)}function Wne(){let e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,jx.createUnionType)(e)}function Kne(){return this.get("expressions").pop().getTypeAnnotation()}function Gne(){return this.get("expression").getTypeAnnotation()}function Hne(){return this.get("right").getTypeAnnotation()}function Yne(e){let t=e.operator;if(t==="++"||t==="--")return yi()}function Xne(){return Ds()}function Jne(){return yi()}function zne(){return Mm()}function Qne(){return Nne()}function Zne(){return zn(ws("RegExp"))}function ese(){return zn(ws("Object"))}function Rx(){return zn(ws("Array"))}function qx(){return Rx()}qx.validParent=!0;function tse(){return zn(ws("Function"))}var rse=cu("Array.from"),nse=cu("Object.keys"),sse=cu("Object.values"),ise=cu("Object.entries");function ase(){let{callee:e}=this.node;return nse(e)?Lm(Ds()):rse(e)||sse(e)||jne(e,{name:"Array"})?Lm(Fx()):ise(e)?Lm(kne([Ds(),Fx()])):Ux(this.get("callee"))}function ose(){return Ux(this.get("tag"))}function Ux(e){if(e=e.resolve(),e.isFunction()){let{node:t}=e;if(t.async)return t.generator?zn(ws("AsyncIterator")):zn(ws("Promise"));if(t.generator)return zn(ws("Iterator"));if(e.node.returnType)return e.node.returnType}}});var Gx=g(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn._getTypeAnnotation=wse;Qn.baseTypeStrictlyMatches=Ose;Qn.couldBeBaseType=Ise;Qn.getTypeAnnotation=Cse;Qn.isBaseType=Dse;Qn.isGenericType=_se;var $x=Vx(),lse=Ce(),{anyTypeAnnotation:Kx,isAnyTypeAnnotation:fu,isArrayTypeAnnotation:use,isBooleanTypeAnnotation:cse,isEmptyTypeAnnotation:fse,isFlowBaseAnnotation:pse,isGenericTypeAnnotation:dse,isIdentifier:Wx,isMixedTypeAnnotation:hse,isNumberTypeAnnotation:mse,isStringTypeAnnotation:yse,isTSArrayType:gse,isTSTypeAnnotation:bse,isTSTypeReference:Ese,isTupleTypeAnnotation:vse,isTypeAnnotation:Tse,isUnionTypeAnnotation:Sse,isVoidTypeAnnotation:xse,stringTypeAnnotation:Pse,voidTypeAnnotation:Ase}=lse;function Cse(){let e=this.getData("typeAnnotation");return e!=null||(e=this._getTypeAnnotation()||Kx(),(Tse(e)||bse(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e}var Rm=new WeakSet;function wse(){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()?Pse():r.key==="left"&&n.isForOfStatement()?Kx():Ase()}else return;if(e.typeAnnotation)return e.typeAnnotation;if(!Rm.has(e)){Rm.add(e);try{var t;let r=$x[e.type];if(r)return r.call(this,e);if(r=$x[this.parentPath.type],(t=r)!=null&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{Rm.delete(e)}}}function Dse(e,t){return qm(e,this.getTypeAnnotation(),t)}function qm(e,t,r){if(e==="string")return yse(t);if(e==="number")return mse(t);if(e==="boolean")return cse(t);if(e==="any")return fu(t);if(e==="mixed")return hse(t);if(e==="empty")return fse(t);if(e==="void")return xse(t);if(r)return!1;throw new Error(`Unknown base type ${e}`)}function Ise(e){let t=this.getTypeAnnotation();if(fu(t))return!0;if(Sse(t)){for(let r of t.types)if(fu(r)||qm(e,r,!0))return!0;return!1}else return qm(e,t,!0)}function Ose(e){let t=this.getTypeAnnotation(),r=e.getTypeAnnotation();return!fu(t)&&pse(t)?r.type===t.type:!1}function _se(e){let t=this.getTypeAnnotation();return e==="Array"&&(gse(t)||use(t)||vse(t))?!0:dse(t)&&Wx(t.id,{name:e})||Ese(t)&&Wx(t.typeName,{name:e})}});var Hx=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 Xx=g((Bwe,Yx)=>{"use strict";var Nse=/[|\\{}()[\]^$+*?.]/g;Yx.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(Nse,"\\$&")}});var zx=g((Fwe,Jx)=>{"use strict";Jx.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 Um=g((jwe,tP)=>{var Is=zx(),eP={};for(du in Is)Is.hasOwnProperty(du)&&(eP[Is[du]]=du);var du,ge=tP.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(nr in ge)if(ge.hasOwnProperty(nr)){if(!("channels"in ge[nr]))throw new Error("missing channels property: "+nr);if(!("labels"in ge[nr]))throw new Error("missing channel labels property: "+nr);if(ge[nr].labels.length!==ge[nr].channels)throw new Error("channel and label counts mismatch: "+nr);Qx=ge[nr].channels,Zx=ge[nr].labels,delete ge[nr].channels,delete ge[nr].labels,Object.defineProperty(ge[nr],"channels",{value:Qx}),Object.defineProperty(ge[nr],"labels",{value:Zx})}var Qx,Zx,nr;ge.rgb.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.min(t,r,n),i=Math.max(t,r,n),a=i-s,o,l,u;return i===s?o=0:t===i?o=(r-n)/a:r===i?o=2+(n-t)/a:n===i&&(o=4+(t-r)/a),o=Math.min(o*60,360),o<0&&(o+=360),u=(s+i)/2,i===s?l=0:u<=.5?l=a/(i+s):l=a/(2-i-s),[o,l*100,u*100]};ge.rgb.hsv=function(e){var t,r,n,s,i,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?s=i=0:(i=c/u,t=f(a),r=f(o),n=f(l),a===u?s=n-r:o===u?s=1/3+t-n:l===u&&(s=2/3+r-t),s<0?s+=1:s>1&&(s-=1)),[s*360,i*100,u*100]};ge.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],s=ge.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[s,i*100,n*100]};ge.rgb.cmyk=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,s,i,a,o;return o=Math.min(1-t,1-r,1-n),s=(1-t-o)/(1-o)||0,i=(1-r-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,[s*100,i*100,a*100,o*100]};function kse(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}ge.rgb.keyword=function(e){var t=eP[e];if(t)return t;var r=1/0,n;for(var s in Is)if(Is.hasOwnProperty(s)){var i=Is[s],a=kse(e,i);a<r&&(r=a,n=s)}return n};ge.keyword.rgb=function(e){return Is[e]};ge.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 s=t*.4124+r*.3576+n*.1805,i=t*.2126+r*.7152+n*.0722,a=t*.0193+r*.1192+n*.9505;return[s*100,i*100,a*100]};ge.rgb.lab=function(e){var t=ge.rgb.xyz(e),r=t[0],n=t[1],s=t[2],i,a,o;return r/=95.047,n/=100,s/=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,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,i=116*n-16,a=500*(r-n),o=200*(n-s),[i,a,o]};ge.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,s,i,a,o,l;if(r===0)return l=n*255,[l,l,l];n<.5?i=n*(1+r):i=n+r-n*r,s=2*n-i,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=s+(i-s)*6*a:2*a<1?l=i:3*a<2?l=s+(i-s)*(2/3-a)*6:l=s,o[u]=l*255;return o};ge.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,s=r,i=Math.max(n,.01),a,o;return n*=2,r*=n<=1?n:2-n,s*=i<=1?i:2-i,o=(n+r)/2,a=n===0?2*s/(i+s):2*r/(n+r),[t,a*100,o*100]};ge.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,s=Math.floor(t)%6,i=t-Math.floor(t),a=255*n*(1-r),o=255*n*(1-r*i),l=255*n*(1-r*(1-i));switch(n*=255,s){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]}};ge.hsv.hsl=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,s=Math.max(n,.01),i,a,o;return o=(2-r)*n,i=(2-r)*s,a=r*s,a/=i<=1?i:2-i,a=a||0,o/=2,[t,a*100,o*100]};ge.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,s=r+n,i,a,o,l;s>1&&(r/=s,n/=s),i=Math.floor(6*t),a=1-n,o=6*t-i,i&1&&(o=1-o),l=r+o*(a-r);var u,c,f;switch(i){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]};ge.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,s=e[3]/100,i,a,o;return i=1-Math.min(1,t*(1-s)+s),a=1-Math.min(1,r*(1-s)+s),o=1-Math.min(1,n*(1-s)+s),[i*255,a*255,o*255]};ge.xyz.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,s,i,a;return s=t*3.2406+r*-1.5372+n*-.4986,i=t*-.9689+r*1.8758+n*.0415,a=t*.0557+r*-.204+n*1.057,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,s=Math.min(Math.max(0,s),1),i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),[s*255,i*255,a*255]};ge.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2],s,i,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,s=116*r-16,i=500*(t-r),a=200*(r-n),[s,i,a]};ge.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],s,i,a;i=(t+16)/116,s=r/500+i,a=i-n/200;var o=Math.pow(i,3),l=Math.pow(s,3),u=Math.pow(a,3);return i=o>.008856?o:(i-16/116)/7.787,s=l>.008856?l:(s-16/116)/7.787,a=u>.008856?u:(a-16/116)/7.787,s*=95.047,i*=100,a*=108.883,[s,i,a]};ge.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],s,i,a;return s=Math.atan2(n,r),i=s*360/2/Math.PI,i<0&&(i+=360),a=Math.sqrt(r*r+n*n),[t,a,i]};ge.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],s,i,a;return a=n/360*2*Math.PI,s=r*Math.cos(a),i=r*Math.sin(a),[t,s,i]};ge.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],s=1 in arguments?arguments[1]:ge.rgb.hsv(e)[2];if(s=Math.round(s/50),s===0)return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return s===2&&(i+=60),i};ge.hsv.ansi16=function(e){return ge.rgb.ansi16(ge.hsv.rgb(e),e[2])};ge.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 s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};ge.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,s=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[n,s,i]};ge.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,s=Math.floor((r=e%36)/6)/5*255,i=r%6/5*255;return[n,s,i]};ge.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};ge.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),s=n>>16&255,i=n>>8&255,a=n&255;return[s,i,a]};ge.rgb.hcg=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),a=s-i,o,l;return a<1?o=i/(1-a):o=0,a<=0?l=0:s===t?l=(r-n)/a%6:s===r?l=2+(n-t)/a:l=4+(t-r)/a+4,l/=6,l%=1,[l*360,a*100,o*100]};ge.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,s=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(s=(r-.5*n)/(1-n)),[e[0],n*100,s*100]};ge.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,s=0;return n<1&&(s=(r-n)/(1-n)),[e[0],n*100,s*100]};ge.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 s=[0,0,0],i=t%1*6,a=i%1,o=1-a,l=0;switch(Math.floor(i)){case 0:s[0]=1,s[1]=a,s[2]=0;break;case 1:s[0]=o,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=a;break;case 3:s[0]=0,s[1]=o,s[2]=1;break;case 4:s[0]=a,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=o}return l=(1-r)*n,[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};ge.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),s=0;return n>0&&(s=t/n),[e[0],s*100,n*100]};ge.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,s=0;return n>0&&n<.5?s=t/(2*n):n>=.5&&n<1&&(s=t/(2*(1-n))),[e[0],s*100,n*100]};ge.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]};ge.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,s=n-t,i=0;return s<1&&(i=(n-s)/(1-s)),[e[0],s*100,i*100]};ge.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};ge.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};ge.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};ge.gray.hsl=ge.gray.hsv=function(e){return[0,0,e[0]]};ge.gray.hwb=function(e){return[0,100,e[0]]};ge.gray.cmyk=function(e){return[0,0,0,e[0]]};ge.gray.lab=function(e){return[e[0],0,0]};ge.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};ge.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var nP=g((Lwe,rP)=>{var hu=Um();function Bse(){for(var e={},t=Object.keys(hu),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function Fse(e){var t=Bse(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),s=Object.keys(hu[n]),i=s.length,a=0;a<i;a++){var o=s[a],l=t[o];l.distance===-1&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(o))}return t}function jse(e,t){return function(r){return t(e(r))}}function Lse(e,t){for(var r=[t[e].parent,e],n=hu[t[e].parent][e],s=t[e].parent;t[s].parent;)r.unshift(t[s].parent),n=jse(hu[t[s].parent][s],n),s=t[s].parent;return n.conversion=r,n}rP.exports=function(e){for(var t=Fse(e),r={},n=Object.keys(t),s=n.length,i=0;i<s;i++){var a=n[i],o=t[a];o.parent!==null&&(r[a]=Lse(a,t))}return r}});var iP=g((Mwe,sP)=>{var Vm=Um(),Mse=nP(),gi={},Rse=Object.keys(Vm);function qse(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 Use(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 s=n.length,i=0;i<s;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}Rse.forEach(function(e){gi[e]={},Object.defineProperty(gi[e],"channels",{value:Vm[e].channels}),Object.defineProperty(gi[e],"labels",{value:Vm[e].labels});var t=Mse(e),r=Object.keys(t);r.forEach(function(n){var s=t[n];gi[e][n]=Use(s),gi[e][n].raw=qse(s)})});sP.exports=gi});var oP=g((Rwe,aP)=>{"use strict";var bi=iP(),mu=(e,t)=>function(){return`\x1B[${e.apply(bi,arguments)+t}m`},yu=(e,t)=>function(){let r=e.apply(bi,arguments);return`\x1B[${38+t};5;${r}m`},gu=(e,t)=>function(){let r=e.apply(bi,arguments);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function Vse(){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 s of Object.keys(t)){let i=t[s];for(let a of Object.keys(i)){let o=i[a];t[a]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},i[a]=t[a],e.set(o[0],o[1])}Object.defineProperty(t,s,{value:i,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let r=s=>s,n=(s,i,a)=>[s,i,a];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:mu(r,0)},t.color.ansi256={ansi256:yu(r,0)},t.color.ansi16m={rgb:gu(n,0)},t.bgColor.ansi={ansi:mu(r,10)},t.bgColor.ansi256={ansi256:yu(r,10)},t.bgColor.ansi16m={rgb:gu(n,10)};for(let s of Object.keys(bi)){if(typeof bi[s]!="object")continue;let i=bi[s];s==="ansi16"&&(s="ansi"),"ansi16"in i&&(t.color.ansi[s]=mu(i.ansi16,0),t.bgColor.ansi[s]=mu(i.ansi16,10)),"ansi256"in i&&(t.color.ansi256[s]=yu(i.ansi256,0),t.bgColor.ansi256[s]=yu(i.ansi256,10)),"rgb"in i&&(t.color.ansi16m[s]=gu(i.rgb,0),t.bgColor.ansi16m[s]=gu(i.rgb,10))}return t}Object.defineProperty(aP,"exports",{enumerable:!0,get:Vse})});var pP=g((qwe,fP)=>{"use strict";var $se=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,lP=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Wse=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Kse=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Gse=new Map([["n",`
  18. `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function cP(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):Gse.get(e)||e}function Hse(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),s;for(let i of n)if(!isNaN(i))r.push(Number(i));else if(s=i.match(Wse))r.push(s[2].replace(Kse,(a,o,l)=>o?cP(o):l));else throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`);return r}function Yse(e){lP.lastIndex=0;let t=[],r;for(;(r=lP.exec(e))!==null;){let n=r[1];if(r[2]){let s=Hse(n,r[2]);t.push([n].concat(s))}else t.push([n])}return t}function uP(e,t){let r={};for(let s of t)for(let i of s.styles)r[i[0]]=s.inverse?null:i.slice(1);let n=e;for(let s of Object.keys(r))if(Array.isArray(r[s])){if(!(s in n))throw new Error(`Unknown Chalk style: ${s}`);r[s].length>0?n=n[s].apply(n,r[s]):n=n[s]}return n}fP.exports=(e,t)=>{let r=[],n=[],s=[];if(t.replace($se,(i,a,o,l,u,c)=>{if(a)s.push(cP(a));else if(l){let f=s.join("");s=[],n.push(r.length===0?f:uP(e,r)(f)),r.push({inverse:o,styles:Yse(l)})}else if(u){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(uP(e,r)(s.join(""))),s=[],r.pop()}else s.push(c)}),n.push(s.join("")),r.length>0){let i=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(i)}return n.join("")}});var Km=g((Uwe,$a)=>{"use strict";var Wm=Xx(),Ot=oP(),$m=Uh().stdout,Xse=pP(),hP=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),mP=["ansi","ansi","ansi256","ansi16m"],yP=new Set(["gray"]),Ei=Object.create(null);function dP(e,t){t=t||{};let r=$m?$m.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function Va(e){if(!this||!(this instanceof Va)||this.template){let t={};return dP(t,e),t.template=function(){let r=[].slice.call(arguments);return Qse.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,Va.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Va,t.template}dP(this,e)}hP&&(Ot.blue.open="\x1B[94m");for(let e of Object.keys(Ot))Ot[e].closeRe=new RegExp(Wm(Ot[e].close),"g"),Ei[e]={get(){let t=Ot[e];return bu.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Ei.visible={get(){return bu.call(this,this._styles||[],!0,"visible")}};Ot.color.closeRe=new RegExp(Wm(Ot.color.close),"g");for(let e of Object.keys(Ot.color.ansi))yP.has(e)||(Ei[e]={get(){let t=this.level;return function(){let n={open:Ot.color[mP[t]][e].apply(null,arguments),close:Ot.color.close,closeRe:Ot.color.closeRe};return bu.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});Ot.bgColor.closeRe=new RegExp(Wm(Ot.bgColor.close),"g");for(let e of Object.keys(Ot.bgColor.ansi)){if(yP.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Ei[t]={get(){let r=this.level;return function(){let s={open:Ot.bgColor[mP[r]][e].apply(null,arguments),close:Ot.bgColor.close,closeRe:Ot.bgColor.closeRe};return bu.call(this,this._styles?this._styles.concat(s):[s],this._empty,e)}}}}var Jse=Object.defineProperties(()=>{},Ei);function bu(e,t,r){let n=function(){return zse.apply(n,arguments)};n._styles=e,n._empty=t;let s=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return s.level},set(i){s.level=i}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return s.enabled},set(i){s.enabled=i}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=Jse,n}function zse(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return"";if(t>1)for(let s=1;s<t;s++)r+=" "+e[s];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;let n=Ot.dim.open;hP&&this.hasGrey&&(Ot.dim.open="");for(let s of this._styles.slice().reverse())r=s.open+r.replace(s.closeRe,s.open)+s.close,r=r.replace(/\r?\n/g,`${s.close}$&${s.open}`);return Ot.dim.open=n,r}function Qse(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let r=[].slice.call(arguments,2),n=[t.raw[0]];for(let s=1;s<t.length;s++)n.push(String(r[s-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[s]));return Xse(e,n.join(""))}Object.defineProperties(Va.prototype,Ei);$a.exports=Va();$a.exports.supportsColor=$m;$a.exports.default=$a.exports});var xP=g(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.default=iie;Wa.shouldHighlight=TP;var gP=Hx(),bP=ri(),Hm=Zse(Km(),!0);function EP(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(EP=function(n){return n?r:t})(e)}function Zse(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=EP(t);if(r&&r.has(e))return r.get(e);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var eie=new Set(["as","async","from","get","of","set"]);function tie(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 rie=/\r\n|[\n\r\u2028\u2029]/,nie=/^[()[\]{}]$/,vP;{let e=/^[a-z][\w-]*$/i,t=function(r,n,s){if(r.type==="name"){if((0,bP.isKeyword)(r.value)||(0,bP.isStrictReservedWord)(r.value,!0)||eie.has(r.value))return"keyword";if(e.test(r.value)&&(s[n-1]==="<"||s.slice(n-2,n)=="</"))return"jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return"capitalized"}return r.type==="punctuator"&&nie.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};vP=function*(r){let n;for(;n=gP.default.exec(r);){let s=gP.matchToToken(n);yield{type:t(s,n.index,r),value:s.value}}}}function sie(e,t){let r="";for(let{type:n,value:s}of vP(t)){let i=e[n];i?r+=s.split(rie).map(a=>i(a)).join(`
  19. `):r+=s}return r}function TP(e){return Hm.default.level>0||e.forceColor}var Gm;function SP(e){if(e){var t;return(t=Gm)!=null||(Gm=new Hm.default.constructor({enabled:!0,level:1})),Gm}return Hm.default}Wa.getChalk=e=>SP(e.forceColor);function iie(e,t={}){if(e!==""&&TP(t)){let r=tie(SP(t.forceColor));return sie(r,e)}else return e}});var vi=g(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});Eu.codeFrameColumns=IP;Eu.default=cie;var PP=xP(),AP=aie(Km(),!0);function DP(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(DP=function(n){return n?r:t})(e)}function aie(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=DP(t);if(r&&r.has(e))return r.get(e);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Ym;function oie(e){if(e){var t;return(t=Ym)!=null||(Ym=new AP.default.constructor({enabled:!0,level:1})),Ym}return AP.default}var CP=!1;function lie(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var wP=/\r\n|[\n\r\u2028\u2029]/;function uie(e,t,r){let n=Object.assign({column:0,line:-1},e.start),s=Object.assign({},n,e.end),{linesAbove:i=2,linesBelow:a=3}=r||{},o=n.line,l=n.column,u=s.line,c=s.column,f=Math.max(o-(i+1),0),d=Math.min(t.length,u+a);o===-1&&(f=0),u===-1&&(d=t.length);let m=u-o,C={};if(m)for(let p=0;p<=m;p++){let b=p+o;if(!l)C[b]=!0;else if(p===0){let E=t[b-1].length;C[b]=[l,E-l+1]}else if(p===m)C[b]=[0,c];else{let E=t[b-p].length;C[b]=[0,E]}}else l===c?l?C[o]=[l,0]:C[o]=!0:C[o]=[l,c-l];return{start:f,end:d,markerLines:C}}function IP(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,PP.shouldHighlight)(r),s=oie(r.forceColor),i=lie(s),a=(p,b)=>n?p(b):b,o=e.split(wP),{start:l,end:u,markerLines:c}=uie(t,o,r),f=t.start&&typeof t.start.column=="number",d=String(u).length,C=(n?(0,PP.default)(e,r):e).split(wP,u).slice(l,u).map((p,b)=>{let E=l+1+b,P=` ${` ${E}`.slice(-d)} |`,A=c[E],I=!c[E+1];if(A){let k="";if(Array.isArray(A)){let B=p.slice(0,Math.max(A[0]-1,0)).replace(/[^\t]/g," "),M=A[1]||1;k=[`
  20. `,a(i.gutter,P.replace(/\d/g," "))," ",B,a(i.marker,"^").repeat(M)].join(""),I&&r.message&&(k+=" "+a(i.message,r.message))}return[a(i.marker,">"),a(i.gutter,P),p.length>0?` ${p}`:"",k].join("")}else return` ${a(i.gutter,P)}${p.length>0?` ${p}`:""}`}).join(`
  21. `);return r.message&&!f&&(C=`${" ".repeat(d+1)}${r.message}
  22. ${C}`),n?s.reset(C):C}function cie(e,t,r,n={}){if(!CP){CP=!0;let i="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(i,"DeprecationWarning");else{let a=new Error(i);a.name="DeprecationWarning",console.warn(new Error(i))}}return r=Math.max(r,0),IP(e,{start:{column:r,line:t}},n)}});var Ii=g(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});function Cu(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,i;for(i=0;i<n.length;i++)s=n[i],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}var rn=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}},Ci=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 ir(e,t){let{line:r,column:n,index:s}=e;return new rn(r,n+t,s+t)}var OP="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",fie={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:OP},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:OP}},_P={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"},Su=({type:e,prefix:t})=>e==="UpdateExpression"?_P.UpdateExpression[String(t)]:_P[e],pie={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.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:e})=>`'import.${e}(...)' can only be parsed when using the 'createImportExpressions' option.`,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\`.
  23. - 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.
  24. - 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 ${Su(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${Su(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${Su(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 disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin: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.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword: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."},die={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."},hie=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),mie={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 ${Su({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.'},yie=["toMessage"],gie=["message"];function NP(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function bie(e){let{toMessage:t}=e,r=Cu(e,yie);return function n({loc:s,details:i}){let a=new SyntaxError;return Object.assign(a,r,{loc:s,pos:s.index}),"missingPlugin"in i&&Object.assign(a,{missingPlugin:i.missingPlugin}),NP(a,"clone",function(l={}){var u;let{line:c,column:f,index:d}=(u=l.loc)!=null?u:s;return n({loc:new rn(c,f,d),details:Object.assign({},i,l.details)})}),NP(a,"details",i),Object.defineProperty(a,"message",{configurable:!0,get(){let o=`${t(i)} (${s.line}:${s.column})`;return this.message=o,o},set(o){Object.defineProperty(this,"message",{value:o,writable:!0})}}),a}}function Sn(e,t){if(Array.isArray(e))return n=>Sn(n,e[0]);let r={};for(let n of Object.keys(e)){let s=e[n],i=typeof s=="string"?{message:()=>s}:typeof s=="function"?{message:s}:s,{message:a}=i,o=Cu(i,gie),l=typeof a=="string"?()=>a:a;r[n]=bie(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:l},t?{syntaxPlugin:t}:{},o))}return r}var _=Object.assign({},Sn(fie),Sn(pie),Sn(die),Sn`pipelineOperator`(mie)),{defineProperty:Eie}=Object,kP=(e,t)=>Eie(e,t,{enumerable:!1,value:e[t]});function Ka(e){return e.loc.start&&kP(e.loc.start,"index"),e.loc.end&&kP(e.loc.end,"index"),e}var vie=e=>class extends e{parse(){let r=Ka(super.parse());return this.options.tokens&&(r.tokens=r.tokens.map(Ka)),r}parseRegExpLiteral({pattern:r,flags:n}){let s=null;try{s=new RegExp(r,n)}catch{}let i=this.estreeParseLiteral(s);return i.regex={pattern:r,flags:n},i}parseBigIntLiteral(r){let n;try{n=BigInt(r)}catch{n=null}let s=this.estreeParseLiteral(n);return s.bigint=String(s.value||r),s}parseDecimalLiteral(r){let s=this.estreeParseLiteral(null);return s.decimal=String(s.value||r),s}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 s=r;return s.type="ExpressionStatement",s.expression=n,s.directive=n.extra.rawValue,delete n.extra,s}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,s,i,a){super.parseBlockBody(r,n,s,i,a);let o=r.directives.map(l=>this.directiveToStmt(l));r.body=o.concat(r.body),delete r.directives}pushClassMethod(r,n,s,i,a,o){this.parseMethod(n,s,i,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 s=super.parseLiteral(r,n);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(r,n,s=!1){super.parseFunctionBody(r,n,s),r.expression=r.body.type!=="BlockStatement"}parseMethod(r,n,s,i,a,o,l=!1){let u=this.startNode();return u.kind=r.kind,u=super.parseMethod(u,n,s,i,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,s,i,a){let o=super.parseObjectMethod(r,n,s,i,a);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(r,n,s,i){let a=super.parseObjectProperty(r,n,s,i);return a&&(a.kind="init",a.type="Property"),a}isValidLVal(r,n,s){return r==="Property"?"value":super.isValidLVal(r,n,s)}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:s,value:i}=r;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(i,n)}else super.toAssignable(r,n)}toAssignableObjectExpressionProp(r,n,s){r.kind==="get"||r.kind==="set"?this.raise(_.PatternHasAccessor,{at:r.key}):r.method?this.raise(_.PatternHasMethod,{at:r.key}):super.toAssignableObjectExpressionProp(r,n,s)}finishCallExpression(r,n){let s=super.finishCallExpression(r,n);if(s.callee.type==="Import"){if(s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var i,a;s.options=(i=s.arguments[1])!=null?i:null,s.attributes=(a=s.arguments[1])!=null?a:null}delete s.arguments,delete s.callee}return s}toReferencedArguments(r){r.type!=="ImportExpression"&&super.toReferencedArguments(r)}parseExport(r,n){let s=this.state.lastTokStartLoc,i=super.parseExport(r,n);switch(i.type){case"ExportAllDeclaration":i.exported=null;break;case"ExportNamedDeclaration":i.specifiers.length===1&&i.specifiers[0].type==="ExportNamespaceSpecifier"&&(i.type="ExportAllDeclaration",i.exported=i.specifiers[0].exported,delete i.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=i;(o==null?void 0:o.type)==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===i.start&&this.resetStartLocation(i,s)}break}return i}parseSubscript(r,n,s,i){let a=super.parseSubscript(r,n,s,i);if(i.optionalChainMember){if((a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression")&&(a.type=a.type.substring(8)),i.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}isOptionalMemberExpression(r){return r.type==="ChainExpression"?r.expression.type==="MemberExpression":super.isOptionalMemberExpression(r)}hasPropertyAsPrivateName(r){return r.type==="ChainExpression"&&(r=r.expression),super.hasPropertyAsPrivateName(r)}isObjectProperty(r){return r.type==="Property"&&r.kind==="init"&&!r.method}isObjectMethod(r){return r.method||r.kind==="get"||r.kind==="set"}finishNodeAt(r,n,s){return Ka(super.finishNodeAt(r,n,s))}resetStartLocation(r,n){super.resetStartLocation(r,n),Ka(r)}resetEndLocation(r,n=this.state.lastTokEndLoc){super.resetEndLocation(r,n),Ka(r)}},_s=class{constructor(t,r){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!r}},ct={brace:new _s("{"),j_oTag:new _s("<tag"),j_cTag:new _s("</tag"),j_expr:new _s("<tag>...</tag>",!0)};ct.template=new _s("`",!0);var Le=!0,ae=!0,Xm=!0,Ga=!0,Zn=!0,Tie=!0,wu=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}},vy=new Map;function He(e,t={}){t.keyword=e;let r=Te(e,t);return vy.set(e,r),r}function sr(e,t){return Te(e,{beforeExpr:Le,binop:t})}var Ja=-1,vn=[],Ty=[],Sy=[],xy=[],Py=[],Ay=[];function Te(e,t={}){var r,n,s,i;return++Ja,Ty.push(e),Sy.push((r=t.binop)!=null?r:-1),xy.push((n=t.beforeExpr)!=null?n:!1),Py.push((s=t.startsExpr)!=null?s:!1),Ay.push((i=t.prefix)!=null?i:!1),vn.push(new wu(e,t)),Ja}function je(e,t={}){var r,n,s,i;return++Ja,vy.set(e,Ja),Ty.push(e),Sy.push((r=t.binop)!=null?r:-1),xy.push((n=t.beforeExpr)!=null?n:!1),Py.push((s=t.startsExpr)!=null?s:!1),Ay.push((i=t.prefix)!=null?i:!1),vn.push(new wu("name",t)),Ja}var Sie={bracketL:Te("[",{beforeExpr:Le,startsExpr:ae}),bracketHashL:Te("#[",{beforeExpr:Le,startsExpr:ae}),bracketBarL:Te("[|",{beforeExpr:Le,startsExpr:ae}),bracketR:Te("]"),bracketBarR:Te("|]"),braceL:Te("{",{beforeExpr:Le,startsExpr:ae}),braceBarL:Te("{|",{beforeExpr:Le,startsExpr:ae}),braceHashL:Te("#{",{beforeExpr:Le,startsExpr:ae}),braceR:Te("}"),braceBarR:Te("|}"),parenL:Te("(",{beforeExpr:Le,startsExpr:ae}),parenR:Te(")"),comma:Te(",",{beforeExpr:Le}),semi:Te(";",{beforeExpr:Le}),colon:Te(":",{beforeExpr:Le}),doubleColon:Te("::",{beforeExpr:Le}),dot:Te("."),question:Te("?",{beforeExpr:Le}),questionDot:Te("?."),arrow:Te("=>",{beforeExpr:Le}),template:Te("template"),ellipsis:Te("...",{beforeExpr:Le}),backQuote:Te("`",{startsExpr:ae}),dollarBraceL:Te("${",{beforeExpr:Le,startsExpr:ae}),templateTail:Te("...`",{startsExpr:ae}),templateNonTail:Te("...${",{beforeExpr:Le,startsExpr:ae}),at:Te("@"),hash:Te("#",{startsExpr:ae}),interpreterDirective:Te("#!..."),eq:Te("=",{beforeExpr:Le,isAssign:Ga}),assign:Te("_=",{beforeExpr:Le,isAssign:Ga}),slashAssign:Te("_=",{beforeExpr:Le,isAssign:Ga}),xorAssign:Te("_=",{beforeExpr:Le,isAssign:Ga}),moduloAssign:Te("_=",{beforeExpr:Le,isAssign:Ga}),incDec:Te("++/--",{prefix:Zn,postfix:Tie,startsExpr:ae}),bang:Te("!",{beforeExpr:Le,prefix:Zn,startsExpr:ae}),tilde:Te("~",{beforeExpr:Le,prefix:Zn,startsExpr:ae}),doubleCaret:Te("^^",{startsExpr:ae}),doubleAt:Te("@@",{startsExpr:ae}),pipeline:sr("|>",0),nullishCoalescing:sr("??",1),logicalOR:sr("||",1),logicalAND:sr("&&",2),bitwiseOR:sr("|",3),bitwiseXOR:sr("^",4),bitwiseAND:sr("&",5),equality:sr("==/!=/===/!==",6),lt:sr("</>/<=/>=",7),gt:sr("</>/<=/>=",7),relational:sr("</>/<=/>=",7),bitShift:sr("<</>>/>>>",8),bitShiftL:sr("<</>>/>>>",8),bitShiftR:sr("<</>>/>>>",8),plusMin:Te("+/-",{beforeExpr:Le,binop:9,prefix:Zn,startsExpr:ae}),modulo:Te("%",{binop:10,startsExpr:ae}),star:Te("*",{binop:10}),slash:sr("/",10),exponent:Te("**",{beforeExpr:Le,binop:11,rightAssociative:!0}),_in:He("in",{beforeExpr:Le,binop:7}),_instanceof:He("instanceof",{beforeExpr:Le,binop:7}),_break:He("break"),_case:He("case",{beforeExpr:Le}),_catch:He("catch"),_continue:He("continue"),_debugger:He("debugger"),_default:He("default",{beforeExpr:Le}),_else:He("else",{beforeExpr:Le}),_finally:He("finally"),_function:He("function",{startsExpr:ae}),_if:He("if"),_return:He("return",{beforeExpr:Le}),_switch:He("switch"),_throw:He("throw",{beforeExpr:Le,prefix:Zn,startsExpr:ae}),_try:He("try"),_var:He("var"),_const:He("const"),_with:He("with"),_new:He("new",{beforeExpr:Le,startsExpr:ae}),_this:He("this",{startsExpr:ae}),_super:He("super",{startsExpr:ae}),_class:He("class",{startsExpr:ae}),_extends:He("extends",{beforeExpr:Le}),_export:He("export"),_import:He("import",{startsExpr:ae}),_null:He("null",{startsExpr:ae}),_true:He("true",{startsExpr:ae}),_false:He("false",{startsExpr:ae}),_typeof:He("typeof",{beforeExpr:Le,prefix:Zn,startsExpr:ae}),_void:He("void",{beforeExpr:Le,prefix:Zn,startsExpr:ae}),_delete:He("delete",{beforeExpr:Le,prefix:Zn,startsExpr:ae}),_do:He("do",{isLoop:Xm,beforeExpr:Le}),_for:He("for",{isLoop:Xm}),_while:He("while",{isLoop:Xm}),_as:je("as",{startsExpr:ae}),_assert:je("assert",{startsExpr:ae}),_async:je("async",{startsExpr:ae}),_await:je("await",{startsExpr:ae}),_defer:je("defer",{startsExpr:ae}),_from:je("from",{startsExpr:ae}),_get:je("get",{startsExpr:ae}),_let:je("let",{startsExpr:ae}),_meta:je("meta",{startsExpr:ae}),_of:je("of",{startsExpr:ae}),_sent:je("sent",{startsExpr:ae}),_set:je("set",{startsExpr:ae}),_source:je("source",{startsExpr:ae}),_static:je("static",{startsExpr:ae}),_using:je("using",{startsExpr:ae}),_yield:je("yield",{startsExpr:ae}),_asserts:je("asserts",{startsExpr:ae}),_checks:je("checks",{startsExpr:ae}),_exports:je("exports",{startsExpr:ae}),_global:je("global",{startsExpr:ae}),_implements:je("implements",{startsExpr:ae}),_intrinsic:je("intrinsic",{startsExpr:ae}),_infer:je("infer",{startsExpr:ae}),_is:je("is",{startsExpr:ae}),_mixins:je("mixins",{startsExpr:ae}),_proto:je("proto",{startsExpr:ae}),_require:je("require",{startsExpr:ae}),_satisfies:je("satisfies",{startsExpr:ae}),_keyof:je("keyof",{startsExpr:ae}),_readonly:je("readonly",{startsExpr:ae}),_unique:je("unique",{startsExpr:ae}),_abstract:je("abstract",{startsExpr:ae}),_declare:je("declare",{startsExpr:ae}),_enum:je("enum",{startsExpr:ae}),_module:je("module",{startsExpr:ae}),_namespace:je("namespace",{startsExpr:ae}),_interface:je("interface",{startsExpr:ae}),_type:je("type",{startsExpr:ae}),_opaque:je("opaque",{startsExpr:ae}),name:Te("name",{startsExpr:ae}),string:Te("string",{startsExpr:ae}),num:Te("num",{startsExpr:ae}),bigint:Te("bigint",{startsExpr:ae}),decimal:Te("decimal",{startsExpr:ae}),regexp:Te("regexp",{startsExpr:ae}),privateName:Te("#name",{startsExpr:ae}),eof:Te("eof"),jsxName:Te("jsxName"),jsxText:Te("jsxText",{beforeExpr:!0}),jsxTagStart:Te("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Te("jsxTagEnd"),placeholder:Te("%%",{startsExpr:!0})};function st(e){return e>=93&&e<=132}function xie(e){return e<=92}function $r(e){return e>=58&&e<=132}function GP(e){return e>=58&&e<=136}function Pie(e){return xy[e]}function ey(e){return Py[e]}function Aie(e){return e>=29&&e<=33}function BP(e){return e>=129&&e<=131}function Cie(e){return e>=90&&e<=92}function Cy(e){return e>=58&&e<=92}function wie(e){return e>=39&&e<=59}function Die(e){return e===34}function Iie(e){return Ay[e]}function Oie(e){return e>=121&&e<=123}function _ie(e){return e>=124&&e<=130}function rs(e){return Ty[e]}function xu(e){return Sy[e]}function Nie(e){return e===57}function Du(e){return e>=24&&e<=25}function En(e){return vn[e]}vn[8].updateContext=e=>{e.pop()},vn[5].updateContext=vn[7].updateContext=vn[23].updateContext=e=>{e.push(ct.brace)},vn[22].updateContext=e=>{e[e.length-1]===ct.template?e.pop():e.push(ct.template)},vn[142].updateContext=e=>{e.push(ct.j_expr,ct.j_oTag)};var wy="\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",HP="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",kie=new RegExp("["+wy+"]"),Bie=new RegExp("["+wy+HP+"]");wy=HP=null;var YP=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Fie=[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 ty(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Tn(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&kie.test(String.fromCharCode(e)):ty(e,YP)}function xi(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&&Bie.test(String.fromCharCode(e)):ty(e,YP)||ty(e,Fie)}var Dy={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"]},jie=new Set(Dy.keyword),Lie=new Set(Dy.strict),Mie=new Set(Dy.strictBind);function XP(e,t){return t&&e==="await"||e==="enum"}function JP(e,t){return XP(e,t)||Lie.has(e)}function zP(e){return Mie.has(e)}function QP(e,t){return JP(e,t)||zP(e)}function Rie(e){return jie.has(e)}function qie(e,t,r){return e===64&&t===64&&Tn(r)}var Uie=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 Vie(e){return Uie.has(e)}var Qa=class{constructor(t){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=t}},Za=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&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&128)return!0;if(r&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new Qa(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,r,n){let s=this.currentScope();if(r&8||r&16)this.checkRedeclarationInScope(s,t,r,n),r&16?s.functions.add(t):s.lexical.add(t),r&8&&this.maybeExportDefined(s,t);else if(r&4)for(let i=this.scopeStack.length-1;i>=0&&(s=this.scopeStack[i],this.checkRedeclarationInScope(s,t,r,n),s.var.add(t),this.maybeExportDefined(s,t),!(s.flags&387));--i);this.parser.inModule&&s.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,r){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(r)}checkRedeclarationInScope(t,r,n,s){this.isRedeclaredInScope(t,r,n)&&this.parser.raise(_.VarRedeclaration,{at:s,identifierName:r})}isRedeclaredInScope(t,r,n){return n&1?n&8?t.lexical.has(r)||t.functions.has(r)||t.var.has(r):n&16?t.lexical.has(r)||!this.treatFunctionsAsVarInScope(t)&&t.var.has(r):t.lexical.has(r)&&!(t.flags&8&&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&387)return r}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&451&&!(r&4))return r}}},ry=class extends Qa{constructor(...t){super(...t),this.declareFunctions=new Set}},ny=class extends Za{createScope(t){return new ry(t)}declareName(t,r,n){let s=this.currentScope();if(r&2048){this.checkRedeclarationInScope(s,t,r,n),this.maybeExportDefined(s,t),s.declareFunctions.add(t);return}super.declareName(t,r,n)}isRedeclaredInScope(t,r,n){return super.isRedeclaredInScope(t,r,n)?!0:n&2048?!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)}},sy=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 s=this.plugins.get(r);for(let i of Object.keys(n))if((s==null?void 0:s[i])!==n[i])return!1;return!0}}getPluginOption(t,r){var n;return(n=this.plugins.get(t))==null?void 0:n[r]}};function ZP(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function $ie(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function eo(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function Ha(e,t,r){let n=null,s=t.length;for(;n===null&&s>0;)n=t[--s];n===null||n.start>r.start?eo(e,r.comments):ZP(n,r.comments)}var iy=class extends sy{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 s=n-1,i=r[s];i.start===t.end&&(i.leadingNode=t,s--);let{start:a}=t;for(;s>=0;s--){let o=r[s],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),r.splice(s,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){let{comments:r}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&ZP(t.leadingNode,r),t.trailingNode!==null&&$ie(t.trailingNode,r);else{let{containingNode:n,start:s}=t;if(this.input.charCodeAt(s-1)===44)switch(n.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Ha(n,n.properties,t);break;case"CallExpression":case"OptionalCallExpression":Ha(n,n.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Ha(n,n.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Ha(n,n.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":Ha(n,n.specifiers,t);break;default:eo(n,r)}else eo(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 s=r[n-1];s.leadingNode===t&&(s.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:s}=this.state,i=s.length;if(i===0)return;let a=i-1;for(;a>=0;a--){let o=s[a],l=o.end;if(o.start===n)o.leadingNode=t;else if(l===r)o.trailingNode=t;else if(l<r)break}}},eA=/\r\n?|[\n\u2028\u2029]/,vu=new RegExp(eA.source,"g");function za(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Jm=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Pu=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,FP=new RegExp("(?=("+Pu.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Wie(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 ay=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=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[ct.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:s}){this.strict=t===!1?!1:t===!0?!0:r==="module",this.curLine=n,this.lineStart=-s,this.startLoc=this.endLoc=new rn(n,s,0)}curPosition(){return new rn(this.curLine,this.pos-this.lineStart,this.pos)}clone(t){let r=new e,n=Object.keys(this);for(let s=0,i=n.length;s<i;s++){let a=n[s],o=this[a];!t&&Array.isArray(o)&&(o=o.slice()),r[a]=o}return r}},Kie=function(t){return t>=48&&t<=57},jP={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Tu={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 LP(e,t,r,n,s,i){let a=r,o=n,l=s,u="",c=null,f=r,{length:d}=t;for(;;){if(r>=d){i.unterminated(a,o,l),u+=t.slice(f,r);break}let m=t.charCodeAt(r);if(Gie(e,m,t,r)){u+=t.slice(f,r);break}if(m===92){u+=t.slice(f,r);let C=Hie(t,r,n,s,e==="template",i);C.ch===null&&!c?c={pos:r,lineStart:n,curLine:s}:u+=C.ch,{pos:r,lineStart:n,curLine:s}=C,f=r}else m===8232||m===8233?(++r,++s,n=r):m===10||m===13?e==="template"?(u+=t.slice(f,r)+`
  25. `,++r,m===13&&t.charCodeAt(r)===10&&++r,++s,f=n=r):i.unterminated(a,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:s,containsInvalid:!!c}}function Gie(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function Hie(e,t,r,n,s,i){let a=!s;t++;let o=u=>({pos:t,ch:u,lineStart:r,curLine:n}),l=e.charCodeAt(t++);switch(l){case 110:return o(`
  26. `);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=oy(e,t,r,n,2,!1,a,i),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=rA(e,t,r,n,a,i),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(s)return o(null);i.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(s)return o(null);i.strictNumericEscape(u,r,n)}return o(String.fromCharCode(d))}return o(String.fromCharCode(l))}}function oy(e,t,r,n,s,i,a,o){let l=t,u;return{n:u,pos:t}=tA(e,t,r,n,16,s,i,!1,o,!a),u===null&&(a?o.invalidEscapeSequence(l,r,n):t=l-1),{code:u,pos:t}}function tA(e,t,r,n,s,i,a,o,l,u){let c=t,f=s===16?jP.hex:jP.decBinOct,d=s===16?Tu.hex:s===10?Tu.dec:s===8?Tu.oct:Tu.bin,m=!1,C=0;for(let p=0,b=i==null?1/0:i;p<b;++p){let E=e.charCodeAt(t),O;if(E===95&&o!=="bail"){let P=e.charCodeAt(t-1),A=e.charCodeAt(t+1);if(o){if(Number.isNaN(A)||!d(A)||f.has(P)||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(E>=97?O=E-97+10:E>=65?O=E-65+10:Kie(E)?O=E-48:O=1/0,O>=s){if(O<=9&&u)return{n:null,pos:t};if(O<=9&&l.invalidDigit(t,r,n,s))O=0;else if(a)O=0,m=!0;else break}++t,C=C*s+O}return t===c||i!=null&&t-c!==i||m?{n:null,pos:t}:{n:C,pos:t}}function rA(e,t,r,n,s,i){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=oy(e,t,r,n,e.indexOf("}",t)-t,!0,s,i),++t,o!==null&&o>1114111)if(s)i.invalidCodePoint(t,r,n);else return{code:null,pos:t}}else({code:o,pos:t}=oy(e,t,r,n,4,!1,s,i));return{code:o,pos:t}}var Yie=["at"],Xie=["at"];function Ya(e,t,r){return new rn(r,e-t,e)}var Jie=new Set([103,109,115,105,121,117,100,118]),tn=class{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new Ci(t.startLoc,t.endLoc)}},ly=class extends iy{constructor(t,r){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(n,s,i,a)=>this.options.errorRecovery?(this.raise(_.InvalidDigit,{at:Ya(n,s,i),radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(_.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(_.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(_.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(_.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(n,s,i)=>{this.recordStrictModeErrors(_.StrictNumericEscape,{at:Ya(n,s,i)})},unterminated:(n,s,i)=>{throw this.raise(_.UnterminatedString,{at:Ya(n-1,s,i)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(_.StrictNumericEscape),unterminated:(n,s,i)=>{throw this.raise(_.UnterminatedTemplate,{at:Ya(n,s,i)})}}),this.state=new ay,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 tn(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 Jm.lastIndex=t,Jm.test(this.input)?Jm.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Pu.lastIndex=t,Pu.test(this.input)?Pu.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(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let r;this.isLookahead||(r=this.state.curPosition());let n=this.state.pos,s=this.input.indexOf(t,n+2);if(s===-1)throw this.raise(_.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=s+t.length,vu.lastIndex=n+2;vu.test(this.input)&&vu.lastIndex<=s;)++this.state.curLine,this.state.lineStart=vu.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(n+2,s),start:n,end:s+t.length,loc:new Ci(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipLineComment(t){let r=this.state.pos,n;this.isLookahead||(n=this.state.curPosition());let s=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!za(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,o={type:"CommentLine",value:this.input.slice(r+t,i),start:r,end:i,loc:new Ci(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 s=this.skipBlockComment("*/");s!==void 0&&(this.addComment(s),this.options.attachComment&&r.push(s));break}case 47:{let s=this.skipLineComment(2);s!==void 0&&(this.addComment(s),this.options.attachComment&&r.push(s));break}default:break e}break;default:if(Wie(n))++this.state.pos;else if(n===45&&!this.inModule&&this.options.annexB){let s=this.state.pos;if(this.input.charCodeAt(s+1)===45&&this.input.charCodeAt(s+2)===62&&(t===0||this.state.lineStart>t)){let i=this.skipLineComment(3);i!==void 0&&(this.addComment(i),this.options.attachComment&&r.push(i))}else break e}else if(n===60&&!this.inModule&&this.options.annexB){let s=this.state.pos;if(this.input.charCodeAt(s+1)===33&&this.input.charCodeAt(s+2)===45&&this.input.charCodeAt(s+3)===45){let i=this.skipLineComment(4);i!==void 0&&(this.addComment(i),this.options.attachComment&&r.push(i))}else break e}else break e}}if(r.length>0){let n=this.state.pos,s={start:t,end:n,comments:r,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(s)}}finishToken(t,r){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let n=this.state.type;this.state.type=t,this.state.value=r,this.isLookahead||this.updateContext(n)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,r=this.codePointAtPos(t);if(r>=48&&r<=57)throw this.raise(_.UnexpectedDigitAfterHash,{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?_.RecordExpressionHashIncorrectStartSyntaxType:_.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,r===123?this.finishToken(7):this.finishToken(1)}else Tn(r)?(++this.state.pos,this.finishToken(138,this.readWord1(r))):r===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let r=this.state.pos;for(this.state.pos+=1;!za(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,s=this.input.charCodeAt(this.state.pos+1);t===42&&s===42&&(n++,s=this.input.charCodeAt(this.state.pos+2),r=57),s===61&&!this.state.inType&&(n++,r=t===37?33:30),this.finishOp(r,n)}readToken_pipe_amp(t){let r=this.input.charCodeAt(this.state.pos+1);if(r===t){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(t===124?41:42,2);return}if(t===124){if(r===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&r===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(_.RecordExpressionBarIncorrectEndSyntaxType,{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(_.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(_.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(_.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(Tn(t)){this.readWord(t);return}}throw this.raise(_.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,s,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(_.UnterminatedRegExp,{at:ir(t,1)});let u=this.input.charCodeAt(i);if(za(u))throw this.raise(_.UnterminatedRegExp,{at:ir(t,1)});if(n)n=!1;else{if(u===91)s=!0;else if(u===93&&s)s=!1;else if(u===47&&!s)break;n=u===92}}let a=this.input.slice(r,i);++i;let o="",l=()=>ir(t,i+2-r);for(;i<this.length;){let u=this.codePointAtPos(i),c=String.fromCharCode(u);if(Jie.has(u))u===118?o.includes("u")&&this.raise(_.IncompatibleRegExpUVFlags,{at:l()}):u===117&&o.includes("v")&&this.raise(_.IncompatibleRegExpUVFlags,{at:l()}),o.includes(c)&&this.raise(_.DuplicateRegExpFlags,{at:l()});else if(xi(u)||u===92)this.raise(_.MalformedRegExpFlags,{at:l()});else break;++i,o+=c}this.state.pos=i,this.finishToken(137,{pattern:a,flags:o})}readInt(t,r,n=!1,s=!0){let{n:i,pos:a}=tA(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,r,n,s,this.errorHandlers_readInt,!1);return this.state.pos=a,i}readRadixNumber(t){let r=this.state.curPosition(),n=!1;this.state.pos+=2;let s=this.readInt(t);s==null&&this.raise(_.InvalidDigit,{at:ir(r,2),radix:t});let i=this.input.charCodeAt(this.state.pos);if(i===110)++this.state.pos,n=!0;else if(i===109)throw this.raise(_.InvalidDecimal,{at:r});if(Tn(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,{at:this.state.curPosition()});if(n){let a=this.input.slice(r.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,a);return}this.finishToken(134,s)}readNumber(t){let r=this.state.pos,n=this.state.curPosition(),s=!1,i=!1,a=!1,o=!1,l=!1;!t&&this.readInt(10)===null&&this.raise(_.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(_.StrictOctalLiteral,{at:n}),!this.state.strict){let C=m.indexOf("_");C>0&&this.raise(_.ZeroDigitNumericSeparator,{at:ir(n,C)})}l=u&&!/[89]/.test(m)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!l&&(++this.state.pos,this.readInt(10),s=!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(_.InvalidOrMissingExponent,{at:n}),s=!0,o=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((s||u)&&this.raise(_.InvalidBigIntLiteral,{at:n}),++this.state.pos,i=!0),c===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(_.InvalidDecimal,{at:n}),++this.state.pos,a=!0),Tn(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,{at:this.state.curPosition()});let f=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(i){this.finishToken(135,f);return}if(a){this.finishToken(136,f);return}let d=l?parseInt(f,8):parseFloat(f);this.finishToken(134,d)}readCodePoint(t){let{code:r,pos:n}=rA(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:s,lineStart:i}=LP(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=i,this.state.curLine=s,this.finishToken(133,r)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:r,firstInvalidLoc:n,pos:s,curLine:i,lineStart:a}=LP("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=s+1,this.state.lineStart=a,this.state.curLine=i,n&&(this.state.firstInvalidTemplateEscapePos=new rn(n.curLine,n.pos-n.lineStart,n.pos)),this.input.codePointAt(s)===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,s=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){let i=this.codePointAtPos(this.state.pos);if(xi(i))this.state.pos+=i<=65535?1:2;else if(i===92){this.state.containsEsc=!0,r+=this.input.slice(s,this.state.pos);let a=this.state.curPosition(),o=this.state.pos===n?Tn:xi;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(_.MissingUnicodeEscape,{at:this.state.curPosition()}),s=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(_.EscapedCharNotAnIdentifier,{at:a}),r+=String.fromCodePoint(l)),s=this.state.pos}else break}return r+this.input.slice(s,this.state.pos)}readWord(t){let r=this.readWord1(t),n=vy.get(r);n!==void 0?this.finishToken(n,rs(n)):this.finishToken(132,r)}checkKeywordEscapes(){let{type:t}=this.state;Cy(t)&&this.state.containsEsc&&this.raise(_.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:rs(t)})}raise(t,r){let{at:n}=r,s=Cu(r,Yie),i=n instanceof rn?n:n.loc.start,a=t({loc:i,details:s});if(!this.options.errorRecovery)throw a;return this.isLookahead||this.state.errors.push(a),a}raiseOverwrite(t,r){let{at:n}=r,s=Cu(r,Xie),i=n instanceof rn?n:n.loc.start,a=i.index,o=this.state.errors;for(let l=o.length-1;l>=0;l--){let u=o[l];if(u.loc.index===a)return o[l]=t({loc:i,details:s});if(u.loc.index<a)break}return this.raise(t,r)}updateContext(t){}unexpected(t,r){throw this.raise(_.UnexpectedToken,{expected:r?rs(r):null,at:t!=null?t:this.state.startLoc})}expectPlugin(t,r){if(this.hasPlugin(t))return!0;throw this.raise(_.MissingPlugin,{at:r!=null?r:this.state.startLoc,missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(r=>this.hasPlugin(r)))throw this.raise(_.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:t})}errorBuilder(t){return(r,n,s)=>{this.raise(t,{at:Ya(r,n,s)})}}},uy=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},cy=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 uy)}exit(){let t=this.stack.pop(),r=this.current();for(let[n,s]of Array.from(t.undefinedPrivateNames))r?r.undefinedPrivateNames.has(n)||r.undefinedPrivateNames.set(n,s):this.parser.raise(_.InvalidPrivateFieldResolution,{at:s,identifierName:n})}declarePrivateName(t,r,n){let{privateNames:s,loneAccessors:i,undefinedPrivateNames:a}=this.current(),o=s.has(t);if(r&3){let l=o&&i.get(t);if(l){let u=l&4,c=r&4,f=l&3,d=r&3;o=f===d||u!==c,o||i.delete(t)}else o||i.set(t,r)}o&&this.parser.raise(_.PrivateNameRedeclaration,{at:n,identifierName:t}),s.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(_.InvalidPrivateFieldResolution,{at:r,identifierName:t})}},wi=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},Iu=class extends wi{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)}},fy=class{constructor(t){this.parser=void 0,this.stack=[new wi],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,{at:r}){let n={at:r.loc.start},{stack:s}=this,i=s.length-1,a=s[i];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,n);else return;a=s[--i]}this.parser.raise(t,n)}recordArrowParameterBindingError(t,{at:r}){let{stack:n}=this,s=n[n.length-1],i={at:r.loc.start};if(s.isCertainlyParameterDeclaration())this.parser.raise(t,i);else if(s.canBeArrowParameterDeclaration())s.recordDeclarationError(t,i);else return}recordAsyncArrowParametersError({at:t}){let{stack:r}=this,n=r.length-1,s=r[n];for(;s.canBeArrowParameterDeclaration();)s.type===2&&s.recordDeclarationError(_.AwaitBindingIdentifier,{at:t}),s=r[--n]}validateAsPattern(){let{stack:t}=this,r=t[t.length-1];r.canBeArrowParameterDeclaration()&&r.iterateErrors(([n,s])=>{this.parser.raise(n,{at:s});let i=t.length-2,a=t[i];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(s.index),a=t[--i]})}};function zie(){return new wi(3)}function Qie(){return new Iu(1)}function Zie(){return new Iu(2)}function nA(){return new wi}var Pi=0,sA=1,_u=2,iA=4,Ti=8,py=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()&_u)>0}get hasYield(){return(this.currentFlags()&sA)>0}get hasReturn(){return(this.currentFlags()&iA)>0}get hasIn(){return(this.currentFlags()&Ti)>0}};function Au(e,t){return(e?_u:0)|(t?sA:0)}var dy=class extends ly{addExtra(t,r,n,s=!0){if(!t)return;let i=t.extra=t.extra||{};s?i[r]=n:Object.defineProperty(i,r,{enumerable:s,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 s=this.input.charCodeAt(n);return!(xi(s)||(s&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(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return eA.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return FP.lastIndex=this.state.end,FP.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(_.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 s=t((i=null)=>{throw n.node=i,n});if(this.state.errors.length>r.errors.length){let i=this.state;return this.state=r,this.state.tokensLength=i.tokensLength,{node:s,error:i.errors[r.errors.length],thrown:!1,aborted:!1,failState:i}}return{node:s,error:null,thrown:!1,aborted:!1,failState:null}}catch(s){let i=this.state;if(this.state=r,s instanceof SyntaxError)return{node:null,error:s,thrown:!0,aborted:!1,failState:i};if(s===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:i};throw s}}checkExpressionErrors(t,r){if(!t)return!1;let{shorthandAssignLoc:n,doubleProtoLoc:s,privateKeyLoc:i,optionalParametersLoc:a}=t,o=!!n||!!s||!!a||!!i;if(!r)return o;n!=null&&this.raise(_.InvalidCoverInitializedName,{at:n}),s!=null&&this.raise(_.DuplicateProto,{at:s}),i!=null&&this.raise(_.UnexpectedPrivateField,{at:i}),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return GP(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 s=this.inModule;this.inModule=t;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);let o=this.prodParam;this.prodParam=new py;let l=this.classScope;this.classScope=new cy(this);let u=this.expressionScope;return this.expressionScope=new fy(this),()=>{this.state.labels=r,this.exportedIdentifiers=n,this.inModule=s,this.scope=i,this.prodParam=o,this.classScope=l,this.expressionScope=u}}enterInitialScopes(){let t=Pi;this.inModule&&(t|=_u),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:r}=t;r!==null&&this.expectPlugin("destructuringPrivate",r)}},Ai=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Di=class{constructor(t,r,n){this.type="",this.start=r,this.end=0,this.loc=new Ci(n),t!=null&&t.options.ranges&&(this.range=[r,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},Iy=Di.prototype;Iy.__clone=function(){let e=new Di(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){let s=t[r];s!=="leadingComments"&&s!=="trailingComments"&&s!=="innerComments"&&(e[s]=this[s])}return e};function eae(e){return xn(e)}function xn(e){let{type:t,start:r,end:n,loc:s,range:i,extra:a,name:o}=e,l=Object.create(Iy);return l.type=t,l.start=r,l.end=n,l.loc=s,l.range=i,l.extra=a,l.name=o,t==="Placeholder"&&(l.expectedNode=e.expectedNode),l}function tae(e){let{type:t,start:r,end:n,loc:s,range:i,extra:a}=e;if(t==="Placeholder")return eae(e);let o=Object.create(Iy);return o.type=t,o.start=r,o.end=n,o.loc=s,o.range=i,e.raw!==void 0?o.raw=e.raw:o.extra=a,o.value=e.value,o}var hy=class extends dy{startNode(){return new Di(this,this.state.start,this.state.startLoc)}startNodeAt(t){return new Di(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)}},rae=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Se=Sn`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}\`.`,EnumStringMemberInconsistentlyInitialized:({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 nae(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function MP(e){return e.importKind==="type"||e.importKind==="typeof"}var sae={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function iae(e,t){let r=[],n=[];for(let s=0;s<e.length;s++)(t(e[s],s,e)?r:n).push(e[s]);return[r,n]}var aae=/\*?\s*@((?:no)?flow)\b/,oae=e=>class extends e{constructor(...r){super(...r),this.flowPragma=void 0}getScopeHandler(){return ny}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(r,n){r!==133&&r!==13&&r!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(r,n)}addComment(r){if(this.flowPragma===void 0){let n=aae.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 s=this.flowParseType();return this.state.inType=n,s}flowParsePredicate(){let r=this.startNode(),n=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStart>n.index+1&&this.raise(Se.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,s=null;return this.match(54)?(this.state.inType=r,s=this.flowParsePredicate()):(n=this.flowParseType(),this.state.inType=r,this.match(54)&&(s=this.flowParsePredicate())),[n,s]}flowParseDeclareClass(r){return this.next(),this.flowParseInterfaceish(r,!0),this.finishNode(r,"DeclareClass")}flowParseDeclareFunction(r){this.next();let n=r.id=this.parseIdentifier(),s=this.startNode(),i=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return s.params=a.params,s.rest=a.rest,s.this=a._this,this.expect(11),[s.returnType,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),i.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),n.typeAnnotation=this.finishNode(i,"TypeAnnotation"),this.resetEndLocation(n),this.semicolon(),this.scope.declareName(r.id.name,2048,r.id.loc.start),this.finishNode(r,"DeclareFunction")}flowParseDeclare(r,n){if(this.match(80))return this.flowParseDeclareClass(r);if(this.match(68))return this.flowParseDeclareFunction(r);if(this.match(74))return this.flowParseDeclareVariable(r);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(r):(n&&this.raise(Se.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(r));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(r);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(r);if(this.isContextual(129))return this.flowParseDeclareInterface(r);if(this.match(82))return this.flowParseDeclareExportDeclaration(r,n);this.unexpected()}flowParseDeclareVariable(r){return this.next(),r.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(r.id.name,5,r.id.loc.start),this.semicolon(),this.finishNode(r,"DeclareVariable")}flowParseDeclareModule(r){this.scope.enter(0),this.match(133)?r.id=super.parseExprAtom():r.id=this.parseIdentifier();let n=r.body=this.startNode(),s=n.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(Se.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(o)):(this.expectContextual(125,Se.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),s.push(o)}this.scope.exit(),this.expect(8),this.finishNode(n,"BlockStatement");let i=null,a=!1;return s.forEach(o=>{nae(o)?(i==="CommonJS"&&this.raise(Se.AmbiguousDeclareModuleKind,{at:o}),i="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(Se.DuplicateDeclareModuleExports,{at:o}),i==="ES"&&this.raise(Se.AmbiguousDeclareModuleKind,{at:o}),i="CommonJS",a=!0)}),r.kind=i||"CommonJS",this.finishNode(r,"DeclareModule")}flowParseDeclareExportDeclaration(r,n){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?r.declaration=this.flowParseDeclare(this.startNode()):(r.declaration=this.flowParseType(),this.semicolon()),r.default=!0,this.finishNode(r,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!n){let s=this.state.value;throw this.raise(Se.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:s,suggestion:sae[s]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return r.declaration=this.flowParseDeclare(this.startNode()),r.default=!1,this.finishNode(r,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return r=this.parseExport(r,null),r.type==="ExportNamedDeclaration"&&(r.type="ExportDeclaration",r.default=!1,delete r.exportKind),r.type="Declare"+r.type,r;this.unexpected()}flowParseDeclareModuleExports(r){return this.next(),this.expectContextual(111),r.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(r,"DeclareModuleExports")}flowParseDeclareTypeAlias(r){this.next();let n=this.flowParseTypeAlias(r);return n.type="DeclareTypeAlias",n}flowParseDeclareOpaqueType(r){this.next();let n=this.flowParseOpaqueType(r,!0);return n.type="DeclareOpaqueType",n}flowParseDeclareInterface(r){return this.next(),this.flowParseInterfaceish(r,!1),this.finishNode(r,"DeclareInterface")}flowParseInterfaceish(r,n){if(r.id=this.flowParseRestrictedIdentifier(!n,!0),this.scope.declareName(r.id.name,n?17:8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(!n&&this.eat(12));if(n){if(r.implements=[],r.mixins=[],this.eatContextual(117))do r.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do r.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}r.body=this.flowParseObjectType({allowStatic:n,allowExact:!1,allowSpread:!1,allowProto:n,allowInexact:!1})}flowParseInterfaceExtends(){let r=this.startNode();return r.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,this.finishNode(r,"InterfaceExtends")}flowParseInterface(r){return this.flowParseInterfaceish(r,!1),this.finishNode(r,"InterfaceDeclaration")}checkNotUnderscore(r){r==="_"&&this.raise(Se.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(r,n,s){rae.has(r)&&this.raise(s?Se.AssignReservedType:Se.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,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(r,"TypeAlias")}flowParseOpaqueType(r,n){return this.expectContextual(130),r.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(r.id.name,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.supertype=null,this.match(14)&&(r.supertype=this.flowParseTypeInitialiser(14)),r.impltype=null,n||(r.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(r,"OpaqueType")}flowParseTypeParameter(r=!1){let n=this.state.startLoc,s=this.startNode(),i=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return s.name=a.name,s.variance=i,s.bound=a.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):r&&this.raise(Se.MissingTypeParamDefault,{at:n}),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){let r=this.state.inType,n=this.startNode();n.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let s=!1;do{let i=this.flowParseTypeParameter(s);n.params.push(i),i.default&&(s=!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 s=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=s,this.expect(48),this.state.inType=n,this.finishNode(r,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let r=this.startNode(),n=this.state.inType;for(r.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)r.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=n,this.finishNode(r,"TypeParameterInstantiation")}flowParseInterfaceType(){let r=this.startNode();if(this.expectContextual(129),r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return r.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(r,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(r,n,s){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=s,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 s=this.startNode();return r.static=n,r.value=this.flowParseObjectTypeMethodish(s),this.finishNode(r,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:r,allowExact:n,allowSpread:s,allowProto:i,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,C=null,p=null,b=this.startNode();if(i&&this.isContextual(118)){let O=this.lookahead();O.type!==14&&O.type!==17&&(this.next(),C=this.state.startLoc,r=!1)}if(r&&this.isContextual(106)){let O=this.lookahead();O.type!==14&&O.type!==17&&(this.next(),m=!0)}let E=this.flowParseVariance();if(this.eat(0))C!=null&&this.unexpected(C),this.eat(0)?(E&&this.unexpected(E.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(b,m))):l.indexers.push(this.flowParseObjectTypeIndexer(b,m,E));else if(this.match(10)||this.match(47))C!=null&&this.unexpected(C),E&&this.unexpected(E.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(b,m));else{let O="init";if(this.isContextual(99)||this.isContextual(104)){let A=this.lookahead();GP(A.type)&&(O=this.state.value,this.next())}let P=this.flowParseObjectTypeProperty(b,m,C,E,O,s,a!=null?a:!c);P===null?(f=!0,p=this.state.lastTokStartLoc):l.properties.push(P)}this.flowObjectTypeSemicolon(),p&&!this.match(8)&&!this.match(9)&&this.raise(Se.UnexpectedExplicitInexactInObject,{at:p})}this.expect(u),s&&(l.inexact=f);let d=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,d}flowParseObjectTypeProperty(r,n,s,i,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(Se.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Se.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),i&&this.raise(Se.InexactVariance,{at:i}),null):(o||this.raise(Se.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),s!=null&&this.unexpected(s),i&&this.raise(Se.SpreadVariance,{at:i}),r.argument=this.flowParseType(),this.finishNode(r,"ObjectTypeSpreadProperty"));{r.key=this.flowParseObjectPropertyKey(),r.static=n,r.proto=s!=null,r.kind=a;let u=!1;return this.match(47)||this.match(10)?(r.method=!0,s!=null&&this.unexpected(s),i&&this.unexpected(i.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(Se.ThisParamBannedInConstructor,{at:r.value.this})):(a!=="init"&&this.unexpected(),r.method=!1,this.eat(17)&&(u=!0),r.value=this.flowParseTypeInitialiser(),r.variance=i),r.optional=u,this.finishNode(r,"ObjectTypeProperty")}}flowCheckGetterSetterParams(r){let n=r.kind==="get"?0:1,s=r.value.params.length+(r.value.rest?1:0);r.value.this&&this.raise(r.kind==="get"?Se.GetterMayNotHaveThisParam:Se.SetterMayNotHaveThisParam,{at:r.value.this}),s!==n&&this.raise(r.kind==="get"?_.BadGetterArity:_.BadSetterArity,{at:r}),r.kind==="set"&&r.value.rest&&this.raise(_.BadSetterRestParameter,{at:r})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(r,n){var s;(s=r)!=null||(r=this.state.startLoc);let i=n||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let a=this.startNodeAt(r);a.qualification=i,a.id=this.flowParseRestrictedIdentifier(!0),i=this.finishNode(a,"QualifiedTypeIdentifier")}return i}flowParseGenericType(r,n){let s=this.startNodeAt(r);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(r,n),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"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,s=!1,i=null,a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!r&&this.raise(Se.ThisParamMustBeFirst,{at:a}),n=this.parseIdentifier(l),this.eat(17)&&(s=!0,l&&this.raise(Se.ThisParamMayNotBeOptional,{at:a})),i=this.flowParseTypeInitialiser()):i=this.flowParseType(),a.name=n,a.optional=s,a.typeAnnotation=i,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,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.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:s}}flowIdentToTypeAnnotation(r,n,s){switch(s.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(s.name),this.flowParseGenericType(r,s)}}flowParsePrimaryType(){let r=this.state.startLoc,n=this.startNode(),s,i,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,i=this.flowParseTupleType(),this.state.noAnonFunctionType=o,i;case 47:return n.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),n.params=s.params,n.rest=s.rest,n.this=s._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(st(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,i=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),i;this.eat(12)}return i?s=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):s=this.flowParseFunctionTypeParams(),n.params=s.params,n.rest=s.rest,n.this=s._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return n.value=this.match(85),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(Se.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(n,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(n,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(n,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Cy(this.state.type)){let l=rs(this.state.type);return this.next(),super.createIdentifier(n,l)}else if(st(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let r=this.state.startLoc,n=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let i=this.startNodeAt(r),a=this.eat(18);s=s||a,this.expect(0),!a&&this.match(3)?(i.elementType=n,this.next(),n=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=n,i.indexType=this.flowParseType(),this.expect(3),s?(i.optional=a,n=this.finishNode(i,"OptionalIndexedAccessType")):n=this.finishNode(i,"IndexedAccessType"))}return n}flowParsePrefixType(){let r=this.startNode();return this.eat(17)?(r.typeAnnotation=this.flowParsePrefixType(),this.finishNode(r,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let r=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let n=this.startNodeAt(r.loc.start);return n.params=[this.reinterpretTypeAsFunctionTypeParam(r)],n.rest=null,n.this=null,n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation")}return r}flowParseIntersectionType(){let r=this.startNode();this.eat(45);let n=this.flowParseAnonFunctionWithoutParens();for(r.types=[n];this.eat(45);)r.types.push(this.flowParseAnonFunctionWithoutParens());return r.types.length===1?n:this.finishNode(r,"IntersectionTypeAnnotation")}flowParseUnionType(){let r=this.startNode();this.eat(43);let n=this.flowParseIntersectionType();for(r.types=[n];this.eat(43);)r.types.push(this.flowParseIntersectionType());return r.types.length===1?n:this.finishNode(r,"UnionTypeAnnotation")}flowParseType(){let r=this.state.inType;this.state.inType=!0;let n=this.flowParseUnionType();return this.state.inType=r,n}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let r=this.state.startLoc,n=this.parseIdentifier();return this.flowParseGenericType(r,n)}else return this.flowParseType()}flowParseTypeAnnotation(){let r=this.startNode();return r.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(r,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(r){let n=r?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(n)),n}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}flowParseVariance(){let r=null;return this.match(53)?(r=this.startNode(),this.state.value==="+"?r.kind="plus":r.kind="minus",this.next(),this.finishNode(r,"Variance")):r}parseFunctionBody(r,n,s=!1){if(n){this.forwardNoArrowParamsConversionAt(r,()=>super.parseFunctionBody(r,!0,s));return}super.parseFunctionBody(r,!1,s)}parseFunctionBodyAndFinish(r,n,s=!1){if(this.match(14)){let i=this.startNode();[i.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(r,n,s)}parseStatementLike(r){if(this.state.strict&&this.isContextual(129)){let s=this.lookahead();if($r(s.type)){let i=this.startNode();return this.next(),this.flowParseInterface(i)}}else if(this.shouldParseEnums()&&this.isContextual(126)){let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}let n=super.parseStatementLike(r);return this.flowPragma===void 0&&!this.isValidDirective(n)&&(this.flowPragma=null),n}parseExpressionStatement(r,n,s){if(n.type==="Identifier"){if(n.name==="declare"){if(this.match(80)||st(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(r)}else if(st(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,s)}shouldParseExportDeclaration(){let{type:r}=this.state;return BP(r)||this.shouldParseEnums()&&r===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:r}=this.state;return BP(r)||this.shouldParseEnums()&&r===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}return super.parseExportDefaultExpression()}parseConditional(r,n,s){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(s),r}this.expect(17);let i=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=i,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(Se.AmbiguousConditionalArrow,{at:i.startLoc}),u&&c.length===1&&(this.state=i,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 s=[r],i=[];for(;s.length!==0;){let a=s.pop();a.type==="ArrowFunctionExpression"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):i.push(a),s.push(a.body)):a.type==="ConditionalExpression"&&(s.push(a.consequent),s.push(a.alternate))}return n?(i.forEach(a=>this.finishArrowValidation(a)),[i,[]]):iae(i,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(6),super.checkParams(r,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(r,n){let s;return this.state.noArrowParamsConversionAt.indexOf(r.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),s=n(),this.state.noArrowParamsConversionAt.pop()):s=n(),s}parseParenItem(r,n){if(r=super.parseParenItem(r,n),this.eat(17)&&(r.optional=!0,this.resetEndLocation(r)),this.match(14)){let s=this.startNodeAt(n);return s.expression=r,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"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(130)){r.exportKind="type";let n=this.startNode();return this.next(),this.match(5)?(r.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(r),null):this.flowParseTypeAlias(n)}else if(this.isContextual(131)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseOpaqueType(n,!1)}else if(this.isContextual(129)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseInterface(n)}else if(this.shouldParseEnums()&&this.isContextual(126)){r.exportKind="value";let n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}else return super.parseExportDeclaration(r)}eatExportStar(r){return super.eatExportStar(r)?!0:this.isContextual(130)&&this.lookahead().type===55?(r.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(r){let{startLoc:n}=this.state,s=super.maybeParseExportNamespaceSpecifier(r);return s&&r.exportKind==="type"&&this.unexpected(n),s}parseClassId(r,n,s){super.parseClassId(r,n,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(r,n,s){let{startLoc:i}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(r,n))return;n.declare=!0}super.parseClassMember(r,n,s),n.declare&&(n.type!=="ClassProperty"&&n.type!=="ClassPrivateProperty"&&n.type!=="PropertyDefinition"?this.raise(Se.DeclareClassElement,{at:i}):n.value&&this.raise(Se.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(_.InvalidIdentifier,{at:this.state.curPosition(),identifierName:n}),this.finishToken(132,n)}getTokenFromCode(r){let n=this.input.charCodeAt(this.state.pos+1);r===123&&n===124?this.finishOp(6,2):this.state.inType&&(r===62||r===60)?this.finishOp(r===62?48:47,1):this.state.inType&&r===63?n===46?this.finishOp(18,2):this.finishOp(17,1):qie(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,s){for(let i=0;i<r.length;i++){let a=r[i];(a==null?void 0:a.type)==="TypeCastExpression"&&(r[i]=this.typeCastToParameter(a))}super.toAssignableList(r,n,s)}toReferencedList(r,n){for(let i=0;i<r.length;i++){var s;let a=r[i];a&&a.type==="TypeCastExpression"&&!((s=a.extra)!=null&&s.parenthesized)&&(r.length>1||!n)&&this.raise(Se.TypeCastInPattern,{at:a.typeAnnotation})}return r}parseArrayLike(r,n,s,i){let a=super.parseArrayLike(r,n,s,i);return n&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(r,n,s){return r==="TypeCastExpression"||super.isValidLVal(r,n,s)}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,s,i,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,s,i,a,o),n.params&&a){let l=n.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Se.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(Se.ThisParamBannedInConstructor,{at:n})}}pushClassPrivateMethod(r,n,s,i){n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(r,n,s,i)}parseClassSuper(r){if(super.parseClassSuper(r),r.superClass&&this.match(47)&&(r.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let n=r.implements=[];do{let s=this.startNode();s.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,n.push(this.finishNode(s,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(r){super.checkGetterSetterParams(r);let n=this.getObjectOrClassMethodParams(r);if(n.length>0){let s=n[0];this.isThisParam(s)&&r.kind==="get"?this.raise(Se.GetterMayNotHaveThisParam,{at:s}):this.isThisParam(s)&&this.raise(Se.SetterMayNotHaveThisParam,{at:s})}}parsePropertyNamePrefixOperator(r){r.variance=this.flowParseVariance()}parseObjPropValue(r,n,s,i,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,s,i,a,o,l);return u&&((c.value||c).typeParameters=u),c}parseAssignableListItemTypes(r){return this.eat(17)&&(r.type!=="Identifier"&&this.raise(Se.PatternIsOptional,{at:r}),this.isThisParam(r)&&this.raise(Se.ThisParamMayNotBeOptional,{at:r}),r.optional=!0),this.match(14)?r.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(r)&&this.raise(Se.ThisParamAnnotationRequired,{at:r}),this.match(29)&&this.isThisParam(r)&&this.raise(Se.ThisParamNoDefault,{at:r}),this.resetEndLocation(r),r}parseMaybeDefault(r,n){let s=super.parseMaybeDefault(r,n);return s.type==="AssignmentPattern"&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(Se.TypeBeforeInitializer,{at:s.typeAnnotation}),s}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(Se.ImportReflectionHasImportType,{at:r.specifiers[0].loc.start})}parseImportSpecifierLocal(r,n,s){n.local=MP(r)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),r.specifiers.push(this.finishImportSpecifier(n,s))}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){if(!r)return!0;let n=this.lookaheadCharCode();return n===123||n===42}return!r&&this.isContextual(87)}applyImportPhase(r,n,s,i){if(super.applyImportPhase(r,n,s,i),n){if(!s&&this.match(65))return;r.exportKind=s==="type"?s:"value"}else s==="type"&&this.match(55)&&this.unexpected(),r.importKind=s==="type"||s==="typeof"?s:"value"}parseImportSpecifier(r,n,s,i,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&&!$r(this.state.type)?(r.imported=f,r.importKind=l,r.local=xn(f)):(r.imported=o,r.importKind=null,r.local=this.parseIdentifier())}else{if(l!==null&&$r(this.state.type))r.imported=this.parseIdentifier(!0),r.importKind=l;else{if(n)throw this.raise(_.ImportBindingIsString,{at:r,importName:o.value});r.imported=o,r.importKind=null}this.eatContextual(93)?r.local=this.parseIdentifier():(u=!0,r.local=xn(r.imported))}let c=MP(r);return s&&c&&this.raise(Se.ImportTypeShorthandOnlyInPureImport,{at:r}),(s||c)&&this.checkReservedType(r.local.name,r.local.loc.start,!0),u&&!s&&!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 s=r.kind;s!=="get"&&s!=="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 s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,r.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=s}return super.parseAsyncArrowFromCallExpression(r,n)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(r,n){var s;let i=null,a;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(i=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(r,n),i),!a.error)return a.node;let{context:u}=this.state,c=u[u.length-1];(c===ct.j_oTag||c===ct.j_expr)&&u.pop()}if((s=a)!=null&&s.error||this.match(47)){var o,l;i=i||this.state.clone();let u,c=this.tryParse(d=>{var m;u=this.flowParseTypeParameterDeclaration();let C=this.forwardNoArrowParamsConversionAt(u,()=>{let b=super.parseMaybeAssign(r,n);return this.resetStartLocationFromNode(b,u),b});(m=C.extra)!=null&&m.parenthesized&&d();let p=this.maybeUnwrapTypeCastExpression(C);return p.type!=="ArrowFunctionExpression"&&d(),p.typeParameters=u,this.resetStartLocationFromNode(p,u),C},i),f=null;if(c.node&&this.maybeUnwrapTypeCastExpression(c.node).type==="ArrowFunctionExpression"){if(!c.error&&!c.aborted)return c.node.async&&this.raise(Se.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(Se.UnexpectedTokenAfterTypeParameter,{at:u})}return super.parseMaybeAssign(r,n)}parseArrow(r){if(this.match(14)){let n=this.tryParse(()=>{let s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let i=this.startNode();return[i.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=s,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),i});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,s,i=!0){if(!(s&&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(Se.ThisParamMustBeFirst,{at:r.params[a]});super.checkParams(r,n,s,i)}}parseParenAndDistinguishExpression(r){return super.parseParenAndDistinguishExpression(r&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(r,n,s){if(r.type==="Identifier"&&r.name==="async"&&this.state.noArrowAt.indexOf(n.index)!==-1){this.next();let i=this.startNodeAt(n);i.callee=r,i.arguments=super.parseCallExpressionArguments(11,!1),r=this.finishNode(i,"CallExpression")}else if(r.type==="Identifier"&&r.name==="async"&&this.match(47)){let i=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(n)||l(),i);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse(()=>super.parseSubscripts(r,n,s),i);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,s)}parseSubscript(r,n,s,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,s)return i.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(!s&&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),i.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,i.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(r,n,s,i)}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 s=super.parseTopLevel(r,n);return this.state.hasFlowComment&&this.raise(Se.UnterminatedFlowComment,{at:this.state.curPosition()}),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Se.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 s=this.input.charCodeAt(n+r),i=this.input.charCodeAt(n+r+1);return s===58&&i===58?n+2:this.input.slice(n+r,n+r+12)==="flow-include"?n+12:s===58&&i!==58?n:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(_.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(r,{enumName:n,memberName:s}){this.raise(Se.EnumBooleanMemberNotInitialized,{at:r,memberName:s,enumName:n})}flowEnumErrorInvalidMemberInitializer(r,n){return this.raise(n.explicitType?n.explicitType==="symbol"?Se.EnumInvalidMemberInitializerSymbolType:Se.EnumInvalidMemberInitializerPrimaryType:Se.EnumInvalidMemberInitializerUnknownType,Object.assign({at:r},n))}flowEnumErrorNumberMemberNotInitialized(r,{enumName:n,memberName:s}){this.raise(Se.EnumNumberMemberNotInitialized,{at:r,enumName:n,memberName:s})}flowEnumErrorStringMemberInconsistentlyInitialized(r,{enumName:n}){this.raise(Se.EnumStringMemberInconsistentlyInitialized,{at:r,enumName:n})}flowEnumMemberInit(){let r=this.state.startLoc,n=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let s=this.parseNumericLiteral(this.state.value);return n()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}case 133:{let s=this.parseStringLiteral(this.state.value);return n()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}case 85:case 86:{let s=this.parseBooleanLiteral(this.match(85));return n()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}default:return{type:"invalid",loc:r}}}flowEnumMemberRaw(){let r=this.state.startLoc,n=this.parseIdentifier(!0),s=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:r};return{id:n,init:s}}flowEnumCheckExplicitTypeMismatch(r,n,s){let{explicitType:i}=n;i!==null&&i!==s&&this.flowEnumErrorInvalidMemberInitializer(r,n)}flowEnumMembers({enumName:r,explicitType:n}){let s=new Set,i={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(Se.EnumInvalidMemberName,{at:l,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:r}),s.has(c)&&this.raise(Se.EnumDuplicateMemberName,{at:l,memberName:c,enumName:r}),s.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,i.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"number"),o.init=u.value,i.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"string"),o.init=u.value,i.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:i.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:a}}flowEnumStringMembers(r,n,{enumName:s}){if(r.length===0)return n;if(n.length===0)return r;if(n.length>r.length){for(let i of r)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:s});return n}else{for(let i of n)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:s});return r}}flowEnumParseExplicitType({enumName:r}){if(!this.eatContextual(102))return null;if(!st(this.state.type))throw this.raise(Se.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(Se.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:r,invalidEnumType:n}),n}flowEnumBody(r,n){let s=n.name,i=n.loc.start,a=this.flowEnumParseExplicitType({enumName:s});this.expect(5);let{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:s,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:s}),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:s}),this.expect(8),this.finishNode(r,"EnumStringBody");if(!f&&!d&&c>=m){for(let C of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(C.loc.start,{enumName:s,memberName:C.id.name});return r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody")}else if(!c&&!d&&f>=m){for(let C of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(C.loc.start,{enumName:s,memberName:C.id.name});return r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody")}else return this.raise(Se.EnumInconsistentMemberValues,{at:i,enumName:s}),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}},lae={__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"},Os=Sn`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 es(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":!1}function Si(e){if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return Si(e.object)+"."+Si(e.property);throw new Error("Node had unexpected type: "+e.type)}var uae=e=>class extends e{jsxReadToken(){let r="",n=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Os.UnterminatedJsxContent,{at:this.state.startLoc});let s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){s===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(s);return}r+=this.input.slice(n,this.state.pos),this.finishToken(141,r);return;case 38:r+=this.input.slice(n,this.state.pos),r+=this.jsxReadEntity(),n=this.state.pos;break;case 62:case 125:default:za(s)?(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),s;return++this.state.pos,n===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,s=r?`
  27. `:`\r
  28. `):s=String.fromCharCode(n),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(r){let n="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(_.UnterminatedString,{at:this.state.startLoc});let i=this.input.charCodeAt(this.state.pos);if(i===r)break;i===38?(n+=this.input.slice(s,this.state.pos),n+=this.jsxReadEntity(),s=this.state.pos):za(i)?(n+=this.input.slice(s,this.state.pos),n+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}n+=this.input.slice(s,this.state.pos++),this.finishToken(133,n)}jsxReadEntity(){let r=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let n=10;this.codePointAtPos(this.state.pos)===120&&(n=16,++this.state.pos);let s=this.readInt(n,void 0,!1,"bail");if(s!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(s)}else{let n=0,s=!1;for(;n++<10&&this.state.pos<this.length&&!(s=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(s){let i=this.input.slice(r,this.state.pos),a=lae[i];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(xi(r)||r===45);this.finishToken(140,this.input.slice(n,this.state.pos))}jsxParseIdentifier(){let r=this.startNode();return this.match(140)?r.name=this.state.value:Cy(this.state.type)?r.name=rs(this.state.type):this.unexpected(),this.next(),this.finishNode(r,"JSXIdentifier")}jsxParseNamespacedName(){let r=this.state.startLoc,n=this.jsxParseIdentifier();if(!this.eat(14))return n;let s=this.startNodeAt(r);return s.namespace=n,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){let r=this.state.startLoc,n=this.jsxParseNamespacedName();if(n.type==="JSXNamespacedName")return n;for(;this.eat(16);){let s=this.startNodeAt(r);s.object=n,s.property=this.jsxParseIdentifier(),n=this.finishNode(s,"JSXMemberExpression")}return n}jsxParseAttributeValue(){let r;switch(this.state.type){case 5:return r=this.startNode(),this.setContext(ct.brace),this.next(),r=this.jsxParseExpressionContainer(r,ct.j_oTag),r.expression.type==="JSXEmptyExpression"&&this.raise(Os.AttributeIsEmpty,{at:r}),r;case 142:case 133:return this.parseExprAtom();default:throw this.raise(Os.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(ct.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 s=this.parseExpression();r.expression=s}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(ct.brace),this.next(),this.expect(21),r.argument=this.parseMaybeAssignAllowIn(),this.setContext(ct.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXSpreadAttribute")):(r.name=this.jsxParseNamespacedName(),r.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(r,"JSXAttribute"))}jsxParseOpeningElementAt(r){let n=this.startNodeAt(r);return this.eat(143)?this.finishNode(n,"JSXOpeningFragment"):(n.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(n))}jsxParseOpeningElementAfterName(r){let n=[];for(;!this.match(56)&&!this.match(143);)n.push(this.jsxParseAttribute());return r.attributes=n,r.selfClosing=this.eat(56),this.expect(143),this.finishNode(r,"JSXOpeningElement")}jsxParseClosingElementAt(r){let n=this.startNodeAt(r);return this.eat(143)?this.finishNode(n,"JSXClosingFragment"):(n.name=this.jsxParseElementName(),this.expect(143),this.finishNode(n,"JSXClosingElement"))}jsxParseElementAt(r){let n=this.startNodeAt(r),s=[],i=this.jsxParseOpeningElementAt(r),a=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 142:if(r=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(r);break e}s.push(this.jsxParseElementAt(r));break;case 141:s.push(this.parseExprAtom());break;case 5:{let o=this.startNode();this.setContext(ct.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(o)):s.push(this.jsxParseExpressionContainer(o,ct.j_expr));break}default:this.unexpected()}es(i)&&!es(a)&&a!==null?this.raise(Os.MissingClosingTagFragment,{at:a}):!es(i)&&es(a)?this.raise(Os.MissingClosingTagElement,{at:a,openingTagName:Si(i.name)}):!es(i)&&!es(a)&&Si(a.name)!==Si(i.name)&&this.raise(Os.MissingClosingTagElement,{at:a,openingTagName:Si(i.name)})}if(es(i)?(n.openingFragment=i,n.closingFragment=a):(n.openingElement=i,n.closingElement=a),n.children=s,this.match(47))throw this.raise(Os.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return es(i)?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(141)?this.parseLiteral(this.state.value,"JSXText"):this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(r)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(r){let n=this.curContext();if(n===ct.j_expr){this.jsxReadToken();return}if(n===ct.j_oTag||n===ct.j_cTag){if(Tn(r)){this.jsxReadWord();return}if(r===62){++this.state.pos,this.finishToken(143);return}if((r===34||r===39)&&n===ct.j_oTag){this.jsxReadString(r);return}}if(r===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(r)}updateContext(r){let{context:n,type:s}=this.state;if(s===56&&r===142)n.splice(-2,2,ct.j_cTag),this.state.canStartJSXElement=!1;else if(s===142)n.push(ct.j_oTag);else if(s===143){let i=n[n.length-1];i===ct.j_oTag&&r===56||i===ct.j_cTag?(n.pop(),this.state.canStartJSXElement=n[n.length-1]===ct.j_expr):(this.setContext(ct.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Pie(s)}},my=class extends Qa{constructor(...t){super(...t),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},yy=class extends Za{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new my(t)}enter(t){t==256&&this.importsStack.push(new Set),super.enter(t)}exit(){let t=super.exit();return t==256&&this.importsStack.pop(),t}hasImport(t,r){let n=this.importsStack.length;if(this.importsStack[n-1].has(t))return!0;if(!r&&n>1){for(let s=0;s<n-1;s++)if(this.importsStack[s].has(t))return!0}return!1}declareName(t,r,n){if(r&4096){this.hasImport(t,!0)&&this.parser.raise(_.VarRedeclaration,{at:n,identifierName:t}),this.importsStack[this.importsStack.length-1].add(t);return}let s=this.currentScope();if(r&1024){this.maybeExportDefined(s,t),s.exportOnlyBindings.add(t);return}super.declareName(t,r,n),r&2&&(r&1||(this.checkRedeclarationInScope(s,t,r,n),this.maybeExportDefined(s,t)),s.types.add(t)),r&256&&s.enums.add(t),r&512&&s.constEnums.add(t),r&128&&s.classes.add(t)}isRedeclaredInScope(t,r,n){if(t.enums.has(r)){if(n&256){let s=!!(n&512),i=t.constEnums.has(r);return s!==i}return!0}return n&128&&t.classes.has(r)?t.lexical.has(r)?!!(n&1):!1:n&2&&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 s=n-1;s>=0;s--){let i=this.scopeStack[s];if(i.types.has(r)||i.exportOnlyBindings.has(r))return}super.checkLocalExport(t)}},cae=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],aA=e=>e.type==="ParenthesizedExpression"?aA(e.expression):e,gy=class extends hy{toAssignable(t,r=!1){var n,s;let i;switch((t.type==="ParenthesizedExpression"||(n=t.extra)!=null&&n.parenthesized)&&(i=aA(t),r?i.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(_.InvalidParenthesizedAssignment,{at:t}):i.type!=="MemberExpression"&&!this.isOptionalMemberExpression(i)&&this.raise(_.InvalidParenthesizedAssignment,{at:t}):this.raise(_.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(_.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,(s=t.extra)==null?void 0:s.trailingCommaLoc,r);break;case"AssignmentExpression":t.operator!=="="&&this.raise(_.MissingEqInAssignment,{at:t.left.loc.end}),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,r);break;case"ParenthesizedExpression":this.toAssignable(i,r);break}}toAssignableObjectExpressionProp(t,r,n){if(t.type==="ObjectMethod")this.raise(t.kind==="get"||t.kind==="set"?_.PatternHasAccessor:_.PatternHasMethod,{at:t.key});else if(t.type==="SpreadElement"){t.type="RestElement";let s=t.argument;this.checkToRestConversion(s,!1),this.toAssignable(s,n),r||this.raise(_.RestTrailingComma,{at:t})}else this.toAssignable(t,n)}toAssignableList(t,r,n){let s=t.length-1;for(let i=0;i<=s;i++){let a=t[i];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"&&(i<s?this.raise(_.RestTrailingComma,{at:a}):r&&this.raise(_.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((s,i)=>s.type!=="ObjectMethod"&&(i===n||s.type!=="SpreadElement")&&this.isAssignable(s))}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 s=n&1,i=[],a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),s&&this.match(12))i.push(null);else{if(this.eat(t))break;if(this.match(21)){if(i.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(_.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());i.push(this.parseAssignableListItem(n,o))}}return i}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===138?(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 s=this.parseMaybeDefault(n.loc.start,n);return r.length&&(n.decorators=r),s}parseAssignableListItemTypes(t,r){return t}parseMaybeDefault(t,r){var n,s;if((n=t)!=null||(t=this.state.startLoc),r=(s=r)!=null?s:this.parseBindingAtom(),!this.eat(29))return r;let i=this.startNodeAt(t);return i.left=r,i.right=this.parseMaybeAssignAllowIn(),this.finishNode(i,"AssignmentPattern")}isValidLVal(t,r,n){return cae({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},t)}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,{in:r,binding:n=64,checkClashes:s=!1,strictModeChanged:i=!1,hasParenthesizedAncestor:a=!1}){var o;let l=t.type;if(this.isObjectMethod(t))return;let u=this.isOptionalMemberExpression(t);if(u||l==="MemberExpression"){u&&(this.expectPlugin("optionalChainingAssign",t.loc.start),r.type!=="AssignmentExpression"&&this.raise(_.InvalidLhsOptionalChaining,{at:t,ancestor:r})),n!==64&&this.raise(_.InvalidPropertyBindingPattern,{at:t});return}if(l==="Identifier"){this.checkIdentifier(t,n,i);let{name:C}=t;s&&(s.has(C)?this.raise(_.ParamDupe,{at:t}):s.add(C));return}let c=this.isValidLVal(l,!(a||(o=t.extra)!=null&&o.parenthesized)&&r.type==="AssignmentExpression",n);if(c===!0)return;if(c===!1){let C=n===64?_.InvalidLhs:_.InvalidLhsBinding;this.raise(C,{at:t,ancestor:r});return}let[f,d]=Array.isArray(c)?c:[c,l==="ParenthesizedExpression"],m=l==="ArrayPattern"||l==="ObjectPattern"?{type:l}:r;for(let C of[].concat(t[f]))C&&this.checkLVal(C,{in:m,binding:n,checkClashes:s,strictModeChanged:i,hasParenthesizedAncestor:d})}checkIdentifier(t,r,n=!1){this.state.strict&&(n?QP(t.name,this.inModule):zP(t.name))&&(r===64?this.raise(_.StrictEvalArguments,{at:t,referenceName:t.name}):this.raise(_.StrictEvalArgumentsBinding,{at:t,bindingName:t.name})),r&8192&&t.name==="let"&&this.raise(_.LetInLexicalBinding,{at:t}),r&64||this.declareNameFromIdentifier(t,r)}declareNameFromIdentifier(t,r){this.scope.declareName(t.name,r,t.loc.start)}checkToRestConversion(t,r){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,r);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(r)break;default:this.raise(_.InvalidRestAssignmentPattern,{at:t})}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?_.RestTrailingComma:_.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},fae=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function pae(e){if(e==null)throw new Error(`Unexpected ${e} value.`);return e}function RP(e){if(!e)throw new Error("Assert fail")}var de=Sn`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.",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 dae(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 qP(e){return e==="private"||e==="public"||e==="protected"}function hae(e){return e==="in"||e==="out"}var mae=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:de.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:de.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:de.InvalidModifierOnTypeParameter})}getScopeHandler(){return yy}tsIsIdentifier(){return st(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(r,n){if(!st(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let s=this.state.value;if(r.indexOf(s)!==-1){if(n&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return s}}tsParseModifiers({allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:s,errorTemplate:i=de.InvalidModifierOnTypeMember},a){let o=(u,c,f,d)=>{c===f&&a[d]&&this.raise(de.InvalidModifiersOrder,{at:u,orderedModifiers:[f,d]})},l=(u,c,f,d)=>{(a[f]&&c===d||a[d]&&c===f)&&this.raise(de.IncompatibleModifiers,{at:u,modifiers:[f,d]})};for(;;){let{startLoc:u}=this.state,c=this.tsParseModifier(r.concat(n!=null?n:[]),s);if(!c)break;qP(c)?a.accessibility?this.raise(de.DuplicateAccessibilityModifier,{at:u,modifier:c}):(o(u,c,c,"override"),o(u,c,c,"static"),o(u,c,c,"readonly"),a.accessibility=c):hae(c)?(a[c]&&this.raise(de.DuplicateModifier,{at:u,modifier:c}),a[c]=!0,o(u,c,"in","out")):(Object.hasOwnProperty.call(a,c)?this.raise(de.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(i,{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 s=[];for(;!this.tsIsListTerminator(r);)s.push(n());return s}tsParseDelimitedList(r,n,s){return pae(this.tsParseDelimitedListWorker(r,n,!0,s))}tsParseDelimitedListWorker(r,n,s,i){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;s&&this.expect(12);return}return i&&(i.value=o),a}tsParseBracketedList(r,n,s,i,a){i||(s?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(r,n,a);return s?this.expect(3):this.expect(48),o}tsParseImportType(){let r=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(de.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 s=this.startNodeAtNode(n);s.left=n,s.right=this.parseIdentifier(r),n=this.finishNode(s,"TSQualifiedName")}return n}tsParseTypeReference(){let r=this.startNode();return r.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeReference")}tsParseThisTypePredicate(r){this.next();let n=this.startNodeAtNode(r);return n.parameterName=r,n.typeAnnotation=this.tsParseTypeAnnotation(!1),n.asserts=!1,this.finishNode(n,"TSTypePredicate")}tsParseThisTypeNode(){let r=this.startNode();return this.next(),this.finishNode(r,"TSThisType")}tsParseTypeQuery(){let r=this.startNode();return this.expect(87),this.match(83)?r.exprName=this.tsParseImportType():r.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeQuery")}tsParseTypeParameter(r){let n=this.startNode();return r(n),n.name=this.tsParseTypeParameterName(),n.constraint=this.tsEatThenParseType(81),n.default=this.tsEatThenParseType(29),this.finishNode(n,"TSTypeParameter")}tsTryParseTypeParameters(r){if(this.match(47))return this.tsParseTypeParameters(r)}tsParseTypeParameters(r){let n=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let s={value:-1};return n.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,r),!1,!0,s),n.params.length===0&&this.raise(de.EmptyTypeParameters,{at:n}),s.value!==-1&&this.addExtra(n,"trailingComma",s.value),this.finishNode(n,"TSTypeParameterDeclaration")}tsFillSignature(r,n){let s=r===19,i="parameters",a="typeAnnotation";n.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),n[i]=this.tsParseBindingListForSignature(),s?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:s}=n;(s==="AssignmentPattern"||s==="TSParameterProperty")&&this.raise(de.UnsupportedSignatureParameterKind,{at:n,type:s})}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(),st(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 s=this.tsTryParseTypeAnnotation();return s&&(r.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSIndexSignature")}tsParsePropertyOrMethodSignature(r,n){this.eat(17)&&(r.optional=!0);let s=r;if(this.match(10)||this.match(47)){n&&this.raise(de.ReadonlyForMethodSignature,{at:r});let i=s;i.kind&&this.match(47)&&this.raise(de.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon();let a="parameters",o="typeAnnotation";if(i.kind==="get")i[a].length>0&&(this.raise(_.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(i[a][0])&&this.raise(de.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(i.kind==="set"){if(i[a].length!==1)this.raise(_.BadSetterArity,{at:this.state.curPosition()});else{let l=i[a][0];this.isThisParam(l)&&this.raise(de.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),l.type==="Identifier"&&l.optional&&this.raise(de.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),l.type==="RestElement"&&this.raise(de.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}i[o]&&this.raise(de.SetAccesorCannotHaveReturnType,{at:i[o]})}else i.kind="method";return this.finishNode(i,"TSMethodSignature")}else{let i=s;n&&(i.readonly=!0);let a=this.tsTryParseTypeAnnotation();return a&&(i.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(i,"TSPropertySignature")}}tsParseTypeMember(){let r=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",r);if(this.match(77)){let s=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",r):(r.key=this.createIdentifier(s,"new"),this.tsParsePropertyOrMethodSignature(r,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},r);let n=this.tsTryParseIndexSignature(r);return n||(super.parsePropertyName(r),!r.computed&&r.key.type==="Identifier"&&(r.key.name==="get"||r.key.name==="set")&&this.tsTokenCanFollowModifier()&&(r.kind=r.key.name,super.parsePropertyName(r)),this.tsParsePropertyOrMethodSignature(r,!!r.readonly))}tsParseTypeLiteral(){let r=this.startNode();return r.members=this.tsParseObjectTypeMembers(),this.finishNode(r,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let r=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),r}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsExpectThenParseType(58),this.finishNode(r,"TSTypeParameter")}tsParseMappedType(){let r=this.startNode();return this.expect(5),this.match(53)?(r.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(r.readonly=!0),this.expect(0),r.typeParameter=this.tsParseMappedTypeParameter(),r.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(r.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(r.optional=!0),r.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(r,"TSMappedType")}tsParseTupleType(){let r=this.startNode();r.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let n=!1;return r.elementTypes.forEach(s=>{let{type:i}=s;n&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&s.optional)&&this.raise(de.OptionalTypeBeforeRequired,{at:s}),n||(n=i==="TSNamedTupleMember"&&s.optional||i==="TSOptionalType")}),this.finishNode(r,"TSTupleType")}tsParseTupleElementType(){let{startLoc:r}=this.state,n=this.eat(21),s,i,a,o,u=$r(this.state.type)?this.lookaheadCharCode():null;if(u===58)s=!0,a=!1,i=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?(s=!0,i=this.createIdentifier(this.startNodeAt(c),f),this.expect(17),this.expect(14),o=this.tsParseType()):(s=!1,o=d,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),s=this.eat(14);if(s){let c;i?(c=this.startNodeAtNode(i),c.optional=a,c.label=i,c.elementType=o,this.eat(17)&&(c.optional=!0,this.raise(de.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(c=this.startNodeAtNode(o),c.optional=a,this.raise(de.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 s=this.startNode();return r==="TSConstructorType"&&(s.abstract=!!n,n&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,s)),this.finishNode(s,r)}tsParseLiteralTypeNode(){let r=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:r.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(r,"TSLiteralType")}tsParseTemplateLiteralType(){let r=this.startNode();return r.literal=super.parseTemplate(!1),this.finishNode(r,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let r=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(r):r}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let r=this.startNode(),n=this.lookahead();return n.type!==134&&n.type!==135&&this.unexpected(),r.literal=this.parseMaybeUnary(),this.finishNode(r,"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(st(r)||r===88||r===84){let n=r===88?"TSVoidKeyword":r===84?"TSNullKeyword":dae(this.state.value);if(n!==void 0&&this.lookaheadCharCode()!==46){let s=this.startNode();return this.next(),this.finishNode(s,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(de.UnexpectedReadonly,{at:r})}}tsParseInferType(){let r=this.startNode();this.expectContextual(115);let n=this.startNode();return n.name=this.tsParseTypeParameterName(),n.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),r.typeParameter=this.finishNode(n,"TSTypeParameter"),this.finishNode(r,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let r=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return r}}tsParseTypeOperatorOrHigher(){return Oie(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(r,n,s){let i=this.startNode(),a=this.eat(s),o=[];do o.push(n());while(this.eat(s));return o.length===1&&!a?o[0]:(i.types=o,this.finishNode(i,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(st(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 s=this.startNode(),i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(s.parameterName=l,s.asserts=!0,s.typeAnnotation=null,l=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(l,s),l.asserts=!0),n.typeAnnotation=l,this.finishNode(n,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return i?(s.parameterName=this.parseIdentifier(),s.asserts=i,s.typeAnnotation=null,n.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,n);let o=this.tsParseTypeAnnotation(!1);return s.parameterName=a,s.typeAnnotation=o,s.asserts=i,n.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let r=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),r}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let r=this.state.containsEsc;return this.next(),!st(this.state.type)&&!this.match(78)?!1:(r&&this.raise(_.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(){RP(this.state.inType);let r=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return r;let n=this.startNodeAtNode(r);return n.checkType=r,n.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),n.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),n.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(n,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(de.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,s=this.tsParseDelimitedList("HeritageClauseElement",()=>{let i=this.startNode();return i.expression=this.tsParseEntityName(),this.match(47)&&(i.typeParameters=this.tsParseTypeArguments()),this.finishNode(i,"TSExpressionWithTypeArguments")});return s.length||this.raise(de.EmptyHeritageClauseType,{at:n,token:r}),s}tsParseInterfaceDeclaration(r,n={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),n.declare&&(r.declare=!0),st(this.state.type)?(r.id=this.parseIdentifier(),this.checkIdentifier(r.id,130)):(r.id=null,this.raise(de.MissingInterfaceName,{at:this.state.startLoc})),r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(r.extends=this.tsParseHeritageClause("extends"));let s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),r.body=this.finishNode(s,"TSInterfaceBody"),this.finishNode(r,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(r){return r.id=this.parseIdentifier(),this.checkIdentifier(r.id,2),r.typeAnnotation=this.tsInType(()=>{if(r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let n=this.startNode();return this.next(),this.finishNode(n,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(r,"TSTypeAliasDeclaration")}tsInNoContext(r){let n=this.state.context;this.state.context=[n[0]];try{return r()}finally{this.state.context=n}}tsInType(r){let n=this.state.inType;this.state.inType=!0;try{return r()}finally{this.state.inType=n}}tsInDisallowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsInAllowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsEatThenParseType(r){if(this.match(r))return this.tsNextThenParseType()}tsExpectThenParseType(r){return this.tsInType(()=>(this.expect(r),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let r=this.startNode();return r.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(r.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(r,"TSEnumMember")}tsParseEnumDeclaration(r,n={}){return n.const&&(r.const=!0),n.declare&&(r.declare=!0),this.expectContextual(126),r.id=this.parseIdentifier(),this.checkIdentifier(r.id,r.const?8971:8459),this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumDeclaration")}tsParseModuleBlock(){let r=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(r.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(r,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(r,n=!1){if(r.id=this.parseIdentifier(),n||this.checkIdentifier(r.id,1024),this.eat(16)){let s=this.startNode();this.tsParseModuleOrNamespaceDeclaration(s,!0),r.body=s}else this.scope.enter(256),this.prodParam.enter(Pi),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(r,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(r){return this.isContextual(112)?(r.global=!0,r.id=this.parseIdentifier()):this.match(133)?r.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(Pi),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(r,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(r,n,s){r.isExport=s||!1,r.id=n||this.parseIdentifier(),this.checkIdentifier(r.id,4096),this.expect(29);let i=this.tsParseModuleReference();return r.importKind==="type"&&i.type!=="TSExternalModuleReference"&&this.raise(de.ImportAliasHasImportType,{at:i}),r.moduleReference=i,this.semicolon(),this.finishNode(r,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let r=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),r.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExternalModuleReference")}tsLookAhead(r){let n=this.state.clone(),s=r();return this.state=n,s}tsTryParseAndCatch(r){let n=this.tryParse(s=>r()||s());if(!(n.aborted||!n.node))return n.error&&(this.state=n.failState),n.node}tsTryParse(r){let n=this.state.clone(),s=r();if(s!==void 0&&s!==!1)return s;this.state=n}tsTryParseDeclare(r){if(this.isLineTerminator())return;let n=this.state.type,s;return this.isContextual(100)&&(n=74,s="let"),this.tsInAmbientContext(()=>{switch(n){case 68:return r.declare=!0,super.parseFunctionStatement(r,!1,!1);case 80:return r.declare=!0,this.parseClass(r,!0,!1);case 126:return this.tsParseEnumDeclaration(r,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(r);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(r.declare=!0,this.parseVarStatement(r,s||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(r,{const:!0,declare:!0}));case 129:{let i=this.tsParseInterfaceDeclaration(r,{declare:!0});if(i)return i}default:if(st(n))return this.tsParseDeclaration(r,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(r,n,s){switch(n.name){case"declare":{let i=this.tsTryParseDeclare(r);return i&&(i.declare=!0),i}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(Pi);let i=r;return i.global=!0,i.id=n,i.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(i,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(r,n.name,!1,s)}}tsParseDeclaration(r,n,s,i){switch(n){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||st(this.state.type)))return this.tsParseAbstractDeclaration(r,i);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(r);if(st(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(r)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&st(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(r);break;case"type":if(this.tsCheckLineTerminator(s)&&st(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 s=this.tsTryParseAndCatch(()=>{let i=this.startNodeAt(r);return i.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(i),i.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),i});if(this.state.maybeInArrowParameters=n,!!s)return super.parseArrowExpression(s,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(de.EmptyTypeArguments,{at:r}):!this.state.inType&&this.curContext()===ct.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return _ie(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(r,n){let s=this.state.startLoc,i={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},i);let a=i.accessibility,o=i.override,l=i.readonly;!(r&4)&&(a||l||o)&&this.raise(de.UnexpectedParameterModifier,{at:s});let u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,r);let c=this.parseMaybeDefault(u.loc.start,u);if(a||l||o){let f=this.startNodeAt(s);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(de.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(de.PatternIsOptional,{at:n})}setArrowFunctionParameters(r,n,s){super.setArrowFunctionParameters(r,n,s),this.tsDisallowOptionalPattern(r)}parseFunctionBodyAndFinish(r,n,s=!1){this.match(14)&&(r.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let i=n==="FunctionDeclaration"?"TSDeclareFunction":n==="ClassMethod"||n==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return i&&!this.match(5)&&this.isLineTerminator()?this.finishNode(r,i):i==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(de.DeclareFunctionHasImplementation,{at:r}),r.declare)?super.parseFunctionBodyAndFinish(r,i,s):(this.tsDisallowOptionalPattern(r),super.parseFunctionBodyAndFinish(r,n,s))}registerFunctionStatementId(r){!r.body&&r.id?this.checkIdentifier(r.id,1024):super.registerFunctionStatementId(r)}tsCheckForInvalidTypeCasts(r){r.forEach(n=>{(n==null?void 0:n.type)==="TSTypeCastExpression"&&this.raise(de.UnexpectedTypeAnnotation,{at:n.typeAnnotation})})}toReferencedList(r,n){return this.tsCheckForInvalidTypeCasts(r),r}parseArrayLike(r,n,s,i){let a=super.parseArrayLike(r,n,s,i);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(r,n,s,i){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(s)return i.stop=!0,r;i.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,l=this.tsTryParseAndCatch(()=>{if(!s&&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(Du(this.state.type)){let d=super.parseTaggedTemplateExpression(r,n,i);return d.typeParameters=u,d}if(!s&&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,i.optionalChainMember&&(d.optional=a),this.finishCallExpression(d,i.optionalChainMember)}let c=this.state.type;if(c===48||c===52||c!==10&&ey(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(de.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),l}return super.parseSubscript(r,n,s,i)}parseNewCallee(r){var n;super.parseNewCallee(r);let{callee:s}=r;s.type==="TSInstantiationExpression"&&!((n=s.extra)!=null&&n.parenthesized)&&(r.typeParameters=s.typeParameters,r.callee=s.expression)}parseExprOp(r,n,s){let i;if(xu(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(i=this.isContextual(120)))){let a=this.startNodeAt(n);return a.expression=r,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(i&&this.raise(_.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,i?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,n,s)}return super.parseExprOp(r,n,s)}checkReservedWord(r,n,s,i){this.state.isAmbientContext||super.checkReservedWord(r,n,s,i)}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(de.ImportReflectionHasImportType,{at:r.specifiers[0].loc.start})}checkDuplicateExports(){}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){let n=this.lookaheadCharCode();return r?n===123||n===42:n!==61}return!r&&this.isContextual(87)}applyImportPhase(r,n,s,i){super.applyImportPhase(r,n,s,i),n?r.exportKind=s==="type"?"type":"value":r.importKind=s==="type"||s==="typeof"?s:"value"}parseImport(r){if(this.match(133))return r.importKind="value",super.parseImport(r);let n;if(st(this.state.type)&&this.lookaheadCharCode()===61)return r.importKind="value",this.tsParseImportEqualsDeclaration(r);if(this.isContextual(130)){let s=this.parseMaybeImportPhase(r,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(r,s);n=super.parseImportSpecifiersAndAfter(r,s)}else n=super.parseImport(r);return n.importKind==="type"&&n.specifiers.length>1&&n.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(de.TypeImportCannotSpecifyDefaultAndNamed,{at:n}),n}parseExport(r,n){if(this.match(83)){this.next();let s=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?s=this.parseMaybeImportPhase(r,!1):r.importKind="value",this.tsParseImportEqualsDeclaration(r,s,!0)}else if(this.eat(29)){let s=r;return s.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExportAssignment")}else if(this.eatContextual(93)){let s=r;return this.expectContextual(128),s.id=this.parseIdentifier(),this.semicolon(),this.finishNode(s,"TSNamespaceExportDeclaration")}else return super.parseExport(r,n)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let r=this.startNode();return this.next(),r.abstract=!0,this.parseClass(r,!0,!0)}if(this.match(129)){let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseExportDefaultExpression()}parseVarStatement(r,n,s=!1){let{isAmbientContext:i}=this.state,a=super.parseVarStatement(r,n,s||i);if(!i)return a;for(let{id:o,init:l}of a.declarations)l&&(n!=="const"||o.typeAnnotation?this.raise(de.InitializerNotAllowedInAmbientContext,{at:l}):gae(l,this.hasPlugin("estree"))||this.raise(de.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:l}));return a}parseStatementContent(r,n){if(this.match(75)&&this.isLookaheadContextual("enum")){let s=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(s,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let s=this.tsParseInterfaceDeclaration(this.startNode());if(s)return s}return super.parseStatementContent(r,n)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(r,n){return n.some(s=>qP(s)?r.accessibility===s:!!r[s])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(r,n,s){let i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:de.InvalidModifierOnTypeParameterPositions},n);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(n,i)&&this.raise(de.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(r,n)):this.parseClassMemberWithIsStatic(r,n,s,!!n.static)};n.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(r,n,s,i){let a=this.tsTryParseIndexSignature(n);if(a){r.body.push(a),n.abstract&&this.raise(de.IndexSignatureHasAbstract,{at:n}),n.accessibility&&this.raise(de.IndexSignatureHasAccessibility,{at:n,modifier:n.accessibility}),n.declare&&this.raise(de.IndexSignatureHasDeclare,{at:n}),n.override&&this.raise(de.IndexSignatureHasOverride,{at:n});return}!this.state.inAbstractClass&&n.abstract&&this.raise(de.NonAbstractClassHasAbstractMethod,{at:n}),n.override&&(s.hadSuperClass||this.raise(de.OverrideNotInSubClass,{at:n})),super.parseClassMemberWithIsStatic(r,n,s,i)}parsePostMemberNameModifiers(r){this.eat(17)&&(r.optional=!0),r.readonly&&this.match(10)&&this.raise(de.ClassMethodHasReadonly,{at:r}),r.declare&&this.match(10)&&this.raise(de.ClassMethodHasDeclare,{at:r})}parseExpressionStatement(r,n,s){return(n.type==="Identifier"?this.tsParseExpressionStatement(r,n,s):void 0)||super.parseExpressionStatement(r,n,s)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(r,n,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(r,n,s);let i=this.tryParse(()=>super.parseConditional(r,n));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(s,i.error),r)}parseParenItem(r,n){if(r=super.parseParenItem(r,n),this.eat(17)&&(r.optional=!0,this.resetEndLocation(r)),this.match(14)){let s=this.startNodeAt(n);return s.expression=r,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return r}parseExportDeclaration(r){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(r));let n=this.state.startLoc,s=this.eatContextual(125);if(s&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(de.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let a=st(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(r);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||s)&&(r.exportKind="type"),s&&(this.resetStartLocation(a,n),a.declare=!0),a):null}parseClassId(r,n,s,i){if((!n||s)&&this.isContextual(113))return;super.parseClassId(r,n,s,r.declare?1024:8331);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(de.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),r.abstract&&this.match(29)){let{key:n}=r;this.raise(de.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(de.PrivateElementHasAbstract,{at:r}),r.accessibility&&this.raise(de.PrivateElementHasAccessibility,{at:r,modifier:r.accessibility}),this.parseClassPropertyAnnotation(r),super.parseClassPrivateProperty(r)}parseClassAccessorProperty(r){return this.parseClassPropertyAnnotation(r),r.optional&&this.raise(de.AccessorCannotBeOptional,{at:r}),super.parseClassAccessorProperty(r)}pushClassMethod(r,n,s,i,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(de.ConstructorHasTypeParameters,{at:l});let{declare:u=!1,kind:c}=n;u&&(c==="get"||c==="set")&&this.raise(de.DeclareAccessor,{at:n,kind:c}),l&&(n.typeParameters=l),super.pushClassMethod(r,n,s,i,a,o)}pushClassPrivateMethod(r,n,s,i){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(n.typeParameters=a),super.pushClassPrivateMethod(r,n,s,i)}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(113)&&(r.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(r,n,s,i,a,o,l){let u=this.tsTryParseTypeParameters(this.tsParseConstModifier);return u&&(r.typeParameters=u),super.parseObjPropValue(r,n,s,i,a,o,l)}parseFunctionParams(r,n){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(r.typeParameters=s),super.parseFunctionParams(r,n)}parseVarId(r,n){super.parseVarId(r,n),r.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(r.definite=!0);let s=this.tsTryParseTypeAnnotation();s&&(r.id.typeAnnotation=s,this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,n){return this.match(14)&&(r.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(r,n)}parseMaybeAssign(r,n){var s,i,a,o,l;let u,c,f;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(u=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!c.error)return c.node;let{context:C}=this.state,p=C[C.length-1];(p===ct.j_oTag||p===ct.j_expr)&&C.pop()}if(!((s=c)!=null&&s.error)&&!this.match(47))return super.parseMaybeAssign(r,n);(!u||u===this.state)&&(u=this.state.clone());let d,m=this.tryParse(C=>{var p,b;d=this.tsParseTypeParameters(this.tsParseConstModifier);let E=super.parseMaybeAssign(r,n);return(E.type!=="ArrowFunctionExpression"||(p=E.extra)!=null&&p.parenthesized)&&C(),((b=d)==null?void 0:b.params.length)!==0&&this.resetStartLocationFromNode(E,d),E.typeParameters=d,E},u);if(!m.error&&!m.aborted)return d&&this.reportReservedArrowTypeParam(d),m.node;if(!c&&(RP(!this.hasPlugin("jsx")),f=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!f.error))return f.node;if((i=c)!=null&&i.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(de.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(s=>{let i=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&s(),i});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 s=this.tsTryParseTypeAnnotation();return s&&(r.typeAnnotation=s),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(de.UnexpectedTypeCastInParameter,{at:r}):this.raise(de.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,s){return fae({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(s!==64||!n)&&["expression",!0],TSSatisfiesExpression:(s!==64||!n)&&["expression",!0],TSTypeAssertion:(s!==64||!n)&&["expression",!0]},r)||super.isValidLVal(r,n,s)}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 s=super.parseMaybeDecoratorArguments(r);return s.typeParameters=n,s}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 s=super.parseMaybeDefault(r,n);return s.type==="AssignmentPattern"&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(de.TypeAnnotationAfterAssign,{at:s.typeAnnotation}),s}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,s){for(let i=0;i<r.length;i++){let a=r[i];(a==null?void 0:a.type)==="TSTypeCastExpression"&&(r[i]=this.typeCastToParameter(a))}super.toAssignableList(r,n,s)}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),i=this.getObjectOrClassMethodParams(r)[0];return i&&this.isThisParam(i)?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,s){let i=this.state.inAbstractClass;this.state.inAbstractClass=!!r.abstract;try{return super.parseClass(r,n,s)}finally{this.state.inAbstractClass=i}}tsParseAbstractDeclaration(r,n){if(this.match(80))return r.abstract=!0,this.maybeTakeDecorators(n,this.parseClass(r,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return r.abstract=!0,this.raise(de.NonClassMethodPropertyHasAbstractModifer,{at:r}),this.tsParseInterfaceDeclaration(r)}else this.unexpected(null,80)}parseMethod(r,n,s,i,a,o,l){let u=super.parseMethod(r,n,s,i,a,o,l);if(u.abstract&&(this.hasPlugin("estree")?!!u.value.body:!!u.body)){let{key:f}=u;this.raise(de.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,s,i){return!n&&i?(this.parseTypeOnlyImportExportSpecifier(r,!1,s),this.finishNode(r,"ExportSpecifier")):(r.exportKind="value",super.parseExportSpecifier(r,n,s,i))}parseImportSpecifier(r,n,s,i,a){return!n&&i?(this.parseTypeOnlyImportExportSpecifier(r,!0,s),this.finishNode(r,"ImportSpecifier")):(r.importKind="value",super.parseImportSpecifier(r,n,s,i,s?4098:4096))}parseTypeOnlyImportExportSpecifier(r,n,s){let i=n?"imported":"local",a=n?"local":"exported",o=r[i],l,u=!1,c=!0,f=o.loc.start;if(this.isContextual(93)){let m=this.parseIdentifier();if(this.isContextual(93)){let C=this.parseIdentifier();$r(this.state.type)?(u=!0,o=m,l=n?this.parseIdentifier():this.parseModuleExportName(),c=!1):(l=C,c=!1)}else $r(this.state.type)?(c=!1,l=n?this.parseIdentifier():this.parseModuleExportName()):(u=!0,o=m)}else $r(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&&s&&this.raise(n?de.TypeModifierIsUsedInTypeImports:de.TypeModifierIsUsedInTypeExports,{at:f}),r[i]=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]=xn(r[i])),n&&this.checkIdentifier(r[a],u?4098:4096)}};function yae(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:lA(e.object)}function gae(e,t){var r;let{type:n}=e;if((r=e.extra)!=null&&r.parenthesized)return!1;if(t){if(n==="Literal"){let{value:s}=e;if(typeof s=="string"||typeof s=="boolean")return!0}}else if(n==="StringLiteral"||n==="BooleanLiteral")return!0;return!!(oA(e,t)||bae(e,t)||n==="TemplateLiteral"&&e.expressions.length===0||yae(e))}function oA(e,t){return t?e.type==="Literal"&&(typeof e.value=="number"||"bigint"in e):e.type==="NumericLiteral"||e.type==="BigIntLiteral"}function bae(e,t){if(e.type==="UnaryExpression"){let{operator:r,argument:n}=e;if(r==="-"&&oA(n,t))return!0}return!1}function lA(e){return e.type==="Identifier"?!0:e.type!=="MemberExpression"||e.computed?!1:lA(e.object)}var UP=Sn`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),Eae=e=>class extends e{parsePlaceholder(r){if(this.match(144)){let n=this.startNode();return this.next(),this.assertNoSpace(),n.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(n,r)}}finishPlaceholder(r,n){let s=!!(r.expectedNode&&r.type==="Placeholder");return r.expectedNode=n,s?r:this.finishNode(r,"Placeholder")}getTokenFromCode(r){r===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(r)}parseExprAtom(r){return this.parsePlaceholder("Expression")||super.parseExprAtom(r)}parseIdentifier(r){return this.parsePlaceholder("Identifier")||super.parseIdentifier(r)}checkReservedWord(r,n,s,i){r!==void 0&&super.checkReservedWord(r,n,s,i)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(r,n,s){return r==="Placeholder"||super.isValidLVal(r,n,s)}toAssignable(r,n){r&&r.type==="Placeholder"&&r.expectedNode==="Expression"?r.expectedNode="Pattern":super.toAssignable(r,n)}chStartsBindingIdentifier(r,n){return!!(super.chStartsBindingIdentifier(r,n)||this.lookahead().type===144)}verifyBreakContinue(r,n){r.label&&r.label.type==="Placeholder"||super.verifyBreakContinue(r,n)}parseExpressionStatement(r,n){var s;if(n.type!=="Placeholder"||(s=n.extra)!=null&&s.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,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(r,n,s)}parseFunctionId(r){return this.parsePlaceholder("Identifier")||super.parseFunctionId(r)}parseClass(r,n,s){let i=n?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(144)||this.match(5))r.id=o;else{if(s||!n)return r.id=null,r.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(r,i);throw this.raise(UP.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(r,n,s);return super.parseClassSuper(r),r.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!r.superClass,a),this.finishNode(r,i)}parseExport(r,n){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(r,n);if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(r,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let i=this.startNode();return i.exported=s,r.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],super.parseExport(r,n)}isExportDefaultSpecifier(){if(this.match(65)){let r=this.nextTokenStart();if(this.isUnparsedContextual(r,"from")&&this.input.startsWith(rs(144),this.nextTokenStartSince(r+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(r,n){var s;return(s=r.specifiers)!=null&&s.length?!0:super.maybeParseExportDefaultSpecifier(r,n)}checkExport(r){let{specifiers:n}=r;n!=null&&n.length&&(r.specifiers=n.filter(s=>s.exported.type==="Placeholder")),super.checkExport(r),r.specifiers=n}parseImport(r){let n=this.parsePlaceholder("Identifier");if(!n)return super.parseImport(r);if(r.specifiers=[],!this.isContextual(98)&&!this.match(12))return r.source=this.finishPlaceholder(n,"StringLiteral"),this.semicolon(),this.finishNode(r,"ImportDeclaration");let s=this.startNodeAtNode(n);return s.local=n,r.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(r)||this.parseNamedImportSpecifiers(r)),this.expectContextual(98),r.source=this.parseImportSource(),this.semicolon(),this.finishNode(r,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(UP.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},vae=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let r=this.state.startLoc,n=this.startNode();if(this.next(),st(this.state.type)){let s=this.parseIdentifierName(),i=this.createIdentifier(n,s);if(i.type="V8IntrinsicIdentifier",this.match(10))return i}this.unexpected(r)}}parseExprAtom(r){return this.parseV8Intrinsic()||super.parseExprAtom(r)}};function _t(e,t){let[r,n]=typeof t=="string"?[t,{}]:t,s=Object.keys(n),i=s.length===0;return e.some(a=>{if(typeof a=="string")return i&&a===r;{let[o,l]=a;if(o!==r)return!1;for(let u of s)if(l[u]!==n[u])return!1;return!0}})}function ts(e,t,r){let n=e.find(s=>Array.isArray(s)?s[0]===t:s===t);return n&&Array.isArray(n)&&n.length>1?n[1][r]:null}var VP=["minimal","fsharp","hack","smart"],$P=["^^","@@","^","%","#"],WP=["hash","bar"];function Tae(e){if(_t(e,"decorators")){if(_t(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=ts(e,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=ts(e,"decorators","allowCallParenthesized");if(r!=null&&typeof r!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(_t(e,"flow")&&_t(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_t(e,"placeholders")&&_t(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_t(e,"pipelineOperator")){let t=ts(e,"pipelineOperator","proposal");if(!VP.includes(t)){let n=VP.map(s=>`"${s}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${n}.`)}let r=_t(e,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(_t(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(_t(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let n=ts(e,"pipelineOperator","topicToken");if(!$P.includes(n)){let s=$P.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${s}.`)}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(_t(e,"moduleAttributes")){if(_t(e,"importAssertions")||_t(e,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(ts(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(_t(e,"importAssertions")&&_t(e,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(_t(e,"recordAndTuple")&&ts(e,"recordAndTuple","syntaxType")!=null&&!WP.includes(ts(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+WP.map(t=>`'${t}'`).join(", "));if(_t(e,"asyncDoExpressions")&&!_t(e,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}if(_t(e,"optionalChainingAssign")&&ts(e,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var uA={estree:vie,jsx:uae,flow:oae,typescript:mae,v8intrinsic:vae,placeholders:Eae},Sae=Object.keys(uA),zm={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function xae(e){if(e==null)return Object.assign({},zm);if(e.annexB!=null&&e.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let t={};for(let n of Object.keys(zm)){var r;t[n]=(r=e[n])!=null?r:zm[n]}return t}var by=class extends gy{checkProto(t,r,n,s){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let i=t.key;if((i.type==="Identifier"?i.name:i.value)==="__proto__"){if(r){this.raise(_.RecordNoProto,{at:i});return}n.used&&(s?s.doubleProtoLoc===null&&(s.doubleProtoLoc=i.loc.start):this.raise(_.DuplicateProto,{at:i})),n.used=!0}}shouldExitDescending(t,r){return t.type==="ArrowFunctionExpression"&&t.start===r}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.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 s=this.startNodeAt(r);for(s.expressions=[n];this.eat(12);)s.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(s.expressions),this.finishNode(s,"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(108)&&this.prodParam.hasYield){let o=this.parseYield();return r&&(o=r.call(this,o,n)),o}let s;t?s=!1:(t=new Ai,s=!0);let{type:i}=this.state;(i===10||st(i))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(r&&(a=r.call(this,a,n)),Aie(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 s&&this.checkExpressionErrors(t,!0);return a}parseMaybeConditional(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,s=this.parseExprOps(t);return this.shouldExitDescending(s,n)?s:this.parseConditional(s,r,t)}parseConditional(t,r,n){if(this.eat(17)){let s=this.startNodeAt(r);return s.test=t,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,s=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(s,n)?s:this.parseExprOp(s,r,-1)}parseExprOp(t,r,n){if(this.isPrivateName(t)){let i=this.getPrivateNameSV(t);(n>=xu(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(_.PrivateInExpectedIn,{at:t,identifierName:i}),this.classScope.usePrivateName(i,t.loc.start)}let s=this.state.type;if(wie(s)&&(this.prodParam.hasIn||!this.match(58))){let i=xu(s);if(i>n){if(s===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=s===41||s===42,l=s===40;if(l&&(i=xu(42)),this.next(),s===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(_.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(s,i);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(_.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(108))throw this.raise(_.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,Nie(t)?r-1:r)}parseHackPipeBody(){var t;let{startLoc:r}=this.state,n=this.parseMaybeAssign();return hie.has(n.type)&&!((t=n.extra)!=null&&t.parenthesized)&&this.raise(_.PipeUnparenthesizedBody,{at:r,type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(_.PipeTopicUnused,{at:r}),n}checkExponentialAfterUnary(t){this.match(57)&&this.raise(_.UnexpectedTokenUnaryExponentiation,{at:t.argument})}parseMaybeUnary(t,r){let n=this.state.startLoc,s=this.isContextual(96);if(s&&this.isAwaitAllowed()){this.next();let l=this.parseAwait(n);return r||this.checkExponentialAfterUnary(l),l}let i=this.match(34),a=this.startNode();if(Iie(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(_.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(u)&&this.raise(_.DeletePrivateField,{at:a})}if(!i)return r||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,i,t);if(s){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?ey(l):ey(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(_.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 s=this.state.startLoc,i=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return i;for(;Die(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(s);a.operator=this.state.value,a.prefix=!1,a.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(a,"UpdateExpression")})}return i}parseExprSubscripts(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,s=this.parseExprAtom(t);return this.shouldExitDescending(s,n)?s:this.parseSubscripts(s,r)}parseSubscripts(t,r,n){let s={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,r,n,s),s.maybeAsyncArrow=!1;while(!s.stop);return t}parseSubscript(t,r,n,s){let{type:i}=this.state;if(!n&&i===15)return this.parseBind(t,r,n,s);if(Du(i))return this.parseTaggedTemplateExpression(t,r,s);let a=!1;if(i===18){if(n&&(this.raise(_.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return s.stop=!0,t;s.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,r,s,a);{let o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,r,s,o,a):(s.stop=!0,t)}}parseMember(t,r,n,s,i){let a=this.startNodeAt(r);return a.object=t,a.computed=s,s?(a.property=this.parseExpression(),this.expect(3)):this.match(138)?(t.type==="Super"&&this.raise(_.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=i,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,r,n,s){let i=this.startNodeAt(r);return i.object=t,this.next(),i.callee=this.parseNoCallExpr(),s.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),r,n)}parseCoverCallAndAsyncArrowHead(t,r,n,s){let i=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(Zie()),a=new Ai),u&&(o.optional=s),s?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()&&!s?(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=i,c}toReferencedArguments(t,r){this.toReferencedListDeep(t.arguments,r)}parseTaggedTemplateExpression(t,r,n){let s=this.startNodeAt(r);return s.tag=t,s.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(_.OptionalChainingNoTemplate,{at:r}),this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,r){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(_.ImportCallArity,{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(_.ImportCallSpreadArgument,{at:n});return this.finishNode(t,r?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,r,n,s,i){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(_.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),s&&this.addTrailingCommaExtraToNode(s),this.next();break}a.push(this.parseExprListItem(!1,i,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&&eo(t,r.innerComments),r.callee.trailingComments&&eo(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:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:return r=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(r):this.match(10)?this.options.createImportExpressions?this.parseImportCall(r):this.finishNode(r,"Import"):(this.raise(_.UnsupportedImport,{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 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let i=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(i)}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 i=r.callee=this.parseNoCallExpr();if(i.type==="MemberExpression")return this.finishNode(r,"BindExpression");throw this.raise(_.UnsupportedBind,{at:i})}case 138:return this.raise(_.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 i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.parseTopicReference(i);this.unexpected();break}case 47:{let i=this.input.codePointAt(this.nextTokenStart());Tn(i)||i===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(st(s)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let i=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(st(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 i&&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=ir(this.state.endLoc,-1),this.parseTopicReference(n);this.unexpected()}parseTopicReference(t){let r=this.startNode(),n=this.state.startLoc,s=this.state.type;return this.next(),this.finishTopicReference(r,n,t,s)}finishTopicReference(t,r,n,s){if(this.testTopicReferenceConfiguration(n,r,s)){let i=n==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(n==="smart"?_.PrimaryTopicNotAllowed:_.PipeTopicUnbound,{at:r}),this.registerTopicReference(),this.finishNode(t,i)}else throw this.raise(_.PipeTopicUnconfiguredToken,{at:r,token:rs(s)})}testTopicReferenceConfiguration(t,r,n){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:rs(n)}]);case"smart":return n===27;default:throw this.raise(_.PipeTopicRequiresHackPipes,{at:r})}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(Au(!0,this.prodParam.hasYield));let r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(_.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(_u),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=n,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(_.SuperNotAllowed,{at:t}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(_.UnexpectedSuper,{at:t}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(_.UnsupportedSuper,{at:t}),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),r=this.startNodeAt(ir(this.state.startLoc,1)),n=this.state.value;return this.next(),t.id=this.createIdentifier(r,n),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,r,"sent")}return this.parseFunction(t)}parseMetaProperty(t,r,n){t.meta=r;let s=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==n||s)&&this.raise(_.UnsupportedMetaProperty,{at:t.property,target:r.name,onlyValidPropertyName:n}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){let r=this.createIdentifier(this.startNodeAtNode(t),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(_.ImportMetaOutsideModule,{at:r}),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let n=this.isContextual(105);if(n||this.unexpected(),this.expectPlugin(n?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(_.DynamicImportPhaseRequiresImportExpressions,{at:this.state.startLoc,phase:this.state.value});return this.next(),t.phase=n?"source":"defer",this.parseImportCall(t)}return this.parseMetaProperty(t,r,"meta")}parseLiteralAtNode(t,r,n){return this.addExtra(n,"rawValue",t),this.addExtra(n,"raw",this.input.slice(n.start,this.state.end)),n.value=t,this.next(),this.finishNode(n,r)}parseLiteral(t,r){let n=this.startNode();return this.parseLiteralAtNode(t,r,n)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let r=this.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(Qie());let s=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],l=new Ai,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 C=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),C)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=s,this.state.inFSharpPipelineDirectBody=i;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(_.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){let r=this.match(83),n=this.parseNoCallExpr();t.callee=n,r&&(n.type==="Import"||n.type==="ImportExpression")&&this.raise(_.ImportCallNotNewExpression,{at:n})}parseTemplateElement(t){let{start:r,startLoc:n,end:s,value:i}=this.state,a=r+1,o=this.startNodeAt(ir(n,1));i===null&&(t||this.raise(_.InvalidEscapeSequenceTemplate,{at:ir(this.state.firstInvalidTemplateEscapePos,1)}));let l=this.match(24),u=l?-1:-2,c=s+u;o.value={raw:this.input.slice(a,c).replace(/\r\n?/g,`
  29. `),cooked:i===null?null:i.slice(1,u)},o.tail=l,this.next();let f=this.finishNode(o,"TemplateElement");return this.resetEndLocation(f,ir(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,s){n&&this.expectPlugin("recordAndTuple");let i=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(s),this.checkProto(c,n,a,s)),n&&!this.isObjectProperty(c)&&c.type!=="SpreadElement"&&this.raise(_.InvalidRecordProperty,{at:c}),c.shorthand&&this.addExtra(c,"shorthand",!0),l.properties.push(c)}this.next(),this.state.inFSharpPipelineDirectBody=i;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(_.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)r.push(this.parseDecorator());let n=this.startNode(),s=!1,i=!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()&&(s=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(n)),(c==="get"||c==="set")&&(i=!0,this.resetPreviousNodeTrailingComments(u),n.kind=c,this.match(55)&&(o=!0,this.raise(_.AccessorIsGenerator,{at:this.state.curPosition(),kind:c}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,a,o,s,!1,i,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var r;let n=this.getGetterSetterExpectedParamCount(t),s=this.getObjectOrClassMethodParams(t);s.length!==n&&this.raise(t.kind==="get"?_.BadGetterArity:_.BadSetterArity,{at:t}),t.kind==="set"&&((r=s[s.length-1])==null?void 0:r.type)==="RestElement"&&this.raise(_.BadSetterRestParameter,{at:t})}parseObjectMethod(t,r,n,s,i){if(i){let a=this.parseMethod(t,r,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(n||r||this.match(10))return s&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,r,n,!1,!1,"ObjectMethod")}parseObjectProperty(t,r,n,s){if(t.shorthand=!1,this.eat(14))return t.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(s),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,xn(t.key));else if(this.match(29)){let i=this.state.startLoc;s!=null?s.shorthandAssignLoc===null&&(s.shorthandAssignLoc=i):this.raise(_.InvalidCoverInitializedName,{at:i}),t.value=this.parseMaybeDefault(r,xn(t.key))}else t.value=xn(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,r,n,s,i,a,o){let l=this.parseObjectMethod(t,n,s,i,a)||this.parseObjectProperty(t,r,i,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:s}=this.state,i;if($r(n))i=this.parseIdentifier(!0);else switch(n){case 134:i=this.parseNumericLiteral(s);break;case 133:i=this.parseStringLiteral(s);break;case 135:i=this.parseBigIntLiteral(s);break;case 136:i=this.parseDecimalLiteral(s);break;case 138:{let a=this.state.startLoc;r!=null?r.privateKeyLoc===null&&(r.privateKeyLoc=a):this.raise(_.UnexpectedPrivateField,{at:a}),i=this.parsePrivateName();break}default:this.unexpected()}t.key=i,n!==138&&(t.computed=!1)}return t.key}initFunction(t,r){t.id=null,t.generator=!1,t.async=r}parseMethod(t,r,n,s,i,a,o=!1){this.initFunction(t,n),t.generator=r,this.scope.enter(18|(o?64:0)|(i?32:0)),this.prodParam.enter(Au(n,t.generator)),this.parseFunctionParams(t,s);let l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,r,n,s){n&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!n,s,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,n?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,r,n,s){this.scope.enter(6);let i=Au(n,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=Ti),this.prodParam.enter(i),this.initFunction(t,n);let a=this.state.maybeInArrowParameters;return r&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,r,s)),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 s=r&&!this.match(5);if(this.expressionScope.enter(nA()),s)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,r,!1);else{let i=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|iA),t.body=this.parseBlock(!0,!1,o=>{let l=!this.isSimpleParamList(t.params);o&&l&&this.raise(_.IllegalLanguageModeDirective,{at:(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t});let u=!i&&this.state.strict;this.checkParams(t,!this.state.strict&&!r&&!n&&!l,r,u),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,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,s=!0){let i=!r&&new Set,a={type:"FormalParameters"};for(let o of t.params)this.checkLVal(o,{in:a,binding:5,checkClashes:i,strictModeChanged:s})}parseExprList(t,r,n,s){let i=[],a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){s&&this.addTrailingCommaExtraToNode(s),this.next();break}i.push(this.parseExprListItem(r,n))}return i}parseExprListItem(t,r,n){let s;if(this.match(12))t||this.raise(_.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),s=null;else if(this.match(21)){let i=this.state.startLoc;s=this.parseParenItem(this.parseSpread(r),i)}else if(this.match(17)){this.expectPlugin("partialApplication"),n||this.raise(_.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let i=this.startNode();this.next(),s=this.finishNode(i,"ArgumentPlaceholder")}else s=this.parseMaybeAssignAllowIn(r,this.parseParenItem);return s}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:s}=this.state;$r(s)?r=this.state.value:this.unexpected();let i=xie(s);return t?i&&this.replaceToken(132):this.checkReservedWord(r,n,i,!1),this.next(),r}checkReservedWord(t,r,n,s){if(t.length>10||!Vie(t))return;if(n&&Rie(t)){this.raise(_.UnexpectedKeyword,{at:r,keyword:t});return}if((this.state.strict?s?QP:JP:XP)(t,this.inModule)){this.raise(_.UnexpectedReservedWord,{at:r,reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(_.YieldBindingIdentifier,{at:r});return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(_.AwaitBindingIdentifier,{at:r});return}if(this.scope.inStaticBlock){this.raise(_.AwaitBindingIdentifierInStaticBlock,{at:r});return}this.expressionScope.recordAsyncArrowParametersError({at:r})}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(_.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(_.AwaitExpressionFormalParameter,{at:r}),this.eat(55)&&this.raise(_.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||Du(t)||t===102&&!this.state.containsEsc||t===137||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(_.YieldInParameter,{at:t}),this.next();let r=!1,n=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!r)break;default:n=this.parseMaybeAssign()}return t.delegate=r,t.argument=n,this.finishNode(t,"YieldExpression")}parseImportCall(t){return this.next(),t.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(t.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(t.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,r){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(_.PipelineHeadSequenceExpression,{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(_.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(_.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(Ti&~r){this.prodParam.enter(r|Ti);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let r=this.prodParam.currentFlags();if(Ti&r){this.prodParam.enter(r&~Ti);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 s=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,t);return this.state.inFSharpPipelineDirectBody=n,s}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){}},Qm={kind:"loop"},Pae={kind:"switch"},Aae=/[\uD800-\uDFFF]/u,Zm=/in(?:stanceof)?/y;function Cae(e,t){for(let r=0;r<e.length;r++){let n=e[r],{type:s}=n;if(typeof s=="number"){{if(s===138){let{loc:i,start:a,value:o,end:l}=n,u=a+1,c=ir(i.start,1);e.splice(r,1,new tn({type:En(27),value:"#",start:a,end:u,startLoc:i.start,endLoc:c}),new tn({type:En(132),value:o,start:u,end:l,startLoc:c,endLoc:i.end})),r++;continue}if(Du(s)){let{loc:i,start:a,value:o,end:l}=n,u=a+1,c=ir(i.start,1),f;t.charCodeAt(a)===96?f=new tn({type:En(22),value:"`",start:a,end:u,startLoc:i.start,endLoc:c}):f=new tn({type:En(8),value:"}",start:a,end:u,startLoc:i.start,endLoc:c});let d,m,C,p;s===24?(m=l-1,C=ir(i.end,-1),d=o===null?null:o.slice(1,-1),p=new tn({type:En(22),value:"`",start:m,end:l,startLoc:C,endLoc:i.end})):(m=l-2,C=ir(i.end,-2),d=o===null?null:o.slice(1,-2),p=new tn({type:En(23),value:"${",start:m,end:l,startLoc:C,endLoc:i.end})),e.splice(r,1,f,new tn({type:En(20),value:d,start:u,end:m,startLoc:c,endLoc:C}),p),r+=2;continue}}n.type=En(s)}}return e}var Ey=class extends by{parseTopLevel(t,r){return t.program=this.parseProgram(r),t.comments=this.state.comments,this.options.tokens&&(t.tokens=Cae(this.tokens,this.input)),this.finishNode(t,"File")}parseProgram(t,r=139,n=this.options.sourceType){if(t.sourceType=n,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[i,a]of Array.from(this.scope.undefinedExports))this.raise(_.ModuleExportUndefined,{at:a,localName:i});let s;return r===139?s=this.finishNode(t,"Program"):s=this.finishNodeAt(t,"Program",ir(this.state.startLoc,-1)),s}stmtToDirective(t){let r=t;r.type="Directive",r.value=r.expression,delete r.expression;let n=r.value,s=n.value,i=this.input.slice(n.start,n.end),a=n.value=i.slice(1,-1);return this.addExtra(n,"raw",i),this.addExtra(n,"rawValue",a),this.addExtra(n,"expressionValue",s),n.type="DirectiveLiteral",r}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(t,r){if(Tn(t)){if(Zm.lastIndex=r,Zm.test(this.input)){let n=this.codePointAtPos(Zm.lastIndex);if(!xi(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===102&&!r)return!1;if(st(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,s=this.startNode(),i=!!(t&2),a=!!(t&4),o=t&1;switch(n){case 60:return this.parseBreakContinueStatement(s,!0);case 63:return this.parseBreakContinueStatement(s,!1);case 64:return this.parseDebuggerStatement(s);case 90:return this.parseDoWhileStatement(s);case 91:return this.parseForStatement(s);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?_.StrictFunction:this.options.annexB?_.SloppyFunctionAnnexB:_.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(s,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(r,s),!0);case 69:return this.parseIfStatement(s);case 70:return this.parseReturnStatement(s);case 71:return this.parseSwitchStatement(s);case 72:return this.parseThrowStatement(s);case 73:return this.parseTryStatement(s);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?i||this.raise(_.UnexpectedLexicalDeclaration,{at:s}):this.raise(_.AwaitUsingNotInAsyncContext,{at:s}),this.next(),this.parseVarStatement(s,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(_.UnexpectedUsingDeclaration,{at:this.state.startLoc}):i||this.raise(_.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(s,"using");case 100:{if(this.state.containsEsc)break;let c=this.nextTokenStart(),f=this.codePointAtPos(c);if(f!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(f,c)&&f!==123))break}case 75:i||this.raise(_.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let c=this.state.value;return this.parseVarStatement(s,c)}case 92:return this.parseWhileStatement(s);case 76:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 83:{let c=this.lookaheadCharCode();if(c===40||c===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(_.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let c;return n===83?(c=this.parseImport(s),c.type==="ImportDeclaration"&&(!c.importKind||c.importKind==="value")&&(this.sawUnambiguousESM=!0)):(c=this.parseExport(s,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 i||this.raise(_.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(s,!0,!i&&a)}let l=this.state.value,u=this.parseExpression();return st(n)&&u.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(s,l,u,t):this.parseExpressionStatement(s,u,r)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(_.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(_.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(_.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(_.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 s=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(s,n);let i=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(n),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==n&&this.raise(_.DecoratorArgumentsOutsideParentheses,{at:i})}else{for(n=this.parseIdentifier(!1);this.eat(16);){let s=this.startNodeAt(r);s.object=n,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),s.computed=!1,n=this.finishNode(s,"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 s=this.state.labels[n];if((t.label==null||s.name===t.label.name)&&(s.kind!=null&&(r||s.kind==="loop")||t.label&&r))break}if(n===this.state.labels.length){let s=r?"BreakStatement":"ContinueStatement";this.raise(_.IllegalBreakContinue,{at:t,type:s})}}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(Qm),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(Qm);let r=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(r=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return r!==null&&this.unexpected(r),this.parseFor(t,null);let n=this.isContextual(100);{let l=this.isContextual(96)&&this.startsAwaitUsing(),u=l||this.isContextual(107)&&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(_.AwaitUsingNotInAsyncContext,{at:this.state.startLoc}),this.next()):d=this.state.value,this.next(),this.parseVar(f,!0,d);let m=this.finishNode(f,"VariableDeclaration"),C=this.match(58);return C&&u&&this.raise(_.ForInUsing,{at:m}),(C||this.isContextual(102))&&m.declarations.length===1?this.parseForIn(t,m,r):(r!==null&&this.unexpected(r),this.parseFor(t,m))}}let s=this.isContextual(95),i=new Ai,a=this.parseExpression(!0,i),o=this.isContextual(102);if(o&&(n&&this.raise(_.ForOfLet,{at:a}),r===null&&s&&a.type==="Identifier"&&this.raise(_.ForOfAsync,{at:a})),o||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(a,!0);let l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:l}}),this.parseForIn(t,a,r)}else this.checkExpressionErrors(i,!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(_.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(Pae),this.scope.enter(0);let n;for(let s;!this.match(8);)if(this.match(61)||this.match(65)){let i=this.match(61);n&&this.finishNode(n,"SwitchCase"),r.push(n=this.startNode()),n.consequent=[],this.next(),i?n.test=this.parseExpression():(s&&this.raise(_.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),s=!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(_.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"?8:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:9}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let r=this.startNode();this.next(),this.match(10)?(this.expect(10),r.param=this.parseCatchClauseParam(),this.expect(11)):(r.param=null,this.scope.enter(0)),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(r,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(_.NoCatchOrFinally,{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(Qm),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(_.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,s){for(let a of this.state.labels)a.name===r&&this.raise(_.LabelRedeclaration,{at:n,labelName:r});let i=Cie(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=i;else break}return this.state.labels.push({name:r,kind:i,statementStart:this.state.start}),t.body=s&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 s=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),r&&this.scope.enter(0),this.parseBlockBody(s,t,!1,8,n),r&&this.scope.exit(),this.finishNode(s,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,r,n,s,i){let a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,r?o:void 0,n,s,i)}parseBlockOrModuleBlockBody(t,r,n,s,i){let a=this.state.strict,o=!1,l=!1;for(;!this.match(s);){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)}i==null||i.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 s=this.match(58);return this.next(),s?n!==null&&this.unexpected(n):t.await=n!==null,r.type==="VariableDeclaration"&&r.declarations[0].init!=null&&(!s||!this.options.annexB||this.state.strict||r.kind!=="var"||r.declarations[0].id.type!=="Identifier")&&this.raise(_.ForInOfLoopInitializer,{at:r,type:s?"ForInStatement":"ForOfStatement"}),r.type==="AssignmentPattern"&&this.raise(_.InvalidLhs,{at:r,ancestor:{type:"ForStatement"}}),t.left=r,t.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,s?"ForInStatement":"ForOfStatement")}parseVar(t,r,n,s=!1){let i=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&&!s&&(a.id.type!=="Identifier"&&!(r&&(this.match(58)||this.isContextual(102)))?this.raise(_.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):n==="const"&&!(this.match(58)||this.isContextual(102))&&this.raise(_.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),i.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"?5:8201}),t.id=n}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,r=0){let n=r&2,s=!!(r&1),i=s&&!(r&4),a=!!(r&8);this.initFunction(t,a),this.match(55)&&(n&&this.raise(_.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),t.generator=!0),s&&(t.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Au(a,t.generator)),s||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,s?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),s&&!n&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||st(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,r){this.expect(10),this.expressionScope.enter(zie()),t.params=this.parseBindingList(11,41,2|(r?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,r,n){this.next();let s=this.state.strict;return this.state.strict=!0,this.parseClassId(t,r,n),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,s),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},s=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(s.length>0)throw this.raise(_.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){s.push(this.parseDecorator());continue}let a=this.startNode();s.length&&(a.decorators=s,this.resetStartLocationFromNode(a,s[0]),s=[]),this.parseClassMember(i,a,n),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(_.DecoratorConstructor,{at:a})}}),this.state.strict=r,this.next(),s.length)throw this.raise(_.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(t,r){let n=this.parseIdentifier(!0);if(this.isClassMethod()){let s=r;return s.kind="method",s.computed=!1,s.key=n,s.static=!1,this.pushClassMethod(t,s,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let s=r;return s.computed=!1,s.key=n,s.static=!1,t.body.push(this.parseClassProperty(s)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(t,r,n){let s=this.isContextual(106);if(s){if(this.parseClassMemberFromModifier(t,r))return;if(this.eat(5)){this.parseClassStaticBlock(t,r);return}}this.parseClassMemberWithIsStatic(t,r,n,s)}parseClassMemberWithIsStatic(t,r,n,s){let i=r,a=r,o=r,l=r,u=r,c=i,f=i;if(r.static=s,this.parsePropertyNamePrefixOperator(r),this.eat(55)){c.kind="method";let b=this.match(138);if(this.parseClassElementName(c),b){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsGenerator,{at:i.key}),this.pushClassMethod(t,i,!0,!1,!1,!1);return}let d=st(this.state.type)&&!this.state.containsEsc,m=this.match(138),C=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 b=this.isNonstaticConstructor(i),E=!1;b&&(i.kind="constructor",n.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(_.DuplicateConstructor,{at:C}),b&&this.hasPlugin("typescript")&&r.override&&this.raise(_.OverrideOnConstructor,{at:C}),n.hadConstructor=!0,E=n.hadSuperClass),this.pushClassMethod(t,i,!1,!1,b,E)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(d&&C.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(C);let b=this.eat(55);f.optional&&this.unexpected(p),c.kind="method";let E=this.match(138);this.parseClassElementName(c),this.parsePostMemberNameModifiers(f),E?this.pushClassPrivateMethod(t,a,b,!0):(this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(t,i,b,!0,!1,!1))}else if(d&&(C.name==="get"||C.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(C),c.kind=C.name;let b=this.match(138);this.parseClassElementName(i),b?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(_.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(t,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(d&&C.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(C);let b=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(t,u,b)}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===132||r===133)&&t.static&&n==="prototype"&&this.raise(_.StaticPrototype,{at:this.state.startLoc}),r===138){n==="constructor"&&this.raise(_.ConstructorClassPrivateField,{at:this.state.startLoc});let s=this.parsePrivateName();return t.key=s,s}return this.parsePropertyName(t)}parseClassStaticBlock(t,r){var n;this.scope.enter(208);let s=this.state.labels;this.state.labels=[],this.prodParam.enter(Pi);let i=r.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=s,t.body.push(this.finishNode(r,"StaticBlock")),(n=r.decorators)!=null&&n.length&&this.raise(_.DecoratorStaticBlock,{at:r})}pushClassProperty(t,r){!r.computed&&(r.key.name==="constructor"||r.key.value==="constructor")&&this.raise(_.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),0,n.key.loc.start)}pushClassAccessorProperty(t,r,n){if(!n&&!r.computed){let i=r.key;(i.name==="constructor"||i.value==="constructor")&&this.raise(_.ConstructorClassField,{at:i})}let s=this.parseClassAccessorProperty(r);t.body.push(s),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassMethod(t,r,n,s,i,a){t.body.push(this.parseMethod(r,n,s,i,a,"ClassMethod",!0))}pushClassPrivateMethod(t,r,n,s){let i=this.parseMethod(r,n,s,!1,!1,"ClassPrivateMethod",!0);t.body.push(i);let a=i.kind==="get"?i.static?6:2:i.kind==="set"?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,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(80),this.expressionScope.enter(nA()),this.prodParam.enter(Pi),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,r,n,s=8331){if(st(this.state.type))t.id=this.parseIdentifier(),r&&this.declareNameFromIdentifier(t.id,s);else if(n||!r)t.id=null;else throw this.raise(_.MissingClassName,{at:this.state.startLoc})}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,r){let n=this.parseMaybeImportPhase(t,!0),s=this.maybeParseExportDefaultSpecifier(t,n),i=!s||this.eat(12),a=i&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=i&&(!o||this.eat(12)),u=s||a;if(a&&!o){if(s&&this.unexpected(),r)throw this.raise(_.UnsupportedDecoratorExport,{at:t});return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}let c=this.maybeParseExportNamedSpecifiers(t);s&&i&&!a&&!c&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let f;if(u||c){if(f=!1,r)throw this.raise(_.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(_.UnsupportedDecoratorExport,{at:t});return this.finishNode(m,"ExportNamedDeclaration")}if(this.eat(65)){let m=t,C=this.parseExportDefaultExpression();if(m.declaration=C,C.type==="ClassDeclaration")this.maybeTakeDecorators(r,C,m);else if(r)throw this.raise(_.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),s=this.startNodeAtNode(n);return s.exported=n,t.specifiers=[this.finishNode(s,"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(_.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(_.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(st(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let{type:s}=this.lookahead();if(st(s)&&s!==98||s===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||st(this.state.type)&&n)return!0;if(this.match(65)&&n){let s=this.input.charCodeAt(this.nextTokenStartSince(r+4));return s===34||s===39}return!1}parseExportFrom(t,r){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):r&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(_.DecoratorBeforeExport,{at:this.state.startLoc}),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,r,n,s){if(r){var i;if(n){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;let o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(_.ExportDefaultFromAsIdentifier,{at:o})}}else if((i=t.specifiers)!=null&&i.length)for(let o of t.specifiers){let{exported:l}=o,u=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,u),!s&&o.local){let{local:c}=o;c.type!=="Identifier"?this.raise(_.ExportBindingIsString,{at:o,localName:c.value,exportName:u}):(this.checkReservedWord(c.name,c.loc.start,!0,!1),this.scope.checkLocalExport(c))}}else if(t.declaration){if(t.declaration.type==="FunctionDeclaration"||t.declaration.type==="ClassDeclaration"){let o=t.declaration.id;if(!o)throw new Error("Assertion failure");this.checkDuplicateExports(t,o.name)}else if(t.declaration.type==="VariableDeclaration")for(let o of t.declaration.declarations)this.checkDeclaration(o.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let r of t.properties)this.checkDeclaration(r);else if(t.type==="ArrayPattern")for(let r of t.elements)r&&this.checkDeclaration(r);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,r){this.exportedIdentifiers.has(r)&&(r==="default"?this.raise(_.DuplicateDefaultExport,{at:t}):this.raise(_.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 s=this.isContextual(130),i=this.match(133),a=this.startNode();a.local=this.parseModuleExportName(),r.push(this.parseExportSpecifier(a,i,t,s))}return r}parseExportSpecifier(t,r,n,s){return this.eatContextual(93)?t.exported=this.parseModuleExportName():r?t.exported=tae(t.local):t.exported||(t.exported=xn(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let t=this.parseStringLiteral(this.state.value),r=t.value.match(Aae);return r&&this.raise(_.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){let{specifiers:r}=t,n=r.length===1?r[0].type:null;if(t.phase==="source")n!=="ImportDefaultSpecifier"&&this.raise(_.SourcePhaseImportRequiresDefault,{at:r[0].loc.start});else if(t.phase==="defer")n!=="ImportNamespaceSpecifier"&&this.raise(_.DeferImportRequiresNamespace,{at:r[0].loc.start});else if(t.module){var s;n!=="ImportDefaultSpecifier"&&this.raise(_.ImportReflectionNotBinding,{at:r[0].loc.start}),((s=t.assertions)==null?void 0:s.length)>0&&this.raise(_.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(s=>{let i;if(s.type==="ExportSpecifier"?i=s.local:s.type==="ImportSpecifier"&&(i=s.imported),i!==void 0)return i.type==="Identifier"?i.name!=="default":i.value!=="default"});n!==void 0&&this.raise(_.ImportJSONBindingNotDefault,{at:n.loc.start})}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,r,n,s){r||(n==="module"?(this.expectPlugin("importReflection",s),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),n==="source"?(this.expectPlugin("sourcePhaseImports",s),t.phase="source"):n==="defer"?(this.expectPlugin("deferredImportEvaluation",s),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,r){if(!this.isPotentialImportPhase(r))return this.applyImportPhase(t,r,null),null;let n=this.parseIdentifier(!0),{type:s}=this.state;return($r(s)?s!==98||this.lookaheadCharCode()===102:s!==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 st(r)?r!==98||this.lookaheadCharCode()===102:r!==12}parseImport(t){return this.match(133)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,r){t.specifiers=[];let s=!this.maybeParseDefaultImportSpecifier(t,r)||this.eat(12),i=s&&this.maybeParseStarImportSpecifier(t);return s&&!i&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var r;return(r=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,r,n){r.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(r,n))}finishImportSpecifier(t,r,n=8201){return this.checkLVal(t.local,{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(),s=this.state.value;if(r.has(s)&&this.raise(_.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:s}),r.add(s),this.match(133)?n.key=this.parseStringLiteral(s):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(_.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(_.ModuleAttributeDifferentFromType,{at:n.key}),r.has(n.key.name)&&this.raise(_.ModuleAttributesWithDuplicateKeys,{at:n.key,key:n.key.name}),r.add(n.key.name),this.expect(14),!this.match(133))throw this.raise(_.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(_.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($r(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let r=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,r,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else{if(this.eat(14))throw this.raise(_.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let n=this.startNode(),s=this.match(133),i=this.isContextual(130);n.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(n,s,t.importKind==="type"||t.importKind==="typeof",i,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,r,n,s,i){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:a}=t;if(r)throw this.raise(_.ImportBindingIsString,{at:t,importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=xn(a))}return this.finishImportSpecifier(t,"ImportSpecifier",i)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},Ou=class extends Ey{constructor(t,r){t=xae(t),super(t,r),this.options=t,this.initializeScopes(),this.plugins=wae(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return Za}parse(){this.enterInitialScopes();let t=this.startNode(),r=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,r),t.errors=this.state.errors,t}};function wae(e){let t=new Map;for(let r of e){let[n,s]=Array.isArray(r)?r:[r,{}];t.has(n)||t.set(n,s||{})}return t}function Dae(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let n=Xa(t,e),s=n.parse();if(n.sawUnambiguousESM)return s;if(n.ambiguousScriptDifferentAst)try{return t.sourceType="script",Xa(t,e).parse()}catch{}else s.program.sourceType="script";return s}catch(n){try{return t.sourceType="script",Xa(t,e).parse()}catch{}throw n}}else return Xa(t,e).parse()}function Iae(e,t){let r=Xa(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function Oae(e){let t={};for(let r of Object.keys(e))t[r]=En(e[r]);return t}var _ae=Oae(Sie);function Xa(e,t){let r=Ou;return e!=null&&e.plugins&&(Tae(e.plugins),r=Nae(e.plugins)),new r(e,t)}var KP={};function Nae(e){let t=Sae.filter(s=>_t(e,s)),r=t.join("/"),n=KP[r];if(!n){n=Ou;for(let s of t)n=uA[s](n);KP[r]=n}return n}to.parse=Dae;to.parseExpression=Iae;to.tokTypes=_ae});var cA=g(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0});Oy.default=Mae;var kae=Ce(),{assignmentExpression:Bae,expressionStatement:Fae,identifier:jae}=kae,Lae={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"),s;for(let i of n){s=i.node.id,i.node.init&&r.push(Fae(Bae("=",i.node.id,i.node.init)));for(let a of Object.keys(i.getBindingIdentifiers()))t.emit(jae(a),a,i.node.init!==null)}e.parentPath.isFor({left:e.node})?e.replaceWith(s):e.replaceWithMultiple(r)}};function Mae(e,t,r="var"){e.traverse(Lae,{kind:r,emit:t})}});var yA=g(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns._replaceWith=uoe;ns.replaceExpressionWithStatements=coe;ns.replaceInline=foe;ns.replaceWith=loe;ns.replaceWithMultiple=aoe;ns.replaceWithSourceString=ooe;var Rae=vi(),_y=Ur(),qae=ss(),mA=Ps(),Uae=Ii(),Vae=Ce(),$ae=cA(),{FUNCTION_TYPES:fA,arrowFunctionExpression:Wae,assignmentExpression:Kae,awaitExpression:Gae,blockStatement:Hae,callExpression:Yae,cloneNode:pA,expressionStatement:Xae,identifier:Jae,inheritLeadingComments:zae,inheritTrailingComments:Qae,inheritsComments:Zae,isExpression:eoe,isProgram:toe,isStatement:roe,removeComments:noe,returnStatement:dA,toSequenceExpression:soe,validate:hA,yieldExpression:ioe}=Vae;function aoe(e){var t;this.resync(),e=this._verifyNodeList(e),zae(e[0],this.node),Qae(e[e.length-1],this.node),(t=(0,mA.getCachedPaths)(this.hub,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,Uae.parse)(e)}catch(n){let s=n.loc;throw s&&(n.message+=` - make sure this is an expression.
  30. `+(0,Rae.codeFrameColumns)(e,{start:{line:s.line,column:s.column+1}}),n.code="BABEL_REPLACE_SOURCE_ERROR"),n}let r=t.program.body[0].expression;return _y.default.removeProperties(r),this.replaceWith(r)}function loe(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof qae.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()&&!toe(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")&&eoe(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()&&(t=Xae(t),r="expression"),this.isNodeType("Expression")&&roe(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);let n=this.node;return n&&(Zae(t,n),noe(n)),this._replaceWith(t),this.type=t.type,this.setScope(),this.requeue(),[r?this.get(r):this]}function uoe(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?hA(this.parent,this.key,[e]):hA(this.parent,this.key,e),this.debug(`Replace with ${e==null?void 0:e.type}`),(t=(0,mA.getCachedPaths)(this.hub,this.parent))==null||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function coe(e){this.resync();let t=soe(e,this.scope);if(t)return this.replaceWith(t)[0].get("expressions");let r=this.getFunctionParent(),n=r==null?void 0:r.is("async"),s=r==null?void 0:r.is("generator"),i=Wae([],Hae(e));this.replaceWith(Yae(i,[]));let a=this.get("callee");(0,$ae.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=Jae(m.name):(m=a.scope.generateDeclaredUidIdentifier("ret"),a.get("body").pushContainer("body",dA(pA(m))),d.setData("expressionReplacementReturnUid",m)),f.get("expression").replaceWith(Kae("=",pA(m),f.node.expression))}else f.replaceWith(dA(f.node.expression))}a.arrowFunctionToExpression();let l=a,u=n&&_y.default.hasType(this.get("callee.body").node,"AwaitExpression",fA),c=s&&_y.default.hasType(this.get("callee.body").node,"YieldExpression",fA);return u&&(l.set("async",!0),c||this.replaceWith(Gae(this.node))),c&&(l.set("generator",!0),this.replaceWith(ioe(this.node,!0))),l.get("body.body")}function foe(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 vA=g(Nu=>{"use strict";Object.defineProperty(Nu,"__esModule",{value:!0});Nu.evaluate=Eoe;Nu.evaluateTruthy=goe;var poe=["Number","String","Math"],doe=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],hoe=["random"];function gA(e){return poe.includes(e)}function moe(e){return doe.includes(e)}function yoe(e){return hoe.includes(e)}function goe(){let e=this.evaluate();if(e.confident)return!!e.value}function Pn(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}var bA=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function ar(e,t){let{node:r}=e,{seen:n}=t;if(n.has(r)){let s=n.get(r);if(s.resolved)return s.value;Pn(e,t);return}else{let s={resolved:!1};n.set(r,s);let i=boe(e,t);return t.confident&&(s.resolved=!0,s.value=i),i}}function boe(e,t){if(t.confident){if(e.isSequenceExpression()){let r=e.get("expressions");return ar(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 EA(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){let r=e.get("tag.object"),{node:{name:n}}=r,s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw")return EA(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){let r=ar(e.get("test"),t);return t.confident?ar(r?e.get("consequent"):e.get("alternate"),t):void 0}if(e.isExpressionWrapper())return ar(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 s=n.node.value,i=typeof s,a=null;if(e.node.computed){if(a=ar(r,t),!t.confident)return}else r.isIdentifier()&&(a=r.node.name);if((i==="number"||i==="string")&&a!=null&&(typeof a=="number"||typeof a=="string"))return s[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){Pn(r.path,t);return}if(r.hasValue)return r.value}let n=e.node.name;if(bA.has(n)){if(!r)return bA.get(n);Pn(r.path,t);return}let s=e.resolve();if(s===e){Pn(e,t);return}else return ar(s,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=ar(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 s of n){let i=s.evaluate();if(i.confident)r.push(i.value);else{Pn(i.deopt,t);return}}return r}if(e.isObjectExpression()){let r={},n=e.get("properties");for(let s of n){if(s.isObjectMethod()||s.isSpreadElement()){Pn(s,t);return}let i=s.get("key"),a;if(s.node.computed){if(a=i.evaluate(),!a.confident){Pn(a.deopt,t);return}a=a.value}else i.isIdentifier()?a=i.node.name:a=i.node.value;let l=s.get("value").evaluate();if(!l.confident){Pn(l.deopt,t);return}l=l.value,r[a]=l}return r}if(e.isLogicalExpression()){let r=t.confident,n=ar(e.get("left"),t),s=t.confident;t.confident=r;let i=ar(e.get("right"),t),a=t.confident;switch(e.node.operator){case"||":return t.confident=s&&(!!n||a),t.confident?n||i:void 0;case"&&":return t.confident=s&&(!n||a),t.confident?n&&i:void 0;case"??":return t.confident=s&&(n!=null||a),t.confident?n!=null?n:i:void 0}}if(e.isBinaryExpression()){let r=ar(e.get("left"),t);if(!t.confident)return;let n=ar(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,s;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&(gA(r.node.name)||moe(r.node.name))&&(s=global[r.node.name]),r.isMemberExpression()){let i=r.get("object"),a=r.get("property");if(i.isIdentifier()&&a.isIdentifier()&&gA(i.node.name)&&!yoe(a.node.name)){n=global[i.node.name];let o=a.node.name;Object.hasOwnProperty.call(n,o)&&(s=n[o])}if(i.isLiteral()&&a.isIdentifier()){let o=typeof i.node.value;(o==="string"||o==="number")&&(n=i.node.value,s=n[a.node.name])}}if(s){let i=e.get("arguments").map(a=>ar(a,t));return t.confident?s.apply(n,i):void 0}}Pn(e,t)}}function EA(e,t,r,n=!1){let s="",i=0,a=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(let o of t){if(!r.confident)break;s+=n?o.value.raw:o.value.cooked;let l=a[i++];l&&(s+=String(ar(l,r)))}if(r.confident)return s}function Eoe(){let e={confident:!0,deoptPath:null,seen:new Map},t=ar(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}}});var SA=g(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.statements=Dr.statement=Dr.smart=Dr.program=Dr.expression=void 0;var voe=Ce(),{assertExpressionStatement:Toe}=voe;function Ny(e){return{code:t=>`/* @babel/template */;
  31. ${t}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}var Soe=Ny(e=>e.length>1?e:e[0]);Dr.smart=Soe;var xoe=Ny(e=>e);Dr.statements=xoe;var Poe=Ny(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]});Dr.statement=Poe;var TA={code:e=>`(
  32. ${e}
  33. )`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(TA.unwrap(e).start===0)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{let[t]=e.body;return Toe(t),t.expression}};Dr.expression=TA;var Aoe={code:e=>e,validate:()=>{},unwrap:e=>e.program};Dr.program=Aoe});var ku=g(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.merge=Doe;ro.normalizeReplacements=Ooe;ro.validate=Ioe;var Coe=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function woe(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,i;for(i=0;i<n.length;i++)s=n[i],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function Doe(e,t){let{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function Ioe(e){if(e!=null&&typeof e!="object")throw new Error("Unknown template options.");let t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}=t,a=woe(t,Coe);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(s!=null&&typeof s!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(i!=null&&typeof i!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(i===!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:s==null?void 0:s,syntacticPlaceholders:i==null?void 0:i}}function Ooe(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 By=g(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0});ky.default=Woe;var _oe=Ce(),Noe=Ii(),koe=vi(),{isCallExpression:Boe,isExpressionStatement:Foe,isFunction:joe,isIdentifier:Loe,isJSXIdentifier:Moe,isNewExpression:Roe,isPlaceholder:Bu,isStatement:qoe,isStringLiteral:xA,removePropertiesDeep:Uoe,traverse:Voe}=_oe,$oe=/^[_$A-Z0-9]+$/;function Woe(e,t,r){let{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r,o=Hoe(t,r.parser,a);Uoe(o,{preserveComments:i}),e.validate(o);let l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:a};return Voe(o,Koe,l),Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function Koe(e,t,r){var n;let s,i=r.syntactic.placeholders.length>0;if(Bu(e)){if(r.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");s=e.name.name,i=!0}else{if(i||r.syntacticPlaceholders)return;if(Loe(e)||Moe(e))s=e.name;else if(xA(e))s=e.value;else return}if(i&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!i&&(r.placeholderPattern===!1||!(r.placeholderPattern||$oe).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s)))return;t=t.slice();let{node:a,key:o}=t[t.length-1],l;xA(e)||Bu(e,{expectedNode:"StringLiteral"})?l="string":Roe(a)&&o==="arguments"||Boe(a)&&o==="arguments"||joe(a)&&o==="params"?l="param":Foe(a)&&!Bu(e)?(l="statement",t=t.slice(0,-1)):qoe(e)&&Bu(e)?l="statement":l="other";let{placeholders:u,placeholderNames:c}=i?r.syntactic:r.legacy;u.push({name:s,type:l,resolve:f=>Goe(f,t),isDuplicate:c.has(s)}),c.add(s)}function Goe(e,t){let r=e;for(let i=0;i<t.length-1;i++){let{key:a,index:o}=t[i];o===void 0?r=r[a]:r=r[a][o]}let{key:n,index:s}=t[t.length-1];return{parent:r,key:n,index:s}}function Hoe(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,Noe.parse)(e,t)}catch(s){let i=s.loc;throw i&&(s.message+=`
  34. `+(0,koe.codeFrameColumns)(e,{start:i}),s.code="BABEL_TEMPLATE_PARSE_ERROR"),s}}});var My=g(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.default=Zoe;var Yoe=Ce(),{blockStatement:Xoe,cloneNode:jy,emptyStatement:Joe,expressionStatement:Fy,identifier:Fu,isStatement:PA,isStringLiteral:zoe,stringLiteral:Qoe,validate:AA}=Yoe;function Zoe(e,t){let r=jy(e.ast);return t&&(e.placeholders.forEach(n=>{if(!Object.prototype.hasOwnProperty.call(t,n.name)){let s=n.name;throw new Error(`Error: No substitution given for "${s}". If this is not meant to be a
  35. placeholder you may want to consider passing one of the following options to @babel/template:
  36. - { placeholderPattern: false, placeholderWhitelist: new Set(['${s}'])}
  37. - { placeholderPattern: /^${s}$/ }`)}}),Object.keys(t).forEach(n=>{if(!e.placeholderNames.has(n))throw new Error(`Unknown substitution "${n}" given`)})),e.placeholders.slice().reverse().forEach(n=>{try{ele(n,r,t&&t[n.name]||null)}catch(s){throw s.message=`@babel/template placeholder "${n.name}": ${s.message}`,s}}),r}function ele(e,t,r){e.isDuplicate&&(Array.isArray(r)?r=r.map(a=>jy(a)):typeof r=="object"&&(r=jy(r)));let{parent:n,key:s,index:i}=e.resolve(t);if(e.type==="string"){if(typeof r=="string"&&(r=Qoe(r)),!r||!zoe(r))throw new Error("Expected string substitution")}else if(e.type==="statement")i===void 0?r?Array.isArray(r)?r=Xoe(r):typeof r=="string"?r=Fy(Fu(r)):PA(r)||(r=Fy(r)):r=Joe():r&&!Array.isArray(r)&&(typeof r=="string"&&(r=Fu(r)),PA(r)||(r=Fy(r)));else if(e.type==="param"){if(typeof r=="string"&&(r=Fu(r)),i===void 0)throw new Error("Assertion failure.")}else if(typeof r=="string"&&(r=Fu(r)),Array.isArray(r))throw new Error("Cannot replace single expression with an array.");if(i===void 0)AA(n,s,r),n[s]=r;else{let a=n[s].slice();e.type==="statement"||e.type==="param"?r==null?a.splice(i,1):Array.isArray(r)?a.splice(i,1,...r):a[i]=r:a[i]=r,AA(n,s,a),n[s]=a}}});var CA=g(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0});Ry.default=sle;var tle=ku(),rle=By(),nle=My();function sle(e,t,r){t=e.code(t);let n;return s=>{let i=(0,tle.normalizeReplacements)(s);return n||(n=(0,rle.default)(e,t,r)),e.unwrap((0,nle.default)(n,i))}}});var wA=g(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.default=lle;var ile=ku(),ale=By(),ole=My();function lle(e,t,r){let{metadata:n,names:s}=ule(e,t,r);return i=>{let a={};return i.forEach((o,l)=>{a[s[l]]=o}),o=>{let l=(0,ile.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,ole.default)(n,l?Object.assign(l,a):a))}}}function ule(e,t,r){let n="BABEL_TPL$",s=t.join("");do n="$$"+n;while(s.includes(n));let{names:i,code:a}=cle(t,n);return{metadata:(0,ale.default)(e,e.code(a),{parser:r.parser,placeholderWhitelist:new Set(i.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders}),names:i}}function cle(e,t){let r=[],n=e[0];for(let s=1;s<e.length;s++){let i=`${t}${s-1}`;r.push(i),n+=i+e[s]}return{names:r,code:n}}});var kA=g(Uy=>{"use strict";Object.defineProperty(Uy,"__esModule",{value:!0});Uy.default=NA;var nn=ku(),DA=CA(),IA=wA(),OA=(0,nn.validate)({placeholderPattern:!1});function NA(e,t){let r=new WeakMap,n=new WeakMap,s=t||(0,nn.validate)(null);return Object.assign((i,...a)=>{if(typeof i=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return _A((0,DA.default)(e,i,(0,nn.merge)(s,(0,nn.validate)(a[0]))))}else if(Array.isArray(i)){let o=r.get(i);return o||(o=(0,IA.default)(e,i,s),r.set(i,o)),_A(o(a))}else if(typeof i=="object"&&i){if(a.length>0)throw new Error("Unexpected extra params.");return NA(e,(0,nn.merge)(s,(0,nn.validate)(i)))}throw new Error(`Unexpected template param ${typeof i}`)},{ast:(i,...a)=>{if(typeof i=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return(0,DA.default)(e,i,(0,nn.merge)((0,nn.merge)(s,(0,nn.validate)(a[0])),OA))()}else if(Array.isArray(i)){let o=n.get(i);return o||(o=(0,IA.default)(e,i,(0,nn.merge)(s,OA)),n.set(i,o)),o(a)()}throw new Error(`Unexpected template param ${typeof i}`)}})}function _A(e){let t="";try{throw new Error}catch(r){r.stack&&(t=r.stack.split(`
  38. `).slice(3).join(`
  39. `))}return r=>{try{return e(r)}catch(n){throw n.stack+=`
  40. =============
  41. ${t}`,n}}}});var Oi=g(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.statements=dr.statement=dr.smart=dr.program=dr.expression=dr.default=void 0;var no=SA(),so=kA(),ju=(0,so.default)(no.smart);dr.smart=ju;var BA=(0,so.default)(no.statement);dr.statement=BA;var FA=(0,so.default)(no.statements);dr.statements=FA;var jA=(0,so.default)(no.expression);dr.expression=jA;var LA=(0,so.default)(no.program);dr.program=LA;var fle=Object.assign(ju.bind(void 0),{smart:ju,statement:BA,statements:FA,expression:jA,program:LA,ast:ju.ast});dr.default=fle});var Lu=g(Vy=>{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});Vy.default=Nle;var UA=Oi(),ple=Ce(),{NOT_LOCAL_BINDING:MA,cloneNode:dle,identifier:hle,isAssignmentExpression:mle,isAssignmentPattern:yle,isFunction:VA,isIdentifier:RA,isLiteral:qA,isNullLiteral:gle,isObjectMethod:ble,isObjectProperty:Ele,isRegExpLiteral:vle,isRestElement:Tle,isTemplateLiteral:Sle,isVariableDeclarator:xle,toBindingIdentifierName:Ple}=ple;function Ale(e){let t=e.params.findIndex(r=>yle(r)||Tle(r));return t===-1?e.params.length:t}var Cle=UA.default.statement(`
  42. (function (FUNCTION_KEY) {
  43. function FUNCTION_ID() {
  44. return FUNCTION_KEY.apply(this, arguments);
  45. }
  46. FUNCTION_ID.toString = function () {
  47. return FUNCTION_KEY.toString();
  48. }
  49. return FUNCTION_ID;
  50. })(FUNCTION)
  51. `),wle=UA.default.statement(`
  52. (function (FUNCTION_KEY) {
  53. function* FUNCTION_ID() {
  54. return yield* FUNCTION_KEY.apply(this, arguments);
  55. }
  56. FUNCTION_ID.toString = function () {
  57. return FUNCTION_KEY.toString();
  58. };
  59. return FUNCTION_ID;
  60. })(FUNCTION)
  61. `),Dle={"ReferencedIdentifier|BindingIdentifier"(e,t){e.node.name!==t.name||e.scope.getBindingIdentifier(t.name)!==t.outerDeclar||(t.selfReference=!0,e.stop())}};function Ile(e){return gle(e)?"null":vle(e)?`_${e.pattern}_${e.flags}`:Sle(e)?e.quasis.map(t=>t.value.raw).join(""):e.value!==void 0?e.value+"":""}function Ole(e,t,r,n){if(e.selfReference)if(n.hasBinding(r.name)&&!n.hasGlobal(r.name))n.rename(r.name);else{if(!VA(t))return;let s=Cle;t.generator&&(s=wle);let i=s({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:n.generateUidIdentifier(r.name)}).expression,a=i.callee.body.body[0].params;for(let o=0,l=Ale(t);o<l;o++)a.push(n.generateUidIdentifier("x"));return i}t.id=r,n.getProgramParent().references[r.name]=!0}function _le(e,t,r){let n={selfAssignment:!1,selfReference:!1,outerDeclar:r.getBindingIdentifier(t),name:t},s=r.getOwnBinding(t);return s?s.kind==="param"&&(n.selfReference=!0):(n.outerDeclar||r.hasGlobal(t))&&r.traverse(e,Dle,n),n}function Nle({node:e,parent:t,scope:r,id:n},s=!1,i=!1){if(e.id)return;if((Ele(t)||ble(t,{kind:"method"}))&&(!t.computed||qA(t.key)))n=t.key;else if(xle(t)){if(n=t.id,RA(n)&&!s){let u=r.parent.getBinding(n.name);if(u&&u.constant&&r.getBinding(n.name)===u){e.id=dle(n),e.id[MA]=!0;return}}}else if(mle(t,{operator:"="}))n=t.left;else if(!n)return;let a;if(n&&qA(n)?a=Ile(n):n&&RA(n)&&(a=n.name),a===void 0||!i&&VA(e)&&/[\uD800-\uDFFF]/.test(a))return;a=Ple(a);let o=hle(a);o[MA]=!0;let l=_le(e,a,r);return Ole(l,e,o,r)||e}});var HA=g(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.arrowFunctionToExpression=eue;ks.ensureBlock=zle;ks.toComputedKey=Jle;ks.unwrapFunctionEnvironment=Qle;var kle=Ce(),Ky=Hn(),Ble=Lu(),Gy=_a(),{arrowFunctionExpression:Hy,assignmentExpression:Ns,binaryExpression:$y,blockStatement:Fle,callExpression:_i,conditionalExpression:jle,expressionStatement:$A,identifier:yt,isIdentifier:Lle,jsxIdentifier:Mle,logicalExpression:Rle,LOGICAL_OPERATORS:qle,memberExpression:Wr,metaProperty:Ule,numericLiteral:Vle,objectExpression:$le,restElement:Wle,returnStatement:Kle,sequenceExpression:Gle,spreadElement:Hle,stringLiteral:WA,super:Wy,thisExpression:io,toExpression:Yle,unaryExpression:Xle}=kle;function Jle(){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||Lle(e)&&(e=WA(e.name)),e}function zle(){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",s,i;e.isStatement()?(i="body",s=0,r.push(e.node)):(n+=".body.0",this.isFunction()?(s="argument",r.push(Kle(e.node))):(s="expression",r.push($A(e.node)))),this.node.body=Fle(r);let a=this.get(n);return e.setup(a,i?a.node[i]:a.node,i,s),this.node}ks.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};function Qle(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");KA(this)}function Zle(e,t){e.node.type=t}function eue({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:r=!(n=>(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:s}=KA(this,r,e,t);if(s.ensureBlock(),Zle(s,"FunctionExpression"),!r){let i=n?null:s.scope.generateUidIdentifier("arrowCheckId");return i&&s.parentPath.scope.push({id:i,init:$le([])}),s.get("body").unshiftContainer("body",$A(_i(this.hub.addHelper("newArrowCheck"),[io(),yt(i?i.name:n)]))),s.replaceWith(_i(Wr((0,Ble.default)(this,!0)||s.node,yt("bind")),[i?yt(i.name):io()])),s.get("callee.object")}return s}var tue=(0,Gy.merge)([{CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}},Ky.default]);function KA(e,t=!0,r=!0,n=!0){let s,i=e.findParent(m=>{if(m.isArrowFunctionExpression()){var C;return(C=s)!=null||(s=m),!1}return m.isFunction()||m.isProgram()||m.isClassProperty({static:!1})||m.isClassPrivateProperty({static:!1})}),a=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty())if(s)i=s;else if(r)e.replaceWith(_i(Hy([],Yle(e.node)),[])),i=e.get("callee"),e=i.get("body");else throw e.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:o,argumentsPaths:l,newTargetPaths:u,superProps:c,superCalls:f}=uue(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=[];i.traverse(tue,{allSuperCalls:m});let C=aue(i);m.forEach(p=>{let b=yt(C);b.loc=p.node.callee.loc,p.get("callee").replaceWith(b)})}if(l.length>0){let m=ao(i,"arguments",()=>{let C=()=>yt("arguments");return i.scope.path.isProgram()?jle($y("===",Xle("typeof",C()),WA("undefined")),i.scope.buildUndefinedNode(),C()):C()});l.forEach(C=>{let p=yt(m);p.loc=C.node.loc,C.replaceWith(p)})}if(u.length>0){let m=ao(i,"newtarget",()=>Ule(yt("new"),yt("target")));u.forEach(C=>{let p=yt(m);p.loc=C.node.loc,C.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((C,p)=>C.concat(nue(p)),[]).forEach(C=>{let p=C.node.computed?"":C.get("property").node.name,b=C.parentPath,E=b.isAssignmentExpression({left:C.node}),O=b.isCallExpression({callee:C.node}),P=b.isTaggedTemplateExpression({tag:C.node}),A=oue(i,E,p),I=[];if(C.node.computed&&I.push(C.get("property").node),E){let B=b.node.right;I.push(B)}let k=_i(yt(A),I);O?(b.unshiftContainer("arguments",io()),C.replaceWith(Wr(k,yt("call"))),o.push(b.get("arguments.0"))):E?b.replaceWith(k):P?(C.replaceWith(_i(Wr(k,yt("bind"),!1),[io()])),o.push(C.get("arguments.0"))):C.replaceWith(k)})}let d;return(o.length>0||!t)&&(d=iue(i,a),(t||a&&GA(i))&&(o.forEach(m=>{let C=m.isJSX()?Mle(d):yt(d);C.loc=m.node.loc,m.replaceWith(C)}),t||(d=null))),{thisBinding:d,fnPath:e}}function rue(e){return qle.includes(e)}function nue(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){let r=e.parentPath,n=r.node.operator.slice(0,-1),s=r.node.right,i=rue(n);if(e.node.computed){let a=e.scope.generateDeclaredUidIdentifier("tmp"),o=e.node.object,l=e.node.property;r.get("left").replaceWith(Wr(o,Ns("=",a,l),!0)),r.get("right").replaceWith(t(i?"=":n,Wr(o,yt(a.name),!0),s))}else{let a=e.node.object,o=e.node.property;r.get("left").replaceWith(Wr(a,o)),r.get("right").replaceWith(t(i?"=":n,Wr(a,yt(o.name)),s))}return i?r.replaceWith(Rle(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"),s=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,i=[Ns("=",n,Wr(e.node.object,s?Ns("=",s,e.node.property):e.node.property,e.node.computed)),Ns("=",Wr(e.node.object,s?yt(s.name):e.node.property,e.node.computed),$y(e.parentPath.node.operator[0],yt(n.name),Vle(1)))];e.parentPath.node.prefix||i.push(yt(n.name)),r.replaceWith(Gle(i));let a=r.get("expressions.0.right"),o=r.get("expressions.1.left");return[a,o]}return[e];function t(r,n,s){return r==="="?Ns("=",n,s):$y(r,n,s)}}function GA(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}var sue=(0,Gy.merge)([{CallExpression(e,{supers:t,thisBinding:r}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,Ns("=",yt(r),yt("this"))])))}},Ky.default]);function iue(e,t){return ao(e,"this",r=>{if(!t||!GA(e))return io();e.traverse(sue,{supers:new WeakSet,thisBinding:r})})}function aue(e){return ao(e,"supercall",()=>{let t=e.scope.generateUidIdentifier("args");return Hy([Wle(t)],_i(Wy(),[Hle(yt(t.name))]))})}function oue(e,t,r){return ao(e,`superprop_${t?"set":"get"}:${r||""}`,()=>{let s=[],i;if(r)i=Wr(Wy(),yt(r));else{let a=e.scope.generateUidIdentifier("prop");s.unshift(a),i=Wr(Wy(),yt(a.name),!0)}if(t){let a=e.scope.generateUidIdentifier("value");s.push(a),i=Ns("=",i,yt(a.name))}return Hy(s,i)})}function ao(e,t,r){let n="binding:"+t,s=e.getData(n);if(!s){let i=e.scope.generateUidIdentifier(t);s=i.name,e.setData(n,s),e.scope.push({id:i,init:r(s)})}return s}var lue=(0,Gy.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)}},Ky.default]);function uue(e){let t=[],r=[],n=[],s=[],i=[];return e.traverse(lue,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}),{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}});var ZA=g(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct._guessExecutionStatusRelativeTo=kue;Ct._resolve=Lue;Ct.canHaveVariableDeclarationOrExpression=Aue;Ct.canSwapBetweenExpressionAndStatement=Cue;Ct.equals=xue;Ct.getSource=Oue;Ct.has=QA;Ct.is=void 0;Ct.isCompletionRecord=wue;Ct.isConstantExpression=Mue;Ct.isInStrictMode=Rue;Ct.isNodeType=Pue;Ct.isStatementOrBlock=Due;Ct.isStatic=vue;Ct.isnt=Sue;Ct.matchesPattern=Eue;Ct.referencesImport=Iue;Ct.resolve=jue;Ct.willIMaybeExecuteBefore=_ue;var cue=Ce(),{STATEMENT_OR_BLOCK_KEYS:fue,VISITOR_KEYS:pue,isBlockStatement:zA,isExpression:due,isIdentifier:hue,isLiteral:mue,isStringLiteral:yue,isType:gue,matchesPattern:bue}=cue;function Eue(e,t){return bue(this.node,e,t)}function QA(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 Tue=QA;Ct.is=Tue;function Sue(e){return!this.has(e)}function xue(e,t){return this.node[e]===t}function Pue(e){return gue(this.type,e)}function Aue(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function Cue(e){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?zA(e):this.isBlockStatement()?due(e):!1}function wue(e){let t=this,r=!0;do{let{type:n,container:s}=t;if(!r&&(t.isFunction()||n==="StaticBlock"))return!!e;if(r=!1,Array.isArray(s)&&t.key!==s.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0}function Due(){return this.parentPath.isLabeledStatement()||zA(this.container)?!1:fue.includes(this.key)}function Iue(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?yue(this.node.property,{value:t}):this.node.property.name===t)){let i=this.get("object");return i.isReferencedIdentifier()&&i.referencesImport(e,"*")}return!1}let r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return!1;let n=r.path,s=n.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===e){if(!t)return!0}else return!1;return!!(n.isImportDefaultSpecifier()&&t==="default"||n.isImportNamespaceSpecifier()&&t==="*"||n.isImportSpecifier()&&hue(n.node.imported,{name:t}))}function Oue(){let e=this.node;if(e.end){let t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function _ue(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function YA(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function Nue(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 XA(e,t){for(let r=0;r<t;r++){let n=e[r];if(Nue(n.parent.type,n.parentKey))return!0}return!1}var JA=Symbol();function kue(e){return Yy(this,e,new Map)}function Yy(e,t,r){let n={this:YA(e),target:YA(t)};if(n.target.node!==n.this.node)return Fue(e,n.target,r);let s={target:t.getAncestry(),this:e.getAncestry()};if(s.target.indexOf(e)>=0)return"after";if(s.this.indexOf(t)>=0)return"before";let i,a={target:0,this:0};for(;!i&&a.this<s.this.length;){let c=s.this[a.this];a.target=s.target.indexOf(c),a.target>=0?i=c:a.this++}if(!i)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(XA(s.this,a.this-1)||XA(s.target,a.target-1))return"unknown";let o={this:s.this[a.this-1],target:s.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=pue[i.type],u={this:l.indexOf(o.this.parentKey),target:l.indexOf(o.target.parentKey)};return u.target>u.this?"before":"after"}function Bue(e,t,r){if(t.isFunctionDeclaration()){if(t.parentPath.isExportDeclaration())return"unknown"}else return Yy(e,t,r)==="before"?"before":"unknown";let n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";let s=n.referencePaths,i;for(let a of s){if(!!a.find(u=>u.node===t.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let l=Yy(e,a,r);if(i&&i!==l)return"unknown";i=l}return i}function Fue(e,t,r){let n=r.get(e.node),s;if(!n)r.set(e.node,n=new Map);else if(s=n.get(t.node))return s===JA?"unknown":s;n.set(t.node,JA);let i=Bue(e,t,r);return n.set(t.node,i),i}function jue(e,t){return this._resolve(e,t)||this}function Lue(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(s=>s.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(!mue(r))return;let n=r.value,s=this.get("object").resolve(e,t);if(s.isObjectExpression()){let i=s.get("properties");for(let a of i){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(s.isArrayExpression()&&!isNaN(+n)){let a=s.get("elements")[n];if(a)return a.resolve(e,t)}}}}function Mue(){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 Rue(){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 s of n.directives)if(s.value.value==="use strict")return!0})}});var rC=g(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt._call=Vue;xt._getQueueContexts=ace;xt._resyncKey=Que;xt._resyncList=Zue;xt._resyncParent=zue;xt._resyncRemoved=ece;xt.call=Uue;xt.isBlacklisted=xt.isDenylisted=$ue;xt.popContext=tce;xt.pushContext=rce;xt.requeue=ice;xt.resync=Jue;xt.setContext=Xue;xt.setKey=sce;xt.setScope=Yue;xt.setup=nce;xt.skip=Kue;xt.skipKey=Gue;xt.stop=Hue;xt.visit=Wue;var que=ql(),eC=ss();function Uue(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 Vue(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 $ue(){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 Wue(){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,que.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),tC(this,r),this.call("exit"),this.shouldStop)}function Kue(){this.shouldSkip=!0}function Gue(e){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[e]=!0}function Hue(){this._traverseFlags|=eC.SHOULD_SKIP|eC.SHOULD_STOP}function Yue(){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 s;if((s=r.opts)!=null&&s.noScope)return;n=r.scope,r=r.parentPath}this.scope=this.getScope(n),(t=this.scope)==null||t.init()}function Xue(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 Jue(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())}function zue(){this.parentPath&&(this.parent=this.parentPath.node)}function Que(){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 Zue(){if(!this.parent||!this.inList)return;let e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}function ece(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&this._markRemoved()}function tce(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function rce(e){this.contexts.push(e),this.setContext(e)}function nce(e,t,r,n){this.listKey=r,this.container=t,this.parentPath=e||this.parentPath,this.setKey(n)}function sce(e){var t;this.key=e,this.node=this.container[this.key],this.type=(t=this.node)==null?void 0:t.type}function ice(e=this){if(e.removed)return;let t=this.contexts;for(let r of t)r.maybeQueue(e)}function ace(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,!!e);)t=e.contexts;return t}});var nC=g(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.hooks=void 0;var oce=[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}];Mu.hooks=oce});var iC=g(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is._assertUnremoved=mce;is._callRemovalHooks=pce;is._markRemoved=hce;is._remove=dce;is._removeFromScope=fce;is.remove=cce;var lce=nC(),uce=Ps(),sC=ss();function cce(){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 fce(){let e=this.getBindingIdentifiers();Object.keys(e).forEach(t=>this.scope.removeBinding(t))}function pce(){for(let e of lce.hooks)if(e(this,this.parentPath))return!0}function dce(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)}function hce(){this._traverseFlags|=sC.SHOULD_SKIP|sC.REMOVED,this.parent&&(0,uce.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null}function mce(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var oC=g(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var aC=Ce(),yce=aC,{react:gce}=aC,{cloneNode:bce,jsxExpressionContainer:Ece,variableDeclaration:vce,variableDeclarator:Tce}=yce,Sce={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&gce.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)}}},Xy=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 s=this.bindings[n];if(s.kind==="param"||s.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(s.path).key>=t.key){this.attachAfter=!0,t=s.path;for(let a of s.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 s=0;s<n.length;s++)if(!n[s].node._blockHoist)return n[s]}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(Sce,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=Tce(r,this.path.node),s=this.attachAfter?"insertAfter":"insertBefore",[i]=t[s]([t.isVariableDeclarator()?n:vce("var",[n])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(r=Ece(r)),this.path.replaceWith(bce(r)),t.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}};Ru.default=Xy});var pC=g(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Ir._containerInsert=Mce;Ir._containerInsertAfter=qce;Ir._containerInsertBefore=Rce;Ir._verifyNodeList=Wce;Ir.hoist=Hce;Ir.insertAfter=Vce;Ir.insertBefore=Lce;Ir.pushContainer=Gce;Ir.unshiftContainer=Kce;Ir.updateSiblingKeys=$ce;var xce=Ps(),Pce=oC(),Qy=ss(),Ace=Ce(),{arrowFunctionExpression:Cce,assertExpression:wce,assignmentExpression:Dce,blockStatement:lC,callExpression:Ice,cloneNode:Jy,expressionStatement:zy,isAssignmentExpression:Oce,isCallExpression:_ce,isExportNamedDeclaration:uC,isExpression:Nce,isIdentifier:kce,isSequenceExpression:Bce,isSuper:Fce,thisExpression:jce}=Ace;function Lce(e){this._assertUnremoved();let t=this._verifyNodeList(e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||uC(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 s=this.node,i=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(lC(i?[s]:[])),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 Mce(e,t){this.updateSiblingKeys(e,t.length);let r=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){var n;let a=e+i,o=this.getSibling(a);r.push(o),(n=this.context)!=null&&n.queue&&o.pushContext(this.context)}let s=this._getQueueContexts();for(let i of r){i.setScope(),i.debug("Inserted.");for(let a of s)a.maybeQueue(i,!0)}return r}function Rce(e){return this._containerInsert(this.key,e)}function qce(e){return this._containerInsert(this.key+1,e)}var cC=e=>e[e.length-1];function fC(e){return Bce(e.parent)&&(cC(e.parent.expressions)!==e.node||fC(e.parentPath))}function Uce(e,t){if(!Oce(e)||!kce(e.left))return!1;let r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function Vce(e){if(this._assertUnremoved(),this.isSequenceExpression())return cC(this.get("expressions")).insertAfter(e);let t=this._verifyNodeList(e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||uC(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map(s=>Nce(s)?zy(s):s));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){let s=this.node,{scope:i}=this;if(i.path.isPattern())return wce(s),this.replaceWith(Ice(Cce([],s),[])),this.get("callee.body").insertAfter(t),[this];if(fC(this))t.unshift(s);else if(_ce(s)&&Fce(s.callee))t.unshift(s),t.push(jce());else if(Uce(s,i))t.unshift(s),t.push(Jy(s.left));else if(i.isPure(s,!0))t.push(s);else{r.isMethod({computed:!0,key:s})&&(i=i.parent);let a=i.generateDeclaredUidIdentifier();t.unshift(zy(Dce("=",Jy(a),s))),t.push(zy(Jy(a)))}}return this.replaceExpressionWithStatements(t)}else{if(Array.isArray(this.container))return this._containerInsertAfter(t);if(this.isStatementOrBlock()){let s=this.node,i=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(lC(i?[s]:[])),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 $ce(e,t){if(!this.parent)return;let r=(0,xce.getCachedPaths)(this.hub,this.parent)||[];for(let[,n]of r)typeof n.key=="number"&&n.key>=e&&(n.key+=t)}function Wce(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 Qy.default&&(n="has a NodePath when it expected a raw object"):n="without a type":n="has falsy node",n){let s=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${s}`)}}return e}function Kce(e,t){return this._assertUnremoved(),t=this._verifyNodeList(t),Qy.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context)._containerInsertBefore(t)}function Gce(e,t){this._assertUnremoved();let r=this._verifyNodeList(t),n=this.node[e];return Qy.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context).replaceWithMultiple(r)}function Hce(e=this.scope){return new Pce.default(this,e).run()}});var mC=g(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt._getKey=ffe;Gt._getPattern=pfe;Gt.get=cfe;Gt.getAllNextSiblings=lfe;Gt.getAllPrevSiblings=ufe;Gt.getBindingIdentifierPaths=mfe;Gt.getBindingIdentifiers=dfe;Gt.getCompletionRecords=sfe;Gt.getNextSibling=ofe;Gt.getOpposite=tfe;Gt.getOuterBindingIdentifierPaths=yfe;Gt.getOuterBindingIdentifiers=hfe;Gt.getPrevSibling=afe;Gt.getSibling=ife;var e0=ss(),Yce=Ce(),{getBindingIdentifiers:hC,getOuterBindingIdentifiers:Xce,isDeclaration:Jce,numericLiteral:zce,unaryExpression:Qce}=Yce,t0=0,oo=1;function Zce(e){return{type:t0,path:e}}function efe(e){return{type:oo,path:e}}function tfe(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function Ni(e,t,r){return e&&t.push(...ki(e,r)),t}function rfe(e,t,r){let n=[];for(let s=0;s<e.length;s++){let i=e[s],a=ki(i,r),o=[],l=[];for(let u of a)u.type===t0&&o.push(u),u.type===oo&&l.push(u);o.length&&(n=o),t.push(...l)}return t.push(...n),t}function nfe(e){e.forEach(t=>{t.type=oo})}function Zy(e,t){e.forEach(r=>{r.path.isBreakStatement({label:null})&&(t?r.path.replaceWith(Qce("void",zce(0))):r.path.remove())})}function dC(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let s=0;s<e.length;s++){let i=e[s],a=Object.assign({},t,{inCaseClause:!1});i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let o=ki(i,a);if(o.length>0&&o.every(l=>l.type===oo)){n.length>0&&o.every(l=>l.path.isBreakStatement({label:null}))?(nfe(n),r.push(...n),n.some(l=>l.path.isDeclaration())&&(r.push(...o),Zy(o,!0)),Zy(o,!1)):(r.push(...o),t.shouldPopulateBreak||Zy(o,!0));break}if(s===e.length-1)r.push(...o);else{n=[];for(let l=0;l<o.length;l++){let u=o[l];u.type===oo&&r.push(u),u.type===t0&&n.push(u)}}}}else if(e.length)for(let n=e.length-1;n>=0;n--){let s=ki(e[n],t);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}return r}function ki(e,t){let r=[];if(e.isIfStatement())r=Ni(e.get("consequent"),r,t),r=Ni(e.get("alternate"),r,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return Ni(e.get("body"),r,t);if(e.isProgram()||e.isBlockStatement())return dC(e.get("body"),t);if(e.isFunction())return ki(e.get("body"),t);if(e.isTryStatement())r=Ni(e.get("block"),r,t),r=Ni(e.get("handler"),r,t);else{if(e.isCatchClause())return Ni(e.get("body"),r,t);if(e.isSwitchStatement())return rfe(e.get("cases"),r,t);if(e.isSwitchCase())return dC(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});e.isBreakStatement()?r.push(efe(e)):r.push(Zce(e))}}return r}function sfe(){return ki(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(t=>t.path)}function ife(e){return e0.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function afe(){return this.getSibling(this.key-1)}function ofe(){return this.getSibling(this.key+1)}function lfe(){let e=this.key,t=this.getSibling(++e),r=[];for(;t.node;)r.push(t),t=this.getSibling(++e);return r}function ufe(){let e=this.key,t=this.getSibling(--e),r=[];for(;t.node;)r.push(t),t=this.getSibling(--e);return r}function cfe(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 ffe(e,t){let r=this.node,n=r[e];return Array.isArray(n)?n.map((s,i)=>e0.default.get({listKey:e,parentPath:this,parent:r,container:n,key:i}).setContext(t)):e0.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}function pfe(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 dfe(e){return hC(this.node,e)}function hfe(e){return Xce(this.node,e)}function mfe(e=!1,t=!1){let n=[this],s=Object.create(null);for(;n.length;){let i=n.shift();if(!i||!i.node)continue;let a=hC.keys[i.node.type];if(i.isIdentifier()){e?(s[i.node.name]=s[i.node.name]||[]).push(i):s[i.node.name]=i;continue}if(i.isExportDeclaration()){let o=i.get("declaration");Jce(o)&&n.push(o);continue}if(t){if(i.isFunctionDeclaration()){n.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(a)for(let o=0;o<a.length;o++){let l=a[o],u=i.get(l);Array.isArray(u)?n.push(...u):u.node&&n.push(u)}}return s}function yfe(e=!1){return this.getBindingIdentifierPaths(e,!0)}});var gC=g(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.addComment=Tfe;lo.addComments=Sfe;lo.shareCommentsWithSiblings=vfe;var gfe=Ce(),{addComment:bfe,addComments:Efe}=gfe;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),s=this.getSibling(this.key+1),i=!!n.node,a=!!s.node;i&&(r&&n.addComments("trailing",yC(r,n.node.trailingComments)),t&&!a&&n.addComments("trailing",t)),a&&(t&&s.addComments("leading",yC(t,s.node.leadingComments)),r&&!i&&s.addComments("leading",r))}function yC(e,t){if(!t)return e;let r=-1;return e.filter(n=>{let s=t.indexOf(n,r);if(s===-1)return!0;r=s})}function Tfe(e,t,r){bfe(this.node,e,t,r)}function Sfe(e,t){Efe(this.node,e,t)}});var vC=g(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.isBindingIdentifier=Kfe;Nt.isBlockScoped=Jfe;Nt.isExpression=Hfe;Nt.isFlow=tpe;Nt.isForAwaitStatement=spe;Nt.isGenerated=Zfe;Nt.isPure=epe;Nt.isReferenced=Xfe;Nt.isReferencedIdentifier=$fe;Nt.isReferencedMemberExpression=Wfe;Nt.isRestProperty=rpe;Nt.isScope=Yfe;Nt.isSpreadProperty=npe;Nt.isStatement=Gfe;Nt.isUser=Qfe;Nt.isVar=zfe;var xfe=Ce(),{isBinding:Pfe,isBlockScoped:Afe,isExportDeclaration:Cfe,isExpression:wfe,isFlow:Dfe,isForStatement:Ife,isForXStatement:Ofe,isIdentifier:bC,isImportDeclaration:_fe,isImportSpecifier:Nfe,isJSXIdentifier:kfe,isJSXMemberExpression:Bfe,isMemberExpression:Ffe,isRestElement:EC,isReferenced:r0,isScope:jfe,isStatement:Lfe,isVar:Mfe,isVariableDeclaration:Rfe,react:qfe,isForOfStatement:Ufe}=xfe,{isCompatTag:Vfe}=qfe;function $fe(e){let{node:t,parent:r}=this;if(!bC(t,e)&&!Bfe(r,e))if(kfe(t,e)){if(Vfe(t.name))return!1}else return!1;return r0(t,r,this.parentPath.parent)}function Wfe(){let{node:e,parent:t}=this;return Ffe(e)&&r0(e,t)}function Kfe(){let{node:e,parent:t}=this,r=this.parentPath.parent;return bC(e)&&Pfe(e,t,r)}function Gfe(){let{node:e,parent:t}=this;return Lfe(e)?!(Rfe(e)&&(Ofe(t,{left:e})||Ife(t,{init:e}))):!1}function Hfe(){return this.isIdentifier()?this.isReferencedIdentifier():wfe(this.node)}function Yfe(){return jfe(this.node,this.parent)}function Xfe(){return r0(this.node,this.parent)}function Jfe(){return Afe(this.node)}function zfe(){return Mfe(this.node)}function Qfe(){return this.node&&!!this.node.loc}function Zfe(){return!this.isUser()}function epe(e){return this.scope.isPure(this.node,e)}function tpe(){let{node:e}=this;return Dfe(e)?!0:_fe(e)?e.importKind==="type"||e.importKind==="typeof":Cfe(e)?e.exportKind==="type":Nfe(e)?e.importKind==="type"||e.importKind==="typeof":!1}function rpe(){return EC(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function npe(){return EC(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function spe(){return Ufe(this.node,{await:!0})}Nt.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},Nt.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var ss=g(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=sn.SHOULD_STOP=sn.SHOULD_SKIP=sn.REMOVED=void 0;var ipe=Mp(),ape=Cs(),ope=Ur(),lpe=Qh(),SC=Ce(),$u=SC,upe=Ps(),cpe=uu(),fpe=wx(),ppe=Gx(),dpe=yA(),hpe=vA(),mpe=HA(),xC=ZA(),ype=rC(),gpe=iC(),bpe=pC(),Epe=mC(),vpe=gC(),Tpe=vC(),{validate:Spe}=SC,TC=ape("babel"),qu=1;sn.REMOVED=qu;var Uu=2;sn.SHOULD_STOP=Uu;var Vu=4;sn.SHOULD_SKIP=Vu;var as=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:s,listKey:i,key:a}){if(!t&&r&&(t=r.hub),!n)throw new Error("To get a node path the parent needs to exist");let o=s[a],l=upe.getOrCreateCachedPaths(t,n),u=l.get(o);return u||(u=new e(t,n),o&&l.set(o,u)),u.setup(r,s,i,a),u}getScope(t){return this.isScope()?new lpe.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){Spe(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){TC.enabled&&TC(`${this.getPathLocation()} ${this.type}: ${t}`)}toString(){return(0,cpe.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&Vu)}set shouldSkip(t){t?this._traverseFlags|=Vu:this._traverseFlags&=~Vu}get shouldStop(){return!!(this._traverseFlags&Uu)}set shouldStop(t){t?this._traverseFlags|=Uu:this._traverseFlags&=~Uu}get removed(){return!!(this._traverseFlags&qu)}set removed(t){t?this._traverseFlags|=qu:this._traverseFlags&=~qu}};Object.assign(as.prototype,fpe,ppe,dpe,hpe,mpe,xC,ype,gpe,bpe,Epe,vpe);as.prototype._guessExecutionStatusRelativeToDifferentFunctions=xC._guessExecutionStatusRelativeTo;for(let e of $u.TYPES){let t=`is${e}`,r=$u[t];as.prototype[t]=function(n){return r(this.node,n)},as.prototype[`assert${e}`]=function(n){if(!r(this.node,n))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(as.prototype,Tpe);for(let e of Object.keys(ipe))e[0]!=="_"&&($u.TYPES.includes(e)||$u.TYPES.push(e));var xpe=as;sn.default=xpe});var PC=g(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=void 0;var Ppe=ss(),Ape=Ce(),{VISITOR_KEYS:Cpe}=Ape,n0=class{constructor(t,r,n,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,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=Cpe[t.type];if(!(n!=null&&n.length))return!1;for(let s of n)if(t[s])return!0;return!1}create(t,r,n,s){return Ppe.default.get({parentPath:this.parentPath,parent:t,container:r,key:n,listKey:s})}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 s=[];for(let i=0;i<t.length;i++){let a=t[i];a&&this.shouldVisit(a)&&s.push(this.create(r,t,i,n))}return this.visitQueue(s)}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 s of t){if(s.resync(),(s.contexts.length===0||s.contexts[s.contexts.length-1]!==this)&&s.pushContext(this),s.key===null)continue;let{node:i}=s;if(!r.has(i)){if(i&&r.add(i),s.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=t,n))break}}for(let s of t)s.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}};Wu.default=n0});var ql=g(s0=>{"use strict";Object.defineProperty(s0,"__esModule",{value:!0});s0.traverseNode=Ope;var wpe=PC(),Dpe=Ce(),{VISITOR_KEYS:Ipe}=Dpe;function Ope(e,t,r,n,s,i,a){let o=Ipe[e.type];if(!o)return!1;let l=new wpe.default(r,t,n,s);if(a)return i!=null&&i[s.parentKey]?!1:l.visitQueue([s]);for(let u of o)if(!(i!=null&&i[u])&&l.visit(e,u))return!0;return!1}});var AC=g(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});Ku.default=void 0;var i0=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(t,r,n=TypeError){return new n(r)}};Ku.default=i0});var Ur=g(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});Object.defineProperty(An,"Hub",{enumerable:!0,get:function(){return Fpe.default}});Object.defineProperty(An,"NodePath",{enumerable:!0,get:function(){return kpe.default}});Object.defineProperty(An,"Scope",{enumerable:!0,get:function(){return Bpe.default}});An.visitors=An.default=void 0;var uo=_a();An.visitors=uo;var _pe=Ce(),Npe=Ps(),CC=ql(),kpe=ss(),Bpe=Qh(),Fpe=AC(),{VISITOR_KEYS:jpe,removeProperties:Lpe,traverseFast:wC}=_pe;function Or(e,t={},r,n,s,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.`);if(!s&&i)throw new Error("visitSelf can only be used when providing a NodePath.");jpe[e.type]&&(uo.explode(t),(0,CC.traverseNode)(e,t,r,n,s,null,i))}}var Mpe=Or;An.default=Mpe;Or.visitors=uo;Or.verify=uo.verify;Or.explode=uo.explode;Or.cheap=function(e,t){wC(e,t)};Or.node=function(e,t,r,n,s,i){(0,CC.traverseNode)(e,t,r,n,s,i)};Or.clearNode=function(e,t){Lpe(e,t)};Or.removeProperties=function(e,t){return wC(e,Or.clearNode,t),e};function Rpe(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}Or.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 Or(e,{noScope:!0,denylist:r,enter:Rpe},null,n),n.has};Or.cache=Npe});var DC=g(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=void 0;var qpe=Oi();function Pt(e,t){return Object.freeze({minVersion:e,ast:()=>qpe.default.program.ast(t,{preserveComments:!0})})}var Upe=Object.freeze({AsyncGenerator:Pt("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};'),OverloadYield:Pt("7.18.14","export default function _OverloadYield(t,e){this.v=t,this.k=e}"),applyDecs:Pt("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:t,isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a){var r;throw r=0===e?"field":10===e?"class":"method",new TypeError(r+" decorators must return a function or void 0")}}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&"undefined"!=typeof console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,h=a[0];if(n?c=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?u={get:c.get,set:c.set}:2===o?u=c.value:3===o?u=c.get:4===o&&(u=c.set),"function"==typeof h)void 0!==(f=old_memberDec(h,r,c,l,s,o,i,n,u))&&(old_assertValidReturnValue(o,f),0===o?d=f:1===o?(d=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f);else for(var y=h.length-1;y>=0;y--){var b;if(void 0!==(f=old_memberDec(h[y],r,c,l,s,o,i,n,u)))old_assertValidReturnValue(o,f),0===o?b=f:1===o?(b=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var m=d;d=function(e,t){return m.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=u.get,c.set=u.set):2===o?c.value=u:3===o?c.get=u:4===o&&(c.set=u),n?1===o?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===o?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],h=d[2],y=d.length>3,b=v>=5;if(b?(u=t,f=r,0!==(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!y){var g=b?s:l,m=g.get(h)||0;if(!0===m||3===m&&4!==v||4===m&&3!==v)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: "+h);!m&&v>2?g.set(h,v):g.set(h,!0)}old_applyMemberDec(e,u,d,h,v,b,y,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}export default function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}'),applyDecs2203:Pt("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":10===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u)))assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw 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: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;export default function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}'),applyDecs2203R:Pt("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,s,o){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,n,a,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===a||1===a?{get:r[3],set:r[4]}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?u={get:c.get,set:c.set}:2===a?u=c.value:3===a?u=c.get:4===a&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,n,c,o,a,i,s,u))&&(assertValidReturnValue(a,f),0===a?l=f:1===a?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],n,c,o,a,i,s,u)))assertValidReturnValue(a,f),0===a?g=f:1===a?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,n=0;n<y.length;n++)r=y[n].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=u.get,c.set=u.set):2===a?c.value=u:3===a?c.get=u:4===a&&(c.set=u),s?1===a?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===a?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,s=new Map,o=0;o<t.length;o++){var c=t[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!==(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)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: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}'),applyDecs2301:Pt("7.21.0",'import checkInRHS from"checkInRHS";function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:t,static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,g=r[0];if(s?u=0===a||1===a?{get:(p=r[3],function(){return p(this)}),set:curryThis2(r[4])}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:u.get,set:u.set}:2===a?f=u.value:3===a?f=u.get:4===a&&(f=u.set),"function"==typeof g)void 0!==(d=memberDec(g,n,u,o,a,i,s,f,c))&&(assertValidReturnValue(a,d),0===a?l=d:1===a?(l=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d);else for(var y=g.length-1;y>=0;y--){var m;if(void 0!==(d=memberDec(g[y],n,u,o,a,i,s,f,c)))assertValidReturnValue(a,d),0===a?m=d:1===a?(m=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d,void 0!==m&&(void 0===l?l=m:"function"==typeof l?l=[l,m]:l.push(m))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var b=l;l=function(e,t){for(var r=t,n=0;n<b.length;n++)r=b[n].call(e,r);return r}}else{var I=l;l=function(e,t){return I.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=f.get,u.set=f.set):2===a?u.value=f:3===a?u.get=f:4===a&&(u.set=f),s?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,g=d>=5,y=r;if(g?(f=e,0!==(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),y=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=g?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)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: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,g,v,p,y)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}'),applyDecs2305:Pt("7.21.0",'import checkInRHS from"checkInRHS";function createAddInitializerMethod(e,t){return function(r){assertNotFinished(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,a,n,i,s,o,c,l,u){var f;switch(i){case 1:f="accessor";break;case 2:f="method";break;case 3:f="getter";break;case 4:f="setter";break;default:f="field"}var d,p,h={kind:f,name:o?"#"+r:r,static:s,private:o,metadata:u},v={v:!1};if(0!==i&&(h.addInitializer=createAddInitializerMethod(n,v)),o||0!==i&&2!==i)if(2===i)d=function(e){return assertInstanceIfPrivate(l,e),a.value};else{var y=0===i||1===i;(y||3===i)&&(d=o?function(e){return assertInstanceIfPrivate(l,e),a.get.call(e)}:function(e){return a.get.call(e)}),(y||4===i)&&(p=o?function(e,t){assertInstanceIfPrivate(l,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else d=function(e){return e[r]},0===i&&(p=function(e,t){e[r]=t});var m=o?l.bind():function(e){return r in e};h.access=d&&p?{get:d,set:p,has:m}:d?{get:d,has:m}:{set:p,has:m};try{return e.call(t,c,h)}finally{v.v=!0}}function assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":5===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function curryThis1(e){return function(){return e(this)}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,a,n,i,s,o,c,l,u){var f,d,p,h,v,y,m=r[0];a||Array.isArray(m)||(m=[m]),o?f=0===i||1===i?{get:curryThis1(r[3]),set:curryThis2(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(f=Object.getOwnPropertyDescriptor(t,n)),1===i?p={get:f.get,set:f.set}:2===i?p=f.value:3===i?p=f.get:4===i&&(p=f.set);for(var g=a?2:1,b=m.length-1;b>=0;b-=g){var I;if(void 0!==(h=memberDec(m[b],a?m[b-1]:void 0,n,f,c,i,s,o,p,l,u)))assertValidReturnValue(i,h),0===i?I=h:1===i?(I=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==I&&(void 0===d?d=I:"function"==typeof d?d=[d,I]:d.push(I))}if(0===i||1===i){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var r=t,a=w.length-1;a>=0;a--)r=w[a].call(e,r);return r}}else{var M=d;d=function(e,t){return M.call(e,t)}}e.push(d)}0!==i&&(1===i?(f.get=p.get,f.set=p.set):2===i?f.value=p:3===i?f.get=p:4===i&&(f.set=p),o?1===i?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===i?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,f))}function applyMemberDecs(e,t,r,a){for(var n,i,s,o=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,p,h=f[1],v=f[2],y=f.length>3,m=16&h,g=!!(8&h),b=r;if(h&=7,g?(d=e,0!==h&&(p=i=i||[]),y&&!s&&(s=function(t){return checkInRHS(t)===e}),b=s):(d=e.prototype,0!==h&&(p=n=n||[])),0!==h&&!y){var I=g?l:c,w=I.get(v)||0;if(!0===w||3===w&&4!==h||4===w&&3!==h)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: "+v);I.set(v,!(!w&&h>2)||h)}applyMemberDec(o,d,f,m,v,h,g,y,p,b,a)}}return pushInitializers(o,n),pushInitializers(o,i),o}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function applyClassDecs(e,t,r,a){if(t.length){for(var n=[],i=e,s=e.name,o=r?2:1,c=t.length-1;c>=0;c-=o){var l={v:!1};try{var u=t[c].call(r?t[c-1]:void 0,i,{kind:"class",name:s,addInitializer:createAddInitializerMethod(n,l),metadata:a})}finally{l.v=!0}void 0!==u&&(assertValidReturnValue(5,u),i=u)}return[defineMetadata(i,a),function(){for(var e=0;e<n.length;e++)n[e].call(i)}]}}function defineMetadata(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}export default function applyDecs2305(e,t,r,a,n,i){if(arguments.length>=6)var s=i[Symbol.metadata||Symbol.for("Symbol.metadata")];var o=Object.create(void 0===s?null:s),c=applyMemberDecs(e,t,n,o);return r.length||defineMetadata(e,o),{e:c,get c(){return applyClassDecs(e,r,a,o)}}}'),asyncGeneratorDelegate:Pt("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}'),asyncIterator:Pt("7.15.9",'export default function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}'),awaitAsyncGenerator:Pt("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}'),checkInRHS:Pt("7.20.5",`export default function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}`),defineAccessor:Pt("7.20.7","export default function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}"),dispose:Pt("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=r,this.error=e,this.stack=(new Error).stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}export default function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(r,e):r,s=!0,next()}return next()}'),importDeferProxy:Pt("7.23.0","export default function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}"),interopRequireWildcard:Pt("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}export default function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}'),iterableToArrayLimit:Pt("7.0.0-beta.0",'export default function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}'),iterableToArrayLimitLoose:Pt("7.0.0-beta.0",'export default function _iterableToArrayLimitLoose(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var o,l=[];for(t=t.call(e);e.length<r&&!(o=t.next()).done;)l.push(o.value);return l}}'),jsx:Pt("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=new Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}'),objectSpread2:Pt("7.5.0",'import defineProperty from"defineProperty";function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}export default function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}'),regeneratorRuntime:Pt("7.18.0",`export default function _regeneratorRuntime(){"use strict";
  62. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}`),typeof:Pt("7.0.0-beta.0",'export default function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}'),using:Pt("7.22.0",'export default function _using(o,e,n){if(null==e)return e;if("object"!=typeof e)throw new TypeError("using declarations can only be used with objects, null, or undefined.");if(n)var r=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=e[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:e,d:r,a:n}),e}'),wrapRegExp:Pt("7.19.0",'import setPrototypeOf from"setPrototypeOf";import inherits from"inherits";export default function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=new RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}')});Gu.default=Upe});var IC=g(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=void 0;var Vpe=Oi(),$pe=DC(),re=Object.assign({__proto__:null},$pe.default),Wpe=re;Hu.default=Wpe;var ne=e=>t=>({minVersion:e,ast:()=>Vpe.default.program.ast(t)});re.AwaitValue=ne("7.0.0-beta.0")`
  63. export default function _AwaitValue(value) {
  64. this.wrapped = value;
  65. }
  66. `;re.wrapAsyncGenerator=ne("7.0.0-beta.0")`
  67. import AsyncGenerator from "AsyncGenerator";
  68. export default function _wrapAsyncGenerator(fn) {
  69. return function () {
  70. return new AsyncGenerator(fn.apply(this, arguments));
  71. };
  72. }
  73. `;re.asyncToGenerator=ne("7.0.0-beta.0")`
  74. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  75. try {
  76. var info = gen[key](arg);
  77. var value = info.value;
  78. } catch (error) {
  79. reject(error);
  80. return;
  81. }
  82. if (info.done) {
  83. resolve(value);
  84. } else {
  85. Promise.resolve(value).then(_next, _throw);
  86. }
  87. }
  88. export default function _asyncToGenerator(fn) {
  89. return function () {
  90. var self = this, args = arguments;
  91. return new Promise(function (resolve, reject) {
  92. var gen = fn.apply(self, args);
  93. function _next(value) {
  94. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  95. }
  96. function _throw(err) {
  97. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  98. }
  99. _next(undefined);
  100. });
  101. };
  102. }
  103. `;re.classCallCheck=ne("7.0.0-beta.0")`
  104. export default function _classCallCheck(instance, Constructor) {
  105. if (!(instance instanceof Constructor)) {
  106. throw new TypeError("Cannot call a class as a function");
  107. }
  108. }
  109. `;re.createClass=ne("7.0.0-beta.0")`
  110. import toPropertyKey from "toPropertyKey";
  111. function _defineProperties(target, props) {
  112. for (var i = 0; i < props.length; i ++) {
  113. var descriptor = props[i];
  114. descriptor.enumerable = descriptor.enumerable || false;
  115. descriptor.configurable = true;
  116. if ("value" in descriptor) descriptor.writable = true;
  117. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  118. }
  119. }
  120. export default function _createClass(Constructor, protoProps, staticProps) {
  121. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  122. if (staticProps) _defineProperties(Constructor, staticProps);
  123. Object.defineProperty(Constructor, "prototype", { writable: false });
  124. return Constructor;
  125. }
  126. `;re.defineEnumerableProperties=ne("7.0.0-beta.0")`
  127. export default function _defineEnumerableProperties(obj, descs) {
  128. for (var key in descs) {
  129. var desc = descs[key];
  130. desc.configurable = desc.enumerable = true;
  131. if ("value" in desc) desc.writable = true;
  132. Object.defineProperty(obj, key, desc);
  133. }
  134. // Symbols are not enumerated over by for-in loops. If native
  135. // Symbols are available, fetch all of the descs object's own
  136. // symbol properties and define them on our target object too.
  137. if (Object.getOwnPropertySymbols) {
  138. var objectSymbols = Object.getOwnPropertySymbols(descs);
  139. for (var i = 0; i < objectSymbols.length; i++) {
  140. var sym = objectSymbols[i];
  141. var desc = descs[sym];
  142. desc.configurable = desc.enumerable = true;
  143. if ("value" in desc) desc.writable = true;
  144. Object.defineProperty(obj, sym, desc);
  145. }
  146. }
  147. return obj;
  148. }
  149. `;re.defaults=ne("7.0.0-beta.0")`
  150. export default function _defaults(obj, defaults) {
  151. var keys = Object.getOwnPropertyNames(defaults);
  152. for (var i = 0; i < keys.length; i++) {
  153. var key = keys[i];
  154. var value = Object.getOwnPropertyDescriptor(defaults, key);
  155. if (value && value.configurable && obj[key] === undefined) {
  156. Object.defineProperty(obj, key, value);
  157. }
  158. }
  159. return obj;
  160. }
  161. `;re.defineProperty=ne("7.0.0-beta.0")`
  162. import toPropertyKey from "toPropertyKey";
  163. export default function _defineProperty(obj, key, value) {
  164. key = toPropertyKey(key);
  165. // Shortcircuit the slow defineProperty path when possible.
  166. // We are trying to avoid issues where setters defined on the
  167. // prototype cause side effects under the fast path of simple
  168. // assignment. By checking for existence of the property with
  169. // the in operator, we can optimize most of this overhead away.
  170. if (key in obj) {
  171. Object.defineProperty(obj, key, {
  172. value: value,
  173. enumerable: true,
  174. configurable: true,
  175. writable: true
  176. });
  177. } else {
  178. obj[key] = value;
  179. }
  180. return obj;
  181. }
  182. `;re.extends=ne("7.0.0-beta.0")`
  183. export default function _extends() {
  184. _extends = Object.assign ? Object.assign.bind() : function (target) {
  185. for (var i = 1; i < arguments.length; i++) {
  186. var source = arguments[i];
  187. for (var key in source) {
  188. if (Object.prototype.hasOwnProperty.call(source, key)) {
  189. target[key] = source[key];
  190. }
  191. }
  192. }
  193. return target;
  194. };
  195. return _extends.apply(this, arguments);
  196. }
  197. `;re.objectSpread=ne("7.0.0-beta.0")`
  198. import defineProperty from "defineProperty";
  199. export default function _objectSpread(target) {
  200. for (var i = 1; i < arguments.length; i++) {
  201. var source = (arguments[i] != null) ? Object(arguments[i]) : {};
  202. var ownKeys = Object.keys(source);
  203. if (typeof Object.getOwnPropertySymbols === 'function') {
  204. ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) {
  205. return Object.getOwnPropertyDescriptor(source, sym).enumerable;
  206. }));
  207. }
  208. ownKeys.forEach(function(key) {
  209. defineProperty(target, key, source[key]);
  210. });
  211. }
  212. return target;
  213. }
  214. `;re.inherits=ne("7.0.0-beta.0")`
  215. import setPrototypeOf from "setPrototypeOf";
  216. export default function _inherits(subClass, superClass) {
  217. if (typeof superClass !== "function" && superClass !== null) {
  218. throw new TypeError("Super expression must either be null or a function");
  219. }
  220. // We can't use defineProperty to set the prototype in a single step because it
  221. // doesn't work in Chrome <= 36. https://github.com/babel/babel/issues/14056
  222. // V8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=3334
  223. subClass.prototype = Object.create(superClass && superClass.prototype, {
  224. constructor: {
  225. value: subClass,
  226. writable: true,
  227. configurable: true
  228. }
  229. });
  230. Object.defineProperty(subClass, "prototype", { writable: false });
  231. if (superClass) setPrototypeOf(subClass, superClass);
  232. }
  233. `;re.inheritsLoose=ne("7.0.0-beta.0")`
  234. import setPrototypeOf from "setPrototypeOf";
  235. export default function _inheritsLoose(subClass, superClass) {
  236. subClass.prototype = Object.create(superClass.prototype);
  237. subClass.prototype.constructor = subClass;
  238. setPrototypeOf(subClass, superClass);
  239. }
  240. `;re.getPrototypeOf=ne("7.0.0-beta.0")`
  241. export default function _getPrototypeOf(o) {
  242. _getPrototypeOf = Object.setPrototypeOf
  243. ? Object.getPrototypeOf.bind()
  244. : function _getPrototypeOf(o) {
  245. return o.__proto__ || Object.getPrototypeOf(o);
  246. };
  247. return _getPrototypeOf(o);
  248. }
  249. `;re.setPrototypeOf=ne("7.0.0-beta.0")`
  250. export default function _setPrototypeOf(o, p) {
  251. _setPrototypeOf = Object.setPrototypeOf
  252. ? Object.setPrototypeOf.bind()
  253. : function _setPrototypeOf(o, p) {
  254. o.__proto__ = p;
  255. return o;
  256. };
  257. return _setPrototypeOf(o, p);
  258. }
  259. `;re.isNativeReflectConstruct=ne("7.9.0")`
  260. export default function _isNativeReflectConstruct() {
  261. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  262. // core-js@3
  263. if (Reflect.construct.sham) return false;
  264. // Proxy can't be polyfilled. Every browser implemented
  265. // proxies before or at the same time as Reflect.construct,
  266. // so if they support Proxy they also support Reflect.construct.
  267. if (typeof Proxy === "function") return true;
  268. // Since Reflect.construct can't be properly polyfilled, some
  269. // implementations (e.g. core-js@2) don't set the correct internal slots.
  270. // Those polyfills don't allow us to subclass built-ins, so we need to
  271. // use our fallback implementation.
  272. try {
  273. // If the internal slots aren't set, this throws an error similar to
  274. // TypeError: this is not a Boolean object.
  275. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
  276. return true;
  277. } catch (e) {
  278. return false;
  279. }
  280. }
  281. `;re.construct=ne("7.0.0-beta.0")`
  282. import setPrototypeOf from "setPrototypeOf";
  283. import isNativeReflectConstruct from "isNativeReflectConstruct";
  284. export default function _construct(Parent, args, Class) {
  285. if (isNativeReflectConstruct()) {
  286. _construct = Reflect.construct.bind();
  287. } else {
  288. // NOTE: If Parent !== Class, the correct __proto__ is set *after*
  289. // calling the constructor.
  290. _construct = function _construct(Parent, args, Class) {
  291. var a = [null];
  292. a.push.apply(a, args);
  293. var Constructor = Function.bind.apply(Parent, a);
  294. var instance = new Constructor();
  295. if (Class) setPrototypeOf(instance, Class.prototype);
  296. return instance;
  297. };
  298. }
  299. // Avoid issues with Class being present but undefined when it wasn't
  300. // present in the original call.
  301. return _construct.apply(null, arguments);
  302. }
  303. `;re.isNativeFunction=ne("7.0.0-beta.0")`
  304. export default function _isNativeFunction(fn) {
  305. // Note: This function returns "true" for core-js functions.
  306. try {
  307. return Function.toString.call(fn).indexOf("[native code]") !== -1;
  308. } catch (e) {
  309. // Firefox 31 throws when "toString" is applied to an HTMLElement
  310. return typeof fn === "function";
  311. }
  312. }
  313. `;re.wrapNativeSuper=ne("7.0.0-beta.0")`
  314. import getPrototypeOf from "getPrototypeOf";
  315. import setPrototypeOf from "setPrototypeOf";
  316. import isNativeFunction from "isNativeFunction";
  317. import construct from "construct";
  318. export default function _wrapNativeSuper(Class) {
  319. var _cache = typeof Map === "function" ? new Map() : undefined;
  320. _wrapNativeSuper = function _wrapNativeSuper(Class) {
  321. if (Class === null || !isNativeFunction(Class)) return Class;
  322. if (typeof Class !== "function") {
  323. throw new TypeError("Super expression must either be null or a function");
  324. }
  325. if (typeof _cache !== "undefined") {
  326. if (_cache.has(Class)) return _cache.get(Class);
  327. _cache.set(Class, Wrapper);
  328. }
  329. function Wrapper() {
  330. return construct(Class, arguments, getPrototypeOf(this).constructor)
  331. }
  332. Wrapper.prototype = Object.create(Class.prototype, {
  333. constructor: {
  334. value: Wrapper,
  335. enumerable: false,
  336. writable: true,
  337. configurable: true,
  338. }
  339. });
  340. return setPrototypeOf(Wrapper, Class);
  341. }
  342. return _wrapNativeSuper(Class)
  343. }
  344. `;re.instanceof=ne("7.0.0-beta.0")`
  345. export default function _instanceof(left, right) {
  346. if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
  347. return !!right[Symbol.hasInstance](left);
  348. } else {
  349. return left instanceof right;
  350. }
  351. }
  352. `;re.interopRequireDefault=ne("7.0.0-beta.0")`
  353. export default function _interopRequireDefault(obj) {
  354. return obj && obj.__esModule ? obj : { default: obj };
  355. }
  356. `;re.newArrowCheck=ne("7.0.0-beta.0")`
  357. export default function _newArrowCheck(innerThis, boundThis) {
  358. if (innerThis !== boundThis) {
  359. throw new TypeError("Cannot instantiate an arrow function");
  360. }
  361. }
  362. `;re.objectDestructuringEmpty=ne("7.0.0-beta.0")`
  363. export default function _objectDestructuringEmpty(obj) {
  364. if (obj == null) throw new TypeError("Cannot destructure " + obj);
  365. }
  366. `;re.objectWithoutPropertiesLoose=ne("7.0.0-beta.0")`
  367. export default function _objectWithoutPropertiesLoose(source, excluded) {
  368. if (source == null) return {};
  369. var target = {};
  370. var sourceKeys = Object.keys(source);
  371. var key, i;
  372. for (i = 0; i < sourceKeys.length; i++) {
  373. key = sourceKeys[i];
  374. if (excluded.indexOf(key) >= 0) continue;
  375. target[key] = source[key];
  376. }
  377. return target;
  378. }
  379. `;re.objectWithoutProperties=ne("7.0.0-beta.0")`
  380. import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose";
  381. export default function _objectWithoutProperties(source, excluded) {
  382. if (source == null) return {};
  383. var target = objectWithoutPropertiesLoose(source, excluded);
  384. var key, i;
  385. if (Object.getOwnPropertySymbols) {
  386. var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
  387. for (i = 0; i < sourceSymbolKeys.length; i++) {
  388. key = sourceSymbolKeys[i];
  389. if (excluded.indexOf(key) >= 0) continue;
  390. if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
  391. target[key] = source[key];
  392. }
  393. }
  394. return target;
  395. }
  396. `;re.assertThisInitialized=ne("7.0.0-beta.0")`
  397. export default function _assertThisInitialized(self) {
  398. if (self === void 0) {
  399. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  400. }
  401. return self;
  402. }
  403. `;re.possibleConstructorReturn=ne("7.0.0-beta.0")`
  404. import assertThisInitialized from "assertThisInitialized";
  405. export default function _possibleConstructorReturn(self, call) {
  406. if (call && (typeof call === "object" || typeof call === "function")) {
  407. return call;
  408. } else if (call !== void 0) {
  409. throw new TypeError("Derived constructors may only return object or undefined");
  410. }
  411. return assertThisInitialized(self);
  412. }
  413. `;re.createSuper=ne("7.9.0")`
  414. import getPrototypeOf from "getPrototypeOf";
  415. import isNativeReflectConstruct from "isNativeReflectConstruct";
  416. import possibleConstructorReturn from "possibleConstructorReturn";
  417. export default function _createSuper(Derived) {
  418. var hasNativeReflectConstruct = isNativeReflectConstruct();
  419. return function _createSuperInternal() {
  420. var Super = getPrototypeOf(Derived), result;
  421. if (hasNativeReflectConstruct) {
  422. // NOTE: This doesn't work if this.__proto__.constructor has been modified.
  423. var NewTarget = getPrototypeOf(this).constructor;
  424. result = Reflect.construct(Super, arguments, NewTarget);
  425. } else {
  426. result = Super.apply(this, arguments);
  427. }
  428. return possibleConstructorReturn(this, result);
  429. }
  430. }
  431. `;re.superPropBase=ne("7.0.0-beta.0")`
  432. import getPrototypeOf from "getPrototypeOf";
  433. export default function _superPropBase(object, property) {
  434. // Yes, this throws if object is null to being with, that's on purpose.
  435. while (!Object.prototype.hasOwnProperty.call(object, property)) {
  436. object = getPrototypeOf(object);
  437. if (object === null) break;
  438. }
  439. return object;
  440. }
  441. `;re.get=ne("7.0.0-beta.0")`
  442. import superPropBase from "superPropBase";
  443. export default function _get() {
  444. if (typeof Reflect !== "undefined" && Reflect.get) {
  445. _get = Reflect.get.bind();
  446. } else {
  447. _get = function _get(target, property, receiver) {
  448. var base = superPropBase(target, property);
  449. if (!base) return;
  450. var desc = Object.getOwnPropertyDescriptor(base, property);
  451. if (desc.get) {
  452. // STEP 3. If receiver is not present, then set receiver to target.
  453. return desc.get.call(arguments.length < 3 ? target : receiver);
  454. }
  455. return desc.value;
  456. };
  457. }
  458. return _get.apply(this, arguments);
  459. }
  460. `;re.set=ne("7.0.0-beta.0")`
  461. import superPropBase from "superPropBase";
  462. import defineProperty from "defineProperty";
  463. function set(target, property, value, receiver) {
  464. if (typeof Reflect !== "undefined" && Reflect.set) {
  465. set = Reflect.set;
  466. } else {
  467. set = function set(target, property, value, receiver) {
  468. var base = superPropBase(target, property);
  469. var desc;
  470. if (base) {
  471. desc = Object.getOwnPropertyDescriptor(base, property);
  472. if (desc.set) {
  473. desc.set.call(receiver, value);
  474. return true;
  475. } else if (!desc.writable) {
  476. // Both getter and non-writable fall into this.
  477. return false;
  478. }
  479. }
  480. // Without a super that defines the property, spec boils down to
  481. // "define on receiver" for some reason.
  482. desc = Object.getOwnPropertyDescriptor(receiver, property);
  483. if (desc) {
  484. if (!desc.writable) {
  485. // Setter, getter, and non-writable fall into this.
  486. return false;
  487. }
  488. desc.value = value;
  489. Object.defineProperty(receiver, property, desc);
  490. } else {
  491. // Avoid setters that may be defined on Sub's prototype, but not on
  492. // the instance.
  493. defineProperty(receiver, property, value);
  494. }
  495. return true;
  496. };
  497. }
  498. return set(target, property, value, receiver);
  499. }
  500. export default function _set(target, property, value, receiver, isStrict) {
  501. var s = set(target, property, value, receiver || target);
  502. if (!s && isStrict) {
  503. throw new TypeError('failed to set property');
  504. }
  505. return value;
  506. }
  507. `;re.taggedTemplateLiteral=ne("7.0.0-beta.0")`
  508. export default function _taggedTemplateLiteral(strings, raw) {
  509. if (!raw) { raw = strings.slice(0); }
  510. return Object.freeze(Object.defineProperties(strings, {
  511. raw: { value: Object.freeze(raw) }
  512. }));
  513. }
  514. `;re.taggedTemplateLiteralLoose=ne("7.0.0-beta.0")`
  515. export default function _taggedTemplateLiteralLoose(strings, raw) {
  516. if (!raw) { raw = strings.slice(0); }
  517. strings.raw = raw;
  518. return strings;
  519. }
  520. `;re.readOnlyError=ne("7.0.0-beta.0")`
  521. export default function _readOnlyError(name) {
  522. throw new TypeError("\\"" + name + "\\" is read-only");
  523. }
  524. `;re.writeOnlyError=ne("7.12.13")`
  525. export default function _writeOnlyError(name) {
  526. throw new TypeError("\\"" + name + "\\" is write-only");
  527. }
  528. `;re.classNameTDZError=ne("7.0.0-beta.0")`
  529. export default function _classNameTDZError(name) {
  530. throw new ReferenceError("Class \\"" + name + "\\" cannot be referenced in computed property keys.");
  531. }
  532. `;re.temporalUndefined=ne("7.0.0-beta.0")`
  533. // This function isn't mean to be called, but to be used as a reference.
  534. // We can't use a normal object because it isn't hoisted.
  535. export default function _temporalUndefined() {}
  536. `;re.tdz=ne("7.5.5")`
  537. export default function _tdzError(name) {
  538. throw new ReferenceError(name + " is not defined - temporal dead zone");
  539. }
  540. `;re.temporalRef=ne("7.0.0-beta.0")`
  541. import undef from "temporalUndefined";
  542. import err from "tdz";
  543. export default function _temporalRef(val, name) {
  544. return val === undef ? err(name) : val;
  545. }
  546. `;re.slicedToArray=ne("7.0.0-beta.0")`
  547. import arrayWithHoles from "arrayWithHoles";
  548. import iterableToArrayLimit from "iterableToArrayLimit";
  549. import unsupportedIterableToArray from "unsupportedIterableToArray";
  550. import nonIterableRest from "nonIterableRest";
  551. export default function _slicedToArray(arr, i) {
  552. return (
  553. arrayWithHoles(arr) ||
  554. iterableToArrayLimit(arr, i) ||
  555. unsupportedIterableToArray(arr, i) ||
  556. nonIterableRest()
  557. );
  558. }
  559. `;re.slicedToArrayLoose=ne("7.0.0-beta.0")`
  560. import arrayWithHoles from "arrayWithHoles";
  561. import iterableToArrayLimitLoose from "iterableToArrayLimitLoose";
  562. import unsupportedIterableToArray from "unsupportedIterableToArray";
  563. import nonIterableRest from "nonIterableRest";
  564. export default function _slicedToArrayLoose(arr, i) {
  565. return (
  566. arrayWithHoles(arr) ||
  567. iterableToArrayLimitLoose(arr, i) ||
  568. unsupportedIterableToArray(arr, i) ||
  569. nonIterableRest()
  570. );
  571. }
  572. `;re.toArray=ne("7.0.0-beta.0")`
  573. import arrayWithHoles from "arrayWithHoles";
  574. import iterableToArray from "iterableToArray";
  575. import unsupportedIterableToArray from "unsupportedIterableToArray";
  576. import nonIterableRest from "nonIterableRest";
  577. export default function _toArray(arr) {
  578. return (
  579. arrayWithHoles(arr) ||
  580. iterableToArray(arr) ||
  581. unsupportedIterableToArray(arr) ||
  582. nonIterableRest()
  583. );
  584. }
  585. `;re.toConsumableArray=ne("7.0.0-beta.0")`
  586. import arrayWithoutHoles from "arrayWithoutHoles";
  587. import iterableToArray from "iterableToArray";
  588. import unsupportedIterableToArray from "unsupportedIterableToArray";
  589. import nonIterableSpread from "nonIterableSpread";
  590. export default function _toConsumableArray(arr) {
  591. return (
  592. arrayWithoutHoles(arr) ||
  593. iterableToArray(arr) ||
  594. unsupportedIterableToArray(arr) ||
  595. nonIterableSpread()
  596. );
  597. }
  598. `;re.arrayWithoutHoles=ne("7.0.0-beta.0")`
  599. import arrayLikeToArray from "arrayLikeToArray";
  600. export default function _arrayWithoutHoles(arr) {
  601. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  602. }
  603. `;re.arrayWithHoles=ne("7.0.0-beta.0")`
  604. export default function _arrayWithHoles(arr) {
  605. if (Array.isArray(arr)) return arr;
  606. }
  607. `;re.maybeArrayLike=ne("7.9.0")`
  608. import arrayLikeToArray from "arrayLikeToArray";
  609. export default function _maybeArrayLike(next, arr, i) {
  610. if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
  611. var len = arr.length;
  612. return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
  613. }
  614. return next(arr, i);
  615. }
  616. `;re.iterableToArray=ne("7.0.0-beta.0")`
  617. export default function _iterableToArray(iter) {
  618. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  619. }
  620. `;re.unsupportedIterableToArray=ne("7.9.0")`
  621. import arrayLikeToArray from "arrayLikeToArray";
  622. export default function _unsupportedIterableToArray(o, minLen) {
  623. if (!o) return;
  624. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  625. var n = Object.prototype.toString.call(o).slice(8, -1);
  626. if (n === "Object" && o.constructor) n = o.constructor.name;
  627. if (n === "Map" || n === "Set") return Array.from(o);
  628. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
  629. return arrayLikeToArray(o, minLen);
  630. }
  631. `;re.arrayLikeToArray=ne("7.9.0")`
  632. export default function _arrayLikeToArray(arr, len) {
  633. if (len == null || len > arr.length) len = arr.length;
  634. for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
  635. return arr2;
  636. }
  637. `;re.nonIterableSpread=ne("7.0.0-beta.0")`
  638. export default function _nonIterableSpread() {
  639. throw new TypeError(
  640. "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  641. );
  642. }
  643. `;re.nonIterableRest=ne("7.0.0-beta.0")`
  644. export default function _nonIterableRest() {
  645. throw new TypeError(
  646. "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  647. );
  648. }
  649. `;re.createForOfIteratorHelper=ne("7.9.0")`
  650. import unsupportedIterableToArray from "unsupportedIterableToArray";
  651. // s: start (create the iterator)
  652. // n: next
  653. // e: error (called whenever something throws)
  654. // f: finish (always called at the end)
  655. export default function _createForOfIteratorHelper(o, allowArrayLike) {
  656. var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
  657. if (!it) {
  658. // Fallback for engines without symbol support
  659. if (
  660. Array.isArray(o) ||
  661. (it = unsupportedIterableToArray(o)) ||
  662. (allowArrayLike && o && typeof o.length === "number")
  663. ) {
  664. if (it) o = it;
  665. var i = 0;
  666. var F = function(){};
  667. return {
  668. s: F,
  669. n: function() {
  670. if (i >= o.length) return { done: true };
  671. return { done: false, value: o[i++] };
  672. },
  673. e: function(e) { throw e; },
  674. f: F,
  675. };
  676. }
  677. throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  678. }
  679. var normalCompletion = true, didErr = false, err;
  680. return {
  681. s: function() {
  682. it = it.call(o);
  683. },
  684. n: function() {
  685. var step = it.next();
  686. normalCompletion = step.done;
  687. return step;
  688. },
  689. e: function(e) {
  690. didErr = true;
  691. err = e;
  692. },
  693. f: function() {
  694. try {
  695. if (!normalCompletion && it.return != null) it.return();
  696. } finally {
  697. if (didErr) throw err;
  698. }
  699. }
  700. };
  701. }
  702. `;re.createForOfIteratorHelperLoose=ne("7.9.0")`
  703. import unsupportedIterableToArray from "unsupportedIterableToArray";
  704. export default function _createForOfIteratorHelperLoose(o, allowArrayLike) {
  705. var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
  706. if (it) return (it = it.call(o)).next.bind(it);
  707. // Fallback for engines without symbol support
  708. if (
  709. Array.isArray(o) ||
  710. (it = unsupportedIterableToArray(o)) ||
  711. (allowArrayLike && o && typeof o.length === "number")
  712. ) {
  713. if (it) o = it;
  714. var i = 0;
  715. return function() {
  716. if (i >= o.length) return { done: true };
  717. return { done: false, value: o[i++] };
  718. }
  719. }
  720. throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  721. }
  722. `;re.skipFirstGeneratorNext=ne("7.0.0-beta.0")`
  723. export default function _skipFirstGeneratorNext(fn) {
  724. return function () {
  725. var it = fn.apply(this, arguments);
  726. it.next();
  727. return it;
  728. }
  729. }
  730. `;re.toPrimitive=ne("7.1.5")`
  731. export default function _toPrimitive(
  732. input,
  733. hint /*: "default" | "string" | "number" | void */
  734. ) {
  735. if (typeof input !== "object" || input === null) return input;
  736. var prim = input[Symbol.toPrimitive];
  737. if (prim !== undefined) {
  738. var res = prim.call(input, hint || "default");
  739. if (typeof res !== "object") return res;
  740. throw new TypeError("@@toPrimitive must return a primitive value.");
  741. }
  742. return (hint === "string" ? String : Number)(input);
  743. }
  744. `;re.toPropertyKey=ne("7.1.5")`
  745. import toPrimitive from "toPrimitive";
  746. export default function _toPropertyKey(arg) {
  747. var key = toPrimitive(arg, "string");
  748. return typeof key === "symbol" ? key : String(key);
  749. }
  750. `;re.initializerWarningHelper=ne("7.0.0-beta.0")`
  751. export default function _initializerWarningHelper(descriptor, context){
  752. throw new Error(
  753. 'Decorating class property failed. Please ensure that ' +
  754. 'transform-class-properties is enabled and runs after the decorators transform.'
  755. );
  756. }
  757. `;re.initializerDefineProperty=ne("7.0.0-beta.0")`
  758. export default function _initializerDefineProperty(target, property, descriptor, context){
  759. if (!descriptor) return;
  760. Object.defineProperty(target, property, {
  761. enumerable: descriptor.enumerable,
  762. configurable: descriptor.configurable,
  763. writable: descriptor.writable,
  764. value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,
  765. });
  766. }
  767. `;re.applyDecoratedDescriptor=ne("7.0.0-beta.0")`
  768. export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){
  769. var desc = {};
  770. Object.keys(descriptor).forEach(function(key){
  771. desc[key] = descriptor[key];
  772. });
  773. desc.enumerable = !!desc.enumerable;
  774. desc.configurable = !!desc.configurable;
  775. if ('value' in desc || desc.initializer){
  776. desc.writable = true;
  777. }
  778. desc = decorators.slice().reverse().reduce(function(desc, decorator){
  779. return decorator(target, property, desc) || desc;
  780. }, desc);
  781. if (context && desc.initializer !== void 0){
  782. desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
  783. desc.initializer = undefined;
  784. }
  785. if (desc.initializer === void 0){
  786. Object.defineProperty(target, property, desc);
  787. desc = null;
  788. }
  789. return desc;
  790. }
  791. `;re.classPrivateFieldLooseKey=ne("7.0.0-beta.0")`
  792. var id = 0;
  793. export default function _classPrivateFieldKey(name) {
  794. return "__private_" + (id++) + "_" + name;
  795. }
  796. `;re.classPrivateFieldLooseBase=ne("7.0.0-beta.0")`
  797. export default function _classPrivateFieldBase(receiver, privateKey) {
  798. if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
  799. throw new TypeError("attempted to use private field on non-instance");
  800. }
  801. return receiver;
  802. }
  803. `;re.classPrivateFieldGet=ne("7.0.0-beta.0")`
  804. import classApplyDescriptorGet from "classApplyDescriptorGet";
  805. import classExtractFieldDescriptor from "classExtractFieldDescriptor";
  806. export default function _classPrivateFieldGet(receiver, privateMap) {
  807. var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
  808. return classApplyDescriptorGet(receiver, descriptor);
  809. }
  810. `;re.classPrivateFieldSet=ne("7.0.0-beta.0")`
  811. import classApplyDescriptorSet from "classApplyDescriptorSet";
  812. import classExtractFieldDescriptor from "classExtractFieldDescriptor";
  813. export default function _classPrivateFieldSet(receiver, privateMap, value) {
  814. var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
  815. classApplyDescriptorSet(receiver, descriptor, value);
  816. return value;
  817. }
  818. `;re.classPrivateFieldDestructureSet=ne("7.4.4")`
  819. import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
  820. import classExtractFieldDescriptor from "classExtractFieldDescriptor";
  821. export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
  822. var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
  823. return classApplyDescriptorDestructureSet(receiver, descriptor);
  824. }
  825. `;re.classExtractFieldDescriptor=ne("7.13.10")`
  826. export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
  827. if (!privateMap.has(receiver)) {
  828. throw new TypeError("attempted to " + action + " private field on non-instance");
  829. }
  830. return privateMap.get(receiver);
  831. }
  832. `;re.classStaticPrivateFieldSpecGet=ne("7.0.2")`
  833. import classApplyDescriptorGet from "classApplyDescriptorGet";
  834. import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  835. import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
  836. export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
  837. classCheckPrivateStaticAccess(receiver, classConstructor);
  838. classCheckPrivateStaticFieldDescriptor(descriptor, "get");
  839. return classApplyDescriptorGet(receiver, descriptor);
  840. }
  841. `;re.classStaticPrivateFieldSpecSet=ne("7.0.2")`
  842. import classApplyDescriptorSet from "classApplyDescriptorSet";
  843. import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  844. import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
  845. export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
  846. classCheckPrivateStaticAccess(receiver, classConstructor);
  847. classCheckPrivateStaticFieldDescriptor(descriptor, "set");
  848. classApplyDescriptorSet(receiver, descriptor, value);
  849. return value;
  850. }
  851. `;re.classStaticPrivateMethodGet=ne("7.3.2")`
  852. import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  853. export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
  854. classCheckPrivateStaticAccess(receiver, classConstructor);
  855. return method;
  856. }
  857. `;re.classStaticPrivateMethodSet=ne("7.3.2")`
  858. export default function _classStaticPrivateMethodSet() {
  859. throw new TypeError("attempted to set read only static private field");
  860. }
  861. `;re.classApplyDescriptorGet=ne("7.13.10")`
  862. export default function _classApplyDescriptorGet(receiver, descriptor) {
  863. if (descriptor.get) {
  864. return descriptor.get.call(receiver);
  865. }
  866. return descriptor.value;
  867. }
  868. `;re.classApplyDescriptorSet=ne("7.13.10")`
  869. export default function _classApplyDescriptorSet(receiver, descriptor, value) {
  870. if (descriptor.set) {
  871. descriptor.set.call(receiver, value);
  872. } else {
  873. if (!descriptor.writable) {
  874. // This should only throw in strict mode, but class bodies are
  875. // always strict and private fields can only be used inside
  876. // class bodies.
  877. throw new TypeError("attempted to set read only private field");
  878. }
  879. descriptor.value = value;
  880. }
  881. }
  882. `;re.classApplyDescriptorDestructureSet=ne("7.13.10")`
  883. export default function _classApplyDescriptorDestructureSet(receiver, descriptor) {
  884. if (descriptor.set) {
  885. if (!("__destrObj" in descriptor)) {
  886. descriptor.__destrObj = {
  887. set value(v) {
  888. descriptor.set.call(receiver, v)
  889. },
  890. };
  891. }
  892. return descriptor.__destrObj;
  893. } else {
  894. if (!descriptor.writable) {
  895. // This should only throw in strict mode, but class bodies are
  896. // always strict and private fields can only be used inside
  897. // class bodies.
  898. throw new TypeError("attempted to set read only private field");
  899. }
  900. return descriptor;
  901. }
  902. }
  903. `;re.classStaticPrivateFieldDestructureSet=ne("7.13.10")`
  904. import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
  905. import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  906. import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
  907. export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
  908. classCheckPrivateStaticAccess(receiver, classConstructor);
  909. classCheckPrivateStaticFieldDescriptor(descriptor, "set");
  910. return classApplyDescriptorDestructureSet(receiver, descriptor);
  911. }
  912. `;re.classCheckPrivateStaticAccess=ne("7.13.10")`
  913. export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
  914. if (receiver !== classConstructor) {
  915. throw new TypeError("Private static access of wrong provenance");
  916. }
  917. }
  918. `;re.classCheckPrivateStaticFieldDescriptor=ne("7.13.10")`
  919. export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
  920. if (descriptor === undefined) {
  921. throw new TypeError("attempted to " + action + " private static field before its declaration");
  922. }
  923. }
  924. `;re.decorate=ne("7.1.5")`
  925. import toArray from "toArray";
  926. import toPropertyKey from "toPropertyKey";
  927. // These comments are stripped by @babel/template
  928. /*::
  929. type PropertyDescriptor =
  930. | {
  931. value: any,
  932. writable: boolean,
  933. configurable: boolean,
  934. enumerable: boolean,
  935. }
  936. | {
  937. get?: () => any,
  938. set?: (v: any) => void,
  939. configurable: boolean,
  940. enumerable: boolean,
  941. };
  942. type FieldDescriptor ={
  943. writable: boolean,
  944. configurable: boolean,
  945. enumerable: boolean,
  946. };
  947. type Placement = "static" | "prototype" | "own";
  948. type Key = string | symbol; // PrivateName is not supported yet.
  949. type ElementDescriptor =
  950. | {
  951. kind: "method",
  952. key: Key,
  953. placement: Placement,
  954. descriptor: PropertyDescriptor
  955. }
  956. | {
  957. kind: "field",
  958. key: Key,
  959. placement: Placement,
  960. descriptor: FieldDescriptor,
  961. initializer?: () => any,
  962. };
  963. // This is exposed to the user code
  964. type ElementObjectInput = ElementDescriptor & {
  965. [@@toStringTag]?: "Descriptor"
  966. };
  967. // This is exposed to the user code
  968. type ElementObjectOutput = ElementDescriptor & {
  969. [@@toStringTag]?: "Descriptor"
  970. extras?: ElementDescriptor[],
  971. finisher?: ClassFinisher,
  972. };
  973. // This is exposed to the user code
  974. type ClassObject = {
  975. [@@toStringTag]?: "Descriptor",
  976. kind: "class",
  977. elements: ElementDescriptor[],
  978. };
  979. type ElementDecorator = (descriptor: ElementObjectInput) => ?ElementObjectOutput;
  980. type ClassDecorator = (descriptor: ClassObject) => ?ClassObject;
  981. type ClassFinisher = <A, B>(cl: Class<A>) => Class<B>;
  982. // Only used by Babel in the transform output, not part of the spec.
  983. type ElementDefinition =
  984. | {
  985. kind: "method",
  986. value: any,
  987. key: Key,
  988. static?: boolean,
  989. decorators?: ElementDecorator[],
  990. }
  991. | {
  992. kind: "field",
  993. value: () => any,
  994. key: Key,
  995. static?: boolean,
  996. decorators?: ElementDecorator[],
  997. };
  998. declare function ClassFactory<C>(initialize: (instance: C) => void): {
  999. F: Class<C>,
  1000. d: ElementDefinition[]
  1001. }
  1002. */
  1003. /*::
  1004. // Various combinations with/without extras and with one or many finishers
  1005. type ElementFinisherExtras = {
  1006. element: ElementDescriptor,
  1007. finisher?: ClassFinisher,
  1008. extras?: ElementDescriptor[],
  1009. };
  1010. type ElementFinishersExtras = {
  1011. element: ElementDescriptor,
  1012. finishers: ClassFinisher[],
  1013. extras: ElementDescriptor[],
  1014. };
  1015. type ElementsFinisher = {
  1016. elements: ElementDescriptor[],
  1017. finisher?: ClassFinisher,
  1018. };
  1019. type ElementsFinishers = {
  1020. elements: ElementDescriptor[],
  1021. finishers: ClassFinisher[],
  1022. };
  1023. */
  1024. /*::
  1025. type Placements = {
  1026. static: Key[],
  1027. prototype: Key[],
  1028. own: Key[],
  1029. };
  1030. */
  1031. // ClassDefinitionEvaluation (Steps 26-*)
  1032. export default function _decorate(
  1033. decorators /*: ClassDecorator[] */,
  1034. factory /*: ClassFactory */,
  1035. superClass /*: ?Class<*> */,
  1036. mixins /*: ?Array<Function> */,
  1037. ) /*: Class<*> */ {
  1038. var api = _getDecoratorsApi();
  1039. if (mixins) {
  1040. for (var i = 0; i < mixins.length; i++) {
  1041. api = mixins[i](api);
  1042. }
  1043. }
  1044. var r = factory(function initialize(O) {
  1045. api.initializeInstanceElements(O, decorated.elements);
  1046. }, superClass);
  1047. var decorated = api.decorateClass(
  1048. _coalesceClassElements(r.d.map(_createElementDescriptor)),
  1049. decorators,
  1050. );
  1051. api.initializeClassElements(r.F, decorated.elements);
  1052. return api.runClassFinishers(r.F, decorated.finishers);
  1053. }
  1054. function _getDecoratorsApi() {
  1055. _getDecoratorsApi = function() {
  1056. return api;
  1057. };
  1058. var api = {
  1059. elementsDefinitionOrder: [["method"], ["field"]],
  1060. // InitializeInstanceElements
  1061. initializeInstanceElements: function(
  1062. /*::<C>*/ O /*: C */,
  1063. elements /*: ElementDescriptor[] */,
  1064. ) {
  1065. ["method", "field"].forEach(function(kind) {
  1066. elements.forEach(function(element /*: ElementDescriptor */) {
  1067. if (element.kind === kind && element.placement === "own") {
  1068. this.defineClassElement(O, element);
  1069. }
  1070. }, this);
  1071. }, this);
  1072. },
  1073. // InitializeClassElements
  1074. initializeClassElements: function(
  1075. /*::<C>*/ F /*: Class<C> */,
  1076. elements /*: ElementDescriptor[] */,
  1077. ) {
  1078. var proto = F.prototype;
  1079. ["method", "field"].forEach(function(kind) {
  1080. elements.forEach(function(element /*: ElementDescriptor */) {
  1081. var placement = element.placement;
  1082. if (
  1083. element.kind === kind &&
  1084. (placement === "static" || placement === "prototype")
  1085. ) {
  1086. var receiver = placement === "static" ? F : proto;
  1087. this.defineClassElement(receiver, element);
  1088. }
  1089. }, this);
  1090. }, this);
  1091. },
  1092. // DefineClassElement
  1093. defineClassElement: function(
  1094. /*::<C>*/ receiver /*: C | Class<C> */,
  1095. element /*: ElementDescriptor */,
  1096. ) {
  1097. var descriptor /*: PropertyDescriptor */ = element.descriptor;
  1098. if (element.kind === "field") {
  1099. var initializer = element.initializer;
  1100. descriptor = {
  1101. enumerable: descriptor.enumerable,
  1102. writable: descriptor.writable,
  1103. configurable: descriptor.configurable,
  1104. value: initializer === void 0 ? void 0 : initializer.call(receiver),
  1105. };
  1106. }
  1107. Object.defineProperty(receiver, element.key, descriptor);
  1108. },
  1109. // DecorateClass
  1110. decorateClass: function(
  1111. elements /*: ElementDescriptor[] */,
  1112. decorators /*: ClassDecorator[] */,
  1113. ) /*: ElementsFinishers */ {
  1114. var newElements /*: ElementDescriptor[] */ = [];
  1115. var finishers /*: ClassFinisher[] */ = [];
  1116. var placements /*: Placements */ = {
  1117. static: [],
  1118. prototype: [],
  1119. own: [],
  1120. };
  1121. elements.forEach(function(element /*: ElementDescriptor */) {
  1122. this.addElementPlacement(element, placements);
  1123. }, this);
  1124. elements.forEach(function(element /*: ElementDescriptor */) {
  1125. if (!_hasDecorators(element)) return newElements.push(element);
  1126. var elementFinishersExtras /*: ElementFinishersExtras */ = this.decorateElement(
  1127. element,
  1128. placements,
  1129. );
  1130. newElements.push(elementFinishersExtras.element);
  1131. newElements.push.apply(newElements, elementFinishersExtras.extras);
  1132. finishers.push.apply(finishers, elementFinishersExtras.finishers);
  1133. }, this);
  1134. if (!decorators) {
  1135. return { elements: newElements, finishers: finishers };
  1136. }
  1137. var result /*: ElementsFinishers */ = this.decorateConstructor(
  1138. newElements,
  1139. decorators,
  1140. );
  1141. finishers.push.apply(finishers, result.finishers);
  1142. result.finishers = finishers;
  1143. return result;
  1144. },
  1145. // AddElementPlacement
  1146. addElementPlacement: function(
  1147. element /*: ElementDescriptor */,
  1148. placements /*: Placements */,
  1149. silent /*: boolean */,
  1150. ) {
  1151. var keys = placements[element.placement];
  1152. if (!silent && keys.indexOf(element.key) !== -1) {
  1153. throw new TypeError("Duplicated element (" + element.key + ")");
  1154. }
  1155. keys.push(element.key);
  1156. },
  1157. // DecorateElement
  1158. decorateElement: function(
  1159. element /*: ElementDescriptor */,
  1160. placements /*: Placements */,
  1161. ) /*: ElementFinishersExtras */ {
  1162. var extras /*: ElementDescriptor[] */ = [];
  1163. var finishers /*: ClassFinisher[] */ = [];
  1164. for (
  1165. var decorators = element.decorators, i = decorators.length - 1;
  1166. i >= 0;
  1167. i--
  1168. ) {
  1169. // (inlined) RemoveElementPlacement
  1170. var keys = placements[element.placement];
  1171. keys.splice(keys.indexOf(element.key), 1);
  1172. var elementObject /*: ElementObjectInput */ = this.fromElementDescriptor(
  1173. element,
  1174. );
  1175. var elementFinisherExtras /*: ElementFinisherExtras */ = this.toElementFinisherExtras(
  1176. (0, decorators[i])(elementObject) /*: ElementObjectOutput */ ||
  1177. elementObject,
  1178. );
  1179. element = elementFinisherExtras.element;
  1180. this.addElementPlacement(element, placements);
  1181. if (elementFinisherExtras.finisher) {
  1182. finishers.push(elementFinisherExtras.finisher);
  1183. }
  1184. var newExtras /*: ElementDescriptor[] | void */ =
  1185. elementFinisherExtras.extras;
  1186. if (newExtras) {
  1187. for (var j = 0; j < newExtras.length; j++) {
  1188. this.addElementPlacement(newExtras[j], placements);
  1189. }
  1190. extras.push.apply(extras, newExtras);
  1191. }
  1192. }
  1193. return { element: element, finishers: finishers, extras: extras };
  1194. },
  1195. // DecorateConstructor
  1196. decorateConstructor: function(
  1197. elements /*: ElementDescriptor[] */,
  1198. decorators /*: ClassDecorator[] */,
  1199. ) /*: ElementsFinishers */ {
  1200. var finishers /*: ClassFinisher[] */ = [];
  1201. for (var i = decorators.length - 1; i >= 0; i--) {
  1202. var obj /*: ClassObject */ = this.fromClassDescriptor(elements);
  1203. var elementsAndFinisher /*: ElementsFinisher */ = this.toClassDescriptor(
  1204. (0, decorators[i])(obj) /*: ClassObject */ || obj,
  1205. );
  1206. if (elementsAndFinisher.finisher !== undefined) {
  1207. finishers.push(elementsAndFinisher.finisher);
  1208. }
  1209. if (elementsAndFinisher.elements !== undefined) {
  1210. elements = elementsAndFinisher.elements;
  1211. for (var j = 0; j < elements.length - 1; j++) {
  1212. for (var k = j + 1; k < elements.length; k++) {
  1213. if (
  1214. elements[j].key === elements[k].key &&
  1215. elements[j].placement === elements[k].placement
  1216. ) {
  1217. throw new TypeError(
  1218. "Duplicated element (" + elements[j].key + ")",
  1219. );
  1220. }
  1221. }
  1222. }
  1223. }
  1224. }
  1225. return { elements: elements, finishers: finishers };
  1226. },
  1227. // FromElementDescriptor
  1228. fromElementDescriptor: function(
  1229. element /*: ElementDescriptor */,
  1230. ) /*: ElementObject */ {
  1231. var obj /*: ElementObject */ = {
  1232. kind: element.kind,
  1233. key: element.key,
  1234. placement: element.placement,
  1235. descriptor: element.descriptor,
  1236. };
  1237. var desc = {
  1238. value: "Descriptor",
  1239. configurable: true,
  1240. };
  1241. Object.defineProperty(obj, Symbol.toStringTag, desc);
  1242. if (element.kind === "field") obj.initializer = element.initializer;
  1243. return obj;
  1244. },
  1245. // ToElementDescriptors
  1246. toElementDescriptors: function(
  1247. elementObjects /*: ElementObject[] */,
  1248. ) /*: ElementDescriptor[] */ {
  1249. if (elementObjects === undefined) return;
  1250. return toArray(elementObjects).map(function(elementObject) {
  1251. var element = this.toElementDescriptor(elementObject);
  1252. this.disallowProperty(elementObject, "finisher", "An element descriptor");
  1253. this.disallowProperty(elementObject, "extras", "An element descriptor");
  1254. return element;
  1255. }, this);
  1256. },
  1257. // ToElementDescriptor
  1258. toElementDescriptor: function(
  1259. elementObject /*: ElementObject */,
  1260. ) /*: ElementDescriptor */ {
  1261. var kind = String(elementObject.kind);
  1262. if (kind !== "method" && kind !== "field") {
  1263. throw new TypeError(
  1264. 'An element descriptor\\'s .kind property must be either "method" or' +
  1265. ' "field", but a decorator created an element descriptor with' +
  1266. ' .kind "' +
  1267. kind +
  1268. '"',
  1269. );
  1270. }
  1271. var key = toPropertyKey(elementObject.key);
  1272. var placement = String(elementObject.placement);
  1273. if (
  1274. placement !== "static" &&
  1275. placement !== "prototype" &&
  1276. placement !== "own"
  1277. ) {
  1278. throw new TypeError(
  1279. 'An element descriptor\\'s .placement property must be one of "static",' +
  1280. ' "prototype" or "own", but a decorator created an element descriptor' +
  1281. ' with .placement "' +
  1282. placement +
  1283. '"',
  1284. );
  1285. }
  1286. var descriptor /*: PropertyDescriptor */ = elementObject.descriptor;
  1287. this.disallowProperty(elementObject, "elements", "An element descriptor");
  1288. var element /*: ElementDescriptor */ = {
  1289. kind: kind,
  1290. key: key,
  1291. placement: placement,
  1292. descriptor: Object.assign({}, descriptor),
  1293. };
  1294. if (kind !== "field") {
  1295. this.disallowProperty(elementObject, "initializer", "A method descriptor");
  1296. } else {
  1297. this.disallowProperty(
  1298. descriptor,
  1299. "get",
  1300. "The property descriptor of a field descriptor",
  1301. );
  1302. this.disallowProperty(
  1303. descriptor,
  1304. "set",
  1305. "The property descriptor of a field descriptor",
  1306. );
  1307. this.disallowProperty(
  1308. descriptor,
  1309. "value",
  1310. "The property descriptor of a field descriptor",
  1311. );
  1312. element.initializer = elementObject.initializer;
  1313. }
  1314. return element;
  1315. },
  1316. toElementFinisherExtras: function(
  1317. elementObject /*: ElementObject */,
  1318. ) /*: ElementFinisherExtras */ {
  1319. var element /*: ElementDescriptor */ = this.toElementDescriptor(
  1320. elementObject,
  1321. );
  1322. var finisher /*: ClassFinisher */ = _optionalCallableProperty(
  1323. elementObject,
  1324. "finisher",
  1325. );
  1326. var extras /*: ElementDescriptors[] */ = this.toElementDescriptors(
  1327. elementObject.extras,
  1328. );
  1329. return { element: element, finisher: finisher, extras: extras };
  1330. },
  1331. // FromClassDescriptor
  1332. fromClassDescriptor: function(
  1333. elements /*: ElementDescriptor[] */,
  1334. ) /*: ClassObject */ {
  1335. var obj = {
  1336. kind: "class",
  1337. elements: elements.map(this.fromElementDescriptor, this),
  1338. };
  1339. var desc = { value: "Descriptor", configurable: true };
  1340. Object.defineProperty(obj, Symbol.toStringTag, desc);
  1341. return obj;
  1342. },
  1343. // ToClassDescriptor
  1344. toClassDescriptor: function(
  1345. obj /*: ClassObject */,
  1346. ) /*: ElementsFinisher */ {
  1347. var kind = String(obj.kind);
  1348. if (kind !== "class") {
  1349. throw new TypeError(
  1350. 'A class descriptor\\'s .kind property must be "class", but a decorator' +
  1351. ' created a class descriptor with .kind "' +
  1352. kind +
  1353. '"',
  1354. );
  1355. }
  1356. this.disallowProperty(obj, "key", "A class descriptor");
  1357. this.disallowProperty(obj, "placement", "A class descriptor");
  1358. this.disallowProperty(obj, "descriptor", "A class descriptor");
  1359. this.disallowProperty(obj, "initializer", "A class descriptor");
  1360. this.disallowProperty(obj, "extras", "A class descriptor");
  1361. var finisher = _optionalCallableProperty(obj, "finisher");
  1362. var elements = this.toElementDescriptors(obj.elements);
  1363. return { elements: elements, finisher: finisher };
  1364. },
  1365. // RunClassFinishers
  1366. runClassFinishers: function(
  1367. constructor /*: Class<*> */,
  1368. finishers /*: ClassFinisher[] */,
  1369. ) /*: Class<*> */ {
  1370. for (var i = 0; i < finishers.length; i++) {
  1371. var newConstructor /*: ?Class<*> */ = (0, finishers[i])(constructor);
  1372. if (newConstructor !== undefined) {
  1373. // NOTE: This should check if IsConstructor(newConstructor) is false.
  1374. if (typeof newConstructor !== "function") {
  1375. throw new TypeError("Finishers must return a constructor.");
  1376. }
  1377. constructor = newConstructor;
  1378. }
  1379. }
  1380. return constructor;
  1381. },
  1382. disallowProperty: function(obj, name, objectType) {
  1383. if (obj[name] !== undefined) {
  1384. throw new TypeError(objectType + " can't have a ." + name + " property.");
  1385. }
  1386. }
  1387. };
  1388. return api;
  1389. }
  1390. // ClassElementEvaluation
  1391. function _createElementDescriptor(
  1392. def /*: ElementDefinition */,
  1393. ) /*: ElementDescriptor */ {
  1394. var key = toPropertyKey(def.key);
  1395. var descriptor /*: PropertyDescriptor */;
  1396. if (def.kind === "method") {
  1397. descriptor = {
  1398. value: def.value,
  1399. writable: true,
  1400. configurable: true,
  1401. enumerable: false,
  1402. };
  1403. } else if (def.kind === "get") {
  1404. descriptor = { get: def.value, configurable: true, enumerable: false };
  1405. } else if (def.kind === "set") {
  1406. descriptor = { set: def.value, configurable: true, enumerable: false };
  1407. } else if (def.kind === "field") {
  1408. descriptor = { configurable: true, writable: true, enumerable: true };
  1409. }
  1410. var element /*: ElementDescriptor */ = {
  1411. kind: def.kind === "field" ? "field" : "method",
  1412. key: key,
  1413. placement: def.static
  1414. ? "static"
  1415. : def.kind === "field"
  1416. ? "own"
  1417. : "prototype",
  1418. descriptor: descriptor,
  1419. };
  1420. if (def.decorators) element.decorators = def.decorators;
  1421. if (def.kind === "field") element.initializer = def.value;
  1422. return element;
  1423. }
  1424. // CoalesceGetterSetter
  1425. function _coalesceGetterSetter(
  1426. element /*: ElementDescriptor */,
  1427. other /*: ElementDescriptor */,
  1428. ) {
  1429. if (element.descriptor.get !== undefined) {
  1430. other.descriptor.get = element.descriptor.get;
  1431. } else {
  1432. other.descriptor.set = element.descriptor.set;
  1433. }
  1434. }
  1435. // CoalesceClassElements
  1436. function _coalesceClassElements(
  1437. elements /*: ElementDescriptor[] */,
  1438. ) /*: ElementDescriptor[] */ {
  1439. var newElements /*: ElementDescriptor[] */ = [];
  1440. var isSameElement = function(
  1441. other /*: ElementDescriptor */,
  1442. ) /*: boolean */ {
  1443. return (
  1444. other.kind === "method" &&
  1445. other.key === element.key &&
  1446. other.placement === element.placement
  1447. );
  1448. };
  1449. for (var i = 0; i < elements.length; i++) {
  1450. var element /*: ElementDescriptor */ = elements[i];
  1451. var other /*: ElementDescriptor */;
  1452. if (
  1453. element.kind === "method" &&
  1454. (other = newElements.find(isSameElement))
  1455. ) {
  1456. if (
  1457. _isDataDescriptor(element.descriptor) ||
  1458. _isDataDescriptor(other.descriptor)
  1459. ) {
  1460. if (_hasDecorators(element) || _hasDecorators(other)) {
  1461. throw new ReferenceError(
  1462. "Duplicated methods (" + element.key + ") can't be decorated.",
  1463. );
  1464. }
  1465. other.descriptor = element.descriptor;
  1466. } else {
  1467. if (_hasDecorators(element)) {
  1468. if (_hasDecorators(other)) {
  1469. throw new ReferenceError(
  1470. "Decorators can't be placed on different accessors with for " +
  1471. "the same property (" +
  1472. element.key +
  1473. ").",
  1474. );
  1475. }
  1476. other.decorators = element.decorators;
  1477. }
  1478. _coalesceGetterSetter(element, other);
  1479. }
  1480. } else {
  1481. newElements.push(element);
  1482. }
  1483. }
  1484. return newElements;
  1485. }
  1486. function _hasDecorators(element /*: ElementDescriptor */) /*: boolean */ {
  1487. return element.decorators && element.decorators.length;
  1488. }
  1489. function _isDataDescriptor(desc /*: PropertyDescriptor */) /*: boolean */ {
  1490. return (
  1491. desc !== undefined &&
  1492. !(desc.value === undefined && desc.writable === undefined)
  1493. );
  1494. }
  1495. function _optionalCallableProperty /*::<T>*/(
  1496. obj /*: T */,
  1497. name /*: $Keys<T> */,
  1498. ) /*: ?Function */ {
  1499. var value = obj[name];
  1500. if (value !== undefined && typeof value !== "function") {
  1501. throw new TypeError("Expected '" + name + "' to be a function");
  1502. }
  1503. return value;
  1504. }
  1505. `;re.classPrivateMethodGet=ne("7.1.6")`
  1506. export default function _classPrivateMethodGet(receiver, privateSet, fn) {
  1507. if (!privateSet.has(receiver)) {
  1508. throw new TypeError("attempted to get private field on non-instance");
  1509. }
  1510. return fn;
  1511. }
  1512. `;re.checkPrivateRedeclaration=ne("7.14.1")`
  1513. export default function _checkPrivateRedeclaration(obj, privateCollection) {
  1514. if (privateCollection.has(obj)) {
  1515. throw new TypeError("Cannot initialize the same private elements twice on an object");
  1516. }
  1517. }
  1518. `;re.classPrivateFieldInitSpec=ne("7.14.1")`
  1519. import checkPrivateRedeclaration from "checkPrivateRedeclaration";
  1520. export default function _classPrivateFieldInitSpec(obj, privateMap, value) {
  1521. checkPrivateRedeclaration(obj, privateMap);
  1522. privateMap.set(obj, value);
  1523. }
  1524. `;re.classPrivateMethodInitSpec=ne("7.14.1")`
  1525. import checkPrivateRedeclaration from "checkPrivateRedeclaration";
  1526. export default function _classPrivateMethodInitSpec(obj, privateSet) {
  1527. checkPrivateRedeclaration(obj, privateSet);
  1528. privateSet.add(obj);
  1529. }
  1530. `;re.classPrivateMethodSet=ne("7.1.6")`
  1531. export default function _classPrivateMethodSet() {
  1532. throw new TypeError("attempted to reassign private method");
  1533. }
  1534. `;re.identity=ne("7.17.0")`
  1535. export default function _identity(x) {
  1536. return x;
  1537. }
  1538. `;re.nullishReceiverError=ne("7.22.6")`
  1539. export default function _nullishReceiverError(r) {
  1540. throw new TypeError("Cannot set property of null or undefined.");
  1541. }
  1542. `});var u0=g(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;an.ensure=Qpe;an.get=kC;an.getDependencies=zpe;an.list=void 0;an.minVersion=Jpe;var o0=Ur(),Kpe=Ce(),l0=IC(),{assignmentExpression:OC,cloneNode:Gpe,expressionStatement:Hpe,file:_C,identifier:Ype}=Kpe;function Yu(e){let t=[];for(;e.parentPath;e=e.parentPath)t.push(e.key),e.inList&&t.push(e.listKey);return t.reverse().join(".")}var Xu;function NC(e){let t=new Set,r=new Set,n=new Map,s,i,a=[],o=[],l=[],u={ImportDeclaration(f){let d=f.node.source.value;if(!l0.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(Yu(f))},ExportDefaultDeclaration(f){let d=f.get("declaration");if(!d.isFunctionDeclaration()||!d.node.id)throw d.buildCodeFrameError("Helpers can only export named function declarations");s=d.node.id.name,i=Yu(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!==s&&(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(Yu(f)):t.add(d)},AssignmentExpression(f){let d=f.get("left");if(!(s in d.getBindingIdentifiers()))return;if(!d.isIdentifier())throw d.buildCodeFrameError("Only simple assignments to exports are allowed in helpers");let m=f.scope.getBinding(s);m!=null&&m.scope.path.isProgram()&&a.push(Yu(f))}};if((0,o0.default)(e.ast,u,e.scope),(0,o0.default)(e.ast,c,e.scope),!i)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:i,exportName:s,importBindingsReferences:l,importPaths:o}}function Xpe(e,t,r,n,s){if(n&&!r)throw new Error("Unexpected local bindings for module-based helpers.");if(!r)return;let{localBindingNames:i,dependencies:a,exportBindingAssignments:o,exportPath:l,exportName:u,importBindingsReferences:c,importPaths:f}=t,d={};a.forEach((A,I)=>{d[I.name]=typeof s=="function"&&s(A)||I});let m={},C=new Set(n||[]);i.forEach(A=>{let I=A;for(;C.has(I);)I="_"+I;I!==A&&(m[A]=I)}),r.type==="Identifier"&&u!==r.name&&(m[u]=r.name);let{path:p}=e,b=p.get(l),E=f.map(A=>p.get(A)),O=c.map(A=>p.get(A)),P=b.get("declaration");if(r.type==="Identifier")b.replaceWith(P);else if(r.type==="MemberExpression")o.forEach(A=>{let I=p.get(A);I.replaceWith(OC("=",r,I.node))}),b.replaceWith(P),p.pushContainer("body",Hpe(OC("=",r,Ype(u))));else throw new Error("Unexpected helper format.");Object.keys(m).forEach(A=>{p.scope.rename(A,m[A])});for(let A of E)A.remove();for(let A of O){let I=Gpe(d[A.node.name]);A.replaceWith(I)}}var a0=Object.create(null);function Ju(e){if(!a0[e]){let t=l0.default[e];if(!t)throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e});let r=()=>{if(!Xu){let s={ast:_C(t.ast()),path:null};return(0,o0.default)(s.ast,{Program:i=>(s.path=i).stop()}),s}return new Xu({filename:`babel-helper://${e}`},{ast:_C(t.ast()),code:"[internal Babel helper code]",inputMap:null})},n=null;a0[e]={minVersion:t.minVersion,build(s,i,a){let o=r();return n||(n=NC(o)),Xpe(o,n,i,a,s),{nodes:o.ast.program.body,globals:n.globals}},getDependencies(){return n||(n=NC(r())),Array.from(n.dependencies.values())}}}return a0[e]}function kC(e,t,r,n){return Ju(e).build(t,r,n)}function Jpe(e){return Ju(e).minVersion}function zpe(e){return Ju(e).getDependencies()}function Qpe(e,t){Xu||(Xu=t),Ju(e)}var Zpe=Object.keys(l0.default).map(e=>e.replace(/^_/,""));an.list=Zpe;var ede=kC;an.default=ede});var jC=g(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=void 0;var Kr=require("assert"),tde=Ce(),{callExpression:c0,cloneNode:zu,expressionStatement:BC,identifier:co,importDeclaration:rde,importDefaultSpecifier:nde,importNamespaceSpecifier:sde,importSpecifier:ide,memberExpression:f0,stringLiteral:FC,variableDeclaration:ade,variableDeclarator:ode}=tde,p0=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(rde([],FC(this._importedSource))),this}require(){return this._statements.push(BC(c0(co("require"),[FC(this._importedSource)]))),this}namespace(t="namespace"){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return Kr(n.type==="ImportDeclaration"),Kr(n.specifiers.length===0),n.specifiers=[sde(r)],this._resultName=zu(r),this}default(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return Kr(n.type==="ImportDeclaration"),Kr(n.specifiers.length===0),n.specifiers=[nde(r)],this._resultName=zu(r),this}named(t,r){if(r==="default")return this.default(t);let n=this._scope.generateUidIdentifier(t),s=this._statements[this._statements.length-1];return Kr(s.type==="ImportDeclaration"),Kr(s.specifiers.length===0),s.specifiers=[ide(n,co(r))],this._resultName=zu(n),this}var(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return n.type!=="ExpressionStatement"&&(Kr(this._resultName),n=BC(this._resultName),this._statements.push(n)),this._statements[this._statements.length-1]=ade("var",[ode(r,n.expression)]),this._resultName=zu(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=c0(t,[r.expression]):r.type==="VariableDeclaration"?(Kr(r.declarations.length===1),r.declarations[0].init=c0(t,[r.declarations[0].init])):Kr.fail("Unexpected type."),this}prop(t){let r=this._statements[this._statements.length-1];return r.type==="ExpressionStatement"?r.expression=f0(r.expression,co(t)):r.type==="VariableDeclaration"?(Kr(r.declarations.length===1),r.declarations[0].init=f0(r.declarations[0].init,co(t))):Kr.fail("Unexpected type:"+r.type),this}read(t){this._resultName=f0(this._resultName,co(t))}};Qu.default=p0});var h0=g(d0=>{"use strict";Object.defineProperty(d0,"__esModule",{value:!0});d0.default=lde;function lde(e){return e.node.sourceType==="module"}});var MC=g(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var LC=require("assert"),ude=Ce(),cde=jC(),fde=h0(),{numericLiteral:pde,sequenceExpression:dde}=ude,m0=class{constructor(t,r,n){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let s=t.find(i=>i.isProgram());this._programPath=s,this._programScope=s.scope,this._hub=s.hub,this._defaultOpts=this._applyDefaults(r,n,!0)}addDefault(t,r){return this.addNamed("default",t,r)}addNamed(t,r,n){return LC(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 s;return typeof t=="string"?s=Object.assign({},this._defaultOpts,{importedSource:t},r):(LC(!r,"Unexpected secondary arguments."),s=Object.assign({},this._defaultOpts,t)),!n&&r&&(r.nameHint!==void 0&&(s.nameHint=r.nameHint),r.blockHoist!==void 0&&(s.blockHoist=r.blockHoist)),s}_generateImport(t,r){let n=r==="default",s=!!r&&!n,i=r===null,{importedSource:a,importedType:o,importedInterop:l,importingInterop:u,ensureLiveReference:c,ensureNoContext:f,nameHint:d,importPosition:m,blockHoist:C}=t,p=d||r,b=(0,fde.default)(this._programPath),E=b&&u==="node",O=b&&u==="babel";if(m==="after"&&!b)throw new Error('"importPosition": "after" is only supported in modules');let P=new cde.default(a,this._programScope,this._hub);if(o==="es6"){if(!E&&!O)throw new Error("Cannot import an ES6 module from CommonJS");P.import(),i?P.namespace(d||a):(n||s)&&P.named(p,r)}else{if(o!=="commonjs")throw new Error(`Unexpected interopType "${o}"`);if(l==="babel")if(E){p=p!=="default"?p:a;let k=`${a}$es6Default`;P.import(),i?P.default(k).var(p||a).wildcardInterop():n?c?P.default(k).var(p||a).defaultInterop().read("default"):P.default(k).var(p).defaultInterop().prop(r):s&&P.default(k).read(r)}else O?(P.import(),i?P.namespace(p||a):(n||s)&&P.named(p,r)):(P.require(),i?P.var(p||a).wildcardInterop():(n||s)&&c?n?(p=p!=="default"?p:a,P.var(p).read(r),P.defaultInterop()):P.var(a).read(r):n?P.var(p).defaultInterop().prop(r):s&&P.var(p).prop(r));else if(l==="compiled")E?(P.import(),i?P.default(p||a):(n||s)&&P.default(a).read(p)):O?(P.import(),i?P.namespace(p||a):(n||s)&&P.named(p,r)):(P.require(),i?P.var(p||a):(n||s)&&(c?P.var(a).read(p):P.prop(r).var(p)));else if(l==="uncompiled"){if(n&&c)throw new Error("No live reference for commonjs default");E?(P.import(),i?P.default(p||a):n?P.default(p):s&&P.default(a).read(p)):O?(P.import(),i?P.default(p||a):n?P.default(p):s&&P.named(p,r)):(P.require(),i?P.var(p||a):n?P.var(p):s&&(c?P.var(a).read(p):P.var(p).prop(r)))}else throw new Error(`Unknown importedInterop "${l}".`)}let{statements:A,resultName:I}=P.done();return this._insertStatements(A,m,C),(n||s)&&f&&I.type!=="Identifier"?dde([pde(0),I]):I}_insertStatements(t,r="before",n=3){let s=this._programPath.get("body");if(r==="after"){for(let i=s.length-1;i>=0;i--)if(s[i].isImportDeclaration()){s[i].insertAfter(t);return}}else{t.forEach(a=>{a._blockHoist=n});let i=s.find(a=>{let o=a.node._blockHoist;return Number.isFinite(o)&&o<4});if(i){i.insertBefore(t);return}}this._programPath.unshiftContainer("body",t)}};Zu.default=m0});var y0=g(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});Object.defineProperty(os,"ImportInjector",{enumerable:!0,get:function(){return fo.default}});os.addDefault=mde;os.addNamed=yde;os.addNamespace=gde;os.addSideEffect=bde;Object.defineProperty(os,"isModule",{enumerable:!0,get:function(){return hde.default}});var fo=MC(),hde=h0();function mde(e,t,r){return new fo.default(e).addDefault(t,r)}function yde(e,t,r,n){return new fo.default(e).addNamed(t,r,n)}function gde(e,t,r){return new fo.default(e).addNamespace(t,r)}function bde(e,t,r){return new fo.default(e).addSideEffect(t,r)}});var RC=g(b0=>{"use strict";Object.defineProperty(b0,"__esModule",{value:!0});b0.default=xde;var Ede=Hn(),g0=ft(),{numericLiteral:vde,unaryExpression:Tde}=g0.types,Sde=g0.traverse.visitors.merge([Ede.default,{ThisExpression(e){e.replaceWith(Tde("void",vde(0),!0))}}]);function xde(e){(0,g0.traverse)(e.node,Object.assign({},Sde,{noScope:!0}))}});var x0=g(S0=>{"use strict";Object.defineProperty(S0,"__esModule",{value:!0});S0.default=Dde;var Pde=Ce(),{LOGICAL_OPERATORS:Ade,assignmentExpression:po,binaryExpression:v0,cloneNode:T0,identifier:ec,logicalExpression:Cde,numericLiteral:E0,sequenceExpression:wde,unaryExpression:qC}=Pde,UC={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 s=e.get("left");if(!s.isIdentifier())return;let i=s.node.name;if(!n.has(i)||t.getBinding(i)!==e.scope.getBinding(i))return;let a=e.node.operator.slice(0,-1);Ade.includes(a)?e.replaceWith(Cde(a,e.node.left,po("=",T0(e.node.left),e.node.right))):(e.node.right=v0(a,T0(e.node.left),e.node.right),e.node.operator="=")}}};UC.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;let{scope:t,bindingNames:r}=this,n=e.get("argument");if(!n.isIdentifier())return;let s=n.node.name;if(r.has(s)&&t.getBinding(s)===e.scope.getBinding(s))if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){let i=e.node.operator=="++"?"+=":"-=";e.replaceWith(po(i,n.node,E0(1)))}else if(e.node.prefix)e.replaceWith(po("=",ec(s),v0(e.node.operator[0],qC("+",n.node),E0(1))));else{let i=e.scope.generateUidIdentifierBasedOnNode(n.node,"old"),a=i.name;e.scope.push({id:i});let o=v0(e.node.operator[0],ec(a),E0(1));e.replaceWith(wde([po("=",ec(a),qC("+",n.node)),po("=",T0(n.node),o),ec(a)]))}}};function Dde(e,t){{var r;e.traverse(UC,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:(r=arguments[2])!=null?r:!0})}}});var HC=g(P0=>{"use strict";Object.defineProperty(P0,"__esModule",{value:!0});P0.default=Vde;var Ide=require("assert"),WC=ft(),Ode=x0(),{assignmentExpression:rc,cloneNode:ho,expressionStatement:yo,getOuterBindingIdentifiers:_de,identifier:ls,isArrowFunctionExpression:Nde,isClassExpression:kde,isFunctionExpression:Bde,isIdentifier:Fde,isMemberExpression:VC,isVariableDeclaration:jde,jsxIdentifier:$C,jsxMemberExpression:Lde,memberExpression:KC,numericLiteral:Mde,sequenceExpression:mo,stringLiteral:GC,variableDeclaration:Rde,variableDeclarator:qde}=WC.types;function Ude(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 Vde(e,t,r){let n=new Map,s=new Map,i=u=>{e.requeue(u)};for(let[u,c]of t.source){for(let[f,d]of c.imports)n.set(f,[u,d,null]);for(let f of c.importsNamespace)n.set(f,[u,null,f])}for(let[u,c]of t.local){let f=s.get(u);f||(f=[],s.set(u,f)),f.push(...c.names)}let a={metadata:t,requeueInParent:i,scope:e.scope,exported:s};e.traverse($de,a);let o=new Set([...Array.from(n.keys()),...Array.from(s.keys())]);(0,Ode.default)(e,o,!1);let l={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:n,exported:s,buildImportReference([u,c,f],d){let m=t.source.get(u);if(m.referenced=!0,f){if(m.wrap){var C;d=(C=r(d,m.wrap))!=null?C:d}return d}let p=ls(m.name);if(m.wrap){var b;p=(b=r(p,m.wrap))!=null?b:p}if(c==="default"&&m.interop==="node-default")return p;let E=t.stringSpecifiers.has(c);return KC(p,E?GC(c):ls(c),E)}};e.traverse(Wde,l)}var $de={Scope(e){e.skip()},ClassDeclaration(e){let{requeueInParent:t,exported:r,metadata:n}=this,{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");let i=s.name,a=r.get(i)||[];if(a.length>0){let o=yo(Bs(n,a,ls(i),e.scope));o._blockHoist=e.node._blockHoist,t(e.insertAfter(o)[0])}},VariableDeclaration(e){let{requeueInParent:t,exported:r,metadata:n}=this,s=e.node.kind==="var";for(let i of e.get("declarations")){let{id:a}=i.node,{init:o}=i.node;if(Fde(a)&&r.has(a.name)&&!Nde(o)&&(!Bde(o)||o.id)&&(!kde(o)||o.id)){if(!o){if(s)continue;o=e.scope.buildUndefinedNode()}i.node.init=Bs(n,r.get(a.name),o,e.scope),t(i.get("init"))}else for(let l of Object.keys(i.getOuterBindingIdentifiers()))if(r.has(l)){let u=yo(Bs(n,r.get(l),ls(l),e.scope));u._blockHoist=e.node._blockHoist,t(e.insertAfter(u)[0])}}}},Bs=(e,t,r,n)=>{let s=e.exportName;for(let i=n;i!=null;i=i.parent)i.hasOwnBinding(s)&&i.rename(s);return(t||[]).reduce((i,a)=>{let{stringSpecifiers:o}=e,l=o.has(a);return rc("=",KC(ls(s),l?GC(a):ls(a),l),i)},r)},tc=e=>WC.template.expression.ast`
  1543. (function() {
  1544. throw new Error('"' + '${e}' + '" is read-only.');
  1545. })()
  1546. `,Wde={ReferencedIdentifier(e){let{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:i}=this;if(t.has(e.node))return;t.add(e.node);let a=e.node.name,o=s.get(a);if(o){if(Ude(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}))&&VC(c))e.replaceWith(mo([Mde(0),c]));else if(e.isJSXIdentifier()&&VC(c)){let{object:f,property:d}=c;e.replaceWith(Lde($C(f.name),$C(d.name)))}else e.replaceWith(c);i(e),e.skip()}},UpdateExpression(e){let{scope:t,seen:r,imported:n,exported:s,requeueInParent:i,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=s.get(u),f=n.get(u);if((c==null?void 0:c.length)>0||f)if(f)e.replaceWith(rc(l.operator[0]+"=",a(f,o.node),tc(u)));else if(l.prefix)e.replaceWith(Bs(this.metadata,c,ho(l),e.scope));else{let d=t.generateDeclaredUidIdentifier(u);e.replaceWith(mo([rc("=",ho(d),ho(l)),Bs(this.metadata,c,ls(u),e.scope),ho(d)]))}}i(e),e.skip()},AssignmentExpression:{exit(e){let{scope:t,seen:r,imported:n,exported:s,requeueInParent:i,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=s.get(l),c=n.get(l);if((u==null?void 0:u.length)>0||c){Ide(e.node.operator==="=","Path was not simplified");let f=e.node;c&&(f.left=a(c,o.node),f.right=mo([f.right,tc(l)])),e.replaceWith(Bs(this.metadata,u,f,e.scope)),i(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=mo([e.node.right,tc(c)]));let f=[];if(u.forEach(d=>{let m=s.get(d)||[];m.length>0&&f.push(Bs(this.metadata,m,ls(d),e.scope))}),f.length>0){let d=mo(f);e.parentPath.isExpressionStatement()&&(d=yo(d),d._blockHoist=e.parentPath.node._blockHoist);let m=e.insertAfter(d)[0];i(m)}}}},"ForOfStatement|ForInStatement"(e){let{scope:t,node:r}=e,{left:n}=r,{exported:s,imported:i,scope:a}=this;if(!jde(n)){let o=!1,l,u=e.get("body").scope;for(let d of Object.keys(_de(n)))a.getBinding(d)===t.getBinding(d)&&(s.has(d)&&(o=!0,u.hasOwnBinding(d)&&u.rename(d)),i.has(d)&&!l&&(l=d));if(!o&&!l)return;e.ensureBlock();let c=e.get("body"),f=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(Rde("let",[qde(ho(f))])),t.registerDeclaration(e.get("left")),o&&c.unshiftContainer("body",yo(rc("=",n,f))),l&&c.unshiftContainer("body",yo(tc(l)))}}}});var A0=g(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=Jde;Bi.hasExports=Hde;Bi.isSideEffectImport=Yde;Bi.validateImportInteropOption=XC;var YC=require("path"),Kde=ri(),Gde=ka();function Hde(e){return e.hasExports}function Yde(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function XC(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 Xde(e,t,r){return typeof e=="function"?XC(e(t,r)):e}function Jde(e,t,{importInterop:r,initializeReexports:n=!1,getWrapperPayload:s,esNamespaceOnly:i=!1,filename:a}){t||(t=e.scope.generateUidIdentifier("exports").name);let o=new Set;Zde(e);let{local:l,sources:u,hasExports:c}=zde(e,{initializeReexports:n,getWrapperPayload:s},o);ehe(e);for(let[f,d]of u){let{importsNamespace:m,imports:C}=d;if(m.size>0&&C.size===0){let[b]=m;d.name=b}let p=Xde(r,f,a);p==="none"?d.interop="none":p==="node"&&d.interop==="namespace"?d.interop="node-namespace":p==="node"&&d.interop==="default"?d.interop="node-default":i&&d.interop==="namespace"&&(d.interop="default")}return{exportName:t,exportNameListName:null,hasExports:c,local:l,source:u,stringSpecifiers:o}}function nc(e,t){if(e.isIdentifier())return e.node.name;if(e.isStringLiteral()){let r=e.node.value;return(0,Kde.isIdentifierName)(r)||t.add(r),r}else throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}function JC(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 zde(e,{getWrapperPayload:t,initializeReexports:r},n){let s=Qde(e,r,n),i=new Map,a=new Map,o=(u,c)=>{let f=u.value,d=a.get(f);return d?i.get(f).push(c):(d={name:e.scope.generateUidIdentifier((0,YC.basename)(f,(0,YC.extname)(f))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:!1},a.set(f,d),i.set(f,[c])),d},l=!1;e.get("body").forEach(u=>{if(u.isImportDeclaration()){let c=o(u.node.source,u.node);c.loc||(c.loc=u.node.loc),u.get("specifiers").forEach(f=>{if(f.isImportDefaultSpecifier()){let d=f.get("local").node.name;c.imports.set(d,"default");let m=s.get(d);m&&(s.delete(d),m.names.forEach(C=>{c.reexports.set(C,"default")}),c.referenced=!0)}else if(f.isImportNamespaceSpecifier()){let d=f.get("local").node.name;c.importsNamespace.add(d);let m=s.get(d);m&&(s.delete(d),m.names.forEach(C=>{c.reexportNamespace.add(C)}),c.referenced=!0)}else if(f.isImportSpecifier()){let d=nc(f.get("imported"),n),m=f.get("local").node.name;c.imports.set(m,d);let C=s.get(m);C&&(s.delete(m),C.names.forEach(p=>{c.reexports.set(p,d)}),c.referenced=!0)}})}else if(u.isExportAllDeclaration()){l=!0;let c=o(u.node.source,u.node);c.loc||(c.loc=u.node.loc),c.reexportAll={loc:u.node.loc},c.referenced=!0}else if(u.isExportNamedDeclaration()&&u.node.source){l=!0;let c=o(u.node.source,u.node);c.loc||(c.loc=u.node.loc),u.get("specifiers").forEach(f=>{JC(f);let d=nc(f.get("local"),n),m=nc(f.get("exported"),n);if(c.reexports.set(m,d),c.referenced=!0,m==="__esModule")throw f.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(u.isExportNamedDeclaration()||u.isExportDefaultDeclaration())&&(l=!0)});for(let u of a.values()){let c=!1,f=!1;u.importsNamespace.size>0&&(c=!0,f=!0),u.reexportAll&&(f=!0);for(let d of u.imports.values())d==="default"?c=!0:f=!0;for(let d of u.reexports.values())d==="default"?c=!0:f=!0;c&&f?u.interop="namespace":c&&(u.interop="default")}if(t)for(let[u,c]of a)c.wrap=t(u,c,i.get(u));return{hasExports:l,local:s,sources:a}}function Qde(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=>{JC(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 s=new Map,i=a=>{let o=a.node.name,l=s.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},s.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".');i(l[u]).names.push(u)})}else a.get("specifiers").forEach(o=>{let l=o.get("local"),u=o.get("exported"),c=i(l),f=nc(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())i(o.get("id")).names.push("default");else throw o.buildCodeFrameError("Unexpected default expression export.")}}),s}function Zde(e){e.get("body").forEach(t=>{t.isExportDefaultDeclaration()&&(0,Gde.default)(t)})}function ehe(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 zC=g(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});sc.toGetWrapperPayload=nhe;sc.wrapReference=she;var the=ft(),rhe=A0();function nhe(e){return(t,r)=>{if(e===!1||(0,rhe.isSideEffectImport)(r)||r.reexportAll)return null;if(e===!0)return/\./.test(t)?null:"lazy";if(Array.isArray(e))return e.indexOf(t)===-1?null:"lazy";if(typeof e=="function")return e(t)?"lazy":null;throw new Error(".lazy must be a boolean, string array, or function")}}function she(e,t){return t==="lazy"?the.types.callExpression(e,[]):null}});var C0=g(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});ic.buildDynamicImport=ihe;var Ut=ft();ic.getDynamicImportSource=function(t){let[r]=t.arguments;return Ut.types.isStringLiteral(r)||Ut.types.isTemplateLiteral(r)?r:Ut.template.expression.ast`\`\${${r}}\``};function ihe(e,t,r,n){let s=Ut.types.isCallExpression(e)?e.arguments[0]:e.source;if(Ut.types.isStringLiteral(s)||Ut.types.isTemplateLiteral(s)&&s.quasis.length===0)return t?Ut.template.expression.ast`
  1547. Promise.resolve().then(() => ${n(s)})
  1548. `:n(s);let i=Ut.types.isTemplateLiteral(s)?Ut.types.identifier("specifier"):Ut.types.templateLiteral([Ut.types.templateElement({raw:""}),Ut.types.templateElement({raw:""})],[Ut.types.identifier("specifier")]);return t?Ut.template.expression.ast`
  1549. (specifier =>
  1550. new Promise(r => r(${i}))
  1551. .then(s => ${n(Ut.types.identifier("s"))})
  1552. )(${s})
  1553. `:r?Ut.template.expression.ast`
  1554. (specifier =>
  1555. new Promise(r => r(${n(i)}))
  1556. )(${s})
  1557. `:Ut.template.expression.ast`
  1558. (specifier => ${n(i)})(${s})
  1559. `}});var QC=g(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});ac.default=w0;{let e=w0;ac.default=w0=function(r,n){var s,i,a,o;return e(r,{moduleId:(s=n.moduleId)!=null?s:r.moduleId,moduleIds:(i=n.moduleIds)!=null?i:r.moduleIds,getModuleId:(a=n.getModuleId)!=null?a:r.getModuleId,moduleRoot:(o=n.moduleRoot)!=null?o:r.moduleRoot})}}function w0(e,t){let{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e,{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o)return i;let u=l!=null?l+"/":"";if(n){let c=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(c,"").replace(/\.(\w*?)$/,"")}return u=u.replace(/\\/g,"/"),o&&o(u)||u}});var bo=g(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});Object.defineProperty(br,"buildDynamicImport",{enumerable:!0,get:function(){return lhe.buildDynamicImport}});br.buildNamespaceInitStatements=She;br.ensureStatementsHoisted=vhe;Object.defineProperty(br,"getModuleName",{enumerable:!0,get:function(){return uhe.default}});Object.defineProperty(br,"hasExports",{enumerable:!0,get:function(){return go.hasExports}});Object.defineProperty(br,"isModule",{enumerable:!0,get:function(){return rw.isModule}});Object.defineProperty(br,"isSideEffectImport",{enumerable:!0,get:function(){return go.isSideEffectImport}});br.rewriteModuleStatementsAndPrepareHeader=Ehe;Object.defineProperty(br,"rewriteThis",{enumerable:!0,get:function(){return nw.default}});br.wrapInterop=The;var ahe=require("assert"),or=ft(),rw=y0(),nw=RC(),ohe=HC(),go=A0(),O0=zC(),lhe=C0(),uhe=QC(),{booleanLiteral:che,callExpression:ZC,cloneNode:oc,directive:fhe,directiveLiteral:phe,expressionStatement:dhe,identifier:lc,isIdentifier:hhe,memberExpression:ew,stringLiteral:mhe,valueToNode:yhe,variableDeclaration:ghe,variableDeclarator:bhe}=or.types;br.getDynamicImportSource=C0().getDynamicImportSource;function Ehe(e,{exportName:t,strict:r,allowTopLevelThis:n,strictMode:s,noInterop:i,importInterop:a=i?"none":"babel",lazy:o,getWrapperPayload:l=O0.toGetWrapperPayload(o!=null?o:!1),wrapReference:u=O0.wrapReference,esNamespaceOnly:c,filename:f,constantReexports:d=arguments[1].loose,enumerableModuleMeta:m=arguments[1].loose,noIncompleteNsImportDetection:C}){(0,go.validateImportInteropOption)(a),ahe((0,rw.isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";let p=(0,go.default)(e,t,{importInterop:a,initializeReexports:d,getWrapperPayload:l,esNamespaceOnly:c,filename:f});n||(0,nw.default)(e),(0,ohe.default)(e,p,u),s!==!1&&(e.node.directives.some(P=>P.value.value==="use strict")||e.unshiftContainer("directives",fhe(phe("use strict"))));let b=[];(0,go.hasExports)(p)&&!r&&b.push(xhe(p,m));let E=Ahe(e,p);return E&&(p.exportNameListName=E.name,b.push(E.statement)),b.push(...Che(e,p,u,d,C)),{meta:p,headers:b}}function vhe(e){e.forEach(t=>{t._blockHoist=3})}function The(e,t,r){if(r==="none")return null;if(r==="node-namespace")return ZC(e.hub.addHelper("interopRequireWildcard"),[t,che(!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 ZC(e.hub.addHelper(n),[t])}function She(e,t,r=!1,n=O0.wrapReference){var s;let i=[],a=lc(t.name);for(let l of t.importsNamespace)l!==t.name&&i.push(or.template.statement`var NAME = SOURCE;`({NAME:l,SOURCE:oc(a)}));let o=(s=n(a,t.wrap))!=null?s:a;r&&i.push(...sw(e,t,!0,n));for(let l of t.reexportNamespace)i.push((or.types.isIdentifier(o)?or.template.statement`EXPORTS.NAME = NAMESPACE;`:or.template.statement`
  1560. Object.defineProperty(EXPORTS, "NAME", {
  1561. enumerable: true,
  1562. get: function() {
  1563. return NAMESPACE;
  1564. }
  1565. });
  1566. `)({EXPORTS:e.exportName,NAME:l,NAMESPACE:oc(o)}));if(t.reexportAll){let l=Phe(e,oc(o),r);l.loc=t.reexportAll.loc,i.push(l)}return i}var D0={constant:or.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:or.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:or.template.statement`
  1567. Object.defineProperty(EXPORTS, "EXPORT_NAME", {
  1568. enumerable: true,
  1569. get: function() {
  1570. return NAMESPACE_IMPORT;
  1571. },
  1572. });
  1573. `};function sw(e,t,r,n){var s;let i=lc(t.name);i=(s=n(i,t.wrap))!=null?s:i;let{stringSpecifiers:a}=e;return Array.from(t.reexports,([o,l])=>{let u=oc(i);l==="default"&&t.interop==="node-default"||(a.has(l)?u=ew(u,mhe(l),!0):u=ew(u,lc(l)));let c={EXPORTS:e.exportName,EXPORT_NAME:o,NAMESPACE_IMPORT:u};return r||hhe(u)?a.has(o)?D0.constantComputed(c):D0.constant(c):D0.spec(c)})}function xhe(e,t=!1){return(t?or.template.statement`
  1574. EXPORTS.__esModule = true;
  1575. `:or.template.statement`
  1576. Object.defineProperty(EXPORTS, "__esModule", {
  1577. value: true,
  1578. });
  1579. `)({EXPORTS:e.exportName})}function Phe(e,t,r){return(r?or.template.statement`
  1580. Object.keys(NAMESPACE).forEach(function(key) {
  1581. if (key === "default" || key === "__esModule") return;
  1582. VERIFY_NAME_LIST;
  1583. if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
  1584. EXPORTS[key] = NAMESPACE[key];
  1585. });
  1586. `:or.template.statement`
  1587. Object.keys(NAMESPACE).forEach(function(key) {
  1588. if (key === "default" || key === "__esModule") return;
  1589. VERIFY_NAME_LIST;
  1590. if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
  1591. Object.defineProperty(EXPORTS, key, {
  1592. enumerable: true,
  1593. get: function() {
  1594. return NAMESPACE[key];
  1595. },
  1596. });
  1597. });
  1598. `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,or.template)`
  1599. if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
  1600. `({EXPORTS_LIST:e.exportNameListName}):null})}function Ahe(e,t){let r=Object.create(null);for(let i of t.local.values())for(let a of i.names)r[a]=!0;let n=!1;for(let i of t.source.values()){for(let a of i.reexports.keys())r[a]=!0;for(let a of i.reexportNamespace)r[a]=!0;n=n||!!i.reexportAll}if(!n||Object.keys(r).length===0)return null;let s=e.scope.generateUidIdentifier("exportNames");return delete r.default,{name:s.name,statement:ghe("var",[bhe(s,yhe(r))])}}function Che(e,t,r,n=!1,s=!1){let i=[];for(let[o,l]of t.local)if(l.kind!=="import"){if(l.kind==="hoisted")i.push([l.names[0],I0(t,l.names,lc(o))]);else if(!s)for(let u of l.names)i.push([u,null])}for(let o of t.source.values()){if(!n){let l=sw(t,o,!1,r),u=[...o.reexports.keys()];for(let c=0;c<l.length;c++)i.push([u[c],l[c]])}if(!s)for(let l of o.reexportNamespace)i.push([l,null])}i.sort(([o],[l])=>o<l?-1:l<o?1:0);let a=[];if(s)for(let[,o]of i)a.push(o);else for(let l=0;l<i.length;l+=100){let u=[];for(let c=0;c<100&&l+c<i.length;c++){let[f,d]=i[l+c];d!==null?(u.length>0&&(a.push(I0(t,u,e.scope.buildUndefinedNode())),u=[]),a.push(d)):u.push(f)}u.length>0&&a.push(I0(t,u,e.scope.buildUndefinedNode()))}return a}var tw={computed:or.template.expression`EXPORTS["NAME"] = VALUE`,default:or.template.expression`EXPORTS.NAME = VALUE`};function I0(e,t,r){let{stringSpecifiers:n,exportName:s}=e;return dhe(t.reduce((i,a)=>{let o={EXPORTS:s,NAME:a,VALUE:i};return n.has(a)?tw.computed(o):tw.default(o)},r))}});var wn=g((Oe,uw)=>{Oe=uw.exports=Be;var lt;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?lt=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:lt=function(){};Oe.SEMVER_SPEC_VERSION="2.0.0";var Eo=256,uc=Number.MAX_SAFE_INTEGER||9007199254740991,_0=16,whe=Eo-6,Fi=Oe.re=[],ot=Oe.safeRe=[],K=Oe.src=[],L=Oe.tokens={},ow=0;function qe(e){L[e]=ow++}var k0="[a-zA-Z0-9-]",N0=[["\\s",1],["\\d",Eo],[k0,whe]];function To(e){for(var t=0;t<N0.length;t++){var r=N0[t][0],n=N0[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}qe("NUMERICIDENTIFIER");K[L.NUMERICIDENTIFIER]="0|[1-9]\\d*";qe("NUMERICIDENTIFIERLOOSE");K[L.NUMERICIDENTIFIERLOOSE]="\\d+";qe("NONNUMERICIDENTIFIER");K[L.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+k0+"*";qe("MAINVERSION");K[L.MAINVERSION]="("+K[L.NUMERICIDENTIFIER]+")\\.("+K[L.NUMERICIDENTIFIER]+")\\.("+K[L.NUMERICIDENTIFIER]+")";qe("MAINVERSIONLOOSE");K[L.MAINVERSIONLOOSE]="("+K[L.NUMERICIDENTIFIERLOOSE]+")\\.("+K[L.NUMERICIDENTIFIERLOOSE]+")\\.("+K[L.NUMERICIDENTIFIERLOOSE]+")";qe("PRERELEASEIDENTIFIER");K[L.PRERELEASEIDENTIFIER]="(?:"+K[L.NUMERICIDENTIFIER]+"|"+K[L.NONNUMERICIDENTIFIER]+")";qe("PRERELEASEIDENTIFIERLOOSE");K[L.PRERELEASEIDENTIFIERLOOSE]="(?:"+K[L.NUMERICIDENTIFIERLOOSE]+"|"+K[L.NONNUMERICIDENTIFIER]+")";qe("PRERELEASE");K[L.PRERELEASE]="(?:-("+K[L.PRERELEASEIDENTIFIER]+"(?:\\."+K[L.PRERELEASEIDENTIFIER]+")*))";qe("PRERELEASELOOSE");K[L.PRERELEASELOOSE]="(?:-?("+K[L.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+K[L.PRERELEASEIDENTIFIERLOOSE]+")*))";qe("BUILDIDENTIFIER");K[L.BUILDIDENTIFIER]=k0+"+";qe("BUILD");K[L.BUILD]="(?:\\+("+K[L.BUILDIDENTIFIER]+"(?:\\."+K[L.BUILDIDENTIFIER]+")*))";qe("FULL");qe("FULLPLAIN");K[L.FULLPLAIN]="v?"+K[L.MAINVERSION]+K[L.PRERELEASE]+"?"+K[L.BUILD]+"?";K[L.FULL]="^"+K[L.FULLPLAIN]+"$";qe("LOOSEPLAIN");K[L.LOOSEPLAIN]="[v=\\s]*"+K[L.MAINVERSIONLOOSE]+K[L.PRERELEASELOOSE]+"?"+K[L.BUILD]+"?";qe("LOOSE");K[L.LOOSE]="^"+K[L.LOOSEPLAIN]+"$";qe("GTLT");K[L.GTLT]="((?:<|>)?=?)";qe("XRANGEIDENTIFIERLOOSE");K[L.XRANGEIDENTIFIERLOOSE]=K[L.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";qe("XRANGEIDENTIFIER");K[L.XRANGEIDENTIFIER]=K[L.NUMERICIDENTIFIER]+"|x|X|\\*";qe("XRANGEPLAIN");K[L.XRANGEPLAIN]="[v=\\s]*("+K[L.XRANGEIDENTIFIER]+")(?:\\.("+K[L.XRANGEIDENTIFIER]+")(?:\\.("+K[L.XRANGEIDENTIFIER]+")(?:"+K[L.PRERELEASE]+")?"+K[L.BUILD]+"?)?)?";qe("XRANGEPLAINLOOSE");K[L.XRANGEPLAINLOOSE]="[v=\\s]*("+K[L.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+K[L.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+K[L.XRANGEIDENTIFIERLOOSE]+")(?:"+K[L.PRERELEASELOOSE]+")?"+K[L.BUILD]+"?)?)?";qe("XRANGE");K[L.XRANGE]="^"+K[L.GTLT]+"\\s*"+K[L.XRANGEPLAIN]+"$";qe("XRANGELOOSE");K[L.XRANGELOOSE]="^"+K[L.GTLT]+"\\s*"+K[L.XRANGEPLAINLOOSE]+"$";qe("COERCE");K[L.COERCE]="(^|[^\\d])(\\d{1,"+_0+"})(?:\\.(\\d{1,"+_0+"}))?(?:\\.(\\d{1,"+_0+"}))?(?:$|[^\\d])";qe("COERCERTL");Fi[L.COERCERTL]=new RegExp(K[L.COERCE],"g");ot[L.COERCERTL]=new RegExp(To(K[L.COERCE]),"g");qe("LONETILDE");K[L.LONETILDE]="(?:~>?)";qe("TILDETRIM");K[L.TILDETRIM]="(\\s*)"+K[L.LONETILDE]+"\\s+";Fi[L.TILDETRIM]=new RegExp(K[L.TILDETRIM],"g");ot[L.TILDETRIM]=new RegExp(To(K[L.TILDETRIM]),"g");var Dhe="$1~";qe("TILDE");K[L.TILDE]="^"+K[L.LONETILDE]+K[L.XRANGEPLAIN]+"$";qe("TILDELOOSE");K[L.TILDELOOSE]="^"+K[L.LONETILDE]+K[L.XRANGEPLAINLOOSE]+"$";qe("LONECARET");K[L.LONECARET]="(?:\\^)";qe("CARETTRIM");K[L.CARETTRIM]="(\\s*)"+K[L.LONECARET]+"\\s+";Fi[L.CARETTRIM]=new RegExp(K[L.CARETTRIM],"g");ot[L.CARETTRIM]=new RegExp(To(K[L.CARETTRIM]),"g");var Ihe="$1^";qe("CARET");K[L.CARET]="^"+K[L.LONECARET]+K[L.XRANGEPLAIN]+"$";qe("CARETLOOSE");K[L.CARETLOOSE]="^"+K[L.LONECARET]+K[L.XRANGEPLAINLOOSE]+"$";qe("COMPARATORLOOSE");K[L.COMPARATORLOOSE]="^"+K[L.GTLT]+"\\s*("+K[L.LOOSEPLAIN]+")$|^$";qe("COMPARATOR");K[L.COMPARATOR]="^"+K[L.GTLT]+"\\s*("+K[L.FULLPLAIN]+")$|^$";qe("COMPARATORTRIM");K[L.COMPARATORTRIM]="(\\s*)"+K[L.GTLT]+"\\s*("+K[L.LOOSEPLAIN]+"|"+K[L.XRANGEPLAIN]+")";Fi[L.COMPARATORTRIM]=new RegExp(K[L.COMPARATORTRIM],"g");ot[L.COMPARATORTRIM]=new RegExp(To(K[L.COMPARATORTRIM]),"g");var Ohe="$1$2$3";qe("HYPHENRANGE");K[L.HYPHENRANGE]="^\\s*("+K[L.XRANGEPLAIN]+")\\s+-\\s+("+K[L.XRANGEPLAIN]+")\\s*$";qe("HYPHENRANGELOOSE");K[L.HYPHENRANGELOOSE]="^\\s*("+K[L.XRANGEPLAINLOOSE]+")\\s+-\\s+("+K[L.XRANGEPLAINLOOSE]+")\\s*$";qe("STAR");K[L.STAR]="(<|>)?=?\\s*\\*";for(on=0;on<ow;on++)lt(on,K[on]),Fi[on]||(Fi[on]=new RegExp(K[on]),ot[on]=new RegExp(To(K[on])));var on;Oe.parse=js;function js(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Be)return e;if(typeof e!="string"||e.length>Eo)return null;var r=t.loose?ot[L.LOOSE]:ot[L.FULL];if(!r.test(e))return null;try{return new Be(e,t)}catch{return null}}Oe.valid=_he;function _he(e,t){var r=js(e,t);return r?r.version:null}Oe.clean=Nhe;function Nhe(e,t){var r=js(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}Oe.SemVer=Be;function Be(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Be){if(e.loose===t.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>Eo)throw new TypeError("version is longer than "+Eo+" characters");if(!(this instanceof Be))return new Be(e,t);lt("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?ot[L.LOOSE]:ot[L.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>uc||this.major<0)throw new TypeError("Invalid major version");if(this.minor>uc||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>uc||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 s=+n;if(s>=0&&s<uc)return s}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}Be.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Be.prototype.toString=function(){return this.version};Be.prototype.compare=function(e){return lt("SemVer.compare",this.version,this.options,e),e instanceof Be||(e=new Be(e,this.options)),this.compareMain(e)||this.comparePre(e)};Be.prototype.compareMain=function(e){return e instanceof Be||(e=new Be(e,this.options)),Fs(this.major,e.major)||Fs(this.minor,e.minor)||Fs(this.patch,e.patch)};Be.prototype.comparePre=function(e){if(e instanceof Be||(e=new Be(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(lt("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 Fs(r,n)}while(++t)};Be.prototype.compareBuild=function(e){e instanceof Be||(e=new Be(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(lt("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 Fs(r,n)}while(++t)};Be.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};Oe.inc=khe;function khe(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Be(e,r).inc(t,n).version}catch{return null}}Oe.diff=Bhe;function Bhe(e,t){if(B0(e,t))return null;var r=js(e),n=js(t),s="";if(r.prerelease.length||n.prerelease.length){s="pre";var i="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return s+a;return i}Oe.compareIdentifiers=Fs;var iw=/^[0-9]+$/;function Fs(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}Oe.rcompareIdentifiers=Fhe;function Fhe(e,t){return Fs(t,e)}Oe.major=jhe;function jhe(e,t){return new Be(e,t).major}Oe.minor=Lhe;function Lhe(e,t){return new Be(e,t).minor}Oe.patch=Mhe;function Mhe(e,t){return new Be(e,t).patch}Oe.compare=Cn;function Cn(e,t,r){return new Be(e,r).compare(new Be(t,r))}Oe.compareLoose=Rhe;function Rhe(e,t){return Cn(e,t,!0)}Oe.compareBuild=qhe;function qhe(e,t,r){var n=new Be(e,r),s=new Be(t,r);return n.compare(s)||n.compareBuild(s)}Oe.rcompare=Uhe;function Uhe(e,t,r){return Cn(t,e,r)}Oe.sort=Vhe;function Vhe(e,t){return e.sort(function(r,n){return Oe.compareBuild(r,n,t)})}Oe.rsort=$he;function $he(e,t){return e.sort(function(r,n){return Oe.compareBuild(n,r,t)})}Oe.gt=vo;function vo(e,t,r){return Cn(e,t,r)>0}Oe.lt=cc;function cc(e,t,r){return Cn(e,t,r)<0}Oe.eq=B0;function B0(e,t,r){return Cn(e,t,r)===0}Oe.neq=lw;function lw(e,t,r){return Cn(e,t,r)!==0}Oe.gte=F0;function F0(e,t,r){return Cn(e,t,r)>=0}Oe.lte=j0;function j0(e,t,r){return Cn(e,t,r)<=0}Oe.cmp=fc;function fc(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 B0(e,r,n);case"!=":return lw(e,r,n);case">":return vo(e,r,n);case">=":return F0(e,r,n);case"<":return cc(e,r,n);case"<=":return j0(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}Oe.Comparator=_r;function _r(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof _r){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof _r))return new _r(e,t);e=e.trim().split(/\s+/).join(" "),lt("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ji?this.value="":this.value=this.operator+this.semver.version,lt("comp",this)}var ji={};_r.prototype.parse=function(e){var t=this.options.loose?ot[L.COMPARATORLOOSE]:ot[L.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 Be(r[2],this.options.loose):this.semver=ji};_r.prototype.toString=function(){return this.value};_r.prototype.test=function(e){if(lt("Comparator.test",e,this.options.loose),this.semver===ji||e===ji)return!0;if(typeof e=="string")try{e=new Be(e,this.options)}catch{return!1}return fc(e,this.operator,this.semver,this.options)};_r.prototype.intersects=function(e,t){if(!(e instanceof _r))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 At(e.value,t),pc(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new At(this.value,t),pc(e.semver,r,t));var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),i=this.semver.version===e.semver.version,a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=fc(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=fc(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||s||i&&a||o||l};Oe.Range=At;function At(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof At)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new At(e.raw,t);if(e instanceof _r)return new At(e.value,t);if(!(this instanceof At))return new At(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("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}At.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};At.prototype.toString=function(){return this.range};At.prototype.parseRange=function(e){var t=this.options.loose,r=t?ot[L.HYPHENRANGELOOSE]:ot[L.HYPHENRANGE];e=e.replace(r,Zhe),lt("hyphen replace",e),e=e.replace(ot[L.COMPARATORTRIM],Ohe),lt("comparator trim",e,ot[L.COMPARATORTRIM]),e=e.replace(ot[L.TILDETRIM],Dhe),e=e.replace(ot[L.CARETTRIM],Ihe),e=e.split(/\s+/).join(" ");var n=t?ot[L.COMPARATORLOOSE]:ot[L.COMPARATOR],s=e.split(" ").map(function(i){return Khe(i,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter(function(i){return!!i.match(n)})),s=s.map(function(i){return new _r(i,this.options)},this),s};At.prototype.intersects=function(e,t){if(!(e instanceof At))throw new TypeError("a Range is required");return this.set.some(function(r){return aw(r,t)&&e.set.some(function(n){return aw(n,t)&&r.every(function(s){return n.every(function(i){return s.intersects(i,t)})})})})};function aw(e,t){for(var r=!0,n=e.slice(),s=n.pop();r&&n.length;)r=n.every(function(i){return s.intersects(i,t)}),s=n.pop();return r}Oe.toComparators=Whe;function Whe(e,t){return new At(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function Khe(e,t){return lt("comp",e,t),e=Yhe(e,t),lt("caret",e),e=Ghe(e,t),lt("tildes",e),e=Jhe(e,t),lt("xrange",e),e=Qhe(e,t),lt("stars",e),e}function lr(e){return!e||e.toLowerCase()==="x"||e==="*"}function Ghe(e,t){return e.trim().split(/\s+/).map(function(r){return Hhe(r,t)}).join(" ")}function Hhe(e,t){var r=t.loose?ot[L.TILDELOOSE]:ot[L.TILDE];return e.replace(r,function(n,s,i,a,o){lt("tilde",e,n,s,i,a,o);var l;return lr(s)?l="":lr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":lr(a)?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":o?(lt("replaceTilde pr",o),l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+(+i+1)+".0"):l=">="+s+"."+i+"."+a+" <"+s+"."+(+i+1)+".0",lt("tilde return",l),l})}function Yhe(e,t){return e.trim().split(/\s+/).map(function(r){return Xhe(r,t)}).join(" ")}function Xhe(e,t){lt("caret",e,t);var r=t.loose?ot[L.CARETLOOSE]:ot[L.CARET];return e.replace(r,function(n,s,i,a,o){lt("caret",e,n,s,i,a,o);var l;return lr(s)?l="":lr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":lr(a)?s==="0"?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+".0 <"+(+s+1)+".0.0":o?(lt("replaceCaret pr",o),s==="0"?i==="0"?l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+i+"."+(+a+1):l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+"."+a+"-"+o+" <"+(+s+1)+".0.0"):(lt("no pr"),s==="0"?i==="0"?l=">="+s+"."+i+"."+a+" <"+s+"."+i+"."+(+a+1):l=">="+s+"."+i+"."+a+" <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+"."+a+" <"+(+s+1)+".0.0"),lt("caret return",l),l})}function Jhe(e,t){return lt("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return zhe(r,t)}).join(" ")}function zhe(e,t){e=e.trim();var r=t.loose?ot[L.XRANGELOOSE]:ot[L.XRANGE];return e.replace(r,function(n,s,i,a,o,l){lt("xRange",e,n,s,i,a,o,l);var u=lr(i),c=u||lr(a),f=c||lr(o),d=f;return s==="="&&d&&(s=""),l=t.includePrerelease?"-0":"",u?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&d?(c&&(a=0),o=0,s===">"?(s=">=",c?(i=+i+1,a=0,o=0):(a=+a+1,o=0)):s==="<="&&(s="<",c?i=+i+1:a=+a+1),n=s+i+"."+a+"."+o+l):c?n=">="+i+".0.0"+l+" <"+(+i+1)+".0.0"+l:f&&(n=">="+i+"."+a+".0"+l+" <"+i+"."+(+a+1)+".0"+l),lt("xRange return",n),n})}function Qhe(e,t){return lt("replaceStars",e,t),e.trim().replace(ot[L.STAR],"")}function Zhe(e,t,r,n,s,i,a,o,l,u,c,f,d){return lr(r)?t="":lr(n)?t=">="+r+".0.0":lr(s)?t=">="+r+"."+n+".0":t=">="+t,lr(l)?o="":lr(u)?o="<"+(+l+1)+".0.0":lr(c)?o="<"+l+"."+(+u+1)+".0":f?o="<="+l+"."+u+"."+c+"-"+f:o="<="+o,(t+" "+o).trim()}At.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new Be(e,this.options)}catch{return!1}for(var t=0;t<this.set.length;t++)if(eme(this.set[t],e,this.options))return!0;return!1};function eme(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(lt(e[n].semver),e[n].semver!==ji&&e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch)return!0}return!1}return!0}Oe.satisfies=pc;function pc(e,t,r){try{t=new At(t,r)}catch{return!1}return t.test(e)}Oe.maxSatisfying=tme;function tme(e,t,r){var n=null,s=null;try{var i=new At(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Be(n,r))}),n}Oe.minSatisfying=rme;function rme(e,t,r){var n=null,s=null;try{var i=new At(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Be(n,r))}),n}Oe.minVersion=nme;function nme(e,t){e=new At(e,t);var r=new Be("0.0.0");if(e.test(r)||(r=new Be("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n){var s=e.set[n];s.forEach(function(i){var a=new Be(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||vo(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return r&&e.test(r)?r:null}Oe.validRange=sme;function sme(e,t){try{return new At(e,t).range||"*"}catch{return null}}Oe.ltr=ime;function ime(e,t,r){return L0(e,t,"<",r)}Oe.gtr=ame;function ame(e,t,r){return L0(e,t,">",r)}Oe.outside=L0;function L0(e,t,r,n){e=new Be(e,n),t=new At(t,n);var s,i,a,o,l;switch(r){case">":s=vo,i=j0,a=cc,o=">",l=">=";break;case"<":s=cc,i=F0,a=vo,o="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(pc(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===ji&&(m=new _r(">=0.0.0")),f=f||m,d=d||m,s(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)&&i(e,d.semver))return!1;if(d.operator===l&&a(e,d.semver))return!1}return!0}Oe.prerelease=ome;function ome(e,t){var r=js(e,t);return r&&r.prerelease.length?r.prerelease:null}Oe.intersects=lme;function lme(e,t,r){return e=new At(e,r),t=new At(t,r),e.intersects(t)}Oe.coerce=ume;function ume(e,t){if(e instanceof Be)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(ot[L.COERCE]);else{for(var n;(n=ot[L.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),ot[L.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;ot[L.COERCERTL].lastIndex=-1}return r===null?null:js(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var mc=g(hc=>{"use strict";Object.defineProperty(hc,"__esModule",{value:!0});hc.default=void 0;function So(){let e=u0();return So=function(){return e},e}function M0(){let e=Ur();return M0=function(){return e},e}function cw(){let e=vi();return cw=function(){return e},e}function fw(){let e=Ce();return fw=function(){return e},e}function pw(){let e=bo();return pw=function(){return e},e}function dc(){let e=wn();return dc=function(){return e},e}var{cloneNode:cme,interpreterDirective:fme}=fw(),pme={enter(e,t){let r=e.node.loc;r&&(t.loc=r,e.stop())}},R0=class e{constructor(t,{code:r,ast:n,inputMap:s}){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=s,this.path=M0().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(fme(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,pw().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=So().minVersion(t)}catch(s){if(s.code!=="BABEL_HELPER_UNKNOWN")throw s;return!1}return typeof r!="string"?!0:(dc().valid(r)&&(r=`^${r}`),!dc().intersects(`<${n}`,r)&&!dc().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}So().ensure(t,e);let s=this.declarations[t]=this.scope.generateUidIdentifier(t),i={};for(let l of So().getDependencies(t))i[l]=this.addHelper(l);let{nodes:a,globals:o}=So().get(t,l=>i[l],s,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)}),s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(t,r,n=SyntaxError){let s=t&&(t.loc||t._loc);if(!s&&t){let i={loc:null};(0,M0().default)(t,pme,this.scope,i),s=i.loc;let a="This is an error on an internal node. Probably an internal error.";s&&(a+=" Location has been estimated."),r+=` (${a})`}if(s){let{highlightCode:i=!0}=this.opts;r+=`
  1601. `+(0,cw().codeFrameColumns)(this.code,{start:{line:s.start.line,column:s.start.column+1},end:s.end&&s.start.line===s.end.line?{line:s.end.line,column:s.end.column+1}:void 0},{highlightCode:i})}return new n(r)}};hc.default=R0});var Ew=g(W0=>{"use strict";Object.defineProperty(W0,"__esModule",{value:!0});W0.default=Ime;function yc(){let e=u0();return yc=function(){return e},e}function dw(){let e=uu();return dw=function(){return e},e}function hw(){let e=Oi();return hw=function(){return e},e}function mw(){let e=Ce();return mw=function(){return e},e}var dme=mc(),{arrayExpression:hme,assignmentExpression:yw,binaryExpression:mme,blockStatement:yme,callExpression:gme,cloneNode:bme,conditionalExpression:Eme,exportNamedDeclaration:vme,exportSpecifier:Tme,expressionStatement:gw,functionExpression:Sme,identifier:Ht,memberExpression:q0,objectExpression:U0,program:gc,stringLiteral:bw,unaryExpression:xme,variableDeclaration:V0,variableDeclarator:$0}=mw(),Pme=e=>hw().default.statement`
  1602. (function (root, factory) {
  1603. if (typeof define === "function" && define.amd) {
  1604. define(AMD_ARGUMENTS, factory);
  1605. } else if (typeof exports === "object") {
  1606. factory(COMMON_ARGUMENTS);
  1607. } else {
  1608. factory(BROWSER_ARGUMENTS);
  1609. }
  1610. })(UMD_ROOT, function (FACTORY_PARAMETERS) {
  1611. FACTORY_BODY
  1612. });
  1613. `(e);function Ame(e){let t=Ht("babelHelpers"),r=[],n=Sme(null,[Ht("global")],yme(r)),s=gc([gw(gme(n,[Eme(mme("===",xme("typeof",Ht("global")),bw("undefined")),Ht("self"),Ht("global"))]))]);return r.push(V0("var",[$0(t,yw("=",q0(Ht("global"),t),U0([])))])),bc(r,t,e),s}function Cme(e){let t=[],r=bc(t,null,e);return t.unshift(vme(null,Object.keys(r).map(n=>Tme(bme(r[n]),Ht(n))))),gc(t,[],"module")}function wme(e){let t=Ht("babelHelpers"),r=[];return r.push(V0("var",[$0(t,Ht("global"))])),bc(r,t,e),gc([Pme({FACTORY_PARAMETERS:Ht("global"),BROWSER_ARGUMENTS:yw("=",q0(Ht("root"),t),U0([])),COMMON_ARGUMENTS:Ht("exports"),AMD_ARGUMENTS:hme([bw("exports")]),FACTORY_BODY:r,UMD_ROOT:Ht("this")})])}function Dme(e){let t=Ht("babelHelpers"),r=[];r.push(V0("var",[$0(t,U0([]))]));let n=gc(r);return bc(r,t,e),r.push(gw(t)),n}function bc(e,t,r){let n=i=>t?q0(t,Ht(i)):Ht(`_${i}`),s={};return yc().list.forEach(function(i){if(r&&r.indexOf(i)<0)return;let a=s[i]=n(i);yc().ensure(i,dme.default);let{nodes:o}=yc().get(i,n,a);e.push(...o)}),s}function Ime(e,t="global"){let r,n={global:Ame,module:Cme,umd:wme,var:Dme}[t];if(n)r=n(e);else throw new Error(`Unsupported output type ${t}`);return(0,dw().default)(r).code}});var Er=g((U2e,ww)=>{"use strict";var Tw=Symbol.for("gensync:v1:start"),Sw=Symbol.for("gensync:v1:suspend"),Ome="GENSYNC_EXPECTED_START",_me="GENSYNC_EXPECTED_SUSPEND",xw="GENSYNC_OPTIONS_ERROR",vw="GENSYNC_RACE_NONEMPTY",Nme="GENSYNC_ERRBACK_NO_CALLBACK";ww.exports=Object.assign(function(t){let r=t;return typeof t!="function"?r=Bme(t):r=Fme(t),Object.assign(r,kme(r))},{all:K0({name:"all",arity:1,sync:function(e){return Array.from(e[0]).map(r=>G0(r))},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0){Promise.resolve().then(()=>t([]));return}let s=0,i=n.map(()=>{});n.forEach((a,o)=>{Ec(a,l=>{i[o]=l,s+=1,s===i.length&&t(i)},r)})}}),race:K0({name:"race",arity:1,sync:function(e){let t=Array.from(e[0]);if(t.length===0)throw Ls("Must race at least 1 item",vw);return G0(t[0])},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0)throw Ls("Must race at least 1 item",vw);for(let s of n)Ec(s,t,r)}})});function kme(e){return{sync:function(...r){return G0(e.apply(this,r))},async:function(...r){return new Promise((n,s)=>{Ec(e.apply(this,r),n,s)})},errback:function(...r){let n=r.pop();if(typeof n!="function")throw Ls("Asynchronous function called without callback",Nme);let s;try{s=e.apply(this,r)}catch(i){n(i);return}Ec(s,i=>n(void 0,i),i=>n(i))}}}function xo(e,t,r,n){if(typeof r===e||n&&typeof r=="undefined")return;let s;throw n?s=`Expected opts.${t} to be either a ${e}, or undefined.`:s=`Expected opts.${t} to be a ${e}.`,Ls(s,xw)}function Ls(e,t){return Object.assign(new Error(e),{code:t})}function Bme({name:e,arity:t,sync:r,async:n,errback:s}){if(xo("string","name",e,!0),xo("number","arity",t,!0),xo("function","sync",r),xo("function","async",n,!0),xo("function","errback",s,!0),n&&s)throw Ls("Expected one of either opts.async or opts.errback, but got _both_.",xw);if(typeof e!="string"){let i;s&&s.name&&s.name!=="errback"&&(i=s.name),n&&n.name&&n.name!=="async"&&(i=n.name.replace(/Async$/,"")),r&&r.name&&r.name!=="sync"&&(i=r.name.replace(/Sync$/,"")),typeof i=="string"&&(e=i)}return typeof t!="number"&&(t=r.length),K0({name:e,arity:t,sync:function(i){return r.apply(this,i)},async:function(i,a,o){n?n.apply(this,i).then(a,o):s?s.call(this,...i,(l,u)=>{l==null?a(u):o(l)}):a(r.apply(this,i))}})}function Fme(e){return Cw(e.name,e.length,function(...t){return e.apply(this,t)})}function K0({name:e,arity:t,sync:r,async:n}){return Cw(e,t,function*(...s){let i=yield Tw;if(!i)return r.call(this,s);let a;try{n.call(this,s,o=>{a||(a={value:o},i())},o=>{a||(a={err:o},i())})}catch(o){a={err:o},i()}if(yield Sw,a.hasOwnProperty("err"))throw a.err;return a.value})}function G0(e){let t;for(;!({value:t}=e.next()).done;)Pw(t,e);return t}function Ec(e,t,r){(function n(){try{let s;for(;!({value:s}=e.next()).done;){Pw(s,e);let i=!0,a=!1,o=e.next(()=>{i?a=!0:n()});if(i=!1,jme(o,e),!a)return}return t(s)}catch(s){return r(s)}})()}function Pw(e,t){e!==Tw&&Aw(t,Ls(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,Ome))}function jme({value:e,done:t},r){!t&&e===Sw||Aw(r,Ls(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.`,_me))}function Aw(e,t){throw e.throw&&e.throw(t),t}function Cw(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 Li=g(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});Gr.forwardAsync=qme;Gr.isAsync=void 0;Gr.isThenable=_w;Gr.maybeAsync=Mme;Gr.waitFor=Gr.onFirstPause=void 0;function us(){let e=Er();return us=function(){return e},e}function Dw(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){r(u);return}o.done?t(l):Promise.resolve(l).then(n,s)}function Ow(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){Dw(i,n,s,a,o,"next",l)}function o(l){Dw(i,n,s,a,o,"throw",l)}a(void 0)})}}var Iw=us()(function*(e){return yield*e}),Lme=us()({sync:()=>!1,errback:e=>e(null,!0)});Gr.isAsync=Lme;function Mme(e,t){return us()({sync(...r){let n=e.apply(this,r);if(_w(n))throw new Error(t);return n},async(...r){return Promise.resolve(e.apply(this,r))}})}var Rme=us()({sync:e=>e("sync"),async:function(){var e=Ow(function*(t){return t("async")});return function(r){return e.apply(this,arguments)}}()});function qme(e,t){let r=us()(e);return Rme(n=>{let s=r[n];return t(s)})}var Ume=us()({name:"onFirstPause",arity:2,sync:function(e){return Iw.sync(e)},errback:function(e,t,r){let n=!1;Iw.errback(e,(s,i)=>{n=!0,r(s,i)}),n||t()}});Gr.onFirstPause=Ume;var Vme=us()({sync:e=>e,async:function(){var e=Ow(function*(t){return t});return function(r){return e.apply(this,arguments)}}()});Gr.waitFor=Vme;function _w(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var Tc=g(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.isIterableIterator=Kme;vc.mergeOptions=$me;function $me(e,t){for(let r of Object.keys(t))if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){let n=t[r],s=e[r]||(e[r]={});Wme(s,n)}else{let n=t[r];n!==void 0&&(e[r]=n)}}function Wme(e,t){for(let r of Object.keys(t)){let n=t[r];n!==void 0&&(e[r]=n)}}function Kme(e){return!!e&&typeof e.next=="function"&&typeof e[Symbol.iterator]=="function"}});var Rs=g(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.assertSimpleType=Sc;Ms.makeStrongCache=jw;Ms.makeStrongCacheSync=Xme;Ms.makeWeakCache=Fw;Ms.makeWeakCacheSync=Yme;function kw(){let e=Er();return kw=function(){return e},e}var Mi=Li(),Gme=Tc(),Bw=e=>kw()(e).sync;function*Hme(){return!0}function Fw(e){return Lw(WeakMap,e)}function Yme(e){return Bw(Fw(e))}function jw(e){return Lw(Map,e)}function Xme(e){return Bw(jw(e))}function Lw(e,t){let r=new e,n=new e,s=new e;return function*(a,o){let l=yield*(0,Mi.isAsync)(),u=l?n:r,c=yield*Jme(l,u,s,a,o);if(c.valid)return c.value;let f=new H0(o),d=t(a,f),m,C;return(0,Gme.isIterableIterator)(d)?C=yield*(0,Mi.onFirstPause)(d,()=>{m=zme(f,s,a)}):C=d,Mw(u,f,a,C),m&&(s.delete(a),m.release(C)),C}}function*Nw(e,t,r){let n=e.get(t);if(n){for(let{value:s,valid:i}of n)if(yield*i(r))return{valid:!0,value:s}}return{valid:!1,value:null}}function*Jme(e,t,r,n,s){let i=yield*Nw(t,n,s);if(i.valid)return i;if(e){let a=yield*Nw(r,n,s);if(a.valid)return{valid:!0,value:yield*(0,Mi.waitFor)(a.value.promise)}}return{valid:!1,value:null}}function zme(e,t,r){let n=new Y0;return Mw(t,e,r,n),n}function Mw(e,t,r,n){t.configured()||t.forever();let s=e.get(r);switch(t.deactivate(),t.mode()){case"forever":s=[{value:n,valid:Hme}],e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}],e.set(r,s);break;case"valid":s?s.push({value:n,valid:t.validator()}):(s=[{value:n,valid:t.validator()}],e.set(r,s))}}var H0=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 Qme(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,Mi.maybeAsync)(t,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,Mi.isThenable)(r)?r.then(s=>(this._pairs.push([s,n]),s)):(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,s]of t)if(n!==(yield*s(r)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}};function Qme(e){function t(r){if(typeof r=="boolean"){r?e.forever():e.never();return}return e.using(()=>Sc(r()))}return t.forever=()=>e.forever(),t.never=()=>e.never(),t.using=r=>e.using(()=>Sc(r())),t.invalidate=r=>e.invalidate(()=>Sc(r())),t}function Sc(e){if((0,Mi.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 Y0=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 xc=g(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.stat=Ri.readFile=void 0;function Po(){let e=require("fs");return Po=function(){return e},e}function X0(){let e=Er();return X0=function(){return e},e}var Zme=X0()({sync:Po().readFileSync,errback:Po().readFile});Ri.readFile=Zme;var eye=X0()({sync:Po().statSync,errback:Po().stat});Ri.stat=eye});var Q0=g(z0=>{"use strict";Object.defineProperty(z0,"__esModule",{value:!0});z0.makeStaticFileCache=nye;var tye=Rs(),rye=xc();function J0(){let e=require("fs");return J0=function(){return e},e}function nye(e){return(0,tye.makeStrongCache)(function*(t,r){return r.invalidate(()=>sye(t))===null?null:e(t,yield*rye.readFile(t,"utf8"))})}function sye(e){if(!J0().existsSync(e))return null;try{return+J0().statSync(e).mtime}catch(t){if(t.code!=="ENOENT"&&t.code!=="ENOTDIR")throw t}return null}});var Dn=g(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.beginHiddenCallStack=lye;qi.endHiddenCallStack=uye;qi.expectedError=oye;qi.injectVirtualStackFrame=aye;var Rw,qw=Function.call.bind(Error.prototype.toString),Ac=!!Error.captureStackTrace&&((Rw=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:Rw.writable)===!0,Uw="startHiding - secret - don't use this - v1",Vw="stopHiding - secret - don't use this - v1",$w=new WeakSet,Pc=new WeakMap;function iye(e){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>e,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>e})}function aye(e,t){if(!Ac)return;let r=Pc.get(e);return r||Pc.set(e,r=[]),r.push(iye(t)),e}function oye(e){if(Ac)return $w.add(e),e}function lye(e){return Ac?Object.defineProperty(function(...t){return Ww(),e(...t)},"name",{value:Vw}):e}function uye(e){return Ac?Object.defineProperty(function(...t){return e(...t)},"name",{value:Uw}):e}function Ww(){Ww=()=>{};let{prepareStackTrace:e=cye}=Error,t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t)),Error.prepareStackTrace=function(n,s){let i=[],o=$w.has(n)?"hiding":"unknown";for(let l=0;l<s.length;l++){let u=s[l].getFunctionName();if(u===Uw)o="hiding";else if(u===Vw){if(o==="hiding")o="showing",Pc.has(n)&&i.unshift(...Pc.get(n));else if(o==="unknown"){i=s;break}}else o!=="hiding"&&i.push(s[l])}return e(n,i)}}function cye(e,t){return t.length===0?qw(e):`${qw(e)}
  1614. at ${t.join(`
  1615. at `)}`}});var qs=g(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.default=void 0;var Kw=Dn(),Z0=class extends Error{constructor(t,r){super(t),(0,Kw.expectedError)(this),r&&(0,Kw.injectVirtualStackFrame)(this,r)}};Cc.default=Z0});var Gw=g(tg=>{"use strict";Object.defineProperty(tg,"__esModule",{value:!0});tg.findPackageData=hye;function Ui(){let e=require("path");return Ui=function(){return e},e}var fye=Q0(),eg=qs(),pye="package.json",dye=(0,fye.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(n){throw new eg.default(`Error while parsing JSON - ${n.message}`,e)}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!="object")throw new eg.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new eg.default("Expected config object but found array",e);return{filepath:e,dirname:Ui().dirname(e),options:r}});function*hye(e){let t=null,r=[],n=!0,s=Ui().dirname(e);for(;!t&&Ui().basename(s)!=="node_modules";){r.push(s),t=yield*dye(Ui().join(s,pye));let i=Ui().dirname(s);if(s===i){n=!1;break}s=i}return{filepath:e,directories:r,pkg:t,isPackage:n}}});var Hw=g((J2e,wc)=>{wc.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;wc.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]/;wc.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 ng=g((z2e,Yw)=>{var rg=Hw();Yw.exports={isSpaceSeparator(e){return typeof e=="string"&&rg.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||rg.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"||rg.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 Zw=g((Q2e,Qw)=>{var jt=ng(),ig,ur,On,Ic,cs,Hr,Lt,lg,Co;Qw.exports=function(t,r){ig=String(t),ur="start",On=[],Ic=0,cs=1,Hr=0,Lt=void 0,lg=void 0,Co=void 0;do Lt=mye(),bye[ur]();while(Lt.type!=="eof");return typeof r=="function"?ag({"":Co},"",r):Co};function ag(e,t,r){let n=e[t];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let s=0;s<n.length;s++){let i=String(s),a=ag(n,i,r);a===void 0?delete n[i]:Object.defineProperty(n,i,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(let s in n){let i=ag(n,s,r);i===void 0?delete n[s]:Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,n)}var Fe,_e,Ao,In,We;function mye(){for(Fe="default",_e="",Ao=!1,In=1;;){We=_n();let e=Jw[Fe]();if(e)return e}}function _n(){if(ig[Ic])return String.fromCodePoint(ig.codePointAt(Ic))}function $(){let e=_n();return e===`
  1616. `?(cs++,Hr=0):e?Hr+=e.length:Hr++,e&&(Ic+=e.length),e}var Jw={default(){switch(We){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
  1617. `:case"\r":case"\u2028":case"\u2029":$();return;case"/":$(),Fe="comment";return;case void 0:return $(),gt("eof")}if(jt.isSpaceSeparator(We)){$();return}return Jw[ur]()},comment(){switch(We){case"*":$(),Fe="multiLineComment";return;case"/":$(),Fe="singleLineComment";return}throw bt($())},multiLineComment(){switch(We){case"*":$(),Fe="multiLineCommentAsterisk";return;case void 0:throw bt($())}$()},multiLineCommentAsterisk(){switch(We){case"*":$();return;case"/":$(),Fe="default";return;case void 0:throw bt($())}$(),Fe="multiLineComment"},singleLineComment(){switch(We){case`
  1618. `:case"\r":case"\u2028":case"\u2029":$(),Fe="default";return;case void 0:return $(),gt("eof")}$()},value(){switch(We){case"{":case"[":return gt("punctuator",$());case"n":return $(),Us("ull"),gt("null",null);case"t":return $(),Us("rue"),gt("boolean",!0);case"f":return $(),Us("alse"),gt("boolean",!1);case"-":case"+":$()==="-"&&(In=-1),Fe="sign";return;case".":_e=$(),Fe="decimalPointLeading";return;case"0":_e=$(),Fe="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":_e=$(),Fe="decimalInteger";return;case"I":return $(),Us("nfinity"),gt("numeric",1/0);case"N":return $(),Us("aN"),gt("numeric",NaN);case'"':case"'":Ao=$()==='"',_e="",Fe="string";return}throw bt($())},identifierNameStartEscape(){if(We!=="u")throw bt($());$();let e=og();switch(e){case"$":case"_":break;default:if(!jt.isIdStartChar(e))throw Xw();break}_e+=e,Fe="identifierName"},identifierName(){switch(We){case"$":case"_":case"\u200C":case"\u200D":_e+=$();return;case"\\":$(),Fe="identifierNameEscape";return}if(jt.isIdContinueChar(We)){_e+=$();return}return gt("identifier",_e)},identifierNameEscape(){if(We!=="u")throw bt($());$();let e=og();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!jt.isIdContinueChar(e))throw Xw();break}_e+=e,Fe="identifierName"},sign(){switch(We){case".":_e=$(),Fe="decimalPointLeading";return;case"0":_e=$(),Fe="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":_e=$(),Fe="decimalInteger";return;case"I":return $(),Us("nfinity"),gt("numeric",In*(1/0));case"N":return $(),Us("aN"),gt("numeric",NaN)}throw bt($())},zero(){switch(We){case".":_e+=$(),Fe="decimalPoint";return;case"e":case"E":_e+=$(),Fe="decimalExponent";return;case"x":case"X":_e+=$(),Fe="hexadecimal";return}return gt("numeric",In*0)},decimalInteger(){switch(We){case".":_e+=$(),Fe="decimalPoint";return;case"e":case"E":_e+=$(),Fe="decimalExponent";return}if(jt.isDigit(We)){_e+=$();return}return gt("numeric",In*Number(_e))},decimalPointLeading(){if(jt.isDigit(We)){_e+=$(),Fe="decimalFraction";return}throw bt($())},decimalPoint(){switch(We){case"e":case"E":_e+=$(),Fe="decimalExponent";return}if(jt.isDigit(We)){_e+=$(),Fe="decimalFraction";return}return gt("numeric",In*Number(_e))},decimalFraction(){switch(We){case"e":case"E":_e+=$(),Fe="decimalExponent";return}if(jt.isDigit(We)){_e+=$();return}return gt("numeric",In*Number(_e))},decimalExponent(){switch(We){case"+":case"-":_e+=$(),Fe="decimalExponentSign";return}if(jt.isDigit(We)){_e+=$(),Fe="decimalExponentInteger";return}throw bt($())},decimalExponentSign(){if(jt.isDigit(We)){_e+=$(),Fe="decimalExponentInteger";return}throw bt($())},decimalExponentInteger(){if(jt.isDigit(We)){_e+=$();return}return gt("numeric",In*Number(_e))},hexadecimal(){if(jt.isHexDigit(We)){_e+=$(),Fe="hexadecimalInteger";return}throw bt($())},hexadecimalInteger(){if(jt.isHexDigit(We)){_e+=$();return}return gt("numeric",In*Number(_e))},string(){switch(We){case"\\":$(),_e+=yye();return;case'"':if(Ao)return $(),gt("string",_e);_e+=$();return;case"'":if(!Ao)return $(),gt("string",_e);_e+=$();return;case`
  1619. `:case"\r":throw bt($());case"\u2028":case"\u2029":Eye(We);break;case void 0:throw bt($())}_e+=$()},start(){switch(We){case"{":case"[":return gt("punctuator",$())}Fe="value"},beforePropertyName(){switch(We){case"$":case"_":_e=$(),Fe="identifierName";return;case"\\":$(),Fe="identifierNameStartEscape";return;case"}":return gt("punctuator",$());case'"':case"'":Ao=$()==='"',Fe="string";return}if(jt.isIdStartChar(We)){_e+=$(),Fe="identifierName";return}throw bt($())},afterPropertyName(){if(We===":")return gt("punctuator",$());throw bt($())},beforePropertyValue(){Fe="value"},afterPropertyValue(){switch(We){case",":case"}":return gt("punctuator",$())}throw bt($())},beforeArrayValue(){if(We==="]")return gt("punctuator",$());Fe="value"},afterArrayValue(){switch(We){case",":case"]":return gt("punctuator",$())}throw bt($())},end(){throw bt($())}};function gt(e,t){return{type:e,value:t,line:cs,column:Hr}}function Us(e){for(let t of e){if(_n()!==t)throw bt($());$()}}function yye(){switch(_n()){case"b":return $(),"\b";case"f":return $(),"\f";case"n":return $(),`
  1620. `;case"r":return $(),"\r";case"t":return $()," ";case"v":return $(),"\v";case"0":if($(),jt.isDigit(_n()))throw bt($());return"\0";case"x":return $(),gye();case"u":return $(),og();case`
  1621. `:case"\u2028":case"\u2029":return $(),"";case"\r":return $(),_n()===`
  1622. `&&$(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw bt($());case void 0:throw bt($())}return $()}function gye(){let e="",t=_n();if(!jt.isHexDigit(t)||(e+=$(),t=_n(),!jt.isHexDigit(t)))throw bt($());return e+=$(),String.fromCodePoint(parseInt(e,16))}function og(){let e="",t=4;for(;t-- >0;){let r=_n();if(!jt.isHexDigit(r))throw bt($());e+=$()}return String.fromCodePoint(parseInt(e,16))}var bye={start(){if(Lt.type==="eof")throw Vs();sg()},beforePropertyName(){switch(Lt.type){case"identifier":case"string":lg=Lt.value,ur="afterPropertyName";return;case"punctuator":Dc();return;case"eof":throw Vs()}},afterPropertyName(){if(Lt.type==="eof")throw Vs();ur="beforePropertyValue"},beforePropertyValue(){if(Lt.type==="eof")throw Vs();sg()},beforeArrayValue(){if(Lt.type==="eof")throw Vs();if(Lt.type==="punctuator"&&Lt.value==="]"){Dc();return}sg()},afterPropertyValue(){if(Lt.type==="eof")throw Vs();switch(Lt.value){case",":ur="beforePropertyName";return;case"}":Dc()}},afterArrayValue(){if(Lt.type==="eof")throw Vs();switch(Lt.value){case",":ur="beforeArrayValue";return;case"]":Dc()}},end(){}};function sg(){let e;switch(Lt.type){case"punctuator":switch(Lt.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=Lt.value;break}if(Co===void 0)Co=e;else{let t=On[On.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,lg,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")On.push(e),Array.isArray(e)?ur="beforeArrayValue":ur="beforePropertyName";else{let t=On[On.length-1];t==null?ur="end":Array.isArray(t)?ur="afterArrayValue":ur="afterPropertyValue"}}function Dc(){On.pop();let e=On[On.length-1];e==null?ur="end":Array.isArray(e)?ur="afterArrayValue":ur="afterPropertyValue"}function bt(e){return Oc(e===void 0?`JSON5: invalid end of input at ${cs}:${Hr}`:`JSON5: invalid character '${zw(e)}' at ${cs}:${Hr}`)}function Vs(){return Oc(`JSON5: invalid end of input at ${cs}:${Hr}`)}function Xw(){return Hr-=5,Oc(`JSON5: invalid identifier character at ${cs}:${Hr}`)}function Eye(e){console.warn(`JSON5: '${zw(e)}' in strings is not valid ECMAScript; consider escaping`)}function zw(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 Oc(e){let t=new SyntaxError(e);return t.lineNumber=cs,t.columnNumber=Hr,t}});var t2=g((Z2e,e2)=>{var ug=ng();e2.exports=function(t,r,n){let s=[],i="",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 b;typeof p=="string"?b=p:(typeof p=="number"||p instanceof String||p instanceof Number)&&(b=String(p)),b!==void 0&&a.indexOf(b)<0&&a.push(b)}}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,b){let E=b[p];switch(E!=null&&(typeof E.toJSON5=="function"?E=E.toJSON5(p):typeof E.toJSON=="function"&&(E=E.toJSON(p))),o&&(E=o.call(b,p,E)),E instanceof Number?E=Number(E):E instanceof String?E=String(E):E instanceof Boolean&&(E=E.valueOf()),E){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof E=="string")return f(E,!1);if(typeof E=="number")return String(E);if(typeof E=="object")return Array.isArray(E)?C(E):d(E)}function f(p){let b={"'":.1,'"':.2},E={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},O="";for(let A=0;A<p.length;A++){let I=p[A];switch(I){case"'":case'"':b[I]++,O+=I;continue;case"\0":if(ug.isDigit(p[A+1])){O+="\\x00";continue}}if(E[I]){O+=E[I];continue}if(I<" "){let k=I.charCodeAt(0).toString(16);O+="\\x"+("00"+k).substring(k.length);continue}O+=I}let P=u||Object.keys(b).reduce((A,I)=>b[A]<b[I]?A:I);return O=O.replace(new RegExp(P,"g"),E[P]),P+O+P}function d(p){if(s.indexOf(p)>=0)throw TypeError("Converting circular structure to JSON5");s.push(p);let b=i;i=i+l;let E=a||Object.keys(p),O=[];for(let A of E){let I=c(A,p);if(I!==void 0){let k=m(A)+":";l!==""&&(k+=" "),k+=I,O.push(k)}}let P;if(O.length===0)P="{}";else{let A;if(l==="")A=O.join(","),P="{"+A+"}";else{let I=`,
  1623. `+i;A=O.join(I),P=`{
  1624. `+i+A+`,
  1625. `+b+"}"}}return s.pop(),i=b,P}function m(p){if(p.length===0)return f(p,!0);let b=String.fromCodePoint(p.codePointAt(0));if(!ug.isIdStartChar(b))return f(p,!0);for(let E=b.length;E<p.length;E++)if(!ug.isIdContinueChar(String.fromCodePoint(p.codePointAt(E))))return f(p,!0);return p}function C(p){if(s.indexOf(p)>=0)throw TypeError("Converting circular structure to JSON5");s.push(p);let b=i;i=i+l;let E=[];for(let P=0;P<p.length;P++){let A=c(String(P),p);E.push(A!==void 0?A:"null")}let O;if(E.length===0)O="[]";else if(l==="")O="["+E.join(",")+"]";else{let P=`,
  1626. `+i,A=E.join(P);O=`[
  1627. `+i+A+`,
  1628. `+b+"]"}return s.pop(),i=b,O}}});var n2=g((eDe,r2)=>{var vye=Zw(),Tye=t2(),Sye={parse:vye,stringify:Tye};r2.exports=Sye});var cg=g(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.makeConfigAPI=a2;wo.makePluginAPI=xye;wo.makePresetAPI=o2;function i2(){let e=wn();return i2=function(){return e},e}var _c=ft(),s2=Rs();function a2(e){let t=n=>e.using(s=>typeof n=="undefined"?s.envName:typeof n=="function"?(0,s2.assertSimpleType)(n(s.envName)):(Array.isArray(n)?n:[n]).some(i=>{if(typeof i!="string")throw new Error("Unexpected non-string value");return i===s.envName})),r=n=>e.using(s=>(0,s2.assertSimpleType)(n(s.caller)));return{version:_c.version,cache:e.simple(),env:t,async:()=>!1,caller:r,assertVersion:Pye}}function o2(e,t){let r=()=>JSON.parse(e.using(s=>JSON.stringify(s.targets))),n=s=>{t.push(s)};return Object.assign({},a2(e),{targets:r,addExternalDependency:n})}function xye(e,t){let r=n=>e.using(s=>s.assumptions[n]);return Object.assign({},o2(e,t),{assumption:r})}function Pye(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(i2().satisfies(_c.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 "${_c.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:_c.version,range:e})}});var kc=g(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.finalize=Aye;Nc.flattenToSet=Cye;function Aye(e){return Object.freeze(e)}function Cye(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 Fc=g(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});Bc.default=void 0;var wye=kc(),fg=class{constructor(t,r,n,s=(0,wye.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=s}};Bc.default=fg});var u2=g(pg=>{"use strict";Object.defineProperty(pg,"__esModule",{value:!0});pg.once=Dye;var l2=Li();function Dye(e){let t,r;return function*(){if(t)return t;if(!(yield*(0,l2.isAsync)()))return t=yield*e();if(r)return yield*(0,l2.waitFor)(r);let n,s;r=new Promise((i,a)=>{n=i,s=a});try{return t=yield*e(),r=null,n(t),t}catch(i){throw s(i),i}}}});var c2=g((iDe,Iye)=>{Iye.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"},{name:"nodejs",version:"20.3.0",date:"2023-06-08",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.4.0",date:"2023-07-04",lts:!1,security:!1,v8:"11.3.244.8"}]});var p2=g((aDe,f2)=>{f2.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 jc=g((oDe,d2)=>{d2.exports.browsers=p2()});var m2=g((lDe,h2)=>{h2.exports={0:"113",1:"114",2:"115",3:"116",4:"5",5:"19",6:"23",7:"24",8:"25",9:"26",A:"10",B:"11",C:"12",D:"117",E:"7",F:"8",G:"9",H:"15",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",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:"101",l:"102",m:"20",n:"21",o:"22",p:"73",q:"103",r:"104",s:"105",t:"106",u:"107",v:"108",w:"109",x:"110",y:"111",z:"112",AB:"27",BB:"28",CB:"29",DB:"30",EB:"31",FB:"32",GB:"33",HB:"34",IB:"35",JB:"36",KB:"37",LB:"38",MB:"39",NB:"40",OB:"41",PB:"42",QB:"43",RB:"44",SB:"45",TB:"46",UB:"47",VB:"48",WB:"49",XB:"50",YB:"51",ZB:"52",aB:"53",bB:"54",cB:"55",dB:"56",eB:"57",fB:"58",gB:"60",hB:"62",iB:"63",jB:"64",kB:"65",lB:"66",mB:"67",nB:"68",oB:"69",pB:"70",qB:"71",rB:"72",sB:"74",tB:"75",uB:"76",vB:"77",wB:"78",xB:"11.1",yB:"12.1",zB:"15.5","0B":"16.0","1B":"17.0","2B":"3","3B":"59","4B":"61","5B":"82","6B":"118","7B":"119","8B":"120","9B":"3.2",AC:"10.1",BC:"13.1",CC:"15.2-15.3",DC:"15.4",EC:"16.1",FC:"16.2",GC:"16.3",HC:"16.4",IC:"16.5",JC:"16.6",KC:"17.1",LC:"11.5",MC:"4.2-4.3",NC:"5.5",OC:"2",PC:"3.5",QC:"3.6",RC:"3.1",SC:"5.1",TC:"6.1",UC:"7.1",VC:"9.1",WC:"14.1",XC:"15.1",YC:"15.6",ZC:"TP",aC:"9.5-9.6",bC:"10.0-10.1",cC:"10.5",dC:"10.6",eC:"11.6",fC:"4.0-4.1",gC:"5.0-5.1",hC:"6.0-6.1",iC:"7.0-7.1",jC:"8.1-8.4",kC:"9.0-9.2",lC:"9.3",mC:"10.0-10.2",nC:"10.3",oC:"11.0-11.2",pC:"11.3-11.4",qC:"12.0-12.1",rC:"12.2-12.5",sC:"13.0-13.1",tC:"13.2",uC:"13.3",vC:"13.4-13.7",wC:"14.0-14.4",xC:"14.5-14.8",yC:"15.0-15.1",zC:"15.6-15.7","0C":"all","1C":"2.1","2C":"2.2","3C":"2.3","4C":"4.1","5C":"4.4","6C":"4.4.3-4.4.4","7C":"5.0-5.4","8C":"6.2-6.4","9C":"7.2-7.4",AD:"8.2",BD:"9.2",CD:"11.1-11.2",DD:"12.0",ED:"13.0",FD:"14.0",GD:"15.0",HD:"18.0",ID:"19.0",JD:"13.18",KD:"2.5",LD:"3.0-3.1"}});var dg=g((uDe,y2)=>{y2.exports.browserVersions=m2()});var b2=g((cDe,g2)=>{g2.exports={A:{A:{J:0,E:0,F:.0268696,G:.0537391,A:0,B:.416478,NC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","NC","J","E","F","G","A","B","","",""],E:"IE",F:{NC:962323200,J:998870400,E:1161129600,F:1237420800,G:1300060800,A:1346716800,B:1381968e3}},B:{A:{0:.035192,1:.607062,2:3.20687,3:1.03376,C:.004399,K:.004399,L:.004399,H:.004399,M:0,N:.004399,O:.008798,P:0,Q:.004399,R:.004399,S:.004399,T:.008798,U:.004399,V:.008798,W:.004399,X:.004399,Y:.004399,Z:.008798,a:0,b:.013197,c:0,d:0,e:0,f:0,g:0,h:0,i:.017596,j:0,k:0,l:0,q:0,r:0,s:0,t:0,u:.008798,v:.013197,w:.083581,x:.013197,y:.092379,z:.096778,D:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","H","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","q","r","s","t","u","v","w","x","y","z","0","1","2","3","D","","",""],E:"Edge",F:{0:1683158400,1:1685664e3,2:1689897600,3:1692576e3,C:1438128e3,K:1447286400,L:1470096e3,H:1491868800,M:1508198400,N: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,k:1651190400,l:1653955200,q:1655942400,r:1659657600,s:1661990400,t:1664755200,u:1666915200,v:1670198400,w:1673481600,x:1675900800,y:1678665600,z:1680825600,D:1694649600},D:{C:"ms",K:"ms",L:"ms",H:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.026394,1:.030793,2:.580668,3:1.39008,4:0,5:0,6:0,7:0,8:0,9:0,OC:0,"2B":0,I:0,J:0,E:0,F:0,G:0,A:0,B:.008798,C:0,K:0,L:0,H:0,M:0,N:0,O:0,m:0,n:0,o: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,PB:0,QB:.008798,RB:.004399,SB:0,TB:0,UB:0,VB:.004399,WB:0,XB:.008798,YB:0,ZB:.052788,aB:.004399,bB:.004399,cB:0,dB:.008798,eB:0,fB:0,"3B":.004399,gB:0,"4B":0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:.030793,p:0,sB:0,tB:0,uB:0,vB:0,wB:.039591,P:0,Q:0,R:0,"5B":0,S:.008798,T:0,U:0,V:0,W:0,X:.004399,Y:0,Z:.004399,a:.008798,b:0,c:0,d:.013197,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:.118773,q:.017596,r:0,s:.004399,t:.004399,u:.004399,v:.008798,w:.008798,x:.008798,y:.013197,z:.065985,D:.052788,"6B":0,"7B":0,"8B":0,PC:0,QC:0},B:"moz",C:["OC","2B","PC","QC","I","4","J","E","F","G","A","B","C","K","L","H","M","N","O","5","m","n","o","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","3B","gB","4B","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","p","sB","tB","uB","vB","wB","P","Q","R","5B","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","q","r","s","t","u","v","w","x","y","z","0","1","2","3","D","6B","7B","8B"],E:"Firefox",F:{0:1683590400,1:1686009600,2:1688428800,3:1690848e3,4:1308614400,5:1357603200,6:1372118400,7:1375747200,8:1379376e3,9:1386633600,OC:1161648e3,"2B":1213660800,PC:124632e4,QC:1264032e3,I:1300752e3,J:1313452800,E:1317081600,F:1317081600,G:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,H:1342483200,M:1346112e3,N:1349740800,O:1353628800,m:1361232e3,n:1364860800,o:1368489600,AB:1391472e3,BB:1395100800,CB:1398729600,DB:1402358400,EB:1405987200,FB:1409616e3,GB:1413244800,HB:1417392e3,IB:1421107200,JB:1424736e3,KB:1428278400,LB:1431475200,MB:1435881600,NB:1439251200,OB:144288e4,PB:1446508800,QB:1450137600,RB:1453852800,SB:1457395200,TB:1461628800,UB:1465257600,VB:1470096e3,WB:1474329600,XB:1479168e3,YB:1485216e3,ZB:1488844800,aB:149256e4,bB:1497312e3,cB:1502150400,dB:1506556800,eB:1510617600,fB:1516665600,"3B":1520985600,gB:1525824e3,"4B":1529971200,hB:1536105600,iB:1540252800,jB:1544486400,kB:154872e4,lB:1552953600,mB:1558396800,nB:1562630400,oB:1567468800,pB:1571788800,qB:1575331200,rB:1578355200,p:1581379200,sB:1583798400,tB:1586304e3,uB:1588636800,vB:1591056e3,wB:1593475200,P:1595894400,Q:1598313600,R:1600732800,"5B":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,k:1653955200,l:1656374400,q:1658793600,r:1661212800,s:1663632e3,t:1666051200,u:1668470400,v:1670889600,w:1673913600,x:1676332800,y:1678752e3,z:1681171200,D:1693267200,"6B":null,"7B":null,"8B":null}},D:{A:{0:.255142,1:2.10712,2:12.8099,3:5.7231,4:0,5:0,6:0,7:0,8:0,9:0,I:0,J:0,E:0,F:0,G:0,A:0,B:0,C:0,K:0,L:0,H:0,M:0,N:0,O:0,m:0,n:0,o:0,AB:0,BB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:.004399,IB:0,JB:0,KB:0,LB:.013197,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:.004399,VB:.017596,WB:.030793,XB:.013197,YB:0,ZB:0,aB:.008798,bB:0,cB:.004399,dB:.048389,eB:.004399,fB:0,"3B":0,gB:.021995,"4B":.004399,hB:.004399,iB:.008798,jB:0,kB:.008798,lB:.026394,mB:.004399,nB:.039591,oB:.065985,pB:.039591,qB:.021995,rB:.026394,p:.030793,sB:.048389,tB:.048389,uB:.096778,vB:.026394,wB:.039591,P:.202354,Q:.079182,R:.057187,S:.114374,T:.030793,U:.083581,V:.092379,W:.08798,X:.048389,Y:.039591,Z:.048389,a:.061586,b:.035192,c:.127571,d:.030793,e:.017596,f:.026394,g:.026394,h:.061586,i:.04399,j:.035192,k:.035192,l:.039591,q:.211152,r:.052788,s:.048389,t:.052788,u:.123172,v:.180359,w:1.83878,x:.149566,y:.285935,z:.228748,D:.017596,"6B":.004399,"7B":0,"8B":0},B:"webkit",C:["","","","","","I","4","J","E","F","G","A","B","C","K","L","H","M","N","O","5","m","n","o","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","3B","gB","4B","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","p","sB","tB","uB","vB","wB","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","q","r","s","t","u","v","w","x","y","z","0","1","2","3","D","6B","7B","8B"],E:"Chrome",F:{0:1682985600,1:1685404800,2:1689724800,3:1692057600,4:1274745600,5:1332892800,6:1348531200,7:1352246400,8:1357862400,9:1361404800,I:1264377600,J:1283385600,E:1287619200,F:1291248e3,G:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,H:1316131200,M:1319500800,N:1323734400,O:1328659200,m:133704e4,n:1340668800,o:1343692800,AB:1364428800,BB:1369094400,CB:1374105600,DB:1376956800,EB:1384214400,FB:1389657600,GB:1392940800,HB:1397001600,IB:1400544e3,JB:1405468800,KB:1409011200,LB:141264e4,MB:1416268800,NB:1421798400,OB:1425513600,PB:1429401600,QB:143208e4,RB:1437523200,SB:1441152e3,TB:1444780800,UB:1449014400,VB:1453248e3,WB:1456963200,XB:1460592e3,YB:1464134400,ZB:1469059200,aB:1472601600,bB:1476230400,cB:1480550400,dB:1485302400,eB:1489017600,fB:149256e4,"3B":1496707200,gB:1500940800,"4B":1504569600,hB:1508198400,iB:1512518400,jB:1516752e3,kB:1520294400,lB:1523923200,mB:1527552e3,nB:1532390400,oB:1536019200,pB:1539648e3,qB:1543968e3,rB:154872e4,p:1552348800,sB:1555977600,tB:1559606400,uB:1564444800,vB:1568073600,wB: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,k:1650931200,l:1653350400,q:1655769600,r:1659398400,s:1661817600,t:1664236800,u:1666656e3,v:166968e4,w:1673308800,x:1675728e3,y:1678147200,z:1680566400,D:1694476800,"6B":null,"7B":null,"8B":null}},E:{A:{4:0,I:0,J:0,E:0,F:0,G:0,A:0,B:0,C:0,K:.017596,L:.105576,H:.017596,RC:0,"9B":0,SC:.008798,TC:0,UC:0,VC:.140768,AC:0,xB:.004399,yB:.030793,BC:.136369,WC:.255142,XC:.039591,CC:.035192,DC:.070384,zB:.123172,YC:.576269,"0B":.171561,EC:.180359,FC:.184758,GC:.422304,HC:.189157,IC:1.15254,JC:1.65402,"1B":.026394,KC:0,ZC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","9B","I","4","SC","J","TC","E","UC","F","G","VC","A","AC","B","xB","C","yB","K","BC","L","WC","H","XC","CC","DC","zB","YC","0B","EC","FC","GC","HC","IC","JC","1B","KC","ZC",""],E:"Safari",F:{4:1275868800,RC:1205798400,"9B":1226534400,I:1244419200,SC:131112e4,J:1343174400,TC:13824e5,E:13824e5,UC:1410998400,F:1413417600,G:1443657600,VC:1458518400,A:1474329600,AC:1490572800,B:1505779200,xB:1522281600,C:1537142400,yB:1553472e3,K:1568851200,BC:1585008e3,L:1600214400,WC:1619395200,H:1632096e3,XC:1635292800,CC:1639353600,DC:1647216e3,zB:1652745600,YC:1658275200,"0B":1662940800,EC:1666569600,FC:1670889600,GC:1674432e3,HC:1679875200,IC:1684368e3,JC:1690156800,"1B":1695686400,KC:null,ZC:null}},F:{A:{5:0,6:0,7:0,8:0,9:0,G:0,B:0,C:0,H:0,M:0,N:0,O:0,m:0,n:0,o:0,AB:0,BB:.004399,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,PB:0,QB:0,RB:0,SB:0,TB:.013197,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,pB:0,qB:0,rB:0,p:0,sB:0,tB:0,uB:0,vB:0,wB:0,P:0,Q:0,R:0,"5B":0,S:0,T:0,U:.004399,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:.057187,f:0,g:.079182,h:0,i:.030793,j:.83581,k:.466294,l:.008798,aC:0,bC:0,cC:0,dC:0,xB:0,LC:0,eC:0,yB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","G","aC","bC","cC","dC","B","xB","LC","eC","C","yB","H","M","N","O","5","m","n","o","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","pB","qB","rB","p","sB","tB","uB","vB","wB","P","Q","R","5B","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","","",""],E:"Opera",F:{5:1390867200,6:1405987200,7:1409616e3,8:1413331200,9:1417132800,G:1150761600,aC:1223424e3,bC:1251763200,cC:1267488e3,dC:1277942400,B:1292457600,xB:1302566400,LC:1309219200,eC:1323129600,C:1323129600,yB:1352073600,H:1372723200,M:1377561600,N:1381104e3,O:1386288e3,m:1393891200,n:1399334400,o:1401753600,AB:1422316800,BB:1425945600,CB:1430179200,DB:1433808e3,EB:1438646400,FB:1442448e3,GB:1445904e3,HB:1449100800,IB:1454371200,JB:1457308800,KB:146232e4,LB:1465344e3,MB:1470096e3,NB:1474329600,OB:1477267200,PB:1481587200,QB:1486425600,RB:1490054400,SB:1494374400,TB:1498003200,UB:1502236800,VB:1506470400,WB:1510099200,XB:1515024e3,YB:1517961600,ZB:1521676800,aB:1525910400,bB:1530144e3,cB:1534982400,dB:1537833600,eB:1543363200,fB:1548201600,gB:1554768e3,hB:1561593600,iB:1566259200,jB:1570406400,kB:1573689600,lB:1578441600,mB:1583971200,nB:1587513600,oB:1592956800,pB:1595894400,qB:1600128e3,rB:1603238400,p:161352e4,sB:1612224e3,tB:1616544e3,uB:1619568e3,vB:1623715200,wB:1627948800,P:1631577600,Q:1633392e3,R:1635984e3,"5B":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,k:1690329600,l:1692748800},D:{G:"o",B:"o",C:"o",aC:"o",bC:"o",cC:"o",dC:"o",xB:"o",LC:"o",eC:"o",yB:"o"}},G:{A:{F:0,"9B":0,fC:0,MC:.00279764,gC:.00419646,hC:.00279764,iC:.0125894,jC:.00419646,kC:.00839291,lC:.0391669,mC:.00279764,nC:.0545539,oC:.0223811,pC:.0195835,qC:.015387,rC:.257383,sC:.00699409,tC:.0111905,uC:.0181846,vC:.0573516,wC:.149674,xC:.257383,yC:.0965185,CC:.10631,DC:.120298,zB:.170656,zC:1.13864,"0B":.43783,EC:.863071,FC:.440628,GC:.879857,HC:.211222,IC:2.6032,JC:5.87084,"1B":.0965185,KC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","9B","fC","MC","gC","hC","iC","F","jC","kC","lC","mC","nC","oC","pC","qC","rC","sC","tC","uC","vC","wC","xC","yC","CC","DC","zB","zC","0B","EC","FC","GC","HC","IC","JC","1B","KC","",""],E:"Safari on iOS",F:{"9B":1270252800,fC:1283904e3,MC:1299628800,gC:1331078400,hC:1359331200,iC:1394409600,F:1410912e3,jC:1413763200,kC:1442361600,lC:1458518400,mC:1473724800,nC:1490572800,oC:1505779200,pC:1522281600,qC:1537142400,rC:1553472e3,sC:1568851200,tC:1572220800,uC:1580169600,vC:1585008e3,wC:1600214400,xC:1619395200,yC:1632096e3,CC:1639353600,DC:1647216e3,zB:1652659200,zC:1658275200,"0B":1662940800,EC:1666569600,FC:1670889600,GC:1674432e3,HC:1679875200,IC:1684368e3,JC:1690156800,"1B":1694995200,KC:null}},H:{A:{"0C":1.08194},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","0C","","",""],E:"Opera Mini",F:{"0C":1426464e3}},I:{A:{"2B":0,I:.0136938,D:0,"1C":0,"2C":.00684689,"3C":0,"4C":.0273876,MC:.0479282,"5C":0,"6C":.212254},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","1C","2C","3C","2B","I","4C","MC","5C","6C","D","","",""],E:"Android Browser",F:{"1C":1256515200,"2C":1274313600,"3C":1291593600,"2B":1298332800,I:1318896e3,"4C":1341792e3,MC:1374624e3,"5C":1386547200,"6C":1401667200,D:1694476800}},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,p:0,xB:0,LC:0,yB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","xB","LC","C","yB","p","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,xB:1314835200,LC:1318291200,C:1330300800,yB:1349740800,p:1673827200},D:{p:"webkit"}},L:{A:{D:37.5486},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","","",""],E:"Chrome for Android",F:{D:1694476800}},M:{A:{D:.263294},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","","",""],E:"Firefox for Android",F:{D:1693267200}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{zB:1.00276},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","zB","","",""],E:"UC Browser for Android",F:{zB:1687132800},D:{zB:"webkit"}},P:{A:{I:.115947,m:.0843248,n:.210812,o:0,"7C":0,"8C":0,"9C":.0421624,AD:0,BD:0,AC:0,CD:.0105406,DD:0,ED:.0210812,FD:.0210812,GD:0,"0B":.0316218,"1B":.0316218,HD:.0316218,ID:.052703},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","7C","8C","9C","AD","BD","AC","CD","DD","ED","FD","GD","0B","1B","HD","ID","m","n","o","","",""],E:"Samsung Internet",F:{I:1461024e3,"7C":1481846400,"8C":1509408e3,"9C":1528329600,AD:1546128e3,BD:1554163200,AC:1567900800,CD:1582588800,DD:1593475200,ED:1605657600,FD:1618531200,GD:1629072e3,"0B":1640736e3,"1B":1651708800,HD:1659657600,ID:1667260800,m:1677369600,n:1684454400,o:1689292800}},Q:{A:{BC:.173662},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BC","","",""],E:"QQ Browser",F:{BC:1663718400}},R:{A:{JD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JD","","",""],E:"Baidu Browser",F:{JD:1663027200}},S:{A:{KD:.05602,LD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KD","LD","","",""],E:"KaiOS Browser",F:{KD:1527811200,LD:1631664e3}}}});var S2=g((fDe,T2)=>{"use strict";var Oye=jc().browsers,hg=dg().browserVersions,E2=b2();function v2(e){return Object.keys(e).reduce((t,r)=>(t[hg[r]]=e[r],t),{})}T2.exports.agents=Object.keys(E2).reduce((e,t)=>{let r=E2[t];return e[Oye[t]]=Object.keys(r).reduce((n,s)=>(s==="A"?n.usage_global=v2(r[s]):s==="C"?n.versions=r[s].reduce((i,a)=>(a===""?i.push(null):i.push(hg[a]),i),[]):s==="D"?n.prefix_exceptions=v2(r[s]):s==="E"?n.browser=r[s]:s==="F"?n.release_date=Object.keys(r[s]).reduce((i,a)=>(i[hg[a]]=r[s][a],i),{}):n.prefix=r[s],n),{}),e},{})});var x2=g((pDe,_ye)=>{_ye.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 A2=g((dDe,P2)=>{P2.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","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","26.0":"116","26.1":"116","26.2":"116","27.0":"118"}});var yg=g((hDe,C2)=>{function mg(e){this.name="BrowserslistError",this.message=e,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,mg)}mg.prototype=Error.prototype;C2.exports=mg});var _2=g((mDe,O2)=>{var w2=/^\s+and\s+(.*)/i,D2=/^(?:,\s*|\s+or\s+)(.*)/i;function I2(e){return Array.isArray(e)?e.reduce(function(t,r){return t.concat(I2(r))},[]):[e]}function Nye(e,t){for(var r=1,n=e.length;r<=n;r++){var s=e.substr(-r,r);if(t(s,r,n))return e.slice(0,-r)}return""}function gg(e,t){var r={query:t};t.indexOf("not ")===0&&(r.not=!0,t=t.slice(4));for(var n in e){var s=e[n],i=t.match(s.regexp);if(i){r.type=n;for(var a=0;a<s.matches.length;a++)r[s.matches[a]]=i[a+1];return r}}return r.type="unknown",r}function kye(e,t,r){var n;return Nye(t,function(s,i,a){return w2.test(s)?(n=gg(e,s.match(w2)[1]),n.compose="and",r.unshift(n),!0):D2.test(s)?(n=gg(e,s.match(D2)[1]),n.compose="or",r.unshift(n),!0):i===a?(n=gg(e,s.trim()),n.compose="or",r.unshift(n),!0):!1})}O2.exports=function(t,r){return Array.isArray(r)||(r=[r]),I2(r.map(function(n){var s=[];do n=kye(t,n,s);while(n);return s}))}});var k2=g((yDe,N2)=>{N2.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}});var F2=g((gDe,B2)=>{B2.exports={y:1,n:2,a:4,p:8,u:16,x:32,d:64}});var M2=g((bDe,bg)=>{"use strict";var Bye=k2(),j2=F2(),Fye=jc().browsers,jye=dg().browserVersions,Lye=Math.log(2);function Mye(e){let t=Object.keys(j2).reduce((s,i)=>(e&j2[i]&&s.push(i),s),[]),r=e>>7,n=[];for(;r;){let s=Math.floor(Math.log(r)/Lye)+1;n.unshift(`#${s}`),r-=Math.pow(2,s-1)}return t.concat(n).join(" ")}function L2(e){let t={status:Bye[e.B],title:e.C,shown:e.D};return t.stats=Object.keys(e.A).reduce((r,n)=>{let s=e.A[n];return r[Fye[n]]=Object.keys(s).reduce((i,a)=>{let o=s[a].split(" "),l=Mye(a);return o.forEach(u=>i[jye[u]]=l),i},{}),r},{}),t}bg.exports=L2;bg.exports.default=L2});var q2=g((EDe,Eg)=>{"use strict";var Rye=jc().browsers;function R2(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return t[Rye[r]]=Object.keys(n).reduce((s,i)=>{let a=n[i];return i==="_"?a.split(" ").forEach(o=>s[o]=null):s[i]=a,s},{}),t},{})}Eg.exports=R2;Eg.exports.default=R2});var H2=g((vDe,$s)=>{var qye=M2().default,Uye=q2().default,Yr=require("path"),Vi=require("fs"),Yt=yg(),U2=/^\s*\[(.+)]\s*$/,Vye=/^browserslist-config-/,$ye=/@[^/]+\/browserslist-config(-|$|\/)/,Wye=6*30*24*60*60*1e3,V2="Browserslist config should be a string or an array of strings with browser queries",vg=!1,Rc={},Lc={};function $2(e){var t=" Use `dangerousExtend` option to disable.";if(!Vye.test(e)&&!$ye.test(e))throw new Yt("Browserslist config needs `browserslist-config-` prefix. "+t);if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1)throw new Yt("`.` not allowed in Browserslist config name. "+t);if(e.indexOf("node_modules")!==-1)throw new Yt("`node_modules` not allowed in Browserslist config."+t)}function ln(e){if(e in Rc)return Rc[e];var t=Vi.existsSync(e)&&Vi.statSync(e).isFile();return process.env.BROWSERSLIST_DISABLE_CACHE||(Rc[e]=t),t}function W2(e,t){var r=ln(e)?Yr.dirname(e):e,n=Yr.resolve(r);do{var s=t(n);if(typeof s!="undefined")return s}while(n!==(n=Yr.dirname(n)))}function Kye(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(typeof e[t]!="string")throw new Yt(V2)}else if(typeof e!="string")throw new Yt(V2)}function Mc(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 Yt("Missing config for Browserslist environment `"+r+"`");return e[r]||e.defaults}function K2(e){var t=JSON.parse(Vi.readFileSync(e).toString().replace(/^\uFEFF/m,""));if(t.browserlist&&!t.browserslist)throw new Yt("`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)Kye(r[n]);return r}function Gye(e){var t=0;for(var r in e){var n=e[r].releaseDate||{};for(var s in n)t<n[s]&&(t=n[s])}return t*1e3}function G2(e,t){if(e||(e={}),t&&"dataByBrowser"in t&&(t=t.dataByBrowser),typeof t=="object"){var r={};for(var n in t){var s=Object.keys(t[n]);if(s.length===1&&e[n]&&e[n].versions.length===1){var i=e[n].versions[0];r[n]={},r[n][i]=t[n][s[0]]}else r[n]=t[n]}return r}}function Hye(e,t){for(var r in e){var n=e[r];if("0"in n){var s=t[r].versions;n[s[s.length-1]]=n[0],delete n[0]}}}$s.exports={loadQueries:function(t,r){!t.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND&&$2(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=[]),Mc(n,t,r)}throw new Yt("`"+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&&$2(r);var s=require(require.resolve(Yr.join(r,"browserslist-stats.json"),{paths:["."]}));return G2(n,s)},getStat:function(t,r){var n;if(t.stats?n=t.stats:process.env.BROWSERSLIST_STATS?n=process.env.BROWSERSLIST_STATS:t.path&&Yr.resolve&&Vi.existsSync&&(n=W2(t.path,function(s){var i=Yr.join(s,"browserslist-stats.json");return ln(i)?i:void 0})),typeof n=="string")try{n=JSON.parse(Vi.readFileSync(n))}catch{throw new Yt("Can't read "+n)}return G2(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 Yr.basename(r)==="package.json"?Mc(K2(r),t):Mc($s.exports.readConfig(r),t)}else return t.path?Mc($s.exports.findConfig(t.path),t):void 0},loadCountry:function(t,r,n){var s=r.replace(/[^\w-]/g,"");if(!t[s]){var i;try{i=require("caniuse-lite/data/regions/"+s+".js")}catch{throw new Yt("Unknown region name `"+s+"`.")}var a=Uye(i);Hye(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 Yt("Unknown feature name `"+r+"`.")}var s=qye(n).stats;t[r]={};for(var i in s){t[r][i]={};for(var a in s[i])t[r][i][a]=s[i][a]}}},parseConfig:function(t){var r={defaults:[]},n=["defaults"];return t.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map(function(s){return s.trim()}).filter(function(s){return s!==""}).forEach(function(s){U2.test(s)?(n=s.match(U2)[1].trim().split(" "),n.forEach(function(i){if(r[i])throw new Yt("Duplicate section "+i+" in Browserslist config");r[i]=[]})):n.forEach(function(i){r[i].push(s)})}),r},readConfig:function(t){if(!ln(t))throw new Yt("Can't read "+t+" config");return $s.exports.parseConfig(Vi.readFileSync(t))},findConfig:function(t){t=Yr.resolve(t);var r=[],n=W2(t,function(s){if(s in Lc)return Lc[s];r.push(s);var i=Yr.join(s,"browserslist"),a=Yr.join(s,"package.json"),o=Yr.join(s,".browserslistrc"),l;if(ln(a))try{l=K2(a)}catch(u){if(u.name==="BrowserslistError")throw u;console.warn("[Browserslist] Could not parse "+a+". Ignoring it.")}if(ln(i)&&l)throw new Yt(s+" contains both browserslist and package.json with browsers");if(ln(o)&&l)throw new Yt(s+" contains both .browserslistrc and package.json with browsers");if(ln(i)&&ln(o))throw new Yt(s+" contains both .browserslistrc and browserslist");return ln(i)?$s.exports.readConfig(i):ln(o)?$s.exports.readConfig(o):l});return process.env.BROWSERSLIST_DISABLE_CACHE||r.forEach(function(s){Lc[s]=n}),n},clearCaches:function(){vg=!1,Rc={},Lc={},this.cache={}},oldDataWarning:function(t){if(!vg&&(vg=!0,!process.env.BROWSERSLIST_IGNORE_OLD_DATA)){var r=Gye(t),n=Date.now()-Wye;r!==0&&r<n&&console.warn(`Browserslist: caniuse-lite is outdated. Please run:
  1629. npx update-browserslist-db@latest
  1630. Why you should do it regularly: https://github.com/browserslist/update-db#readme`)}},currentNode:function(){return"node "+process.versions.node},env:process.env}});var fD=g((TDe,cD)=>{var Yye=c2(),Nn=S2().agents,Tg=x2(),Kc=require("path"),Xr=A2(),hr=yg(),rD=_2(),Xt=H2(),Xye=365.259641*24*60*60*1e3,nD="37",Jye=14;function sD(e,t){return(e+".").indexOf(t+".")===0}function zye(e){var t=e.slice(1);return be.nodeVersions.some(function(r){return sD(r,t)})}function Y2(e){return e.filter(function(t){return typeof t=="string"})}function qc(e){var t=e;return e.split(".").length===3&&(t=e.split(".").slice(0,-1).join(".")),t}function fs(e){return function(r){return e+" "+r}}function Ag(e){return parseInt(e.split(".")[0])}function Uc(e,t){if(e.length===0)return[];var r=iD(e.map(Ag)),n=r[r.length-t];if(!n)return e;for(var s=[],i=e.length-1;i>=0&&!(n>Ag(e[i]));i--)s.unshift(e[i]);return s}function iD(e){for(var t=[],r=0;r<e.length;r++)t.indexOf(e[r])===-1&&t.push(e[r]);return t}function Gc(e,t,r){for(var n in r)e[t+" "+n]=r[n]}function X2(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 Qye(e,t){return t=t.split(".").map(ps),t[1]=t[1]||0,t[2]=t[2]||0,e===">"?function(r){return r=r.split(".").map(ps),Do(r,t)>0}:e===">="?function(r){return r=r.split(".").map(ps),Do(r,t)>=0}:e==="<"?function(r){return r=r.split(".").map(ps),Do(t,r)>0}:function(r){return r=r.split(".").map(ps),Do(t,r)>=0}}function ps(e){return parseInt(e)}function Wc(e,t){return e<t?-1:e>t?1:0}function Do(e,t){return Wc(parseInt(e[0]),parseInt(t[0]))||Wc(parseInt(e[1]||"0"),parseInt(t[1]||"0"))||Wc(parseInt(e[2]||"0"),parseInt(t[2]||"0"))}function J2(e,t){switch(t=t.split(".").map(ps),typeof t[1]=="undefined"&&(t[1]="x"),e){case"<=":return function(r){return r=r.split(".").map(ps),z2(r,t)<=0};case">=":default:return function(r){return r=r.split(".").map(ps),z2(r,t)>=0}}}function z2(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 Zye(e,t){return e.versions.indexOf(t)!==-1?t:be.versionAliases[e.name][t]?be.versionAliases[e.name][t]:!1}function Vc(e,t){var r=Zye(e,t);return r||(e.versions.length===1?e.versions[0]:!1)}function aD(e,t){return e=e/1e3,Object.keys(Nn).reduce(function(r,n){var s=ds(n,t);if(!s)return r;var i=Object.keys(s.releaseDate).filter(function(a){var o=s.releaseDate[a];return o!==null&&o>=e});return r.concat(i.map(fs(s.name)))},[])}function Q2(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function ds(e,t){if(e=e.toLowerCase(),e=be.aliases[e]||e,t.mobileToDesktop&&be.desktopNames[e]){var r=be.data[be.desktopNames[e]];if(e==="android")return e0e(Q2(be.data[e]),r);var n=Q2(r);return n.name=e,n}return be.data[e]}function Z2(e,t){var r=t.indexOf(nD);return e.filter(function(n){return/^(?:[2-4]\.|[34]$)/.test(n)}).concat(t.slice(r))}function e0e(e,t){return e.released=Z2(e.released,t.released),e.versions=Z2(e.versions,t.versions),e.released.forEach(function(r){e.releaseDate[r]===void 0&&(e.releaseDate[r]=t.releaseDate[r])}),e}function $i(e,t){var r=ds(e,t);if(!r)throw new hr("Unknown browser "+e);return r}function t0e(e){return new hr("Unknown browser query `"+e+"`. Maybe you are using old Browserslist or made typo in query.")}function $c(e,t,r,n){var s=1;switch(t){case"android":if(n.mobileToDesktop)return e;var i=be.data.chrome.released;s=i.length-i.indexOf(nD);break;case"op_mob":var a=be.data.op_mob.released.slice(-1)[0];s=Ag(a)-Jye+1;break;default:return e}return r<=s?e.slice(-1):e.slice(s-1-r)}function eD(e,t){return typeof e=="string"&&(e.indexOf("y")>=0||t&&e.indexOf("a")>=0)}function Wi(e,t){return rD(Cg,e).reduce(function(r,n,s){if(n.not&&s===0)throw new hr("Write any browsers query (for instance, `defaults`) before `"+n.query+"`");var i=Cg[n.type],a=i.select.call(be,t,n).map(function(l){var u=l.split(" ");return u[1]==="0"?u[0]+" "+ds(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 oD(e){return typeof e=="undefined"&&(e={}),typeof e.path=="undefined"&&(e.path=Kc.resolve?Kc.resolve("."):"."),e}function lD(e,t){if(typeof e=="undefined"||e===null){var r=be.loadConfig(t);r?e=r:e=be.defaults}return e}function uD(e){if(!(typeof e=="string"||Array.isArray(e)))throw new hr("Browser queries must be an array or string. Got "+typeof e+".")}var Sg={};function be(e,t){t=oD(t),e=lD(e,t),uD(e);var r={ignoreUnknownVersions:t.ignoreUnknownVersions,dangerousExtend:t.dangerousExtend,mobileToDesktop:t.mobileToDesktop,path:t.path,env:t.env};Xt.oldDataWarning(be.data);var n=Xt.getStat(t,be.data);if(n){r.customUsage={};for(var s in n)Gc(r.customUsage,s,n[s])}var i=JSON.stringify([e,r]);if(Sg[i])return Sg[i];var a=iD(Wi(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 Do(c.split("."),u.split("."))}else return Wc(o[0],l[0])});return Xt.env.BROWSERSLIST_DISABLE_CACHE||(Sg[i]=a),a}be.parse=function(e,t){return t=oD(t),e=lD(e,t),uD(e),rD(Cg,e)};be.cache={};be.data={};be.usage={global:{},custom:null};be.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];be.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"};be.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};be.versionAliases={};be.clearCaches=Xt.clearCaches;be.parseConfig=Xt.parseConfig;be.readConfig=Xt.readConfig;be.findConfig=Xt.findConfig;be.loadConfig=Xt.loadConfig;be.coverage=function(e,t){var r;if(typeof t=="undefined")r=be.usage.global;else if(t==="my stats"){var n={};n.path=Kc.resolve?Kc.resolve("."):".";var s=Xt.getStat(n);if(!s)throw new hr("Custom usage statistics was not provided");r={};for(var i in s)Gc(r,i,s[i])}else if(typeof t=="string")t.length>2?t=t.toLowerCase():t=t.toUpperCase(),Xt.loadCountry(be.usage,t,be.data),r=be.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 xg(e,t){var r=be.nodeVersions.filter(function(n){return sD(n,t.version)});if(r.length===0){if(e.ignoreUnknownVersions)return[];throw new hr("Unknown version "+t.version+" of Node.js")}return["node "+r[r.length-1]]}function Pg(e,t){var r=parseInt(t.year),n=parseInt(t.month||"01")-1,s=parseInt(t.day||"01");return aD(Date.UTC(r,n,s,0,0,0),e)}function tD(e,t){var r=parseFloat(t.coverage),n=be.usage.global;if(t.place)if(t.place.match(/^my\s+stats$/i)){if(!e.customUsage)throw new hr("Custom usage statistics was not provided");n=e.customUsage}else{var s;t.place.length===2?s=t.place.toUpperCase():s=t.place.toLowerCase(),Xt.loadCountry(be.usage,s,be.data),n=be.usage[s]}for(var i=Object.keys(n).sort(function(c,f){return n[f]-n[c]}),a=0,o=[],l,u=0;u<i.length&&(l=i[u],!(n[l]===0||(a+=n[l],o.push(l),a>=r)));u++);return o}var Cg={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,t){return Object.keys(Nn).reduce(function(r,n){var s=ds(n,e);if(!s)return r;var i=Uc(s.released,t.versions);return i=i.map(fs(s.name)),i=$c(i,s.name,t.versions,e),r.concat(i)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,t){return Object.keys(Nn).reduce(function(r,n){var s=ds(n,e);if(!s)return r;var i=s.released.slice(-t.versions);return i=i.map(fs(s.name)),i=$c(i,s.name,t.versions,e),r.concat(i)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,t){var r=Uc(Object.keys(Xr),t.versions);return r.map(function(n){return"chrome "+Xr[n]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(e,t){return Uc(be.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=$i(t.browser,e),n=Uc(r.released,t.versions),s=n.map(fs(r.name));return s=$c(s,r.name,t.versions,e),s}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,t){return Object.keys(Xr).slice(-t.versions).map(function(r){return"chrome "+Xr[r]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(e,t){return be.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=$i(t.browser,e),n=r.released.slice(-t.versions).map(fs(r.name));return n=$c(n,r.name,t.versions,e),n}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(Nn).reduce(function(t,r){var n=ds(r,e);if(!n)return t;var s=n.versions.filter(function(i){return n.released.indexOf(i)===-1});return s=s.map(fs(n.name)),t.concat(s)},[])}},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=$i(t.browser,e);return r.versions.filter(function(n){return r.released.indexOf(n)===-1}).map(fs(r.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,t){return aD(Date.now()-Xye*t.years,e)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:Pg},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:Pg},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:Pg},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,t){var r=parseFloat(t.popularity),n=be.usage.global;return Object.keys(n).reduce(function(s,i){return t.sign===">"?n[i]>r&&s.push(i):t.sign==="<"?n[i]<r&&s.push(i):t.sign==="<="?n[i]<=r&&s.push(i):n[i]>=r&&s.push(i),s},[])}},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 hr("Custom usage statistics was not provided");var n=e.customUsage;return Object.keys(n).reduce(function(s,i){var a=n[i];return a==null||(t.sign===">"?a>r&&s.push(i):t.sign==="<"?a<r&&s.push(i):t.sign==="<="?a<=r&&s.push(i):a>=r&&s.push(i)),s},[])}},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=Xt.loadStat(e,t.config,be.data);if(n){e.customUsage={};for(var s in n)Gc(e.customUsage,s,n[s])}if(!e.customUsage)throw new hr("Custom usage statistics was not provided");var i=e.customUsage;return Object.keys(i).reduce(function(a,o){var l=i[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(),Xt.loadCountry(be.usage,n,be.data);var s=be.usage[n];return Object.keys(s).reduce(function(i,a){var o=s[a];return o==null||(t.sign===">"?o>r&&i.push(a):t.sign==="<"?o<r&&i.push(a):t.sign==="<="?o<=r&&i.push(a):o>=r&&i.push(a)),i},[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:tD},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:tD},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially) )?supports\s+([\w-]+)$/,select:function(e,t){Xt.loadFeature(be.cache,t.feature);var r=t.supportType!=="fully",n=be.cache[t.feature],s=[];for(var i in n){var a=ds(i,e),o=e.mobileToDesktop&&i in be.desktopNames&&eD(n[i][a.released.slice(-1)[0]],r);a.versions.forEach(function(l){var u=n[i][l];u===void 0&&o&&(u=n[be.desktopNames[i]][l]),eD(u,r)&&s.push(i+" "+l)})}return s}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){var r=qc(t.from),n=qc(t.to),s=parseFloat(t.from),i=parseFloat(t.to);if(!Xr[r])throw new hr("Unknown version "+s+" of electron");if(!Xr[n])throw new hr("Unknown version "+i+" of electron");return Object.keys(Xr).filter(function(a){var o=parseFloat(a);return o>=s&&o<=i}).map(function(a){return"chrome "+Xr[a]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){return be.nodeVersions.filter(J2(">=",t.from)).filter(J2("<=",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=$i(t.browser,e),n=parseFloat(Vc(r,t.from)||t.from),s=parseFloat(Vc(r,t.to)||t.to);function i(a){var o=parseFloat(a);return o>=n&&o<=s}return r.released.filter(i).map(fs(r.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){var r=qc(t.version);return Object.keys(Xr).filter(X2(t.sign,r)).map(function(n){return"chrome "+Xr[n]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){return be.nodeVersions.filter(Qye(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=$i(t.browser,e),s=be.versionAliases[n.name][r];return s&&(r=s),n.released.filter(X2(t.sign,r)).map(function(i){return n.name+" "+i})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 115"]}},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=qc(t.version),n=Xr[r];if(!n)throw new hr("Unknown version "+t.version+" of electron");return["chrome "+n]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:xg},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:xg},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:xg},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(e){return[Xt.currentNode(Wi,e)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(e){var t=Date.now(),r=Object.keys(Tg).filter(function(n){return t<Date.parse(Tg[n].end)&&t>Date.parse(Tg[n].start)&&zye(n)}).map(function(n){return"node "+n.slice(1)});return Wi(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=$i(t.browser,e),s=Vc(n,r);if(s)r=s;else if(r.indexOf(".")===-1?s=r+".0":s=r.replace(/\.0$/,""),s=Vc(n,s),s)r=s;else{if(e.ignoreUnknownVersions)return[];throw new hr("Unknown version "+r+" of "+t.browser)}return[n.name+" "+r]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,select:function(e){return be(void 0,e)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,select:function(e,t){return Wi(Xt.loadQueries(e,t.config),e)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(e){return Wi(be.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 Wi(t,e)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(e,t){throw ds(t.query,e)?new hr("Specify versions in Browserslist query for browser "+t.query):t0e(t.query)}}};(function(){for(var e in Nn){var t=Nn[e];be.data[e]={name:e,versions:Y2(Nn[e].versions),released:Y2(Nn[e].versions.slice(0,-3)),releaseDate:Nn[e].release_date},Gc(be.usage.global,e,t.usage_global),be.versionAliases[e]={};for(var r=0;r<t.versions.length;r++){var n=t.versions[r];if(n&&n.indexOf("-")!==-1)for(var s=n.split("-"),i=0;i<s.length;i++)be.versionAliases[e][s[i]]=n}}be.nodeVersions=Yye.map(function(a){return a.version})})();cD.exports=be});var Dg=g(wg=>{"use strict";Object.defineProperty(wg,"__esModule",{value:!0});wg.findSuggestion=n0e;var{min:pD}=Math;function r0e(e,t){let r=[],n=[],s,i,a=e.length,o=t.length;if(!a)return o;if(!o)return a;for(i=0;i<=o;i++)r[i]=i;for(s=1;s<=a;s++){for(n=[s],i=1;i<=o;i++)n[i]=e[s-1]===t[i-1]?r[i-1]:pD(r[i-1],r[i],n[i-1])+1;r=n}return n[o]}function n0e(e,t){let r=t.map(n=>r0e(n,e));return t[r.indexOf(pD(...r))]}});var dD=g(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.OptionValidator=void 0;var s0e=Dg(),Ig=class{constructor(t){this.descriptor=t}validateTopLevelOptions(t,r){let n=Object.keys(r);for(let s of Object.keys(t))if(!n.includes(s))throw new Error(this.formatMessage(`'${s}' is not a valid top-level option.
  1631. - Did you mean '${(0,s0e.findSuggestion)(s,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}`}};Hc.OptionValidator=Ig});var Xc=g(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Object.defineProperty(Yc,"OptionValidator",{enumerable:!0,get:function(){return i0e.OptionValidator}});Object.defineProperty(Yc,"findSuggestion",{enumerable:!0,get:function(){return a0e.findSuggestion}});var i0e=dD(),a0e=Dg()});var hD=g((ADe,o0e)=>{o0e.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 yD=g((CDe,mD)=>{mD.exports=hD()});var bD=g((wDe,gD)=>{"use strict";gD.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var vD=g((DDe,ED)=>{"use strict";ED.exports=it;it.Node=Ws;it.create=it;function it(e){var t=this;if(t instanceof it||(t=new it),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}it.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};it.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++}};it.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++}};it.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)u0e(this,arguments[e]);return this.length};it.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)c0e(this,arguments[e]);return this.length};it.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}};it.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}};it.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};it.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};it.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};it.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};it.prototype.map=function(e,t){t=t||this;for(var r=new it,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};it.prototype.mapReverse=function(e,t){t=t||this;for(var r=new it,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};it.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 s=0;n!==null;s++)r=e(r,n.value,s),n=n.next;return r};it.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 s=this.length-1;n!==null;s--)r=e(r,n.value,s),n=n.prev;return r};it.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};it.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};it.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 it;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,s=this.head;s!==null&&n<e;n++)s=s.next;for(;s!==null&&n<t;n++,s=s.next)r.push(s.value);return r};it.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 it;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,s=this.tail;s!==null&&n>t;n--)s=s.prev;for(;s!==null&&n>e;n--,s=s.prev)r.push(s.value);return r};it.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 s=[],r=0;n&&r<t;r++)s.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=l0e(this,n,arguments[r]);return s};it.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 l0e(e,t,r){var n=t===e.head?new Ws(r,null,t,e):new Ws(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function u0e(e,t){e.tail=new Ws(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function c0e(e,t){e.head=new Ws(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Ws(e,t,r,n){if(!(this instanceof Ws))return new Ws(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{bD()(it)}catch{}});var AD=g((IDe,PD)=>{"use strict";var f0e=vD(),Ks=Symbol("max"),Bn=Symbol("length"),Ki=Symbol("lengthCalculator"),Oo=Symbol("allowStale"),Gs=Symbol("maxAge"),kn=Symbol("dispose"),TD=Symbol("noDisposeOnSet"),Mt=Symbol("lruList"),Jr=Symbol("cache"),xD=Symbol("updateAgeOnGet"),Og=()=>1,Ng=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[Ks]=t.max||1/0,n=t.length||Og;if(this[Ki]=typeof n!="function"?Og:n,this[Oo]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Gs]=t.maxAge||0,this[kn]=t.dispose,this[TD]=t.noDisposeOnSet||!1,this[xD]=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[Ks]=t||1/0,Io(this)}get max(){return this[Ks]}set allowStale(t){this[Oo]=!!t}get allowStale(){return this[Oo]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Gs]=t,Io(this)}get maxAge(){return this[Gs]}set lengthCalculator(t){typeof t!="function"&&(t=Og),t!==this[Ki]&&(this[Ki]=t,this[Bn]=0,this[Mt].forEach(r=>{r.length=this[Ki](r.value,r.key),this[Bn]+=r.length})),Io(this)}get lengthCalculator(){return this[Ki]}get length(){return this[Bn]}get itemCount(){return this[Mt].length}rforEach(t,r){r=r||this;for(let n=this[Mt].tail;n!==null;){let s=n.prev;SD(this,t,n,r),n=s}}forEach(t,r){r=r||this;for(let n=this[Mt].head;n!==null;){let s=n.next;SD(this,t,n,r),n=s}}keys(){return this[Mt].toArray().map(t=>t.key)}values(){return this[Mt].toArray().map(t=>t.value)}reset(){this[kn]&&this[Mt]&&this[Mt].length&&this[Mt].forEach(t=>this[kn](t.key,t.value)),this[Jr]=new Map,this[Mt]=new f0e,this[Bn]=0}dump(){return this[Mt].map(t=>Jc(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Mt]}set(t,r,n){if(n=n||this[Gs],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let s=n?Date.now():0,i=this[Ki](r,t);if(this[Jr].has(t)){if(i>this[Ks])return Gi(this,this[Jr].get(t)),!1;let l=this[Jr].get(t).value;return this[kn]&&(this[TD]||this[kn](t,l.value)),l.now=s,l.maxAge=n,l.value=r,this[Bn]+=i-l.length,l.length=i,this.get(t),Io(this),!0}let a=new kg(t,r,i,s,n);return a.length>this[Ks]?(this[kn]&&this[kn](t,r),!1):(this[Bn]+=a.length,this[Mt].unshift(a),this[Jr].set(t,this[Mt].head),Io(this),!0)}has(t){if(!this[Jr].has(t))return!1;let r=this[Jr].get(t).value;return!Jc(this,r)}get(t){return _g(this,t,!0)}peek(t){return _g(this,t,!1)}pop(){let t=this[Mt].tail;return t?(Gi(this,t),t.value):null}del(t){Gi(this,this[Jr].get(t))}load(t){this.reset();let r=Date.now();for(let n=t.length-1;n>=0;n--){let s=t[n],i=s.e||0;if(i===0)this.set(s.k,s.v);else{let a=i-r;a>0&&this.set(s.k,s.v,a)}}}prune(){this[Jr].forEach((t,r)=>_g(this,r,!1))}},_g=(e,t,r)=>{let n=e[Jr].get(t);if(n){let s=n.value;if(Jc(e,s)){if(Gi(e,n),!e[Oo])return}else r&&(e[xD]&&(n.value.now=Date.now()),e[Mt].unshiftNode(n));return s.value}},Jc=(e,t)=>{if(!t||!t.maxAge&&!e[Gs])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[Gs]&&r>e[Gs]},Io=e=>{if(e[Bn]>e[Ks])for(let t=e[Mt].tail;e[Bn]>e[Ks]&&t!==null;){let r=t.prev;Gi(e,t),t=r}},Gi=(e,t)=>{if(t){let r=t.value;e[kn]&&e[kn](r.key,r.value),e[Bn]-=r.length,e[Jr].delete(r.key),e[Mt].removeNode(t)}},kg=class{constructor(t,r,n,s,i){this.key=t,this.value=r,this.length=n,this.now=s,this.maxAge=i||0}},SD=(e,t,r,n)=>{let s=r.value;Jc(e,s)&&(Gi(e,r),e[Oo]||(s=void 0)),s&&t.call(n,s.value,s.key,e)};PD.exports=Ng});var zc=g(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.unreleasedLabels=Hi.browserNameMap=void 0;var p0e={safari:"tp"};Hi.unreleasedLabels=p0e;var d0e={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"};Hi.browserNameMap=d0e});var Qc=g(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.getHighestUnreleased=E0e;hs.getLowestImplementedVersion=v0e;hs.getLowestUnreleased=ID;hs.isUnreleasedVersion=b0e;hs.semverMin=DD;hs.semverify=g0e;var CD=wn(),h0e=Xc(),wD=zc(),m0e=/^(\d+|\d+.\d+)$/,y0e=new h0e.OptionValidator("@babel/helper-compilation-targets");function DD(e,t){return e&&CD.lt(e,t)?e:t}function g0e(e){if(typeof e=="string"&&CD.valid(e))return e;y0e.invariant(typeof e=="number"||typeof e=="string"&&m0e.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 b0e(e,t){let r=wD.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function ID(e,t,r){let n=wD.unreleasedLabels[r];return e===n?t:t===n?e:DD(e,t)}function E0e(e,t,r){return ID(e,t,r)===e?t:e}function v0e(e,t){let r=e[t];return!r&&t==="android"?e.chrome:r}});var OD=g(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.TargetNames=void 0;var T0e={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"};Zc.TargetNames=T0e});var Bg=g(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.prettifyTargets=P0e;ef.prettifyVersion=_D;var S0e=wn(),x0e=zc();function _D(e){if(typeof e!="string")return e;let{major:t,minor:r,patch:n}=S0e.parse(e),s=[t];return(r||n)&&s.push(r),n&&s.push(n),s.join(".")}function P0e(e){return Object.keys(e).reduce((t,r)=>{let n=e[r],s=x0e.unreleasedLabels[r];return typeof n=="string"&&s!==n&&(n=_D(n)),t[r]=n,t},{})}});var kD=g(Fg=>{"use strict";Object.defineProperty(Fg,"__esModule",{value:!0});Fg.getInclusionReasons=C0e;var A0e=wn(),ND=Bg(),tf=Qc();function C0e(e,t,r){let n=r[e]||{};return Object.keys(t).reduce((s,i)=>{let a=(0,tf.getLowestImplementedVersion)(n,i),o=t[i];if(!a)s[i]=(0,ND.prettifyVersion)(o);else{let l=(0,tf.isUnreleasedVersion)(a,i);!(0,tf.isUnreleasedVersion)(o,i)&&(l||A0e.lt(o.toString(),(0,tf.semverify)(a)))&&(s[i]=(0,ND.prettifyVersion)(o))}return s},{})}});var BD=g((FDe,w0e)=>{w0e.exports={"transform-unicode-sets-regex":{chrome:"112",opera:"98",edge:"112",firefox:"116",safari:"tp",node:"20",deno:"1.32",opera_mobile:"75",electron:"24.0"},"transform-class-static-block":{chrome:"94",opera:"80",edge:"94",firefox:"93",safari:"16.4",node:"16.11",deno:"1.14",ios:"16.4",samsung:"17",opera_mobile:"66",electron:"15.0"},"proposal-class-static-block":{chrome:"94",opera:"80",edge:"94",firefox:"93",safari:"16.4",node:"16.11",deno:"1.14",ios:"16.4",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",safari:"16.3",node:"6",deno:"1",ios:"16.3",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 jD=g((jDe,FD)=>{FD.exports=BD()});var qD=g(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=I0e;_o.isRequired=RD;_o.targetsSupported=MD;var LD=wn(),D0e=jD(),rf=Qc();function MD(e,t){let r=Object.keys(e);return r.length===0?!1:r.filter(s=>{let i=(0,rf.getLowestImplementedVersion)(t,s);if(!i)return!0;let a=e[s];if((0,rf.isUnreleasedVersion)(a,s))return!1;if((0,rf.isUnreleasedVersion)(i,s))return!0;if(!LD.valid(a.toString()))throw new Error(`Invalid version passed for target "${s}": "${a}". Versions must be in semver format (major.minor.patch)`);return LD.gt((0,rf.semverify)(i),a.toString())}).length===0}function RD(e,t,{compatData:r=D0e,includes:n,excludes:s}={}){return s!=null&&s.has(e)?!1:n!=null&&n.has(e)?!0:!MD(t,r[e])}function I0e(e,t,r,n,s,i,a){let o=new Set,l={compatData:e,includes:t,excludes:r};for(let u in e)if(RD(u,n,l))o.add(u);else if(a){let c=a.get(u);c&&o.add(c)}return s==null||s.forEach(u=>!r.has(u)&&o.add(u)),i==null||i.forEach(u=>!t.has(u)&&o.delete(u)),o}});var Rg=g(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});Object.defineProperty(un,"TargetNames",{enumerable:!0,get:function(){return Lg.TargetNames}});un.default=$0e;Object.defineProperty(un,"filterItems",{enumerable:!0,get:function(){return KD.default}});Object.defineProperty(un,"getInclusionReasons",{enumerable:!0,get:function(){return k0e.getInclusionReasons}});un.isBrowsersQueryValid=GD;Object.defineProperty(un,"isRequired",{enumerable:!0,get:function(){return KD.isRequired}});Object.defineProperty(un,"prettifyTargets",{enumerable:!0,get:function(){return N0e.prettifyTargets}});Object.defineProperty(un,"unreleasedLabels",{enumerable:!0,get:function(){return WD.unreleasedLabels}});var VD=fD(),$D=Xc(),O0e=yD(),_0e=AD(),zr=Qc(),WD=zc(),Lg=OD(),N0e=Bg(),k0e=kD(),KD=qD(),jg=O0e["es6.module"],Mg=new $D.OptionValidator("@babel/helper-compilation-targets");function B0e(e){let t=Object.keys(Lg.TargetNames);for(let r of Object.keys(e))if(!(r in Lg.TargetNames))throw new Error(Mg.formatMessage(`'${r}' is not a valid target
  1632. - Did you mean '${(0,$D.findSuggestion)(r,t)}'?`));return e}function GD(e){return typeof e=="string"||Array.isArray(e)&&e.every(t=>typeof t=="string")}function F0e(e){return Mg.invariant(e===void 0||GD(e),`'${String(e)}' is not a valid browserslist query`),e}function j0e(e){return e.reduce((t,r)=>{let[n,s]=r.split(" "),i=WD.browserNameMap[n];if(!i)return t;try{let a=s.split("-")[0].toLowerCase(),o=(0,zr.isUnreleasedVersion)(a,i);if(!t[i])return t[i]=o?a:(0,zr.semverify)(a),t;let l=t[i],u=(0,zr.isUnreleasedVersion)(l,i);if(u&&o)t[i]=(0,zr.getLowestUnreleased)(l,a,i);else if(u)t[i]=(0,zr.semverify)(a);else if(!u&&!o){let c=(0,zr.semverify)(a);t[i]=(0,zr.semverMin)(l,c)}}catch{}return t},{})}function L0e(e){e.length&&(console.warn(`Warning, the following targets are using a decimal version:
  1633. `),e.forEach(({target:t,value:r})=>console.warn(` ${t}: ${r}`)),console.warn(`
  1634. We recommend using a string for minor/patch versions to avoid numbers like 6.10
  1635. getting parsed as 6.1, which can lead to unexpected behavior.
  1636. `))}function HD(e,t){try{return(0,zr.semverify)(t)}catch{throw new Error(Mg.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function M0e(e){return["node",e===!0||e==="current"?process.versions.node:HD("node",e)]}function R0e(e,t){let r=(0,zr.isUnreleasedVersion)(t,e)?t.toLowerCase():HD(e,t);return[e,r]}function q0e(e){let t=Object.assign({},e);return delete t.esmodules,delete t.browsers,t}function U0e(e,t){let r=VD(e,{mobileToDesktop:!0,env:t});return j0e(r)}var UD=new _0e({max:64});function V0e(e,t){let r=typeof e=="string"?e:e.join()+t,n=UD.get(r);return n||(n=U0e(e,t),UD.set(r,n)),Object.assign({},n)}function $0e(e={},t={}){var r,n;let{browsers:s,esmodules:i}=e,{configPath:a="."}=t;F0e(s);let o=q0e(e),l=B0e(o),c=!!s||Object.keys(l).length>0,f=!t.ignoreBrowserslistConfig&&!c;if(!s&&f&&(s=VD.loadConfig({config:t.configFile,path:a,env:t.browserslistEnv}),s==null&&(s=[])),i&&(i!=="intersect"||!((r=s)!=null&&r.length))&&(s=Object.keys(jg).map(C=>`${C} >= ${jg[C]}`).join(", "),i=!1),(n=s)!=null&&n.length){let C=V0e(s,t.browserslistEnv);if(i==="intersect")for(let p of Object.keys(C))if(p!=="deno"&&p!=="ie"){let b=jg[p==="opera_mobile"?"op_mob":p];if(b){let E=C[p];C[p]=(0,zr.getHighestUnreleased)(E,(0,zr.semverify)(b),p)}else delete C[p]}else delete C[p];l=Object.assign(C,l)}let d={},m=[];for(let C of Object.keys(l).sort()){let p=l[C];typeof p=="number"&&p%1!==0&&m.push({target:C,value:p});let[b,E]=C==="node"?M0e(p):R0e(C,p);E&&(d[b]=E)}return L0e(m),d}});var qg=g(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.resolveBrowserslistConfigFile=W0e;nf.resolveTargets=K0e;function YD(){let e=require("path");return YD=function(){return e},e}function XD(){let e=Rg();return XD=function(){return e},e}function W0e(e,t){return YD().resolve(t,e)}function K0e(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:s}=e,i,a=!1;return typeof s=="string"?i=s:a=s===!1,(0,XD().default)(n,{ignoreBrowserslistConfig:a,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}});var Ug=g(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.createCachedDescriptors=X0e;ko.createDescriptor=iI;ko.createUncachedDescriptors=J0e;function ZD(){let e=Er();return ZD=function(){return e},e}var JD=u2(),zD=Fo(),G0e=Bo(),No=Rs(),H0e=qg();function Y0e(e,t){var r,n,s,i;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&&((r=e.file)==null?void 0:r.request)===((n=t.file)==null?void 0:n.request)&&((s=e.file)==null?void 0:s.resolved)===((i=t.file)==null?void 0:i.resolved)}function*QD(e){return e}function eI(e,t){return typeof e.browserslistConfigFile=="string"&&(e.browserslistConfigFile=(0,H0e.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)),e}function X0e(e,t,r){let{plugins:n,presets:s,passPerPreset:i}=t;return{options:eI(t,e),plugins:n?()=>ege(n,e)(r):()=>QD([]),presets:s?()=>Q0e(s,e)(r)(!!i):()=>QD([])}}function J0e(e,t,r){return{options:eI(t,e),plugins:(0,JD.once)(()=>nI(t.plugins||[],e,r)),presets:(0,JD.once)(()=>rI(t.presets||[],e,r,!!t.passPerPreset))}}var z0e=new WeakMap,Q0e=(0,No.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,No.makeStrongCacheSync)(n=>(0,No.makeStrongCache)(function*(s){return(yield*rI(e,r,n,s)).map(a=>tI(z0e,a))}))}),Z0e=new WeakMap,ege=(0,No.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,No.makeStrongCache)(function*(n){return(yield*nI(e,r,n)).map(i=>tI(Z0e,i))})}),tge={};function tI(e,t){let{value:r,options:n=tge}=t;if(n===!1)return t;let s=e.get(r);s||(s=new WeakMap,e.set(r,s));let i=s.get(n);if(i||(i=[],s.set(n,i)),i.indexOf(t)===-1){let a=i.filter(o=>Y0e(o,t));if(a.length>0)return a[0];i.push(t)}return t}function*rI(e,t,r,n){return yield*sI("preset",e,t,r,n)}function*nI(e,t,r){return yield*sI("plugin",e,t,r)}function*sI(e,t,r,n,s){let i=yield*ZD().all(t.map((a,o)=>iI(a,r,{type:e,alias:`${n}$${o}`,ownPass:!!s})));return rge(i),i}function*iI(e,t,{type:r,alias:n,ownPass:s}){let i=(0,G0e.getItemDescriptor)(e);if(i)return i;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"?zD.loadPlugin:zD.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:s,file:u}}function rge(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 s=e.filter(i=>i.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(s,null,2)}`].join(`
  1637. `))}n.add(r.name)}}});var Bo=g(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.createConfigItem=sge;jo.createItemFromDescriptor=oI;jo.getItemDescriptor=ige;function aI(){let e=require("path");return aI=function(){return e},e}var nge=Ug();function oI(e){return new sf(e)}function*sge(e,{dirname:t=".",type:r}={}){let n=yield*(0,nge.createDescriptor)(e,aI().resolve(t),{type:r,alias:"programmatic item"});return oI(n)}var Vg=Symbol.for("@babel/core@7 - ConfigItem");function ige(e){if(e!=null&&e[Vg])return e._descriptor}var sf=class{constructor(t){this._descriptor=void 0,this[Vg]=!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,Vg,{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(sf.prototype)});var lI=g(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.default=void 0;var age={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=age});var Kg=g(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt.access=vr;wt.assertArray=Wg;wt.assertAssumptions=Age;wt.assertBabelrcSearch=vge;wt.assertBoolean=$g;wt.assertCallerMetadata=pge;wt.assertCompact=cge;wt.assertConfigApplicableTest=bge;wt.assertConfigFileSearch=Ege;wt.assertFunction=mge;wt.assertIgnoreList=yge;wt.assertInputSourceMap=dge;wt.assertObject=fI;wt.assertPluginList=Tge;wt.assertRootMode=lge;wt.assertSourceMaps=uge;wt.assertSourceType=fge;wt.assertString=hge;wt.assertTargets=xge;wt.msg=Ke;function Lo(){let e=Rg();return Lo=function(){return e},e}var oge=Mo();function Ke(e){switch(e.type){case"root":return"";case"env":return`${Ke(e.parent)}.env["${e.name}"]`;case"overrides":return`${Ke(e.parent)}.overrides[${e.index}]`;case"option":return`${Ke(e.parent)}.${e.name}`;case"access":return`${Ke(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function vr(e,t){return{type:"access",name:t,parent:e}}function lge(e,t){if(t!==void 0&&t!=="root"&&t!=="upward"&&t!=="upward-optional")throw new Error(`${Ke(e)} must be a "root", "upward", "upward-optional" or undefined`);return t}function uge(e,t){if(t!==void 0&&typeof t!="boolean"&&t!=="inline"&&t!=="both")throw new Error(`${Ke(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(`${Ke(e)} must be a boolean, "auto", or undefined`);return t}function fge(e,t){if(t!==void 0&&t!=="module"&&t!=="script"&&t!=="unambiguous")throw new Error(`${Ke(e)} must be "module", "script", "unambiguous", or undefined`);return t}function pge(e,t){let r=fI(e,t);if(r){if(typeof r.name!="string")throw new Error(`${Ke(e)} set but does not contain "name" property string`);for(let n of Object.keys(r)){let s=vr(e,n),i=r[n];if(i!=null&&typeof i!="boolean"&&typeof i!="string"&&typeof i!="number")throw new Error(`${Ke(s)} must be null, undefined, a boolean, a string, or a number.`)}}return t}function dge(e,t){if(t!==void 0&&typeof t!="boolean"&&(typeof t!="object"||!t))throw new Error(`${Ke(e)} must be a boolean, object, or undefined`);return t}function hge(e,t){if(t!==void 0&&typeof t!="string")throw new Error(`${Ke(e)} must be a string, or undefined`);return t}function mge(e,t){if(t!==void 0&&typeof t!="function")throw new Error(`${Ke(e)} must be a function, or undefined`);return t}function $g(e,t){if(t!==void 0&&typeof t!="boolean")throw new Error(`${Ke(e)} must be a boolean, or undefined`);return t}function fI(e,t){if(t!==void 0&&(typeof t!="object"||Array.isArray(t)||!t))throw new Error(`${Ke(e)} must be an object, or undefined`);return t}function Wg(e,t){if(t!=null&&!Array.isArray(t))throw new Error(`${Ke(e)} must be an array, or undefined`);return t}function yge(e,t){let r=Wg(e,t);return r==null||r.forEach((n,s)=>gge(vr(e,s),n)),r}function gge(e,t){if(typeof t!="string"&&typeof t!="function"&&!(t instanceof RegExp))throw new Error(`${Ke(e)} must be an array of string/Function/RegExp values, or undefined`);return t}function bge(e,t){if(t===void 0)return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!of(r))throw new Error(`${Ke(vr(e,n))} must be a string/Function/RegExp.`)});else if(!of(t))throw new Error(`${Ke(e)} must be a string/Function/RegExp, or an array of those`);return t}function of(e){return typeof e=="string"||typeof e=="function"||e instanceof RegExp}function Ege(e,t){if(t!==void 0&&typeof t!="boolean"&&typeof t!="string")throw new Error(`${Ke(e)} must be a undefined, a boolean, a string, got ${JSON.stringify(t)}`);return t}function vge(e,t){if(t===void 0||typeof t=="boolean")return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!of(r))throw new Error(`${Ke(vr(e,n))} must be a string/Function/RegExp.`)});else if(!of(t))throw new Error(`${Ke(e)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(t)}`);return t}function Tge(e,t){let r=Wg(e,t);return r&&r.forEach((n,s)=>Sge(vr(e,s),n)),r}function Sge(e,t){if(Array.isArray(t)){if(t.length===0)throw new Error(`${Ke(e)} must include an object`);if(t.length>3)throw new Error(`${Ke(e)} may only be a two-tuple or three-tuple`);if(uI(vr(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(`${Ke(vr(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(`${Ke(vr(e,2))} must be a string, or undefined`)}}else uI(e,t);return t}function uI(e,t){if((typeof t!="object"||!t)&&typeof t!="string"&&typeof t!="function")throw new Error(`${Ke(e)} must be a string, object, function`);return t}function xge(e,t){if((0,Lo().isBrowsersQueryValid)(t))return t;if(typeof t!="object"||!t||Array.isArray(t))throw new Error(`${Ke(e)} must be a string, an array of strings or an object`);let r=vr(e,"browsers"),n=vr(e,"esmodules");cI(r,t.browsers),$g(n,t.esmodules);for(let s of Object.keys(t)){let i=t[s],a=vr(e,s);if(s==="esmodules")$g(a,i);else if(s==="browsers")cI(a,i);else if(Object.hasOwnProperty.call(Lo().TargetNames,s))Pge(a,i);else{let o=Object.keys(Lo().TargetNames).join(", ");throw new Error(`${Ke(a)} is not a valid target. Supported targets are ${o}`)}}return t}function cI(e,t){if(t!==void 0&&!(0,Lo().isBrowsersQueryValid)(t))throw new Error(`${Ke(e)} must be undefined, a string or an array of strings`)}function Pge(e,t){if(!(typeof t=="number"&&Math.round(t)===t)&&typeof t!="string")throw new Error(`${Ke(e)} must be a string or an integer number`)}function Age(e,t){if(t===void 0)return;if(typeof t!="object"||t===null)throw new Error(`${Ke(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 s of Object.keys(t)){let i=vr(e,s);if(!oge.assumptionsNames.has(s))throw new Error(`${Ke(i)} is not a supported assumption.`);if(typeof t[s]!="boolean")throw new Error(`${Ke(i)} must be a boolean.`);if(n&&t[s]===!1)throw new Error(`${Ke(i)} cannot be set to 'false' inside presets.`)}return t}});var Mo=g(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.assumptionsNames=void 0;Yi.checkNoUnwrappedItemOptionPairs=Bge;Yi.validate=Ige;var pI=lI(),ye=Kg(),Cge=qs(),dI={cwd:ye.assertString,root:ye.assertString,rootMode:ye.assertRootMode,configFile:ye.assertConfigFileSearch,caller:ye.assertCallerMetadata,filename:ye.assertString,filenameRelative:ye.assertString,code:ye.assertBoolean,ast:ye.assertBoolean,cloneInputAst:ye.assertBoolean,envName:ye.assertString},hI={babelrc:ye.assertBoolean,babelrcRoots:ye.assertBabelrcSearch},mI={extends:ye.assertString,ignore:ye.assertIgnoreList,only:ye.assertIgnoreList,targets:ye.assertTargets,browserslistConfigFile:ye.assertConfigFileSearch,browserslistEnv:ye.assertString},gI={inputSourceMap:ye.assertInputSourceMap,presets:ye.assertPluginList,plugins:ye.assertPluginList,passPerPreset:ye.assertBoolean,assumptions:ye.assertAssumptions,env:Nge,overrides:kge,test:ye.assertConfigApplicableTest,include:ye.assertConfigApplicableTest,exclude:ye.assertConfigApplicableTest,retainLines:ye.assertBoolean,comments:ye.assertBoolean,shouldPrintComment:ye.assertFunction,compact:ye.assertCompact,minified:ye.assertBoolean,auxiliaryCommentBefore:ye.assertString,auxiliaryCommentAfter:ye.assertString,sourceType:ye.assertSourceType,wrapPluginVisitorMethod:ye.assertFunction,highlightCode:ye.assertBoolean,sourceMaps:ye.assertSourceMaps,sourceMap:ye.assertSourceMaps,sourceFileName:ye.assertString,sourceRoot:ye.assertString,parserOpts:ye.assertObject,generatorOpts:ye.assertObject};Object.assign(gI,{getModuleId:ye.assertFunction,moduleRoot:ye.assertString,moduleIds:ye.assertBoolean,moduleId:ye.assertString});var wge=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"],Dge=new Set(wge);Yi.assumptionsNames=Dge;function bI(e){return e.type==="root"?e.source:bI(e.parent)}function Ige(e,t,r){try{return Gg({type:"root",source:e},t)}catch(n){let s=new Cge.default(n.message,r);throw n.code&&(s.code=n.code),s}}function Gg(e,t){let r=bI(e);return _ge(t),Object.keys(t).forEach(n=>{let s={type:"option",name:n,parent:e};if(r==="preset"&&mI[n])throw new Error(`${(0,ye.msg)(s)} is not allowed in preset options`);if(r!=="arguments"&&dI[n])throw new Error(`${(0,ye.msg)(s)} is only allowed in root programmatic options`);if(r!=="arguments"&&r!=="configfile"&&hI[n])throw r==="babelrcfile"||r==="extendsfile"?new Error(`${(0,ye.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,ye.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`);(gI[n]||mI[n]||hI[n]||dI[n]||Oge)(s,t[n])}),t}function Oge(e){let t=e.name;if(pI.default[t]){let{message:r,version:n=5}=pI.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,ye.msg)(e)} - ${r}`)}else{let r=new Error(`Unknown option: ${(0,ye.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 yI(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _ge(e){if(yI(e,"sourceMap")&&yI(e,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}function Nge(e,t){if(e.parent.type==="env")throw new Error(`${(0,ye.msg)(e)} is not allowed inside of another .env block`);let r=e.parent,n=(0,ye.assertObject)(e,t);if(n)for(let s of Object.keys(n)){let i=(0,ye.assertObject)((0,ye.access)(e,s),n[s]);if(!i)continue;Gg({type:"env",name:s,parent:r},i)}return n}function kge(e,t){if(e.parent.type==="env")throw new Error(`${(0,ye.msg)(e)} is not allowed inside an .env block`);if(e.parent.type==="overrides")throw new Error(`${(0,ye.msg)(e)} is not allowed inside an .overrides block`);let r=e.parent,n=(0,ye.assertArray)(e,t);if(n)for(let[s,i]of n.entries()){let a=(0,ye.access)(e,s),o=(0,ye.assertObject)(a,i);if(!o)throw new Error(`${(0,ye.msg)(a)} must be an object`);Gg({type:"overrides",index:s,parent:r},o)}return n}function Bge(e,t,r,n){if(t===0)return;let s=e[t-1],i=e[t];s.file&&s.options===void 0&&typeof i.value=="object"&&(n.message+=`
  1638. - Maybe you meant to use
  1639. "${r}s": [
  1640. ["${s.file.request}", ${JSON.stringify(i.value,void 0,2)}]
  1641. ]
  1642. To be a valid ${r}, its name and options should be wrapped in a pair of brackets`)}});var zg=g(Jg=>{"use strict";Object.defineProperty(Jg,"__esModule",{value:!0});Jg.default=Lge;function lf(){let e=require("path");return lf=function(){return e},e}var Ro=`\\${lf().sep}`,Hg=`(?:${Ro}|$)`,Yg=`[^${Ro}]+`,Xg=`(?:${Yg}${Ro})`,vI=`(?:${Yg}${Hg})`,Fge=`${Xg}*?`,jge=`${Xg}*?${vI}?`;function EI(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function Lge(e,t){let r=lf().resolve(t,e).split(lf().sep);return new RegExp(["^",...r.map((n,s)=>{let i=s===r.length-1;return n==="**"?i?jge:Fge:n==="*"?i?vI:Xg:n.indexOf("*.")===0?Yg+EI(n.slice(1))+(i?Hg:Ro):EI(n)+(i?Hg:Ro)})].join(""))}});var PI=g(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.ConfigPrinter=Xi.ChainFormatter=void 0;function SI(){let e=Er();return SI=function(){return e},e}var xI={Programmatic:0,Config:1};Xi.ChainFormatter=xI;var Qg={title(e,t,r){let n="";return e===xI.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(s=>TI(s)));let n=[...yield*e.presets()];return n.length&&(t.presets=[...n].map(s=>TI(s))),JSON.stringify(t,void 0,2)}};function TI(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 Zg=class e{constructor(){this._stack=[]}configure(t,r,{callerName:n,filepath:s}){return t?(i,a,o)=>{this._stack.push({type:r,callerName:n,filepath:s,content:i,index:a,envName:o})}:()=>{}}static*format(t){let r=Qg.title(t.type,t.callerName,t.filepath),n=Qg.loc(t.index,t.envName);n&&(r+=` ${n}`);let s=yield*Qg.optionsAndDescriptors(t.content);return`${r}
  1643. ${s}`}*output(){return this._stack.length===0?"":(yield*SI().all(this._stack.map(r=>e.format(r)))).join(`
  1644. `)}};Xi.ConfigPrinter=Zg});var ub=g(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.buildPresetChain=qge;zi.buildPresetChainWalker=void 0;zi.buildRootChain=Kge;function wI(){let e=require("path");return wI=function(){return e},e}function DI(){let e=Cs();return DI=function(){return e},e}var nb=Mo(),II=zg(),Uo=PI(),Mge=Dn(),Rge=qs(),qo=Fo(),Bt=Rs(),Nr=Ug(),AI=DI()("babel:config:config-chain");function*qge(e,t){let r=yield*OI(e,t);return r?{plugins:ff(r.plugins),presets:ff(r.presets),options:r.options.map(n=>_I(n)),files:new Set}:null}var OI=lb({root:e=>Uge(e),env:(e,t)=>Vge(e)(t),overrides:(e,t)=>$ge(e)(t),overridesEnv:(e,t,r)=>Wge(e)(t)(r),createLogger:()=>()=>{}});zi.buildPresetChainWalker=OI;var Uge=(0,Bt.makeWeakCacheSync)(e=>sb(e,e.alias,Nr.createUncachedDescriptors)),Vge=(0,Bt.makeWeakCacheSync)(e=>(0,Bt.makeStrongCacheSync)(t=>ib(e,e.alias,Nr.createUncachedDescriptors,t))),$ge=(0,Bt.makeWeakCacheSync)(e=>(0,Bt.makeStrongCacheSync)(t=>ab(e,e.alias,Nr.createUncachedDescriptors,t))),Wge=(0,Bt.makeWeakCacheSync)(e=>(0,Bt.makeStrongCacheSync)(t=>(0,Bt.makeStrongCacheSync)(r=>ob(e,e.alias,Nr.createUncachedDescriptors,t,r))));function*Kge(e,t){let r,n,s=new Uo.ConfigPrinter,i=yield*Jge({options:e,dirname:t.cwd},t,void 0,s);if(!i)return null;let a=yield*s.output(),o;typeof e.configFile=="string"?o=yield*(0,qo.loadConfig)(e.configFile,t.cwd,t.envName,t.caller):e.configFile!==!1&&(o=yield*(0,qo.findRootConfig)(t.root,t.envName,t.caller));let{babelrc:l,babelrcRoots:u}=e,c=t.cwd,f=cf(),d=new Uo.ConfigPrinter;if(o){let O=Hge(o),P=yield*tb(O,t,void 0,d);if(!P)return null;r=yield*d.output(),l===void 0&&(l=O.options.babelrc),u===void 0&&(c=O.dirname,u=O.options.babelrcRoots),Ji(f,P)}let m,C,p=!1,b=cf();if((l===!0||l===void 0)&&typeof t.filename=="string"){let O=yield*(0,qo.findPackageData)(t.filename);if(O&&Gge(t,O,u,c)){if({ignore:m,config:C}=yield*(0,qo.findRelativeConfig)(O,t.envName,t.caller),m&&b.files.add(m.filepath),m&&NI(t,m.ignore,null,m.dirname)&&(p=!0),C&&!p){let P=Yge(C),A=new Uo.ConfigPrinter,I=yield*tb(P,t,void 0,A);I?(n=yield*A.output(),Ji(b,I)):p=!0}C&&p&&b.files.add(C.filepath)}}t.showConfig&&console.log(`Babel configs on "${t.filename}" (ascending priority):
  1645. `+[r,n,a].filter(O=>!!O).join(`
  1646. `)+`
  1647. -----End Babel configs-----`);let E=Ji(Ji(Ji(cf(),f),b),i);return{plugins:p?[]:ff(E.plugins),presets:p?[]:ff(E.presets),options:p?[]:E.options.map(O=>_I(O)),fileHandling:p?"ignored":"transpile",ignore:m||void 0,babelrc:C||void 0,config:o||void 0,files:E.files}}function Gge(e,t,r,n){if(typeof r=="boolean")return r;let s=e.root;if(r===void 0)return t.directories.indexOf(s)!==-1;let i=r;return Array.isArray(i)||(i=[i]),i=i.map(a=>typeof a=="string"?wI().resolve(n,a):a),i.length===1&&i[0]===s?t.directories.indexOf(s)!==-1:i.some(a=>(typeof a=="string"&&(a=(0,II.default)(a,n)),t.directories.some(o=>kI(a,n,o,e))))}var Hge=(0,Bt.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,nb.validate)("configfile",e.options,e.filepath)})),Yge=(0,Bt.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,nb.validate)("babelrcfile",e.options,e.filepath)})),Xge=(0,Bt.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,nb.validate)("extendsfile",e.options,e.filepath)})),Jge=lb({root:e=>sb(e,"base",Nr.createCachedDescriptors),env:(e,t)=>ib(e,"base",Nr.createCachedDescriptors,t),overrides:(e,t)=>ab(e,"base",Nr.createCachedDescriptors,t),overridesEnv:(e,t,r)=>ob(e,"base",Nr.createCachedDescriptors,t,r),createLogger:(e,t,r)=>nbe(e,t,r)}),zge=lb({root:e=>Qge(e),env:(e,t)=>Zge(e)(t),overrides:(e,t)=>ebe(e)(t),overridesEnv:(e,t,r)=>tbe(e)(t)(r),createLogger:(e,t,r)=>rbe(e.filepath,t,r)});function*tb(e,t,r,n){let s=yield*zge(e,t,r,n);return s==null||s.files.add(e.filepath),s}var Qge=(0,Bt.makeWeakCacheSync)(e=>sb(e,e.filepath,Nr.createUncachedDescriptors)),Zge=(0,Bt.makeWeakCacheSync)(e=>(0,Bt.makeStrongCacheSync)(t=>ib(e,e.filepath,Nr.createUncachedDescriptors,t))),ebe=(0,Bt.makeWeakCacheSync)(e=>(0,Bt.makeStrongCacheSync)(t=>ab(e,e.filepath,Nr.createUncachedDescriptors,t))),tbe=(0,Bt.makeWeakCacheSync)(e=>(0,Bt.makeStrongCacheSync)(t=>(0,Bt.makeStrongCacheSync)(r=>ob(e,e.filepath,Nr.createUncachedDescriptors,t,r))));function rbe(e,t,r){return r?r.configure(t.showConfig,Uo.ChainFormatter.Config,{filepath:e}):()=>{}}function sb({dirname:e,options:t},r,n){return n(e,t,r)}function nbe(e,t,r){var n;return r?r.configure(t.showConfig,Uo.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name}):()=>{}}function ib({dirname:e,options:t},r,n,s){var i;let a=(i=t.env)==null?void 0:i[s];return a?n(e,a,`${r}.env["${s}"]`):null}function ab({dirname:e,options:t},r,n,s){var i;let a=(i=t.overrides)==null?void 0:i[s];if(!a)throw new Error("Assertion failure - missing override");return n(e,a,`${r}.overrides[${s}]`)}function ob({dirname:e,options:t},r,n,s,i){var a,o;let l=(a=t.overrides)==null?void 0:a[s];if(!l)throw new Error("Assertion failure - missing override");let u=(o=l.env)==null?void 0:o[i];return u?n(e,u,`${r}.overrides[${s}].env["${i}"]`):null}function lb({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(a,o,l=new Set,u){let{dirname:c}=a,f=[],d=e(a);if(uf(d,c,o,a.filepath)){f.push({config:d,envName:void 0,index:void 0});let p=t(a,o.envName);p&&uf(p,c,o,a.filepath)&&f.push({config:p,envName:o.envName,index:void 0}),(d.options.overrides||[]).forEach((b,E)=>{let O=r(a,E);if(uf(O,c,o,a.filepath)){f.push({config:O,index:E,envName:void 0});let P=n(a,E,o.envName);P&&uf(P,c,o,a.filepath)&&f.push({config:P,index:E,envName:o.envName})}})}if(f.some(({config:{options:{ignore:p,only:b}}})=>NI(o,p,b,c)))return null;let m=cf(),C=s(a,o,u);for(let{config:p,index:b,envName:E}of f){if(!(yield*sbe(m,p.options,c,o,l,u)))return null;C(p,b,E),yield*ibe(m,p)}return m}}function*sbe(e,t,r,n,s,i){if(t.extends===void 0)return!0;let a=yield*(0,qo.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(a))throw new Error(`Configuration cycle detected loading ${a.filepath}.
  1648. File already loaded following the config chain:
  1649. `+Array.from(s,l=>` - ${l.filepath}`).join(`
  1650. `));s.add(a);let o=yield*tb(Xge(a),n,s,i);return s.delete(a),o?(Ji(e,o),!0):!1}function Ji(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*ibe(e,{options:t,plugins:r,presets:n}){return e.options.push(t),e.plugins.push(...yield*r()),e.presets.push(...yield*n()),e}function cf(){return{options:[],presets:[],plugins:[],files:new Set}}function _I(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 ff(e){let t=new Map,r=[];for(let n of e)if(typeof n.value=="function"){let s=n.value,i=t.get(s);i||(i=new Map,t.set(s,i));let a=i.get(n.name);a?a.value=n:(a={value:n},r.push(a),n.ownPass||i.set(n.name,a))}else r.push({value:n});return r.reduce((n,s)=>(n.push(s.value),n),[])}function uf({options:e},t,r,n){return(e.test===void 0||eb(r,e.test,t,n))&&(e.include===void 0||eb(r,e.include,t,n))&&(e.exclude===void 0||!eb(r,e.exclude,t,n))}function eb(e,t,r,n){let s=Array.isArray(t)?t:[t];return rb(e,s,r,n)}function CI(e,t){return t instanceof RegExp?String(t):t}function NI(e,t,r,n){if(t&&rb(e,t,n)){var s;let a=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,CI)}\` from "${n}"`;return AI(a),e.showConfig&&console.log(a),!0}if(r&&!rb(e,r,n)){var i;let a=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,CI)}\` from "${n}"`;return AI(a),e.showConfig&&console.log(a),!0}return!1}function rb(e,t,r,n){return t.some(s=>kI(s,r,e.filename,e,n))}function kI(e,t,r,n,s){if(typeof e=="function")return!!(0,Mge.endHiddenCallStack)(e)(r,{dirname:t,envName:n.envName,caller:n.caller});if(typeof r!="string")throw new Rge.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",s);return typeof e=="string"&&(e=(0,II.default)(e,t)),e.test(r)}});var BI=g(cb=>{"use strict";Object.defineProperty(cb,"__esModule",{value:!0});cb.validatePluginObject=ube;var Fn=Kg(),abe={name:Fn.assertString,manipulateOptions:Fn.assertFunction,pre:Fn.assertFunction,post:Fn.assertFunction,inherits:Fn.assertFunction,visitor:obe,parserOverride:Fn.assertFunction,generatorOverride:Fn.assertFunction};function obe(e,t){let r=(0,Fn.assertObject)(e,t);if(r&&(Object.keys(r).forEach(n=>{n!=="_exploded"&&n!=="_verified"&&lbe(n,r[n])}),r.enter||r.exit))throw new Error(`${(0,Fn.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return r}function lbe(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 ube(e){let t={type:"root",source:"plugin"};return Object.keys(e).forEach(r=>{let n=abe[r];if(n)n({type:"option",name:r,parent:t},e[r]);else{let s=new Error(`.${r} is not a valid Plugin property`);throw s.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",s}}),e}});var pb=g(fb=>{"use strict";Object.defineProperty(fb,"__esModule",{value:!0});fb.getEnv=cbe;function cbe(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}});var db=g(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.default=jI;mf.loadPartialConfig=vbe;function pf(){let e=require("path");return pf=function(){return e},e}var fbe=Fc(),pbe=Tc(),FI=Bo(),dbe=ub(),hbe=pb(),mbe=Mo(),df=Fo(),ybe=qg(),gbe=["showIgnoredFiles"];function bbe(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,i;for(i=0;i<n.length;i++)s=n[i],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function Ebe(e,t){switch(t){case"root":return e;case"upward-optional":{let r=(0,df.findConfigUpwards)(e);return r===null?e:r}case"upward":{let r=(0,df.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}".
  1651. One of the following config files must be in the directory tree: "${df.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}function*jI(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,mbe.validate)("arguments",e):{},{envName:r=(0,hbe.getEnv)(),cwd:n=".",root:s=".",rootMode:i="root",caller:a,cloneInputAst:o=!0}=t,l=pf().resolve(n),u=Ebe(pf().resolve(l,s),i),c=typeof t.filename=="string"?pf().resolve(n,t.filename):void 0,f=yield*(0,df.resolveShowConfigPath)(l),d={filename:c,cwd:l,root:u,envName:r,caller:a,showConfig:f===c},m=yield*(0,dbe.buildRootChain)(t,d);if(!m)return null;let C={assumptions:{}};return m.options.forEach(b=>{(0,pbe.mergeOptions)(C,b)}),{options:Object.assign({},C,{targets:(0,ybe.resolveTargets)(C,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(b=>(0,FI.createItemFromDescriptor)(b)),presets:m.presets.map(b=>(0,FI.createItemFromDescriptor)(b))}),context:d,fileHandling:m.fileHandling,ignore:m.ignore,babelrc:m.babelrc,config:m.config,files:m.files}}function*vbe(e){let t=!1;if(typeof e=="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r),e=bbe(r,gbe)}let n=yield*jI(e);if(!n)return null;let{options:s,babelrc:i,ignore:a,config:o,fileHandling:l,files:u}=n;return l==="ignored"&&!t?null:((s.plugins||[]).forEach(c=>{if(c.value instanceof fbe.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new hf(s,i?i.filepath:void 0,a?a.filepath:void 0,o?o.filepath:void 0,l,u))}var hf=class{constructor(t,r,n,s,i,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=s,this.fileHandling=i,this.files=a,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}};Object.freeze(hf.prototype)});var KI=g(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.default=void 0;function qI(){let e=Er();return qI=function(){return e},e}var yb=Li(),LI=Tc(),Tbe=ft(),UI=Fc(),Sbe=Bo(),xbe=ub(),Eb=kc();function gb(){let e=Ur();return gb=function(){return e},e}var vb=Rs(),bb=Mo(),Pbe=BI(),VI=cg(),Abe=db(),Cbe=qs(),wbe=qI()(function*(t){var r;let n=yield*(0,Abe.default)(t);if(!n)return null;let{options:s,context:i,fileHandling:a}=n;if(a==="ignored")return null;let o={},{plugins:l,presets:u}=s;if(!l||!u)throw new Error("Assertion failure - plugins and presets exist");let c=Object.assign({},i,{targets:s.targets}),f=A=>{let I=(0,Sbe.getItemDescriptor)(A);if(!I)throw new Error("Assertion failure - must be config item");return I},d=u.map(f),m=l.map(f),C=[[]],p=[],b=[];if(yield*MI(i,function*A(I,k){let B=[];for(let H=0;H<I.length;H++){let ie=I[H];if(ie.options!==!1){try{var M=yield*kbe(ie,c)}catch(ce){throw ce.code==="BABEL_UNKNOWN_OPTION"&&(0,bb.checkNoUnwrappedItemOptionPairs)(I,H,"preset",ce),ce}b.push(M.externalDependencies),ie.ownPass?B.push({preset:M.chain,pass:[]}):B.unshift({preset:M.chain,pass:k})}}if(B.length>0){C.splice(1,0,...B.map(H=>H.pass).filter(H=>H!==k));for(let{preset:H,pass:ie}of B){if(!H||(ie.push(...H.plugins),yield*A(H.presets,ie)))return!0;H.options.forEach(ve=>{(0,LI.mergeOptions)(o,ve)})}}})(d,C[0]))return null;let O=o;(0,LI.mergeOptions)(O,s);let P=Object.assign({},c,{assumptions:(r=O.assumptions)!=null?r:{}});return yield*MI(i,function*(){C[0].unshift(...m);for(let k of C){let B=[];p.push(B);for(let M=0;M<k.length;M++){let H=k[M];if(H.options!==!1){try{var I=yield*WI(H,P)}catch(ie){throw ie.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,bb.checkNoUnwrappedItemOptionPairs)(k,M,"plugin",ie),ie}B.push(I),b.push(I.externalDependencies)}}}})(),O.plugins=p[0],O.presets=p.slice(1).filter(A=>A.length>0).map(A=>({plugins:A})),O.passPerPreset=O.presets.length>0,{options:O,passes:p,externalDependencies:(0,Eb.finalize)(b)}});yf.default=wbe;function MI(e,t){return function*(r,n){try{return yield*t(r,n)}catch(i){if(!/^\[BABEL\]/.test(i.message)){var s;i.message=`[BABEL] ${(s=e.filename)!=null?s:"unknown file"}: ${i.message}`}throw i}}}var $I=e=>(0,vb.makeWeakCache)(function*({value:t,options:r,dirname:n,alias:s},i){if(r===!1)throw new Error("Assertion failure");r=r||{};let a=[],o=t;if(typeof t=="function"){let l=(0,yb.maybeAsync)(t,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),u=Object.assign({},Tbe,e(i,a));try{o=yield*l(u,r,n)}catch(c){throw s&&(c.message+=` (While processing: ${JSON.stringify(s)})`),c}}if(!o||typeof o!="object")throw new Error("Plugin/Preset did not return an object.");if((0,yb.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(s)})`);if(a.length>0&&(!i.configured()||i.mode()==="forever")){let l=`A plugin/preset has external untracked dependencies (${a[0]}), but the cache `;throw i.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()\`
  1652. (While processing: ${JSON.stringify(s)})`,new Error(l)}return{value:o,options:r,dirname:n,alias:s,externalDependencies:(0,Eb.finalize)(a)}}),Dbe=$I(VI.makePluginAPI),Ibe=$I(VI.makePresetAPI),Obe=(0,vb.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:n,externalDependencies:s},i){let a=(0,Pbe.validatePluginObject)(e),o=Object.assign({},a);if(o.visitor&&(o.visitor=gb().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,yb.forwardAsync)(WI,c=>i.invalidate(f=>c(l,f)));o.pre=mb(u.pre,o.pre),o.post=mb(u.post,o.post),o.manipulateOptions=mb(u.manipulateOptions,o.manipulateOptions),o.visitor=gb().default.visitors.merge([u.visitor||{},o.visitor||{}]),u.externalDependencies.length>0&&(s.length===0?s=u.externalDependencies:s=(0,Eb.finalize)([s,u.externalDependencies]))}return new UI.default(o,t,n,s)});function*WI(e,t){if(e.value instanceof UI.default){if(e.options)throw new Error("Passed options to an existing Plugin instance will not work.");return e.value}return yield*Obe(yield*Dbe(e,t),t)}var hb=e=>e&&typeof e!="function",RI=(e,t)=>{if(hb(e.test)||hb(e.include)||hb(e.exclude)){let r=t.name?`"${t.name}"`:"/* your preset */";throw new Cbe.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(`
  1653. `))}},_be=(e,t,r)=>{if(!t.filename){var n;let{options:s}=e;RI(s,r),(n=s.overrides)==null||n.forEach(i=>RI(i,r))}},Nbe=(0,vb.makeWeakCacheSync)(({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,bb.validate)("preset",e),alias:r,dirname:t,externalDependencies:n}));function*kbe(e,t){let r=Nbe(yield*Ibe(e,t));return _be(r,t,e),{chain:yield*(0,xbe.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}function mb(e,t){let r=[e,t].filter(Boolean);return r.length<=1?r[0]:function(...n){for(let s of r)s.apply(this,n)}}});var Qi=g(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.createConfigItem=Vbe;Br.createConfigItemAsync=Ube;Br.createConfigItemSync=XI;Object.defineProperty(Br,"default",{enumerable:!0,get:function(){return GI.default}});Br.loadOptions=qbe;Br.loadOptionsAsync=Rbe;Br.loadOptionsSync=YI;Br.loadPartialConfig=Lbe;Br.loadPartialConfigAsync=jbe;Br.loadPartialConfigSync=HI;function vf(){let e=Er();return vf=function(){return e},e}var GI=KI(),Bbe=db(),Fbe=Bo(),kr=Dn(),gf=vf()(Bbe.loadPartialConfig);function jbe(...e){return(0,kr.beginHiddenCallStack)(gf.async)(...e)}function HI(...e){return(0,kr.beginHiddenCallStack)(gf.sync)(...e)}function Lbe(e,t){if(t!==void 0)(0,kr.beginHiddenCallStack)(gf.errback)(e,t);else if(typeof e=="function")(0,kr.beginHiddenCallStack)(gf.errback)(void 0,e);else return HI(e)}function*Mbe(e){var t;let r=yield*(0,GI.default)(e);return(t=r==null?void 0:r.options)!=null?t:null}var bf=vf()(Mbe);function Rbe(...e){return(0,kr.beginHiddenCallStack)(bf.async)(...e)}function YI(...e){return(0,kr.beginHiddenCallStack)(bf.sync)(...e)}function qbe(e,t){if(t!==void 0)(0,kr.beginHiddenCallStack)(bf.errback)(e,t);else if(typeof e=="function")(0,kr.beginHiddenCallStack)(bf.errback)(void 0,e);else return YI(e)}var Ef=vf()(Fbe.createConfigItem);function Ube(...e){return(0,kr.beginHiddenCallStack)(Ef.async)(...e)}function XI(...e){return(0,kr.beginHiddenCallStack)(Ef.sync)(...e)}function Vbe(e,t,r){if(r!==void 0)(0,kr.beginHiddenCallStack)(Ef.errback)(e,t,r);else if(typeof t=="function")(0,kr.beginHiddenCallStack)(Ef.errback)(e,void 0,r);else return XI(e,t)}});var JI=g(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.default=void 0;var Vo=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)}};Tf.default=Vo;Vo.prototype.getModuleName=function(){return this.file.getModuleName()},Vo.prototype.addImport=function(){this.file.addImport()}});var eO=g(Sb=>{"use strict";Object.defineProperty(Sb,"__esModule",{value:!0});Sb.default=Wbe;function QI(){let e=Ur();return QI=function(){return e},e}var $be=Fc(),Tb,zI={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){let{body:t}=e,r=Math.pow(2,30)-1,n=!1;for(let s=0;s<t.length;s++){let i=t[s],a=ZI(i);if(a>r){n=!0;break}r=a}n&&(e.body=Kbe(t.slice()))}}}};function Wbe(){return Tb||(Tb=new $be.default(Object.assign({},zI,{visitor:QI().default.explode(zI.visitor)}),{})),Tb}function ZI(e){let t=e==null?void 0:e._blockHoist;return t==null?1:t===!0?2:t}function Kbe(e){let t=Object.create(null);for(let s=0;s<e.length;s++){let i=e[s],a=ZI(i);(t[a]||(t[a]=[])).push(i)}let r=Object.keys(t).map(s=>+s).sort((s,i)=>i-s),n=0;for(let s of r){let i=t[s];for(let a of i)e[n++]=a}return e}});var Pb=g(xb=>{"use strict";Object.defineProperty(xb,"__esModule",{value:!0});xb.default=Gbe;function Sf(){let e=require("path");return Sf=function(){return e},e}function Gbe(e){let{filename:t,cwd:r,filenameRelative:n=typeof t=="string"?Sf().relative(r,t):"unknown",sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=Sf().basename(n),comments:u=!0,compact:c="auto"}=e.options,f=e.options,d=Object.assign({},f,{parserOpts:Object.assign({sourceType:Sf().extname(n)===".mjs"?"module":s,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 C of m)C.manipulateOptions&&C.manipulateOptions(d,d.parserOpts);return d}});var Ab=g(Dt=>{"use strict";Object.defineProperty(Dt,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg}});Object.defineProperty(Dt,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg}});var xf;typeof Buffer!="undefined"?typeof Buffer.from=="function"?xf=Hbe:xf=Ybe:xf=Xbe;function Hbe(e){return Buffer.from(e,"base64").toString()}function Ybe(e){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(e,"base64").toString()}function Xbe(e){return decodeURIComponent(escape(atob(e)))}function Jbe(e){return e.split(",").pop()}function zbe(e,t){var r=Dt.mapFileCommentRegex.exec(e),n=r[1]||r[2];try{var e=t(n);return e!=null&&typeof e.catch=="function"?e.catch(s):e}catch(i){s(i)}function s(i){throw new Error("An error occurred while trying to read the map file at "+n+`
  1654. `+i.stack)}}function Jt(e,t){t=t||{},t.hasComment&&(e=Jbe(e)),t.encoding==="base64"?e=xf(e):t.encoding==="uri"&&(e=decodeURIComponent(e)),(t.isJSON||t.encoding)&&(e=JSON.parse(e)),this.sourcemap=e}Jt.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};typeof Buffer!="undefined"?typeof Buffer.from=="function"?Jt.prototype.toBase64=Qbe:Jt.prototype.toBase64=Zbe:Jt.prototype.toBase64=eEe;function Qbe(){var e=this.toJSON();return Buffer.from(e,"utf8").toString("base64")}function Zbe(){var e=this.toJSON();if(typeof e=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(e,"utf8").toString("base64")}function eEe(){var e=this.toJSON();return btoa(unescape(encodeURIComponent(e)))}Jt.prototype.toURI=function(){var e=this.toJSON();return encodeURIComponent(e)};Jt.prototype.toComment=function(e){var t,r,n;return e!=null&&e.encoding==="uri"?(t="",r=this.toURI()):(t=";base64",r=this.toBase64()),n="sourceMappingURL=data:application/json;charset=utf-8"+t+","+r,e!=null&&e.multiline?"/*# "+n+" */":"//# "+n};Jt.prototype.toObject=function(){return JSON.parse(this.toJSON())};Jt.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)};Jt.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this};Jt.prototype.getProperty=function(e){return this.sourcemap[e]};Dt.fromObject=function(e){return new Jt(e)};Dt.fromJSON=function(e){return new Jt(e,{isJSON:!0})};Dt.fromURI=function(e){return new Jt(e,{encoding:"uri"})};Dt.fromBase64=function(e){return new Jt(e,{encoding:"base64"})};Dt.fromComment=function(e){var t,r;return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),t=Dt.commentRegex.exec(e),r=t&&t[4]||"uri",new Jt(e,{encoding:r,hasComment:!0})};function tO(e){return new Jt(e,{isJSON:!0})}Dt.fromMapFileComment=function(e,t){if(typeof t=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var r=zbe(e,t);return r!=null&&typeof r.then=="function"?r.then(tO):tO(r)};Dt.fromSource=function(e){var t=e.match(Dt.commentRegex);return t?Dt.fromComment(t.pop()):null};Dt.fromMapFileSource=function(e,t){if(typeof t=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var r=e.match(Dt.mapFileCommentRegex);return r?Dt.fromMapFileComment(r.pop(),t):null};Dt.removeComments=function(e){return e.replace(Dt.commentRegex,"")};Dt.removeMapFileComments=function(e){return e.replace(Dt.mapFileCommentRegex,"")};Dt.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}});var sO=g(Cb=>{"use strict";Object.defineProperty(Cb,"__esModule",{value:!0});Cb.default=tEe;var nO={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(nO,{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 rO=({name:e,url:t})=>`${e} (${t})`;function tEe(e,t,r){let n=`Support for the experimental syntax '${e}' isn't currently enabled (${t.line}:${t.column+1}):
  1655. `+r,s=nO[e];if(s){let{syntax:i,transform:a}=s;if(i){let o=rO(i);if(a){let l=rO(a),u=a.name.startsWith("@babel/plugin")?"plugins":"presets";n+=`
  1656. Add ${l} to the '${u}' section of your Babel config to enable transformation.
  1657. If you want to leave it as-is, add ${o} to the 'plugins' section to enable parsing.`}else n+=`
  1658. Add ${o} to the 'plugins' section of your Babel config to enable parsing.`}}return n}});var Ib=g(Db=>{"use strict";Object.defineProperty(Db,"__esModule",{value:!0});Db.default=nEe;function wb(){let e=Ii();return wb=function(){return e},e}function iO(){let e=vi();return iO=function(){return e},e}var rEe=sO();function*nEe(e,{parserOpts:t,highlightCode:r=!0,filename:n="unknown"},s){try{let i=[];for(let a of e)for(let o of a){let{parserOverride:l}=o;if(l){let u=l(s,t,wb().parse);u!==void 0&&i.push(u)}}if(i.length===0)return(0,wb().parse)(s,t);if(i.length===1){if(yield*[],typeof i[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 i[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(i){i.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(i.message+=`
  1659. 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}=i;if(a){let l=(0,iO().codeFrameColumns)(s,{start:{line:a.line,column:a.column+1}},{highlightCode:r});o?i.message=`${n}: `+(0,rEe.default)(o[0],a,l):i.message=`${n}: ${i.message}
  1660. `+l,i.code="BABEL_PARSE_ERROR"}throw i}}});var aO=g(_b=>{"use strict";Object.defineProperty(_b,"__esModule",{value:!0});_b.default=sEe;function Ob(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]:Ob(e[n],t)}else{r={},t.set(e,r);let n=Object.keys(e);for(let s=0;s<n.length;s++){let i=n[s];r[i]=typeof e[i]!="object"?e[i]:Ob(e[i],t)}}return r}return e}function sEe(e){return typeof e!="object"?e:Ob(e,new Map)}});var pO=g(Fb=>{"use strict";Object.defineProperty(Fb,"__esModule",{value:!0});Fb.default=fEe;function uO(){let e=require("fs");return uO=function(){return e},e}function Bb(){let e=require("path");return Bb=function(){return e},e}function cO(){let e=Cs();return cO=function(){return e},e}function fO(){let e=Ce();return fO=function(){return e},e}function Pf(){let e=Ab();return Pf=function(){return e},e}var iEe=mc(),aEe=Ib(),oEe=aO(),{file:lEe,traverseFast:uEe}=fO(),Nb=cO()("babel:transform:file"),cEe=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,oO=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*fEe(e,t,r,n){if(r=`${r||""}`,n){if(n.type==="Program")n=lEe(n,[],[]);else if(n.type!=="File")throw new Error("AST root must be a Program or File node");t.cloneInputAst&&(n=(0,oEe.default)(n))}else n=yield*(0,aEe.default)(e,t,r);let s=null;if(t.inputSourceMap!==!1){if(typeof t.inputSourceMap=="object"&&(s=Pf().fromObject(t.inputSourceMap)),!s){let i=lO(cEe,n);if(i)try{s=Pf().fromComment("//"+i)}catch{Nb("discarding unknown inline input sourcemap")}}if(!s){let i=lO(oO,n);if(typeof t.filename=="string"&&i)try{let a=oO.exec(i),o=uO().readFileSync(Bb().resolve(Bb().dirname(t.filename),a[1]),"utf8");s=Pf().fromJSON(o)}catch(a){Nb("discarding unknown file input sourcemap",a)}else i&&Nb("discarding un-loadable file input sourcemap")}}return new iEe.default(t,{code:r,ast:n,inputMap:s})}function kb(e,t,r){return t&&(t=t.filter(({value:n})=>e.test(n)?(r=n,!1):!0)),[t,r]}function lO(e,t){let r=null;return uEe(t,n=>{[n.leadingComments,r]=kb(e,n.leadingComments,r),[n.innerComments,r]=kb(e,n.innerComments,r),[n.trailingComments,r]=kb(e,n.trailingComments,r)}),r}});var dO=g((jb,Lb)=>{(function(e,t){typeof jb=="object"&&typeof Lb!="undefined"?Lb.exports=t(Yl(),rm()):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))})(jb,function(e,t){"use strict";let r=s("",-1,-1,"",null),n=[];function s(p,b,E,O,P){return{source:p,line:b,column:E,name:O,content:P}}function i(p,b,E,O){return{map:p,sources:b,source:E,content:O}}function a(p,b){return i(p,b,"",null)}function o(p,b){return i(null,n,p,b)}function l(p){let b=new t.GenMapping({file:p.map.file}),{sources:E,map:O}=p,P=O.names,A=e.decodedMappings(O);for(let I=0;I<A.length;I++){let k=A[I];for(let B=0;B<k.length;B++){let M=k[B],H=M[0],ie=r;if(M.length!==1){let Y=E[M[1]];if(ie=u(Y,M[2],M[3],M.length===5?P[M[4]]:""),ie==null)continue}let{column:ce,line:ve,name:dt,content:ut,source:q}=ie;t.maybeAddSegment(b,I,H,q,ve,ce,dt),q&&ut!=null&&t.setSourceContent(b,q,ut)}}return b}function u(p,b,E,O){if(!p.map)return s(p.source,b,E,O,p.content);let P=e.traceSegment(p.map,b,E);return P==null?null:P.length===1?r:u(p.sources[P[1]],P[2],P[3],P.length===5?p.map.names[P[4]]:O)}function c(p){return Array.isArray(p)?p:[p]}function f(p,b){let E=c(p).map(A=>new e.TraceMap(A,"")),O=E.pop();for(let A=0;A<E.length;A++)if(E[A].sources.length>1)throw new Error(`Transformation map ${A} must have exactly one source file.
  1661. Did you specify these with the most recent transformation maps first?`);let P=d(O,b,"",0);for(let A=E.length-1;A>=0;A--)P=a(E[A],[P]);return P}function d(p,b,E,O){let{resolvedSources:P,sourcesContent:A}=p,I=O+1,k=P.map((B,M)=>{let H={importer:E,depth:I,source:B||"",content:void 0},ie=b(H.source,H),{source:ce,content:ve}=H;if(ie)return d(new e.TraceMap(ie,ce),b,ce,I);let dt=ve!==void 0?ve:A?A[M]:null;return o(ce,dt)});return a(p,k)}class m{constructor(b,E){let O=E.decodedMappings?t.toDecodedMap(b):t.toEncodedMap(b);this.version=O.version,this.file=O.file,this.mappings=O.mappings,this.names=O.names,this.sourceRoot=O.sourceRoot,this.sources=O.sources,E.excludeContent||(this.sourcesContent=O.sourcesContent)}toString(){return JSON.stringify(this)}}function C(p,b,E){let O=typeof E=="object"?E:{excludeContent:!!E,decodedMappings:!1},P=f(p,b);return new m(l(P),O)}return C})});var yO=g(Mb=>{"use strict";Object.defineProperty(Mb,"__esModule",{value:!0});Mb.default=pEe;function mO(){let e=dO();return mO=function(){return e},e}function pEe(e,t,r){let n=r.replace(/\\/g,"/"),s=!1,i=mO()(hO(t),(a,o)=>a===n&&!s?(s=!0,o.source="",hO(e)):null);return typeof e.sourceRoot=="string"&&(i.sourceRoot=e.sourceRoot),Object.assign({},i)}function hO(e){return Object.assign({},e,{sourceRoot:null})}});var bO=g(qb=>{"use strict";Object.defineProperty(qb,"__esModule",{value:!0});qb.default=hEe;function gO(){let e=Ab();return gO=function(){return e},e}function Rb(){let e=uu();return Rb=function(){return e},e}var dEe=yO();function hEe(e,t){let{opts:r,ast:n,code:s,inputMap:i}=t,{generatorOpts:a}=r;a.inputSourceMap=i==null?void 0:i.toObject();let o=[];for(let f of e)for(let d of f){let{generatorOverride:m}=d;if(m){let C=m(n,a,s,Rb().default);C!==void 0&&o.push(C)}}let l;if(o.length===0)l=(0,Rb().default)(n,a,s);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&&(i?c=(0,dEe.default)(i.toObject(),c,a.sourceFileName):c=l.map),(r.sourceMaps==="inline"||r.sourceMaps==="both")&&(u+=`
  1662. `+gO().fromObject(c).toComment()),r.sourceMaps==="inline"&&(c=null),{outputCode:u,outputMap:c}}});var Af=g(Vb=>{"use strict";Object.defineProperty(Vb,"__esModule",{value:!0});Vb.run=TEe;function Ub(){let e=Ur();return Ub=function(){return e},e}var mEe=JI(),yEe=eO(),gEe=Pb(),bEe=pO(),EEe=bO(),vEe=kc();function*TEe(e,t,r){let n=yield*(0,bEe.default)(e.passes,(0,gEe.default)(e),t,r),s=n.opts;try{yield*SEe(n,e.passes)}catch(u){var i;throw u.message=`${(i=s.filename)!=null?i:"unknown file"}: ${u.message}`,u.code||(u.code="BABEL_TRANSFORM_ERROR"),u}let a,o;try{s.code!==!1&&({outputCode:a,outputMap:o}=(0,EEe.default)(e.passes,n))}catch(u){var l;throw u.message=`${(l=s.filename)!=null?l:"unknown file"}: ${u.message}`,u.code||(u.code="BABEL_GENERATE_ERROR"),u}return{metadata:n.metadata,options:s,ast:s.ast===!0?n.ast:null,code:a===void 0?null:a,map:o===void 0?null:o,sourceType:n.ast.program.sourceType,externalDependencies:(0,vEe.flattenToSet)(e.externalDependencies)}}function*SEe(e,t){for(let r of t){let n=[],s=[],i=[];for(let o of r.concat([(0,yEe.default)()])){let l=new mEe.default(e,o.key,o.options);n.push([o,l]),s.push(l),i.push(o.visitor)}for(let[o,l]of n){let u=o.pre;if(u){let c=u.call(l,e);if(yield*[],EO(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=Ub().default.visitors.merge(i,s,e.opts.wrapPluginVisitorMethod);(0,Ub().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*[],EO(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 EO(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var Wb=g($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.transformFile=CEe;$o.transformFileAsync=DEe;$o.transformFileSync=wEe;function vO(){let e=Er();return vO=function(){return e},e}var xEe=Qi(),PEe=Af(),AEe=xc(),$b=vO()(function*(e,t){let r=Object.assign({},t,{filename:e}),n=yield*(0,xEe.default)(r);if(n===null)return null;let s=yield*AEe.readFile(e,"utf8");return yield*(0,PEe.run)(n,s)});function CEe(...e){$b.errback(...e)}function wEe(...e){return $b.sync(...e)}function DEe(...e){return $b.async(...e)}});var SO=g((fIe,TO)=>{TO.exports=function(t){return import(t)}});var xO=g((pIe,IEe)=>{IEe.exports={name:"@babel/preset-typescript",version:"7.23.2",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.22.5","@babel/helper-validator-option":"^7.22.15","@babel/plugin-syntax-jsx":"^7.22.5","@babel/plugin-transform-modules-commonjs":"^7.23.0","@babel/plugin-transform-typescript":"^7.22.15"},peerDependencies:{"@babel/core":"^7.0.0-0"},devDependencies:{"@babel/core":"^7.23.0","@babel/helper-plugin-test-runner":"^7.22.5"},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 Je=g(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.declare=PO;Wo.declarePreset=void 0;var Kb={assertVersion:e=>t=>{NEe(t,e.version)}};Object.assign(Kb,{targets:()=>()=>({}),assumption:()=>()=>{}});function PO(e){return(t,r,n)=>{var s;let i;for(let o of Object.keys(Kb)){var a;t[o]||((a=i)!=null||(i=_Ee(t)),i[o]=Kb[o](i))}return e((s=i)!=null?s:t,r||{},n)}}var OEe=PO;Wo.declarePreset=OEe;function _Ee(e){let t=null;return typeof e.version=="string"&&/^7\./.test(e.version)&&(t=Object.getPrototypeOf(e),t&&(!Cf(t,"version")||!Cf(t,"transform")||!Cf(t,"template")||!Cf(t,"types"))&&(t=null)),Object.assign({},t,e)}function Cf(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function NEe(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 AO=g(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.default=void 0;var kEe=Je();Gb=function(e,t){let r=[];e.forEach((n,s)=>{(Array.isArray(n)?n[0]:n)===t&&r.unshift(s)});for(let n of r)e.splice(n,1)};var Gb,BEe=(0,kEe.declare)((e,t)=>{e.assertVersion(7);let{disallowAmbiguousJSXLike:r,dts:n}=t;var{isTSX:s}=t;return{name:"syntax-typescript",manipulateOptions(i,a){{let{plugins:o}=a;Gb(o,"flow"),Gb(o,"jsx"),o.push("objectRestSpread","classProperties"),s&&o.push("jsx")}a.plugins.push(["typescript",{disallowAmbiguousJSXLike:r,dts:n}])}}});wf.default=BEe});var zb=g(Jb=>{"use strict";Object.defineProperty(Jb,"__esModule",{value:!0});var FEe=Ce();function jEe(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 LEe=jEe(FEe);function Yb(e){let t=e,{node:r,parentPath:n}=t;if(n.isLogicalExpression()){let{operator:s,right:i}=n.node;if(s==="&&"||s==="||"||s==="??"&&r===i)return Yb(n)}if(n.isSequenceExpression()){let{expressions:s}=n.node;return s[s.length-1]===r?Yb(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}var{LOGICAL_OPERATORS:MEe,arrowFunctionExpression:CO,assignmentExpression:Zi,binaryExpression:Hs,booleanLiteral:REe,callExpression:Of,cloneNode:Fr,conditionalExpression:qEe,identifier:_O,isMemberExpression:UEe,isOptionalCallExpression:VEe,isOptionalMemberExpression:NO,isUpdateExpression:$Ee,logicalExpression:If,memberExpression:wO,nullLiteral:Df,optionalCallExpression:WEe,optionalMemberExpression:KEe,sequenceExpression:Hb,updateExpression:DO}=LEe,Xb=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?Zi("=",n,t):n}set(t,r,n){return this._map.set(t,{count:n,value:r})}};function IO(e,t){let{node:r}=e;if(NO(r))return wO(t,r.property,r.computed);if(e.isOptionalCallExpression()){let n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){let s=n.node.object,i=e.scope.maybeGenerateMemoised(s);return n.get("object").replaceWith(Zi("=",i,s)),Of(wO(t,_O("call")),[i,...e.node.arguments])}return Of(t,e.node.arguments)}return e.node}function GEe(e){for(;e&&!e.isProgram();){let{parentPath:t,container:r,listKey:n}=e,s=t.node;if(n){if(r!==s[n])return!0}else if(r!==s)return!0;e=t}return!1}var HEe={memoise(){},handle(e,t){let{node:r,parent:n,parentPath:s,scope:i}=e;if(e.isOptionalMemberExpression()){if(GEe(e))return;let a=e.find(({node:B,parent:M})=>NO(M)?M.optional||M.object!==B:VEe(M)?B!==e.node&&M.optional||M.callee!==B:!0);if(i.path.isPattern()){a.replaceWith(Of(CO([],a.node),[]));return}let o=Yb(a),l=a.parentPath;if(l.isUpdateExpression({argument:r}))throw e.buildCodeFrameError("can't handle update expression");let u=l.isAssignmentExpression({left:a.node}),c=l.isUnaryExpression({operator:"delete"});if(c&&a.isOptionalMemberExpression()&&a.get("property").isPrivateName())throw e.buildCodeFrameError("can't delete a private class element");let f=e;for(;;){if(f.isOptionalMemberExpression()){if(f.node.optional)break;f=f.get("object");continue}else if(f.isOptionalCallExpression()){if(f.node.optional)break;f=f.get("callee");continue}throw new Error(`Internal error: unexpected ${f.node.type}`)}let d=f.isOptionalMemberExpression()?f.node.object:f.node.callee,m=i.maybeGenerateMemoised(d),C=m!=null?m:d,p=s.isOptionalCallExpression({callee:r}),b=B=>p,E=s.isCallExpression({callee:r});f.replaceWith(IO(f,C)),b()?n.optional?s.replaceWith(this.optionalCall(e,n.arguments)):s.replaceWith(this.call(e,n.arguments)):E?e.replaceWith(this.boundGet(e)):this.delete&&s.isUnaryExpression({operator:"delete"})?s.replaceWith(this.delete(e)):s.isAssignmentExpression()?OO(this,e,s):e.replaceWith(this.get(e));let O=e.node;for(let B=e;B!==a;){let M=B.parentPath;if(M===a&&b()&&n.optional){O=M.node;break}O=IO(M,O),B=M}let P,A=a.parentPath;if(UEe(O)&&A.isOptionalCallExpression({callee:a.node,optional:!0})){let{object:B}=O;P=e.scope.maybeGenerateMemoised(B),P&&(O.object=Zi("=",P,B))}let I=a;(c||u)&&(I=A,O=A.node);let k=m?Zi("=",Fr(C),Fr(d)):Fr(C);if(o){let B;t?B=Hs("!=",k,Df()):B=If("&&",Hs("!==",k,Df()),Hs("!==",Fr(C),i.buildUndefinedNode())),I.replaceWith(If("&&",B,O))}else{let B;t?B=Hs("==",k,Df()):B=If("||",Hs("===",k,Df()),Hs("===",Fr(C),i.buildUndefinedNode())),I.replaceWith(qEe(B,c?REe(!0):i.buildUndefinedNode(),O))}if(P){let B=A.node;A.replaceWith(WEe(KEe(B.callee,_O("call"),!1,!0),[Fr(P),...B.arguments],!1))}return}if($Ee(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}let{operator:a,prefix:o}=n;this.memoise(e,2);let l=i.generateUidIdentifierBasedOnNode(r);i.push({id:l});let u=[Zi("=",Fr(l),this.get(e))];if(o){u.push(DO(a,Fr(l),o));let c=Hb(u);s.replaceWith(this.set(e,c));return}else{let c=i.generateUidIdentifierBasedOnNode(r);i.push({id:c}),u.push(Zi("=",Fr(c),DO(a,Fr(l),o)),Fr(l));let f=Hb(u);s.replaceWith(Hb([this.set(e,f),Fr(c)]));return}}if(s.isAssignmentExpression({left:r})){OO(this,e,s);return}if(s.isCallExpression({callee:r})){s.replaceWith(this.call(e,s.node.arguments));return}if(s.isOptionalCallExpression({callee:r})){if(i.path.isPattern()){s.replaceWith(Of(CO([],s.node),[]));return}s.replaceWith(this.optionalCall(e,s.node.arguments));return}if(this.delete&&s.isUnaryExpression({operator:"delete"})){s.replaceWith(this.delete(e));return}if(s.isForXStatement({left:r})||s.isObjectProperty({value:r})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isObjectProperty({value:n})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}s.isTaggedTemplateExpression()?e.replaceWith(this.boundGet(e)):e.replaceWith(this.get(e))}};function OO(e,t,r){if(e.simpleSet){t.replaceWith(e.simpleSet(t));return}let{operator:n,right:s}=r.node;if(n==="=")r.replaceWith(e.set(t,s));else{let i=n.slice(0,-1);MEe.includes(i)?(e.memoise(t,1),r.replaceWith(If(i,e.get(t),e.set(t,s)))):(e.memoise(t,2),r.replaceWith(e.set(t,Hs(i,e.get(t),s))))}}function YEe(e,t,r){e.traverse(t,Object.assign({},HEe,r,{memoiser:new Xb}))}Jb.default=YEe});var Zb=g(Qb=>{"use strict";Object.defineProperty(Qb,"__esModule",{value:!0});Qb.default=QEe;var XEe=Ce(),{callExpression:kO,identifier:_f,isIdentifier:JEe,isSpreadElement:zEe,memberExpression:BO,optionalCallExpression:FO,optionalMemberExpression:jO}=XEe;function QEe(e,t,r,n){return r.length===1&&zEe(r[0])&&JEe(r[0].argument,{name:"arguments"})?n?FO(jO(e,_f("apply"),!1,!0),[t,r[0].argument],!1):kO(BO(e,_f("apply")),[t,r[0].argument]):n?FO(jO(e,_f("call"),!1,!0),[t,...r],!1):kO(BO(e,_f("call")),[t,...r])}});var Bf=g(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.default=void 0;var MO=Hn(),ZEe=zb(),kf=Zb(),Go=ft(),{assignmentExpression:RO,booleanLiteral:eve,callExpression:Nf,cloneNode:jr,identifier:Ko,memberExpression:ea,sequenceExpression:eE,stringLiteral:tve,thisExpression:ta}=Go.types;{let e=Hn();ra.environmentVisitor=e.default,ra.skipAllButComputedKey=e.skipAllButComputedKey}function LO(e,t,r,n){e=jr(e);let s=t||n?e:ea(e,Ko("prototype"));return Nf(r.addHelper("getPrototypeOf"),[s])}var rve=Go.traverse.visitors.merge([MO.default,{Super(e,t){let{node:r,parentPath:n}=e;n.isMemberExpression({object:r})&&t.handle(n)}}]),nve=Go.traverse.visitors.merge([MO.default,{Scopable(e,{refName:t}){let r=e.scope.getOwnBinding(t);r&&r.identifier.name===t&&e.scope.rename(t)}}]),qO={memoise(e,t){let{scope:r,node:n}=e,{computed:s,property:i}=n;if(!s)return;let a=r.maybeGenerateMemoised(i);a&&this.memoiser.set(i,a,t)},prop(e){let{computed:t,property:r}=e.node;return this.memoiser.has(r)?jr(this.memoiser.get(r)):t?jr(r):tve(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){let r=LO(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return Nf(this.file.addHelper("get"),[t.memo?eE([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor)return{this:ta()};let e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:RO("=",e,ta()),this:jr(e)}},set(e,t){let r=this._getThisRefs(),n=LO(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return Nf(this.file.addHelper("set"),[r.memo?eE([r.memo,n]):n,this.prop(e),t,r.this,eve(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,kf.default)(this._get(e,r),jr(r.this),t,!1)},optionalCall(e,t){let r=this._getThisRefs();return(0,kf.default)(this._get(e,r),jr(r.this),t,!0)},delete(e){return e.node.computed?eE([Nf(this.file.addHelper("toPropertyKey"),[jr(e.node.property)]),Go.template.expression.ast`
  1663. function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
  1664. `]):Go.template.expression.ast`
  1665. function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
  1666. `}},sve=Object.assign({},qO,{prop(e){let{property:t}=e.node;return this.memoiser.has(t)?jr(this.memoiser.get(t)):jr(t)},get(e){let{isStatic:t,getSuperRef:r}=this,{computed:n}=e.node,s=this.prop(e),i;if(t){var a;i=(a=r())!=null?a:ea(Ko("Function"),Ko("prototype"))}else{var o;i=ea((o=r())!=null?o:Ko("Object"),Ko("prototype"))}return ea(i,s,n)},set(e,t){let{computed:r}=e.node,n=this.prop(e);return RO("=",ea(ta(),n,r),t)},destructureSet(e){let{computed:t}=e.node,r=this.prop(e);return ea(ta(),r,t)},call(e,t){return(0,kf.default)(this.get(e),ta(),t,!1)},optionalCall(e,t){return(0,kf.default)(this.get(e),ta(),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 jr(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return jr(this.opts.superRef);if(this.opts.getSuperRef)return jr(this.opts.getSuperRef())}replace(){this.opts.refToPreserve&&this.methodPath.traverse(nve,{refName:this.opts.refToPreserve.name});let t=this.constantSuper?sve:qO;(0,ZEe.default)(this.methodPath,rve,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))}};ra.default=tE});var Ff=g(rE=>{"use strict";Object.defineProperty(rE,"__esModule",{value:!0});rE.default=uve;var ive=Ce(),{addComment:ave}=ive,ove="#__PURE__",lve=({leadingComments:e})=>!!e&&e.some(t=>/[@#]__PURE__/.test(t.value));function uve(e){let t=e.node||e;lve(t)||ave(t,"leading",ove)}});var sE=g(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.isTransparentExprWrapper=nE;Ho.skipTransparentExprWrapperNodes=bve;Ho.skipTransparentExprWrappers=gve;var cve=Ce(),{isParenthesizedExpression:fve,isTSAsExpression:pve,isTSNonNullExpression:dve,isTSSatisfiesExpression:hve,isTSTypeAssertion:mve,isTypeCastExpression:yve}=cve;function nE(e){return pve(e)||hve(e)||mve(e)||dve(e)||yve(e)||fve(e)}function gve(e){for(;nE(e.node);)e=e.get("expression");return e}function bve(e){for(;nE(e);)e=e.expression;return e}});var aE=g(iE=>{"use strict";Object.defineProperty(iE,"__esModule",{value:!0});iE.assertFieldTransformed=Eve;function Eve(e){if(e.node.declare)throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
  1667. If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
  1668. - @babel/plugin-transform-class-properties
  1669. - @babel/plugin-transform-private-methods
  1670. - @babel/plugin-proposal-decorators`)}});var XO=g(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.buildCheckInRHS=Lf;Ys.buildFieldsInitNodes=Vve;Ys.buildPrivateNamesMap=Ave;Ys.buildPrivateNamesNodes=Cve;Ys.transformPrivateNamesUsage=_ve;var R=ft(),vve=Bf(),GO=Hn(),Tve=zb(),UO=Zb(),Sve=Ff(),xve=sE(),Pve=aE();function Ave(e){let t=new Map;for(let r of e)if(r.isPrivate()){let{name:n}=r.node.key.id,s=t.has(n)?t.get(n):{id:r.scope.generateUidIdentifier(n),static:r.node.static,method:!r.isProperty()};r.isClassPrivateMethod()&&(r.node.kind==="get"?s.getId=r.scope.generateUidIdentifier(`get_${n}`):r.node.kind==="set"?s.setId=r.scope.generateUidIdentifier(`set_${n}`):r.node.kind==="method"&&(s.methodId=r.scope.generateUidIdentifier(n))),t.set(n,s)}return t}function Cve(e,t,r,n){let s=[];for(let[i,a]of e){let{static:o,method:l,getId:u,setId:c}=a,f=u||c,d=R.types.cloneNode(a.id),m;t?m=R.types.callExpression(n.addHelper("classPrivateFieldLooseKey"),[R.types.stringLiteral(i)]):r?m=R.types.callExpression(R.types.identifier("Symbol"),[R.types.stringLiteral(i)]):o||(m=R.types.newExpression(R.types.identifier(!l||f?"WeakMap":"WeakSet"),[])),m&&((0,Sve.default)(m),s.push(R.template.statement.ast`var ${d} = ${m}`))}return s}function HO(e){let t=R.traverse.visitors.merge([Object.assign({},e),GO.default]),r=Object.assign({},e,{Class(n){let{privateNamesMap:s}=this,i=n.get("body.body"),a=new Map(s),o=[];for(let l of i){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 wve=HO({PrivateName(e,{noDocumentAll:t}){let{privateNamesMap:r,redeclared:n}=this,{node:s,parentPath:i}=e;if(!i.isMemberExpression({property:s})&&!i.isOptionalMemberExpression({property:s}))return;let{name:a}=s.id;r.has(a)&&(n&&n.includes(a)||this.handle(i,t))}});function YO(e,t,r){for(;(n=t)!=null&&n.hasBinding(e)&&!t.bindingIdentifierEquals(e,r);){var n;t.rename(e),t=t.parent}}function Lf(e,t,r){return r||!(t.availableHelper!=null&&t.availableHelper("checkInRHS"))?e:R.types.callExpression(t.addHelper("checkInRHS"),[e])}var Dve=HO({BinaryExpression(e,{file:t}){let{operator:r,left:n,right:s}=e.node;if(r!=="in"||!R.types.isPrivateName(n))return;let{privateFieldsAsProperties:i,privateNamesMap:a,redeclared:o}=this,{name:l}=n.id;if(!a.has(l)||o&&o.includes(l))return;if(YO(this.classRef.name,e.scope,this.innerBinding),i){let{id:f}=a.get(l);e.replaceWith(R.template.expression.ast`
  1671. Object.prototype.hasOwnProperty.call(${Lf(s,t)}, ${R.types.cloneNode(f)})
  1672. `);return}let{id:u,static:c}=a.get(l);if(c){e.replaceWith(R.template.expression.ast`${Lf(s,t)} === ${R.types.cloneNode(this.classRef)}`);return}e.replaceWith(R.template.expression.ast`${R.types.cloneNode(u)}.has(${Lf(s,t)})`)}}),Ive={memoise(e,t){let{scope:r}=e,{object:n}=e.node,s=r.maybeGenerateMemoised(n);s&&this.memoiser.set(n,s,t)},receiver(e){let{object:t}=e.node;return this.memoiser.has(t)?R.types.cloneNode(this.memoiser.get(t)):R.types.cloneNode(t)},get(e){let{classRef:t,privateNamesMap:r,file:n,innerBinding:s}=this,{name:i}=e.node.property.id,{id:a,static:o,method:l,methodId:u,getId:c,setId:f}=r.get(i),d=c||f;if(o){let m=l&&!d?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return YO(t.name,e.scope,s),R.types.callExpression(n.addHelper(m),[this.receiver(e),R.types.cloneNode(t),R.types.cloneNode(a)])}if(l){if(d){if(!c&&f){if(n.availableHelper("writeOnlyError"))return R.types.sequenceExpression([this.receiver(e),R.types.callExpression(n.addHelper("writeOnlyError"),[R.types.stringLiteral(`#${i}`)])]);console.warn("@babel/helpers is outdated, update it to silence this warning.")}return R.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),R.types.cloneNode(a)])}return R.types.callExpression(n.addHelper("classPrivateMethodGet"),[this.receiver(e),R.types.cloneNode(a),R.types.cloneNode(u)])}return R.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),R.types.cloneNode(a)])},boundGet(e){return this.memoise(e,1),R.types.callExpression(R.types.memberExpression(this.get(e),R.types.identifier("bind")),[this.receiver(e)])},set(e,t){let{classRef:r,privateNamesMap:n,file:s}=this,{name:i}=e.node.property.id,{id:a,static:o,method:l,setId:u,getId:c}=n.get(i),f=c||u;if(o){let d=l&&!f?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return R.types.callExpression(s.addHelper(d),[this.receiver(e),R.types.cloneNode(r),R.types.cloneNode(a),t])}return l?u?R.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),R.types.cloneNode(a),t]):R.types.sequenceExpression([this.receiver(e),t,R.types.callExpression(s.addHelper("readOnlyError"),[R.types.stringLiteral(`#${i}`)])]):R.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),R.types.cloneNode(a),t])},destructureSet(e){let{classRef:t,privateNamesMap:r,file:n}=this,{name:s}=e.node.property.id,{id:i,static:a}=r.get(s);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 R.types.memberExpression(R.types.callExpression(o,[this.receiver(e),R.types.cloneNode(t),R.types.cloneNode(i)]),R.types.identifier("value"))}return R.types.memberExpression(R.types.callExpression(n.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),R.types.cloneNode(i)]),R.types.identifier("value"))},call(e,t){return this.memoise(e,1),(0,UO.default)(this.get(e),this.receiver(e),t,!1)},optionalCall(e,t){return this.memoise(e,1),(0,UO.default)(this.get(e),this.receiver(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},Ove={get(e){let{privateNamesMap:t,file:r}=this,{object:n}=e.node,{name:s}=e.node.property.id;return R.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:R.types.cloneNode(n),PROP:R.types.cloneNode(t.get(s).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return R.types.callExpression(R.types.memberExpression(this.get(e),R.types.identifier("bind")),[R.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return R.types.callExpression(this.get(e),t)},optionalCall(e,t){return R.types.optionalCallExpression(this.get(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function _ve(e,t,r,{privateFieldsAsProperties:n,noDocumentAll:s,innerBinding:i},a){if(!r.size)return;let o=t.get("body"),l=n?Ove:Ive;(0,Tve.default)(o,wve,Object.assign({privateNamesMap:r,classRef:e,file:a},l,{noDocumentAll:s,innerBinding:i})),o.traverse(Dve,{privateNamesMap:r,classRef:e,file:a,privateFieldsAsProperties:n,innerBinding:i})}function VO(e,t,r){let{id:n}=r.get(t.node.key.id.name),s=t.node.value||t.scope.buildUndefinedNode();return Vt(R.template.statement.ast`
  1673. Object.defineProperty(${e}, ${R.types.cloneNode(n)}, {
  1674. // configurable is false by default
  1675. // enumerable is false by default
  1676. writable: true,
  1677. value: ${s}
  1678. });
  1679. `,t)}function Nve(e,t,r,n){let{id:s}=r.get(t.node.key.id.name),i=t.node.value||t.scope.buildUndefinedNode();if(!n.availableHelper("classPrivateFieldInitSpec"))return Vt(R.template.statement.ast`${R.types.cloneNode(s)}.set(${e}, {
  1680. // configurable is always false for private elements
  1681. // enumerable is always false for private elements
  1682. writable: true,
  1683. value: ${i},
  1684. })`,t);let a=n.addHelper("classPrivateFieldInitSpec");return Vt(R.template.statement.ast`${a}(
  1685. ${R.types.thisExpression()},
  1686. ${R.types.cloneNode(s)},
  1687. {
  1688. writable: true,
  1689. value: ${i}
  1690. },
  1691. )`,t)}function $O(e,t){let r=t.get(e.node.key.id.name),{id:n,getId:s,setId:i,initAdded:a}=r,o=s||i;if(!e.isProperty()&&(a||!o))return;if(o)return t.set(e.node.key.id.name,Object.assign({},r,{initAdded:!0})),Vt(R.template.statement.ast`
  1692. var ${R.types.cloneNode(n)} = {
  1693. // configurable is false by default
  1694. // enumerable is false by default
  1695. // writable is false by default
  1696. get: ${s?s.name:e.scope.buildUndefinedNode()},
  1697. set: ${i?i.name:e.scope.buildUndefinedNode()}
  1698. }
  1699. `,e);let l=e.node.value||e.scope.buildUndefinedNode();return Vt(R.template.statement.ast`
  1700. var ${R.types.cloneNode(n)} = {
  1701. // configurable is false by default
  1702. // enumerable is false by default
  1703. writable: true,
  1704. value: ${l}
  1705. };
  1706. `,e)}function kve(e,t,r){let n=r.get(t.node.key.id.name),{methodId:s,id:i,getId:a,setId:o,initAdded:l}=n;if(l)return;if(s)return Vt(R.template.statement.ast`
  1707. Object.defineProperty(${e}, ${i}, {
  1708. // configurable is false by default
  1709. // enumerable is false by default
  1710. // writable is false by default
  1711. value: ${s.name}
  1712. });
  1713. `,t);if(a||o)return r.set(t.node.key.id.name,Object.assign({},n,{initAdded:!0})),Vt(R.template.statement.ast`
  1714. Object.defineProperty(${e}, ${i}, {
  1715. // configurable is false by default
  1716. // enumerable is false by default
  1717. // writable is false by default
  1718. get: ${a?a.name:t.scope.buildUndefinedNode()},
  1719. set: ${o?o.name:t.scope.buildUndefinedNode()}
  1720. });
  1721. `,t)}function Bve(e,t,r,n){let s=r.get(t.node.key.id.name),{getId:i,setId:a,initAdded:o}=s;return o?void 0:i||a?Fve(e,t,r,n):jve(e,t,r,n)}function Fve(e,t,r,n){let s=r.get(t.node.key.id.name),{id:i,getId:a,setId:o}=s;if(r.set(t.node.key.id.name,Object.assign({},s,{initAdded:!0})),!n.availableHelper("classPrivateFieldInitSpec"))return Vt(R.template.statement.ast`
  1722. ${i}.set(${e}, {
  1723. get: ${a?a.name:t.scope.buildUndefinedNode()},
  1724. set: ${o?o.name:t.scope.buildUndefinedNode()}
  1725. });
  1726. `,t);let l=n.addHelper("classPrivateFieldInitSpec");return Vt(R.template.statement.ast`${l}(
  1727. ${R.types.thisExpression()},
  1728. ${R.types.cloneNode(i)},
  1729. {
  1730. get: ${a?a.name:t.scope.buildUndefinedNode()},
  1731. set: ${o?o.name:t.scope.buildUndefinedNode()}
  1732. },
  1733. )`,t)}function jve(e,t,r,n){let s=r.get(t.node.key.id.name),{id:i}=s;if(!n.availableHelper("classPrivateMethodInitSpec"))return Vt(R.template.statement.ast`${i}.add(${e})`,t);let a=n.addHelper("classPrivateMethodInitSpec");return Vt(R.template.statement.ast`${a}(
  1734. ${R.types.thisExpression()},
  1735. ${R.types.cloneNode(i)}
  1736. )`,t)}function WO(e,t){let{key:r,computed:n}=t.node,s=t.node.value||t.scope.buildUndefinedNode();return Vt(R.types.expressionStatement(R.types.assignmentExpression("=",R.types.memberExpression(e,r,n||R.types.isLiteral(r)),s)),t)}function KO(e,t,r){let{key:n,computed:s}=t.node,i=t.node.value||t.scope.buildUndefinedNode();return Vt(R.types.expressionStatement(R.types.callExpression(r.addHelper("defineProperty"),[e,s||R.types.isLiteral(n)?n:R.types.stringLiteral(n.name),i])),t)}function Lve(e,t,r,n){let s=n.get(t.node.key.id.name),{id:i,methodId:a,getId:o,setId:l,initAdded:u}=s;return u?void 0:o||l?(n.set(t.node.key.id.name,Object.assign({},s,{initAdded:!0})),Vt(R.template.statement.ast`
  1737. Object.defineProperty(${e}, ${i}, {
  1738. // configurable is false by default
  1739. // enumerable is false by default
  1740. // writable is false by default
  1741. get: ${o?o.name:t.scope.buildUndefinedNode()},
  1742. set: ${l?l.name:t.scope.buildUndefinedNode()}
  1743. })
  1744. `,t)):Vt(R.template.statement.ast`
  1745. Object.defineProperty(${e}, ${i}, {
  1746. // configurable is false by default
  1747. // enumerable is false by default
  1748. // writable is false by default
  1749. value: ${a.name}
  1750. });
  1751. `,t)}function jf(e,t,r=!1){let n=t.get(e.node.key.id.name),{id:s,methodId:i,getId:a,setId:o,getterDeclared:l,setterDeclared:u,static:c}=n,{params:f,body:d,generator:m,async:C}=e.node,p=a&&!l&&f.length===0,b=o&&!u&&f.length>0,E=i;return p?(t.set(e.node.key.id.name,Object.assign({},n,{getterDeclared:!0})),E=a):b?(t.set(e.node.key.id.name,Object.assign({},n,{setterDeclared:!0})),E=o):c&&!r&&(E=s),Vt(R.types.functionDeclaration(R.types.cloneNode(E),f,d,m,C),e)}var Mve=R.traverse.visitors.merge([{UnaryExpression(e){let{node:t}=e;if(t.operator==="delete"){let r=(0,xve.skipTransparentExprWrapperNodes)(t.argument);R.types.isThisExpression(r)&&e.replaceWith(R.types.booleanLiteral(!0))}},ThisExpression(e,t){t.needsClassRef=!0,e.replaceWith(R.types.cloneNode(t.classRef))},MetaProperty(e){let{node:t,scope:r}=e;t.meta.name==="new"&&t.property.name==="target"&&e.replaceWith(r.buildUndefinedNode())}},GO.default]),Rve={ReferencedIdentifier(e,t){e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)&&(t.needsClassRef=!0,e.node.name=t.classRef.name)}};function qve(e,t,r){var n;let s={classRef:t,needsClassRef:!1,innerBinding:r};return e.isMethod()||e.traverse(Mve,s),r!=null&&(n=s.classRef)!=null&&n.name&&s.classRef.name!==r.name&&e.traverse(Rve,s),s.needsClassRef}function Uve({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 Vt(e,t){return R.types.inheritLeadingComments(e,t.node),R.types.inheritInnerComments(e,t.node),e}function Vve(e,t,r,n,s,i,a,o,l){var u,c;let f=0,d,m=[],C=[],p=[],b=null,E=R.types.isIdentifier(t)?()=>t:()=>{var P;return(P=d)!=null||(d=r[0].scope.generateUidIdentifierBasedOnNode(t)),d},O=(u=e)!=null?u:r[0].scope.generateUidIdentifier("class");(c=e)!=null||(e=R.types.cloneNode(l));for(let P of r){P.isClassProperty()&&Pve.assertFieldTransformed(P);let A=!(R.types.isStaticBlock!=null&&R.types.isStaticBlock(P.node))&&P.node.static,I=!A,k=P.isPrivate(),B=!k,M=P.isProperty(),H=!M,ie=P.isStaticBlock==null?void 0:P.isStaticBlock();switch(A&&(f|=1),(A||H&&k||ie)&&(new vve.default({methodPath:P,constantSuper:o,file:s,refToPreserve:l,getSuperRef:E,getObjectRef(){return f|=2,A||ie?O:R.types.memberExpression(O,R.types.identifier("prototype"))}}).replace(),qve(P,O,l)&&(f|=2)),!0){case ie:{let ce=P.node.body;ce.length===1&&R.types.isExpressionStatement(ce[0])?m.push(Vt(ce[0],P)):m.push(R.types.inheritsComments(R.template.statement.ast`(() => { ${ce} })()`,P.node));break}case(A&&k&&M&&a):m.push(VO(R.types.cloneNode(e),P,n));break;case(A&&k&&M&&!a):m.push($O(P,n));break;case(A&&B&&M&&i):if(!Uve(P.node)){m.push(WO(R.types.cloneNode(e),P));break}case(A&&B&&M&&!i):m.push(KO(R.types.cloneNode(e),P,s));break;case(I&&k&&M&&a):C.push(VO(R.types.thisExpression(),P,n));break;case(I&&k&&M&&!a):C.push(Nve(R.types.thisExpression(),P,n,s));break;case(I&&k&&H&&a):C.unshift(kve(R.types.thisExpression(),P,n)),p.push(jf(P,n,a));break;case(I&&k&&H&&!a):C.unshift(Bve(R.types.thisExpression(),P,n,s)),p.push(jf(P,n,a));break;case(A&&k&&H&&!a):m.unshift($O(P,n)),p.push(jf(P,n,a));break;case(A&&k&&H&&a):m.unshift(Lve(R.types.cloneNode(e),P,s,n)),p.push(jf(P,n,a));break;case(I&&B&&M&&i):C.push(WO(R.types.thisExpression(),P));break;case(I&&B&&M&&!i):C.push(KO(R.types.thisExpression(),P,s));break;default:throw new Error("Unreachable.")}}return f&2&&l!=null&&(b=R.types.expressionStatement(R.types.assignmentExpression("=",R.types.cloneNode(O),R.types.cloneNode(l)))),{staticNodes:m.filter(Boolean),instanceNodes:C.filter(Boolean),pureStaticNodes:p.filter(Boolean),classBindingNode:b,wrapClass(P){for(let A of r)A.node.leadingComments=null,A.remove();return d&&(P.scope.push({id:R.types.cloneNode(d)}),P.set("superClass",R.types.assignmentExpression("=",d,P.node.superClass))),f!==0&&(P.isClassExpression()?(P.scope.push({id:e}),P.replaceWith(R.types.assignmentExpression("=",R.types.cloneNode(e),P.node))):(l==null&&(P.node.id=e),b!=null&&P.scope.push({id:O}))),P}}}});var lE=g(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.buildDecoratedClass=Jve;Yo.hasDecorators=Kve;Yo.hasOwnDecorators=oE;var pt=ft(),$ve=Bf(),Wve=Lu();function oE(e){var t;return!!((t=e.decorators)!=null&&t.length)}function Kve(e){return oE(e)||e.body.body.some(oE)}function na(e,t){return t?pt.types.objectProperty(pt.types.identifier(e),t):null}function Gve(e,t){return pt.types.objectMethod("method",pt.types.identifier(e),[],pt.types.blockStatement(t))}function JO(e){let t;return e.decorators&&e.decorators.length>0&&(t=pt.types.arrayExpression(e.decorators.map(r=>r.expression))),e.decorators=void 0,t}function Hve(e){return e.computed?e.key:pt.types.isIdentifier(e.key)?pt.types.stringLiteral(e.key.name):pt.types.stringLiteral(String(e.key.value))}function Yve(e,t,r,n){let s=n.isClassMethod();if(n.isPrivate())throw n.buildCodeFrameError(`Private ${s?"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:i,scope:a}=n;n.isTSDeclareMethod()||new $ve.default({methodPath:n,objectRef:t,superRef:r,file:e,refToPreserve:t}).replace();let o=[na("kind",pt.types.stringLiteral(pt.types.isClassMethod(i)?i.kind:"field")),na("decorators",JO(i)),na("static",i.static&&pt.types.booleanLiteral(!0)),na("key",Hve(i))].filter(Boolean);if(pt.types.isClassMethod(i)){let l=i.computed?null:i.key,u=pt.types.toExpression(i);o.push(na("value",(0,Wve.default)({node:u,id:l,scope:a})||u))}else pt.types.isClassProperty(i)&&i.value?o.push(Gve("value",pt.template.statements.ast`return ${i.value}`)):o.push(na("value",a.buildUndefinedNode()));return n.remove(),pt.types.objectExpression(o)}function Xve(e){return e.addHelper("decorate")}function Jve(e,t,r,n){let{node:s,scope:i}=t,a=i.generateUidIdentifier("initialize"),o=s.id&&t.isDeclaration(),l=t.isInStrictMode(),{superClass:u}=s;s.type="ClassDeclaration",s.id||(s.id=pt.types.cloneNode(e));let c;u&&(c=i.generateUidIdentifierBasedOnNode(s.superClass,"super"),s.superClass=c);let f=JO(s),d=pt.types.arrayExpression(r.filter(b=>!b.node.abstract&&b.node.type!=="TSIndexSignature").map(b=>Yve(n,s.id,c,b))),m=pt.template.expression.ast`
  1752. ${Xve(n)}(
  1753. ${f||pt.types.nullLiteral()},
  1754. function (${a}, ${u?pt.types.cloneNode(c):null}) {
  1755. ${s}
  1756. return { F: ${pt.types.cloneNode(s.id)}, d: ${d} };
  1757. },
  1758. ${u}
  1759. )
  1760. `;l||m.arguments[1].body.directives.push(pt.types.directive(pt.types.directiveLiteral("use strict")));let C=m,p="arguments.1.body.body.0";return o&&(C=pt.template.statement.ast`let ${e} = ${m}`,p="declarations.0.init."+p),{instanceNodes:[pt.template.statement.ast`${pt.types.cloneNode(a)}(this)`],wrapClass(b){return b.replaceWith(C),b.get(p)}}}});var QO=g(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.extractComputedKeys=r1e;Mf.injectInitialization=t1e;var cr=ft(),zve=Hn(),Qve=cr.traverse.visitors.merge([{Super(e){let{node:t,parentPath:r}=e;r.isCallExpression({callee:t})&&this.push(r)}},zve.default]),Zve={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:t}){t.hasOwnBinding(e.node.name)&&(t.rename(e.node.name),e.skip())}};function zO(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){let r=t.file.addHelper("classNameTDZError"),n=cr.types.callExpression(r,[cr.types.stringLiteral(e.node.name)]);e.replaceWith(cr.types.sequenceExpression([n,e.node])),e.skip()}}var e1e={ReferencedIdentifier:zO};function t1e(e,t,r,n){if(!r.length)return;let s=!!e.node.superClass;if(!t){let i=cr.types.classMethod("constructor",cr.types.identifier("constructor"),[],cr.types.blockStatement([]));s&&(i.params=[cr.types.restElement(cr.types.identifier("args"))],i.body.body.push(cr.template.statement.ast`super(...args)`)),[t]=e.get("body").unshiftContainer("body",i)}if(n&&n(Zve,{scope:t.scope}),s){let i=[];t.traverse(Qve,i);let a=!0;for(let o of i)a?(o.insertAfter(r),a=!1):o.insertAfter(r.map(l=>cr.types.cloneNode(l)))}else t.get("body").unshiftContainer("body",r)}function r1e(e,t,r){let n=[],s={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:r};for(let i of t){let a=i.get("key");a.isReferencedIdentifier()?zO(a,s):a.traverse(e1e,s);let o=i.node;if(!a.isConstantExpression()){let l=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:l,kind:"let"}),n.push(cr.types.expressionStatement(cr.types.assignmentExpression("=",cr.types.cloneNode(l),o.key))),o.key=cr.types.cloneNode(l)}}return n}});var r_=g(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.FEATURES=void 0;Js.enableFeature=n1e;Js.isLoose=cE;Js.shouldTransform=s1e;var ZO=lE(),cn=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32});Js.FEATURES=cn;var e_=new Map([[cn.fields,"@babel/plugin-transform-class-properties"],[cn.privateMethods,"@babel/plugin-transform-private-methods"],[cn.privateIn,"@babel/plugin-transform-private-property-in-object"]]),uE="@babel/plugin-class-features/featuresKey",Xo="@babel/plugin-class-features/looseKey",Xs="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function n1e(e,t,r){(!jn(e,t)||t_(e,t))&&(e.set(uE,e.get(uE)|t),r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(Rf(e,t,!0),e.set(Xs,e.get(Xs)|t)):r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(Rf(e,t,!1),e.set(Xs,e.get(Xs)|t)):Rf(e,t,r));let n,s;for(let[i,a]of e_){if(!jn(e,i))continue;let o=cE(e,i);if(!t_(e,i)){if(n===!o)throw new Error("'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled).");n=o,s=a}}if(n!==void 0)for(let[i,a]of e_)jn(e,i)&&cE(e,i)!==n&&(Rf(e,i,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 ${s}.
  1761. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
  1762. ["${a}", { "loose": ${n} }]
  1763. to the "plugins" section of your Babel config.`))}function jn(e,t){return!!(e.get(uE)&t)}function cE(e,t){return!!(e.get(Xo)&t)}function Rf(e,t,r){r?e.set(Xo,e.get(Xo)|t):e.set(Xo,e.get(Xo)&~t),e.set(Xs,e.get(Xs)&~t)}function t_(e,t){return!!(e.get(Xs)&t)}function s1e(e,t){let r=null,n=null,s=null,i=null,a=null;(0,ZO.hasOwnDecorators)(e.node)&&(r=e.get("decorators.0"));for(let o of e.get("body.body"))!r&&(0,ZO.hasOwnDecorators)(o.node)&&(r=o.get("decorators.0")),!n&&o.isClassProperty()&&(n=o),!s&&o.isClassPrivateProperty()&&(s=o),!i&&o.isClassPrivateMethod!=null&&o.isClassPrivateMethod()&&(i=o),!a&&o.isStaticBlock!=null&&o.isStaticBlock()&&(a=o);if(r&&s)throw s.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(r&&i)throw i.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(r&&!jn(t,cn.decorators))throw e.buildCodeFrameError(`Decorators are not enabled.
  1764. If you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-transform-class-properties" and enable loose mode, like so:
  1765. ["@babel/plugin-proposal-decorators", { "version": "legacy" }]
  1766. ["@babel/plugin-transform-class-properties", { "loose": true }]`);if(i&&!jn(t,cn.privateMethods))throw i.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((n||s)&&!jn(t,cn.fields)&&!jn(t,cn.privateMethods))throw e.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(a&&!jn(t,cn.staticBlocks))throw e.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(r||i||a||(n||s)&&jn(t,cn.fields))}});var sa=g(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Object.defineProperty(Qs,"FEATURES",{enumerable:!0,get:function(){return zo.FEATURES}});Object.defineProperty(Qs,"buildCheckInRHS",{enumerable:!0,get:function(){return Jo.buildCheckInRHS}});Qs.createClassFeaturePlugin=u1e;Object.defineProperty(Qs,"enableFeature",{enumerable:!0,get:function(){return zo.enableFeature}});Object.defineProperty(Qs,"injectInitialization",{enumerable:!0,get:function(){return dE.injectInitialization}});var fE=ft(),i1e=Lu(),a1e=ka(),o1e=wn(),Jo=XO(),pE=lE(),dE=QO(),zo=r_(),l1e=aE(),zs="@babel/plugin-class-features/version";function u1e({name:e,feature:t,loose:r,manipulateOptions:n,api:s,inherits:i}){{var a;(a=s)!=null||(s={assumption:()=>{}})}let o=s.assumption("setPublicClassFields"),l=s.assumption("privateFieldsAsSymbols"),u=s.assumption("privateFieldsAsProperties"),c=s.assumption("constantSuper"),f=s.assumption("noDocumentAll");if(u&&l)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let d=u||l;if(r===!0){let m=[];o!==void 0&&m.push('"setPublicClassFields"'),u!==void 0&&m.push('"privateFieldsAsProperties"'),l!==void 0&&m.push('"privateFieldsAsSymbols"'),m.length!==0&&console.warn(`[${e}]: You are using the "loose: true" option and you are explicitly setting a value for the ${m.join(" and ")} assumption${m.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:
  1767. "assumptions": {
  1768. "setPublicClassFields": true,
  1769. "privateFieldsAsSymbols": true
  1770. }`)}return{name:e,manipulateOptions:n,inherits:i,pre(m){if((0,zo.enableFeature)(m,t,r),typeof m.get(zs)=="number"){m.set(zs,"7.22.15");return}(!m.get(zs)||o1e.lt(m.get(zs),"7.22.15"))&&m.set(zs,"7.22.15")},visitor:{Class(m,{file:C}){var p;if(C.get(zs)!=="7.22.15"||!(0,zo.shouldTransform)(m,C))return;let b=m.isClassDeclaration();b&&(0,l1e.assertFieldTransformed)(m);let E=(0,zo.isLoose)(C,t),O,P=(0,pE.hasDecorators)(m.node),A=[],I=[],k=[],B=new Set,M=m.get("body");for(let pe of M.get("body")){if((pe.isClassProperty()||pe.isClassMethod())&&pe.node.computed&&k.push(pe),pe.isPrivate()){let{name:De}=pe.node.key.id,ke=`get ${De}`,Ie=`set ${De}`;if(pe.isClassPrivateMethod()){if(pe.node.kind==="get"){if(B.has(ke)||B.has(De)&&!B.has(Ie))throw pe.buildCodeFrameError("Duplicate private field");B.add(ke).add(De)}else if(pe.node.kind==="set"){if(B.has(Ie)||B.has(De)&&!B.has(ke))throw pe.buildCodeFrameError("Duplicate private field");B.add(Ie).add(De)}}else{if(B.has(De)&&!B.has(ke)&&!B.has(Ie)||B.has(De)&&(B.has(ke)||B.has(Ie)))throw pe.buildCodeFrameError("Duplicate private field");B.add(De)}}pe.isClassMethod({kind:"constructor"})?O=pe:(I.push(pe),(pe.isProperty()||pe.isPrivate()||pe.isStaticBlock!=null&&pe.isStaticBlock())&&A.push(pe))}if(!A.length&&!P)return;let H=m.node.id,ie;(!H||!b)&&((0,i1e.default)(m),ie=m.scope.generateUidIdentifier("class"));let ce=(p=ie)!=null?p:fE.types.cloneNode(H),ve=(0,Jo.buildPrivateNamesMap)(A),dt=(0,Jo.buildPrivateNamesNodes)(ve,u!=null?u:E,l!=null?l:!1,C);(0,Jo.transformPrivateNamesUsage)(ce,m,ve,{privateFieldsAsProperties:d!=null?d:E,noDocumentAll:f,innerBinding:H},C);let ut,q,Y,fe,X,Z;P?(q=fe=ut=[],{instanceNodes:Y,wrapClass:Z}=(0,pE.buildDecoratedClass)(ce,m,I,C)):(ut=(0,dE.extractComputedKeys)(m,k,C),{staticNodes:q,pureStaticNodes:fe,instanceNodes:Y,classBindingNode:X,wrapClass:Z}=(0,Jo.buildFieldsInitNodes)(ie,m.node.superClass,A,ve,C,o!=null?o:E,d!=null?d:E,c!=null?c:E,H)),Y.length>0&&(0,dE.injectInitialization)(m,O,Y,(pe,De)=>{if(!P)for(let ke of A)fE.types.isStaticBlock!=null&&fE.types.isStaticBlock(ke.node)||ke.node.static||ke.traverse(pe,De)});let J=Z(m);J.insertBefore([...dt,...ut]),q.length>0&&J.insertAfter(q),fe.length>0&&J.find(pe=>pe.isStatement()||pe.isDeclaration()).insertAfter(fe),X!=null&&b&&J.insertAfter(X)},ExportDefaultDeclaration(m,{file:C}){{if(C.get(zs)!=="7.22.15")return;let p=m.get("declaration");p.isClassDeclaration()&&(0,pE.hasDecorators)(p.node)&&(p.node.id?(0,a1e.default)(m):p.node.type="ClassExpression")}}}}}});var hE=g(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.default=d1e;qf.translateEnumValues=i_;var ia=ft(),c1e=require("assert"),f1e=Ff(),n_=new WeakMap,p1e=ia.template.expression(`
  1771. (function (ID) {
  1772. ASSIGNMENTS;
  1773. return ID;
  1774. })(INIT)
  1775. `);function d1e(e,t){let{node:r,parentPath:n}=e;if(r.declare){e.remove();return}let s=r.id.name,{fill:i,data:a,isPure:o}=g1e(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(i.ID),f));let d=p1e(Object.assign({},i,{INIT:f}));o&&(0,f1e.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]),n_.set(e.scope.getBindingIdentifier(s),a);break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function l(u){return u.isExportDeclaration()?l(u.parentPath):u.getData(s)?!0:(u.setData(s,!0),!1)}}var h1e=(0,ia.template)(`
  1776. ENUM["NAME"] = VALUE;
  1777. `),m1e=(0,ia.template)(`
  1778. ENUM[ENUM["NAME"] = VALUE] = "NAME";
  1779. `),y1e=(e,t)=>(e?h1e:m1e)(t);function g1e(e,t,r){let{enumValues:n,data:s,isPure:i}=i_(e,t),a=n.map(([o,l])=>y1e(t.isStringLiteral(l),{ENUM:t.cloneNode(r),NAME:o,VALUE:l}));return{fill:{ID:t.cloneNode(r),ASSIGNMENTS:a},data:s,isPure:i}}function s_(e,t){let{seen:r,path:n,t:s}=t,i=e.node.name;r.has(i)&&!e.scope.hasOwnBinding(i)&&(e.replaceWith(s.memberExpression(s.cloneNode(n.node.id),s.cloneNode(e.node))),e.skip())}var b1e={ReferencedIdentifier:s_};function i_(e,t){let r=new Map,n=-1,s,i=!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=a_(c,r),n!==void 0?(r.set(u,n),c1e(typeof n=="number"||typeof n=="string"),n===1/0||Number.isNaN(n)?d=t.identifier(String(n)):n===-1/0?d=t.unaryExpression("-",t.identifier("Infinity")):d=t.valueToNode(n)):(i&&(i=c.isPure()),c.isReferencedIdentifier()?s_(c,{t,seen:r,path:e}):c.traverse(b1e,{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(s),!0);d=t.binaryExpression("+",t.numericLiteral(1),m),r.set(u,void 0)}}return s=u,[u,d]});return{isPure:i,data:r,enumValues:a}}function a_(e,t,r=new Set){return n(e);function n(o){let l=o.node;switch(l.type){case"MemberExpression":return s(o,t,r);case"StringLiteral":return l.value;case"UnaryExpression":return i(o);case"BinaryExpression":return a(o);case"NumericLiteral":return l.value;case"ParenthesizedExpression":return n(o.get("expression"));case"Identifier":return s(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=s(u[d],t,r);if(m===void 0)return;f+=m}return f}default:return}}function s(o,l,u){if(o.isMemberExpression()){let c=o.node,f=c.object,d=c.property;if(!ia.types.isIdentifier(f)||(c.computed?!ia.types.isStringLiteral(d):!ia.types.isIdentifier(d)))return;let m=o.scope.getBindingIdentifier(f.name),C=n_.get(m);return C?C.get(d.computed?d.value:d.name):void 0}else if(o.isIdentifier()){let c=o.node.name;if(["Infinity","NaN"].includes(c))return Number(c);let 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=a_(d,void 0,u),l==null||l.set(c,f),f}}function i(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 o_=g(mE=>{"use strict";Object.defineProperty(mE,"__esModule",{value:!0});mE.default=v1e;var E1e=hE();function v1e(e,t){let{name:r}=e.node.id,n=e.parentPath.isExportNamedDeclaration(),s=n;!s&&t.isProgram(e.parent)&&(s=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:i}=(0,E1e.translateEnumValues)(e,t);if(s){let o=t.objectExpression(i.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(i);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 u_=g(EE=>{"use strict";Object.defineProperty(EE,"__esModule",{value:!0});EE.default=T1e;var ze=ft();function T1e(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=bE(e,ze.types.cloneNode(e.node,!0));n===null?e.remove():e.scope.hasOwnBinding(r)?e.replaceWith(n):e.scope.registerDeclaration(e.replaceWithMultiple([yE(r),n])[0])}function yE(e){return ze.types.variableDeclaration("let",[ze.types.variableDeclarator(ze.types.identifier(e))])}function gE(e,t){return ze.types.memberExpression(ze.types.identifier(e),ze.types.identifier(t))}function S1e(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("=",gE(t,a.id.name),a.init);return[e]}let s=ze.types.getBindingIdentifiers(e),i=[];for(let a in s)i.push(ze.types.assignmentExpression("=",gE(t,a),ze.types.cloneNode(s[a])));return[e,ze.types.expressionStatement(ze.types.sequenceExpression(i))]}function l_(e,t){return e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function bE(e,t,r){let n=new Set,s=t.id;ze.types.assertIdentifier(s);let i=e.scope.generateUid(s.name),a=ze.types.isTSModuleBlock(t.body)?t.body.body:[ze.types.exportNamedDeclaration(t.body)],o=!0;for(let u=0;u<a.length;u++){let c=a[u];switch(c.type){case"TSModuleDeclaration":{if(!ze.types.isIdentifier(c.id))throw l_(e,c);let f=bE(e,c);if(f!==null){o=!1;let d=c.id.name;n.has(d)?a[u]=f:(n.add(d),a.splice(u++,1,yE(d),f))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":o=!1,n.add(c.id.name);continue;case"VariableDeclaration":{o=!1;for(let f in ze.types.getBindingIdentifiers(c))n.add(f);continue}default:o&&(o=ze.types.isTypeScript(c));continue;case"ExportNamedDeclaration":}if(!("declare"in c.declaration&&c.declaration.declare))switch(c.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{o=!1;let f=c.declaration.id.name;n.add(f),a.splice(u++,1,c.declaration,ze.types.expressionStatement(ze.types.assignmentExpression("=",gE(i,f),ze.types.identifier(f))));break}case"VariableDeclaration":{o=!1;let f=S1e(c.declaration,i,e.hub);a.splice(u,f.length,...f),u+=f.length-1;break}case"TSModuleDeclaration":{if(!ze.types.isIdentifier(c.declaration.id))throw l_(e,c.declaration);let f=bE(e,c.declaration,ze.types.identifier(i));if(f!==null){o=!1;let d=c.declaration.id.name;n.has(d)?a[u]=f:(n.add(d),a.splice(u++,1,yE(d),f))}else a.splice(u,1),u--}}}if(o)return null;let l=ze.types.objectExpression([]);if(r){let u=ze.types.memberExpression(r,s);l=ze.template.expression.ast`
  1780. ${ze.types.cloneNode(u)} ||
  1781. (${ze.types.cloneNode(u)} = ${l})
  1782. `}return ze.template.statement.ast`
  1783. (function (${ze.types.identifier(i)}) {
  1784. ${a}
  1785. })(${s} || (${ze.types.cloneNode(s)} = ${l}));
  1786. `}});var p_=g(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.default=void 0;var x1e=Je(),P1e=AO(),A1e=sa(),C1e=o_(),w1e=hE(),D1e=u_();function I1e(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 $f=new WeakMap,Lr=new WeakMap,c_=new WeakSet;function vE({scope:e},t){return e.hasBinding(t)?!1:$f.get(e).has(t)?!0:(console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker
  1787. as a JavaScript value binding, and "@babel/plugin-transform-typescript"
  1788. never encountered it as a TypeScript type declaration.
  1789. It will be treated as a JavaScript value.
  1790. This problem is likely caused by another plugin injecting
  1791. "${t}" without registering it in the scope tracker. If you are the author
  1792. of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1)}function Uf(e,t){$f.get(e).add(t)}function Vf(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}function f_(e,t,r,n,s=""){if(t.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw e.buildCodeFrameError(`\`${r}\` is only supported when compiling modules to CommonJS.
  1793. Please consider using \`${n}\`${s}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}var O1e=(0,x1e.declare)((e,t)=>{let{types:r,template:n}=e;e.assertVersion(7);let s=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/,{allowNamespaces:i=!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:b}=p;if(!c&&b.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(b.declare){if(b.value)throw p.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");b.decorators||p.remove()}else if(b.definite){if(b.value)throw p.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");!c&&!b.decorators&&!r.isClassPrivateProperty(b)&&p.remove()}else(b.abstract||!c&&!b.value&&!b.decorators&&!r.isClassPrivateProperty(b))&&p.remove();b.accessibility&&(b.accessibility=null),b.abstract&&(b.abstract=null),b.readonly&&(b.readonly=null),b.optional&&(b.optional=null),b.typeAnnotation&&(b.typeAnnotation=null),b.definite&&(b.definite=null),b.declare&&(b.declare=null),b.override&&(b.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,b){p.node.accessibility&&(p.node.accessibility=null);let E=[],{scope:O}=p;for(let P of p.get("params")){let A=P.node;if(A.type==="TSParameterProperty"){let I=A.parameter;if(c_.has(I))continue;c_.add(I);let k;if(r.isIdentifier(I))k=I;else if(r.isAssignmentPattern(I)&&r.isIdentifier(I.left))k=I.left;else throw P.buildCodeFrameError("Parameter properties can not be destructuring patterns.");E.push(n.statement.ast`
  1794. this.${r.cloneNode(k)} = ${r.cloneNode(k)}`),P.replaceWith(P.get("parameter")),O.registerBinding("param",P)}}(0,A1e.injectInitialization)(b,p,E)}};return{name:"transform-typescript",inherits:P1e.default,visitor:{Pattern:m,Identifier:m,RestElement:m,Program:{enter(p,b){let{file:E}=b,O=null,P=null,A=p.scope;if($f.has(A)||$f.set(A,new Set),E.ast.comments)for(let B of E.ast.comments){let M=s.exec(B.value);M&&(M[1]?P=M[2]:O=M[2])}let I=O||a;I&&([I]=I.split("."));let k=P||o;k&&([k]=k.split("."));for(let B of p.get("body")){if(B.isImportDeclaration()){if(Lr.has(b.file.ast.program)||Lr.set(b.file.ast.program,!0),B.node.importKind==="type"){for(let ce of B.node.specifiers)Uf(A,ce.local.name);B.remove();continue}let M=new Set,H=B.node.specifiers.length,ie=()=>H>0&&H===M.size;for(let ce of B.node.specifiers)if(ce.type==="ImportSpecifier"&&ce.importKind==="type"){Uf(A,ce.local.name);let ve=B.scope.getBinding(ce.local.name);ve&&M.add(ve.path)}if(l)Lr.set(p.node,!1);else{if(B.node.specifiers.length===0){Lr.set(p.node,!1);continue}for(let ce of B.node.specifiers){let ve=B.scope.getBinding(ce.local.name);ve&&!M.has(ve.path)&&(C({binding:ve,programPath:p,pragmaImportName:I,pragmaFragImportName:k})?M.add(ve.path):Lr.set(p.node,!1))}}if(ie()&&!l)B.remove();else for(let ce of M)ce.remove();continue}if(B.isExportDeclaration()&&(B=B.get("declaration")),B.isVariableDeclaration({declare:!0}))for(let M of Object.keys(B.getBindingIdentifiers()))Uf(A,M);else(B.isTSTypeAliasDeclaration()||B.isTSDeclareFunction()&&B.get("id").isIdentifier()||B.isTSInterfaceDeclaration()||B.isClassDeclaration({declare:!0})||B.isTSEnumDeclaration({declare:!0})||B.isTSModuleDeclaration({declare:!0})&&B.get("id").isIdentifier())&&Uf(A,B.node.id.name)}},exit(p){p.node.sourceType==="module"&&Lr.get(p.node)&&p.pushContainer("body",r.exportNamedDeclaration())}},ExportNamedDeclaration(p,b){if(Lr.has(b.file.ast.program)||Lr.set(b.file.ast.program,!0),p.node.exportKind==="type"){p.remove();return}if(p.node.source&&p.node.specifiers.length>0&&p.node.specifiers.every(E=>E.type==="ExportSpecifier"&&E.exportKind==="type")){p.remove();return}if(!p.node.source&&p.node.specifiers.length>0&&p.node.specifiers.every(E=>r.isExportSpecifier(E)&&vE(p,E.local.name))){p.remove();return}if(r.isTSModuleDeclaration(p.node.declaration)){let E=p.node.declaration,{id:O}=E;if(r.isIdentifier(O))if(p.scope.hasOwnBinding(O.name))p.replaceWith(E);else{let[P]=p.replaceWithMultiple([r.exportNamedDeclaration(r.variableDeclaration("let",[r.variableDeclarator(r.cloneNode(O))])),E]);p.scope.registerDeclaration(P)}}Lr.set(b.file.ast.program,!1)},ExportAllDeclaration(p){p.node.exportKind==="type"&&p.remove()},ExportSpecifier(p){(!p.parent.source&&vE(p,p.node.local.name)||p.node.exportKind==="type")&&p.remove()},ExportDefaultDeclaration(p,b){if(Lr.has(b.file.ast.program)||Lr.set(b.file.ast.program,!0),r.isIdentifier(p.node.declaration)&&vE(p,p.node.declaration.name)){p.remove();return}Lr.set(b.file.ast.program,!1)},TSDeclareFunction(p){Vf(p)},TSDeclareMethod(p){Vf(p)},VariableDeclaration(p){p.node.declare&&Vf(p)},VariableDeclarator({node:p}){p.definite&&(p.definite=null)},TSIndexSignature(p){p.remove()},ClassDeclaration(p){let{node:b}=p;b.declare&&Vf(p)},Class(p){let{node:b}=p;b.typeParameters&&(b.typeParameters=null),b.superTypeParameters&&(b.superTypeParameters=null),b.implements&&(b.implements=null),b.abstract&&(b.abstract=null),p.get("body.body").forEach(E=>{E.isClassMethod()||E.isClassPrivateMethod()?E.node.kind==="constructor"?f.constructor(E,p):f.method(E):(E.isClassProperty()||E.isClassPrivateProperty()||E.isClassAccessorProperty())&&f.field(E)})},Function(p){let{node:b}=p;b.typeParameters&&(b.typeParameters=null),b.returnType&&(b.returnType=null);let E=b.params;E.length>0&&r.isIdentifier(E[0],{name:"this"})&&E.shift()},TSModuleDeclaration(p){(0,D1e.default)(p,i)},TSInterfaceDeclaration(p){p.remove()},TSTypeAliasDeclaration(p){p.remove()},TSEnumDeclaration(p){u&&p.node.const?(0,C1e.default)(p,r):(0,w1e.default)(p,r)},TSImportEqualsDeclaration(p,b){let{id:E,moduleReference:O}=p.node,P,A;r.isTSExternalModuleReference(O)?(f_(p,b,`import ${E.name} = require(...);`,`import ${E.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),P=r.callExpression(r.identifier("require"),[O.expression]),A="const"):(P=d(O),A="var"),p.replaceWith(r.variableDeclaration(A,[r.variableDeclarator(E,P)])),p.scope.registerDeclaration(p)},TSExportAssignment(p,b){f_(p,b,"export = <value>;","export default <value>;"),p.replaceWith(n.statement.ast`module.exports = ${p.node.expression}`)},TSTypeAssertion(p){p.replaceWith(p.node.expression)},[`TSAsExpression${r.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](p){let{node:b}=p;do b=b.expression;while(r.isTSAsExpression(b)||r.isTSSatisfiesExpression!=null&&r.isTSSatisfiesExpression(b));p.replaceWith(b)},[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 C({binding:p,programPath:b,pragmaImportName:E,pragmaFragImportName:O}){for(let A of p.referencePaths)if(!I1e(A))return!1;if(p.identifier.name!==E&&p.identifier.name!==O)return!0;let P=!1;return b.traverse({"JSXElement|JSXFragment"(A){P=!0,A.stop()}}),!P}});Wf.default=O1e});var TE=g(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.default=void 0;var _1e=Je(),N1e=(0,_1e.declare)(e=>(e.assertVersion(7),{name:"syntax-jsx",manipulateOptions(t,r){r.plugins.some(n=>(Array.isArray(n)?n[0]:n)==="typescript")||r.plugins.push("jsx")}}));Kf.default=N1e});var m_=g(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.transformDynamicImport=F1e;var d_=ft(),k1e=bo(),h_=e=>d_.template.expression.ast`require(${e})`,B1e=(e,t)=>d_.types.callExpression(t.addHelper("interopRequireWildcard"),[h_(e)]);function F1e(e,t,r){let n=t?h_:B1e;e.replaceWith((0,k1e.buildDynamicImport)(e.node,!0,!1,s=>n(s,r)))}});var g_=g(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.lazyImportsHook=void 0;var y_=ft(),j1e=bo(),L1e=e=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.23.0",getWrapperPayload(t,r){if((0,j1e.isSideEffectImport)(r)||r.reexportAll)return null;if(e===!0)return/\./.test(t)?null:"lazy/function";if(Array.isArray(e))return e.indexOf(t)===-1?null:"lazy/function";if(typeof e=="function")return e(t)?"lazy/function":null},buildRequireWrapper(t,r,n,s){if(n==="lazy/function")return s?y_.template.statement.ast`
  1795. function ${t}() {
  1796. const data = ${r};
  1797. ${t} = function(){ return data; };
  1798. return data;
  1799. }
  1800. `:!1},wrapReference(t,r){if(r==="lazy/function")return y_.types.callExpression(t,[])}});Gf.lazyImportsHook=L1e});var b_=g(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});Hf.defineCommonJSHook=M1e;Hf.makeInvokers=R1e;var PE="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function M1e(e,t){let r=e.get(PE);r||e.set(PE,r=[]),r.push(t)}function xE(e,t){if(e)for(let r of e){let n=t(r);if(n!=null)return n}}function R1e(e){let t=e.get(PE);return{getWrapperPayload(...r){return xE(t,n=>n.getWrapperPayload==null?void 0:n.getWrapperPayload(...r))},wrapReference(...r){return xE(t,n=>n.wrapReference==null?void 0:n.wrapReference(...r))},buildRequireWrapper(...r){return xE(t,n=>n.buildRequireWrapper==null?void 0:n.buildRequireWrapper(...r))}}}});var CE=g(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;Object.defineProperty(Qo,"defineCommonJSHook",{enumerable:!0,get:function(){return AE.defineCommonJSHook}});var q1e=Je(),Zs=bo(),U1e=x0(),Qr=ft(),V1e=m_(),$1e=g_(),AE=b_(),W1e=(0,q1e.declare)((e,t)=>{var r,n,s;e.assertVersion(7);let{strictNamespace:i=!1,mjsStrictNamespace:a=i,allowTopLevelThis:o,strict:l,strictMode:u,noInterop:c,importInterop:f,lazy:d=!1,allowCommonJSExports:m=!0,loose:C=!1}=t,p=(r=e.assumption("constantReexports"))!=null?r:C,b=(n=e.assumption("enumerableModuleMeta"))!=null?n:C,E=(s=e.assumption("noIncompleteNsImportDetection"))!=null?s:!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 i!="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 O=A=>Qr.template.expression.ast`
  1801. (function(){
  1802. throw new Error(
  1803. "The CommonJS '" + "${A}" + "' variable is not available in ES6 modules." +
  1804. "Consider setting setting sourceType:script or sourceType:unambiguous in your " +
  1805. "Babel config for this file.");
  1806. })()
  1807. `,P={ReferencedIdentifier(A){let I=A.node.name;if(I!=="module"&&I!=="exports")return;let k=A.scope.getBinding(I);this.scope.getBinding(I)!==k||A.parentPath.isObjectProperty({value:A.node})&&A.parentPath.parentPath.isObjectPattern()||A.parentPath.isAssignmentExpression({left:A.node})||A.isAssignmentExpression({left:A.node})||A.replaceWith(O(I))},UpdateExpression(A){let I=A.get("argument");if(!I.isIdentifier())return;let k=I.node.name;if(k!=="module"&&k!=="exports")return;let B=A.scope.getBinding(k);this.scope.getBinding(k)===B&&A.replaceWith(Qr.types.assignmentExpression(A.node.operator[0]+"=",I.node,O(k)))},AssignmentExpression(A){let I=A.get("left");if(I.isIdentifier()){let k=I.node.name;if(k!=="module"&&k!=="exports")return;let B=A.scope.getBinding(k);if(this.scope.getBinding(k)!==B)return;let H=A.get("right");H.replaceWith(Qr.types.sequenceExpression([H.node,O(k)]))}else if(I.isPattern()){let k=I.getOuterBindingIdentifiers(),B=Object.keys(k).filter(M=>M!=="module"&&M!=="exports"?!1:this.scope.getBinding(M)===A.scope.getBinding(M))[0];if(B){let M=A.get("right");M.replaceWith(Qr.types.sequenceExpression([M.node,O(B)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),d&&(0,AE.defineCommonJSHook)(this.file,(0,$1e.lazyImportsHook)(d))},visitor:{["CallExpression"+(e.types.importExpression?"|ImportExpression":"")](A){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||A.isCallExpression()&&!Qr.types.isImport(A.node.callee))return;let{scope:I}=A;do I.rename("require");while(I=I.parent);(0,V1e.transformDynamicImport)(A,c,this.file)},Program:{exit(A,I){if(!(0,Zs.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,U1e.default)(A,new Set(["module","exports"]),!1),A.traverse(P,{scope:A.scope}));let k=(0,Zs.getModuleName)(this.file.opts,t);k&&(k=Qr.types.stringLiteral(k));let B=(0,AE.makeInvokers)(this.file),{meta:M,headers:H}=(0,Zs.rewriteModuleStatementsAndPrepareHeader)(A,{exportName:"exports",constantReexports:p,enumerableModuleMeta:b,strict:l,strictMode:u,allowTopLevelThis:o,noInterop:c,importInterop:f,wrapReference:B.wrapReference,getWrapperPayload:B.getWrapperPayload,esNamespaceOnly:typeof I.filename=="string"&&/\.mjs$/.test(I.filename)?a:i,noIncompleteNsImportDetection:E,filename:this.file.opts.filename});for(let[ce,ve]of M.source){let dt=Qr.types.callExpression(Qr.types.identifier("require"),[Qr.types.stringLiteral(ce)]),ut;if((0,Zs.isSideEffectImport)(ve)){if(d&&ve.wrap==="function")throw new Error("Assertion failure");ut=Qr.types.expressionStatement(dt)}else{var ie;let q=(0,Zs.wrapInterop)(A,dt,ve.interop)||dt;if(ve.wrap){let Y=B.buildRequireWrapper(ve.name,q,ve.wrap,ve.referenced);if(Y===!1)continue;ut=Y}(ie=ut)!=null||(ut=Qr.template.statement.ast`
  1808. var ${ve.name} = ${q};
  1809. `)}ut.loc=ve.loc,H.push(ut),H.push(...(0,Zs.buildNamespaceInitStatements)(M,ve,p,B.wrapReference))}(0,Zs.ensureStatementsHoisted)(H),A.unshiftContainer("body",H),A.get("body").forEach(ce=>{H.indexOf(ce.node)!==-1&&ce.isVariableDeclaration()&&ce.scope.registerDeclaration(ce)})}}}}});Qo.default=W1e});var DE=g(wE=>{"use strict";Object.defineProperty(wE,"__esModule",{value:!0});var v_=Je(),K1e=p_();TE();var G1e=CE(),H1e=Xc();function T_(e){return e&&e.__esModule?e:{default:e}}var E_=T_(K1e),Y1e=T_(G1e),Ln=new H1e.OptionValidator("@babel/preset-typescript");function X1e(e={}){let{allowNamespaces:t=!0,jsxPragma:r,onlyRemoveTypeImports:n}=e,s={ignoreExtensions:"ignoreExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums",rewriteImportExtensions:"rewriteImportExtensions",allExtensions:"allExtensions",isTSX:"isTSX"},i=Ln.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");{var a=Ln.validateBooleanOption(s.allExtensions,e.allExtensions,!1),o=Ln.validateBooleanOption(s.isTSX,e.isTSX,!1);o&&Ln.invariant(a,"isTSX:true requires allExtensions:true")}let l=Ln.validateBooleanOption(s.ignoreExtensions,e.ignoreExtensions,!1),u=Ln.validateBooleanOption(s.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,!1);u&&Ln.invariant(a,"disallowAmbiguousJSXLike:true requires allExtensions:true");let c=Ln.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,!1),f=Ln.validateBooleanOption(s.rewriteImportExtensions,e.rewriteImportExtensions,!1),d={ignoreExtensions:l,allowNamespaces:t,disallowAmbiguousJSXLike:u,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:c,rewriteImportExtensions:f};return d.allExtensions=a,d.isTSX=o,d}var J1e=v_.declare(function({types:e}){return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"({node:t}){let{source:r}=t;(e.isImportDeclaration(t)?t.importKind:t.exportKind)==="value"&&r&&/[\\/]/.test(r.value)&&(r.value=r.value.replace(/(\.[mc]?)ts$/,"$1js").replace(/\.tsx$/,".js"))}}}}),z1e=v_.declarePreset((e,t)=>{e.assertVersion(7);let{allExtensions:r,ignoreExtensions:n,allowNamespaces:s,disallowAmbiguousJSXLike:i,isTSX:a,jsxPragma:o,jsxPragmaFrag:l,onlyRemoveTypeImports:u,optimizeConstEnums:c,rewriteImportExtensions:f}=X1e(t),d=p=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:p,jsxPragma:o,jsxPragmaFrag:l,onlyRemoveTypeImports:u,optimizeConstEnums:c}),m=(p,b)=>[[E_.default,Object.assign({isTSX:p},d(b))]];return{plugins:f?[J1e]:[],overrides:r||n?[{plugins:m(a,i)}]:[{test:/\.ts$/,plugins:m(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:m(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[Y1e.default,{allowTopLevelThis:!0}],[E_.default,d(!0)]]},{test:/\.tsx$/,plugins:m(!0,!1)}]}});wE.default=z1e});var jE=g(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=rTe;Zo.supportsESM=void 0;var S_=Li();function kE(){let e=require("path");return kE=function(){return e},e}function P_(){let e=require("url");return P_=function(){return e},e}function BE(){let e=wn();return BE=function(){return e},e}function A_(){let e=Cs();return A_=function(){return e},e}var C_=Dn(),FE=qs(),Q1e=Wb();function x_(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){r(u);return}o.done?t(l):Promise.resolve(l).then(n,s)}function Z1e(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){x_(i,n,s,a,o,"next",l)}function o(l){x_(i,n,s,a,o,"throw",l)}a(void 0)})}}var eTe=A_()("babel:config:loading:files:module-types"),OE;try{OE=SO()}catch{}var tTe=BE().satisfies(process.versions.node,"^12.17 || >=13.2");Zo.supportsESM=tTe;function*rTe(e,t){switch(kE().extname(e)){case".cjs":return _E(e,arguments[2]);case".mjs":break;case".cts":return nTe(e);default:try{return _E(e,arguments[2])}catch(r){if(r.code!=="ERR_REQUIRE_ESM")throw r}}if(yield*(0,S_.isAsync)())return yield*(0,S_.waitFor)(sTe(e));throw new FE.default(t,e)}function nTe(e){let t=".cts",r=!!(require.extensions[".ts"]||require.extensions[".cts"]||require.extensions[".mts"]),n;if(!r){let s={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:kE().basename(e),presets:[[iTe(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};n=function(i,a){if(n&&a.endsWith(t))try{return i._compile((0,Q1e.transformFileSync)(a,Object.assign({},s,{filename:a})).code,a)}catch(o){if(!r){let l=xO();BE().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"](i,a)},require.extensions[t]=n}try{return _E(e)}finally{r||(require.extensions[t]===n&&delete require.extensions[t],n=void 0)}}var IE=new Set;function _E(e){if(IE.has(e))return eTe("Auto-ignoring usage of config %o.",e),{};let t;try{IE.add(e),t=(0,C_.endHiddenCallStack)(require)(e)}finally{IE.delete(e)}{var r;return(r=t)!=null&&r.__esModule?t.default||(arguments[1]?t:void 0):t}}function sTe(e){return NE.apply(this,arguments)}function NE(){return NE=Z1e(function*(e){if(!OE)throw new FE.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
  1810. `,e);return(yield(0,C_.endHiddenCallStack)(OE)((0,P_().pathToFileURL)(e))).default}),NE.apply(this,arguments)}function iTe(e){try{return DE()}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+=`
  1811. If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
  1812. packageExtensions:
  1813. "@babel/core@*":
  1814. peerDependencies:
  1815. "@babel/preset-typescript": "*"
  1816. `),new FE.default(r,e)}}});var F_=g(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.ROOT_CONFIG_FILENAMES=void 0;Mn.findConfigUpwards=ETe;Mn.findRelativeConfig=vTe;Mn.findRootConfig=TTe;Mn.loadConfig=STe;Mn.resolveShowConfigPath=xTe;function D_(){let e=Cs();return D_=function(){return e},e}function LE(){let e=require("fs");return LE=function(){return e},e}function Tr(){let e=require("path");return Tr=function(){return e},e}function I_(){let e=n2();return I_=function(){return e},e}function O_(){let e=Er();return O_=function(){return e},e}var __=Rs(),aTe=cg(),N_=Q0(),oTe=jE(),lTe=zg(),Zr=qs(),uTe=xc(),cTe=Dn(),ME=D_()("babel:config:loading:files:configuration"),RE=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];Mn.ROOT_CONFIG_FILENAMES=RE;var fTe=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],pTe=".babelignore",dTe=(0,__.makeWeakCache)(function*(t,r){return yield*[],{options:(0,cTe.endHiddenCallStack)(t)((0,aTe.makeConfigAPI)(r)),cacheNeedsConfiguration:!r.configured()}});function*hTe(e,t){if(!LE().existsSync(e))return null;let r=yield*(0,oTe.default)(e,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously."),n=!1;if(typeof r=="function"&&({options:r,cacheNeedsConfiguration:n}=yield*dTe(r,t)),!r||typeof r!="object"||Array.isArray(r))throw new Zr.default("Configuration should be an exported JavaScript object.",e);if(typeof r.then=="function")throw r.catch==null||r.catch(()=>{}),new Zr.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.",e);return n&&PTe(e),mTe(r,e)}var w_=new WeakMap;function mTe(e,t){let r=w_.get(e);r||w_.set(e,r=new Map);let n=r.get(t);return n||(n={filepath:t,dirname:Tr().dirname(t),options:e},r.set(t,n)),n}var yTe=(0,__.makeWeakCacheSync)(e=>{let t=e.options.babel;if(typeof t=="undefined")return null;if(typeof t!="object"||Array.isArray(t)||t===null)throw new Zr.default(".babel property must be an object",e.filepath);return{filepath:e.filepath,dirname:e.dirname,options:t}}),gTe=(0,N_.makeStaticFileCache)((e,t)=>{let r;try{r=I_().parse(t)}catch(n){throw new Zr.default(`Error while parsing config - ${n.message}`,e)}if(!r)throw new Zr.default("No config detected",e);if(typeof r!="object")throw new Zr.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new Zr.default("Expected config object but found array",e);return delete r.$schema,{filepath:e,dirname:Tr().dirname(e),options:r}}),bTe=(0,N_.makeStaticFileCache)((e,t)=>{let r=Tr().dirname(e),n=t.split(`
  1817. `).map(s=>s.replace(/#(.*?)$/,"").trim()).filter(s=>!!s);for(let s of n)if(s[0]==="!")throw new Zr.default("Negation of file paths is not supported.",e);return{filepath:e,dirname:Tr().dirname(e),ignore:n.map(s=>(0,lTe.default)(s,r))}});function ETe(e){let t=e;for(;;){for(let n of RE)if(LE().existsSync(Tr().join(t,n)))return t;let r=Tr().dirname(t);if(t===r)break;t=r}return null}function*vTe(e,t,r){let n=null,s=null,i=Tr().dirname(e.filepath);for(let o of e.directories){if(!n){var a;n=yield*k_(fTe,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?yTe(e.pkg):null)}if(!s){let l=Tr().join(o,pTe);s=yield*bTe(l),s&&ME("Found ignore %o from %o.",s.filepath,i)}}return{config:n,ignore:s}}function TTe(e,t,r){return k_(RE,e,t,r)}function*k_(e,t,r,n,s=null){let a=(yield*O_().all(e.map(o=>B_(Tr().join(t,o),r,n)))).reduce((o,l)=>{if(l&&o)throw new Zr.default(`Multiple configuration files found. Please remove one:
  1818. - ${Tr().basename(o.filepath)}
  1819. - ${l.filepath}
  1820. from ${t}`);return l||o},s);return a&&ME("Found configuration %o from %o.",a.filepath,t),a}function*STe(e,t,r,n){let s=(((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]}),i=yield*B_(s,r,n);if(!i)throw new Zr.default("Config file contains no configuration data",s);return ME("Loaded config %o from %o.",e,t),i}function B_(e,t,r){switch(Tr().extname(e)){case".js":case".cjs":case".mjs":case".cts":return hTe(e,{envName:t,caller:r});default:return gTe(e)}}function*xTe(e){let t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){let r=Tr().resolve(e,t);if(!(yield*uTe.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 PTe(e){throw new Zr.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
  1821. for various types of caching, using the first param of their handler functions:
  1822. module.exports = function(api) {
  1823. // The API exposes the following:
  1824. // Cache the returned value forever and don't call this function again.
  1825. api.cache(true);
  1826. // Don't cache at all. Not recommended because it will be very slow.
  1827. api.cache(false);
  1828. // Cached based on the value of some function. If this function returns a value different from
  1829. // a previously-encountered value, the plugins will re-evaluate.
  1830. var env = api.cache(() => process.env.NODE_ENV);
  1831. // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
  1832. // any possible NODE_ENV value that might come up during plugin execution.
  1833. var isProd = api.cache(() => process.env.NODE_ENV === "production");
  1834. // .cache(fn) will perform a linear search though instances to find the matching plugin based
  1835. // based on previous instantiated plugins. If you want to recreate the plugin and discard the
  1836. // previous instance whenever something changes, you may use:
  1837. var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
  1838. // Note, we also expose the following more-verbose versions of the above examples:
  1839. api.cache.forever(); // api.cache(true)
  1840. api.cache.never(); // api.cache(false)
  1841. api.cache.using(fn); // api.cache(fn)
  1842. // Return the value that will be cached.
  1843. return { };
  1844. };`,e)}});var iN=g(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.moduleResolve=sN;Zf.resolve=xSe;function fn(){let e=require("assert");return fn=function(){return e},e}function aa(){let e=ATe(require("fs"),!0);return aa=function(){return e},e}function oa(){let e=require("process");return oa=function(){return e},e}function Ee(){let e=require("url");return Ee=function(){return e},e}function tl(){let e=require("path");return tl=function(){return e},e}function WE(){let e=require("module");return WE=function(){return e},e}function G_(){let e=require("v8");return G_=function(){return e},e}function rl(){let e=require("util");return rl=function(){return e},e}function H_(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(H_=function(n){return n?r:t})(e)}function ATe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=H_(t);if(r&&r.has(e))return r.get(e);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var CTe=oa().platform==="win32",wTe={}.hasOwnProperty,DTe=/^([A-Z][a-z\d]*)+$/,ITe=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),$t={};function Jf(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}var Y_=new Map,OTe="__node_internal_",j_;$t.ERR_INVALID_ARG_TYPE=Mr("ERR_INVALID_ARG_TYPE",(e,t,r)=>{fn()(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 s=[],i=[],a=[];for(let o of t)fn()(typeof o=="string","All expected entries have to be of type string"),ITe.has(o)?s.push(o.toLowerCase()):DTe.exec(o)===null?(fn()(o!=="object",'The value "object" should be written as "Object"'),a.push(o)):i.push(o);if(i.length>0){let o=s.indexOf("object");o!==-1&&(s.slice(o,1),i.push("Object"))}return s.length>0&&(n+=`${s.length>1?"one of type":"of type"} ${Jf(s,"or")}`,(i.length>0||a.length>0)&&(n+=" or ")),i.length>0&&(n+=`an instance of ${Jf(i,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${Jf(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${FTe(r)}`,n},TypeError);$t.ERR_INVALID_MODULE_SPECIFIER=Mr("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);$t.ERR_INVALID_PACKAGE_CONFIG=Mr("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);$t.ERR_INVALID_PACKAGE_TARGET=Mr("ERR_INVALID_PACKAGE_TARGET",(e,t,r,n=!1,s=void 0)=>{let i=typeof r=="string"&&!n&&r.length>0&&!r.startsWith("./");return t==="."?(fn()(n===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`},Error);$t.ERR_MODULE_NOT_FOUND=Mr("ERR_MODULE_NOT_FOUND",(e,t,r="package")=>`Cannot find ${r} '${e}' imported from ${t}`,Error);$t.ERR_NETWORK_IMPORT_DISALLOWED=Mr("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);$t.ERR_PACKAGE_IMPORT_NOT_DEFINED=Mr("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);$t.ERR_PACKAGE_PATH_NOT_EXPORTED=Mr("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);$t.ERR_UNSUPPORTED_DIR_IMPORT=Mr("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);$t.ERR_UNKNOWN_FILE_EXTENSION=Mr("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);$t.ERR_INVALID_ARG_VALUE=Mr("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=(0,rl().inspect)(t);return n.length>128&&(n=`${n.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);$t.ERR_UNSUPPORTED_ESM_URL_SCHEME=Mr("ERR_UNSUPPORTED_ESM_URL_SCHEME",(e,t)=>{let r=`Only URLs with a scheme in: ${Jf(t)} are supported by the default ESM loader`;return CTe&&e.protocol.length===2&&(r+=". On Windows, absolute paths must be valid file:// URLs"),r+=`. Received protocol '${e.protocol}'`,r},Error);function Mr(e,t,r){return Y_.set(e,t),_Te(r,e)}function _Te(e,t){return r;function r(...n){let s=Error.stackTraceLimit;$E()&&(Error.stackTraceLimit=0);let i=new e;$E()&&(Error.stackTraceLimit=s);let a=BTe(t,n,i);return Object.defineProperties(i,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),kTe(i),i.code=t,i}}function $E(){try{if(G_().startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):wTe.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function NTe(e){let t=OTe+e.name;return Object.defineProperty(e,"name",{value:t}),e}var kTe=NTe(function(e){let t=$E();return t&&(j_=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=j_),e});function BTe(e,t,r){let n=Y_.get(e);if(fn()(n!==void 0,"expected `message` to be found"),typeof n=="function")return fn()(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 s=/%[dfijoOs]/g,i=0;for(;s.exec(n)!==null;)i++;return fn()(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),t.length===0?n:(t.unshift(n),Reflect.apply(rl().format,null,t))}function FTe(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,rl().inspect)(e,{depth:-1})}`;let t=(0,rl().inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}var jTe={read:MTe},LTe=jTe;function MTe(e){try{return{string:aa().default.readFileSync(tl().toNamespacedPath(tl().join(tl().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:RTe}=$t,zf=new Map;function X_(e,t,r){let n=zf.get(e);if(n!==void 0)return n;let s=LTe.read(e).string;if(s===void 0){let d={pjsonPath:e,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return zf.set(e,d),d}let i;try{i=JSON.parse(s)}catch(d){let m=d;throw new RTe(e,(r?`"${t}" from `:"")+(0,Ee().fileURLToPath)(r||t),m.message)}let{exports:a,imports:o,main:l,name:u,type:c}=i,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 zf.set(e,f),f}function KE(e){let t=new(Ee()).URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let i=X_((0,Ee().fileURLToPath)(t),e);if(i.exists)return i;let a=t;if(t=new(Ee()).URL("../package.json",t),t.pathname===a.pathname)break}let r=(0,Ee().fileURLToPath)(t),n={pjsonPath:r,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return zf.set(r,n),n}function qTe(e){return KE(e).type}var{ERR_UNKNOWN_FILE_EXTENSION:UTe}=$t,VTe={}.hasOwnProperty,$Te={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function WTe(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}var L_={__proto__:null,"data:":KTe,"file:":HTe,"http:":M_,"https:":M_,"node:"(){return"builtin"}};function KTe(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return WTe(t)}function GTe(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 HTe(e,t,r){let n=GTe(e);if(n===".js")return qTe(e)==="module"?"module":"commonjs";let s=$Te[n];if(s)return s;if(r)return;let i=(0,Ee().fileURLToPath)(e);throw new UTe(n,i)}function M_(){}function J_(e,t){return VTe.call(L_,e.protocol)&&L_[e.protocol](e,t,!0)||null}var{ERR_INVALID_ARG_VALUE:YTe}=$t,z_=Object.freeze(["node","import"]),XTe=new Set(z_);function JTe(){return z_}function zTe(){return XTe}function QTe(e){if(e!==void 0&&e!==JTe()){if(!Array.isArray(e))throw new YTe("conditions",e,"expected an array");return new Set(e)}return zTe()}var Yf=RegExp.prototype[Symbol.replace],R_=!1,{ERR_NETWORK_IMPORT_DISALLOWED:qE,ERR_INVALID_MODULE_SPECIFIER:Qf,ERR_INVALID_PACKAGE_CONFIG:Q_,ERR_INVALID_PACKAGE_TARGET:ZTe,ERR_MODULE_NOT_FOUND:GE,ERR_PACKAGE_IMPORT_NOT_DEFINED:eSe,ERR_PACKAGE_PATH_NOT_EXPORTED:tSe,ERR_UNSUPPORTED_DIR_IMPORT:rSe,ERR_UNSUPPORTED_ESM_URL_SCHEME:Z_}=$t,eN={}.hasOwnProperty,q_=/(^|\\|\/)((\.|%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,U_=/(^|\\|\/)((\.|%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,nSe=/^\.|%|\\/,Xf=/\*/g,sSe=/%2f|%5c/i,V_=new Set,iSe=/[/\\]{2}/;function $_(e,t,r,n,s,i,a){let o=(0,Ee().fileURLToPath)(n),l=iSe.exec(a?e:t)!==null;oa().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 "${s?"imports":"exports"}" field module resolution of the package at ${o}${i?` imported from ${(0,Ee().fileURLToPath)(i)}`:""}.`,"DeprecationWarning","DEP0166")}function W_(e,t,r,n){if(J_(e,{parentURL:r.href})!=="module")return;let i=(0,Ee().fileURLToPath)(e.href),a=(0,Ee().fileURLToPath)(new(Ee()).URL(".",t)),o=(0,Ee().fileURLToPath)(r);n?oa().emitWarning(`Package ${a} has a "main" field set to ${JSON.stringify(n)}, excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${o}.
  1845. Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):oa().emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${i.slice(a.length)}", imported from ${o}.
  1846. Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function tN(e){try{return(0,aa().statSync)(e)}catch{return new(aa()).Stats}}function UE(e){let t=(0,aa().statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r==null?!1:r}function aSe(e,t,r){let n;if(t.main!==void 0){if(n=new(Ee()).URL(t.main,e),UE(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(Ee()).URL(a[o],e),!UE(n));)n=void 0;if(n)return W_(n,e,r,t.main),n}let s=["./index.js","./index.json","./index.node"],i=-1;for(;++i<s.length&&(n=new(Ee()).URL(s[i],e),!UE(n));)n=void 0;if(n)return W_(n,e,r,t.main),n;throw new GE((0,Ee().fileURLToPath)(new(Ee()).URL(".",e)),(0,Ee().fileURLToPath)(r))}function oSe(e,t,r){if(sSe.exec(e.pathname)!==null)throw new Qf(e.pathname,'must not include encoded "/" or "\\" characters',(0,Ee().fileURLToPath)(t));let n=(0,Ee().fileURLToPath)(e),s=tN(n.endsWith("/")?n.slice(-1):n);if(s.isDirectory()){let i=new rSe(n,(0,Ee().fileURLToPath)(t));throw i.url=String(e),i}if(!s.isFile())throw new GE(n||e.pathname,t&&(0,Ee().fileURLToPath)(t),"module");if(!r){let i=(0,aa().realpathSync)(n),{search:a,hash:o}=e;e=(0,Ee().pathToFileURL)(i+(n.endsWith(tl().sep)?"/":"")),e.search=a,e.hash=o}return e}function lSe(e,t,r){return new eSe(e,t&&(0,Ee().fileURLToPath)(new(Ee()).URL(".",t)),(0,Ee().fileURLToPath)(r))}function VE(e,t,r){return new tSe((0,Ee().fileURLToPath)(new(Ee()).URL(".",t)),e,r&&(0,Ee().fileURLToPath)(r))}function uSe(e,t,r,n,s){let i=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,Ee().fileURLToPath)(r)}`;throw new Qf(e,i,s&&(0,Ee().fileURLToPath)(s))}function el(e,t,r,n,s){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new ZTe((0,Ee().fileURLToPath)(new(Ee()).URL(".",r)),e,t,n,s&&(0,Ee().fileURLToPath)(s))}function cSe(e,t,r,n,s,i,a,o,l){if(t!==""&&!i&&e[e.length-1]!=="/")throw el(r,e,n,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let d=!1;try{new(Ee()).URL(e),d=!0}catch{}if(!d){let m=i?Yf.call(Xf,e,()=>t):e+t;return nN(m,n,l)}}throw el(r,e,n,a,s)}if(q_.exec(e.slice(2))!==null)if(U_.exec(e.slice(2))===null){if(!o){let d=i?r.replace("*",()=>t):r+t,m=i?Yf.call(Xf,e,()=>t):e;$_(m,d,r,n,a,s,!0)}}else throw el(r,e,n,a,s);let u=new(Ee()).URL(e,n),c=u.pathname,f=new(Ee()).URL(".",n).pathname;if(!c.startsWith(f))throw el(r,e,n,a,s);if(t==="")return u;if(q_.exec(t)!==null){let d=i?r.replace("*",()=>t):r+t;if(U_.exec(t)===null){if(!o){let m=i?Yf.call(Xf,e,()=>t):e;$_(m,d,r,n,a,s,!1)}}else uSe(d,r,n,a,s)}return i?new(Ee()).URL(Yf.call(Xf,u.href,()=>t)):new(Ee()).URL(t,u)}function fSe(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function la(e,t,r,n,s,i,a,o,l){if(typeof t=="string")return cSe(t,r,n,e,s,i,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=la(e,d,r,n,s,i,a,o,l)}catch(C){let p=C;if(c=p,p.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw C}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(fSe(f))throw new Q_((0,Ee().fileURLToPath)(e),s,'"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=la(e,d,r,n,s,i,a,o,l);if(m===void 0)continue;return m}}return null}if(t===null)return null;throw el(n,t,e,a,s)}function pSe(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),s=!1,i=0,a=-1;for(;++a<n.length;){let o=n[a],l=o===""||o[0]!==".";if(i++===0)s=l;else if(s!==l)throw new Q_((0,Ee().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 s}function dSe(e,t,r){let n=(0,Ee().fileURLToPath)(t);V_.has(n+"|"+e)||(V_.add(n+"|"+e),oa().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${(0,Ee().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function K_(e,t,r,n,s){let i=r.exports;if(pSe(i,e,n)&&(i={".":i}),eN.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){let c=i[t],f=la(e,c,"",t,n,!1,!1,!1,s);if(f==null)throw VE(t,e,n);return f}let a="",o="",l=Object.getOwnPropertyNames(i),u=-1;for(;++u<l.length;){let c=l[u],f=c.indexOf("*");if(f!==-1&&t.startsWith(c.slice(0,f))){t.endsWith("/")&&dSe(t,e,n);let d=c.slice(f+1);t.length>=c.length&&t.endsWith(d)&&rN(a,c)===1&&c.lastIndexOf("*")===f&&(a=c,o=t.slice(f,t.length-d.length))}}if(a){let c=i[a],f=la(e,c,o,a,n,!0,!1,t.endsWith("/"),s);if(f==null)throw VE(t,e,n);return f}throw VE(t,e,n)}function rN(e,t){let r=e.indexOf("*"),n=t.indexOf("*"),s=r===-1?e.length:r+1,i=n===-1?t.length:n+1;return s>i?-1:i>s||r===-1?1:n===-1||e.length>t.length?-1:t.length>e.length?1:0}function hSe(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let i="is not a valid internal imports specifier name";throw new Qf(e,i,(0,Ee().fileURLToPath)(t))}let n,s=KE(t);if(s.exists){n=(0,Ee().pathToFileURL)(s.pjsonPath);let i=s.imports;if(i)if(eN.call(i,e)&&!e.includes("*")){let a=la(n,i[e],"",e,t,!1,!0,!1,r);if(a!=null)return a}else{let a="",o="",l=Object.getOwnPropertyNames(i),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)&&rN(a,c)===1&&c.lastIndexOf("*")===f&&(a=c,o=e.slice(f,e.length-d.length))}}if(a){let c=i[a],f=la(n,c,o,a,t,!0,!0,!1,r);if(f!=null)return f}}}throw lSe(e,n,t)}function mSe(e,t){let r=e.indexOf("/"),n=!0,s=!1;e[0]==="@"&&(s=!0,r===-1||e.length===0?n=!1:r=e.indexOf("/",r+1));let i=r===-1?e:e.slice(0,r);if(nSe.exec(i)!==null&&(n=!1),!n)throw new Qf(e,"is not a valid package name",(0,Ee().fileURLToPath)(t));let a="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:a,isScoped:s}}function nN(e,t,r){if(WE().builtinModules.includes(e))return new(Ee()).URL("node:"+e);let{packageName:n,packageSubpath:s,isScoped:i}=mSe(e,t),a=KE(t);if(a.exists){let c=(0,Ee().pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==void 0&&a.exports!==null)return K_(c,s,a,t,r)}let o=new(Ee()).URL("./node_modules/"+n+"/package.json",t),l=(0,Ee().fileURLToPath)(o),u;do{if(!tN(l.slice(0,-13)).isDirectory()){u=l,o=new(Ee()).URL((i?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",o),l=(0,Ee().fileURLToPath)(o);continue}let f=X_(l,e,t);return f.exports!==void 0&&f.exports!==null?K_(o,s,f,t,r):s==="."?aSe(o,f,t):new(Ee()).URL(s,o)}while(l.length!==u.length);throw new GE(n,(0,Ee().fileURLToPath)(t))}function ySe(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function HE(e){return e===""?!1:e[0]==="/"?!0:ySe(e)}function sN(e,t,r,n){let s=t.protocol,i=s==="http:"||s==="https:",a;if(HE(e))a=new(Ee()).URL(e,t);else if(!i&&e[0]==="#")a=hSe(e,t,r);else try{a=new(Ee()).URL(e)}catch{i||(a=nN(e,t,r))}return fn()(a!==void 0,"expected to be defined"),a.protocol!=="file:"?a:oSe(a,t,n)}function gSe(e,t,r){if(r){let n=r.protocol;if(n==="http:"||n==="https:"){if(HE(e)){let s=t==null?void 0:t.protocol;if(s&&s!=="https:"&&s!=="http:")throw new qE(e,r,"remote imports cannot import from a local location.");return{url:(t==null?void 0:t.href)||""}}throw WE().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 bSe(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 ESe(e){if(e!==void 0&&typeof e!="string"&&!bSe(e))throw new $t.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function vSe(e){let t=e.protocol;if(t!=="file:"&&t!=="data:"&&t!=="node:")throw new Z_(e)}function TSe(e,t){let r=e==null?void 0:e.protocol;if(r&&r!=="file:"&&r!=="data:"&&(!t||r!=="https:"&&r!=="http:"))throw new Z_(e,["file","data"].concat(t?["https","http"]:[]))}function SSe(e,t={}){let{parentURL:r}=t;fn()(r!==void 0,"expected `parentURL` to be defined"),ESe(r);let n;if(r)try{n=new(Ee()).URL(r)}catch{}let s;try{s=HE(e)?new(Ee()).URL(e,n):new(Ee()).URL(e);let l=s.protocol;if(l==="data:"||R_&&(l==="https:"||l==="http:"))return{url:s.href,format:null}}catch{}let i=gSe(e,s,n);if(i)return i;if(s&&s.protocol==="node:")return{url:e};TSe(s,R_);let a=QTe(t.conditions),o=sN(e,new(Ee()).URL(r),a,!1);return vSe(o),{url:o.href,format:J_(o,{parentURL:r})}}function xSe(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return SSe(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 mN=g(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});ms.loadPlugin=kSe;ms.loadPreset=BSe;ms.resolvePreset=ms.resolvePlugin=void 0;function oN(){let e=Cs();return oN=function(){return e},e}function JE(){let e=require("path");return JE=function(){return e},e}var zE=Li(),lN=jE();function XE(){let e=require("url");return XE=function(){return e},e}var PSe=iN(),uN=oN()("babel:config:loading:files:plugins"),ASe=/^module:/,CSe=/^(?!@|module:|[^/]+\/|babel-plugin-)/,wSe=/^(?!@|module:|[^/]+\/|babel-preset-)/,DSe=/^(@babel\/)(?!plugin-|[^/]+\/)/,ISe=/^(@babel\/)(?!preset-|[^/]+\/)/,OSe=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,_Se=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,NSe=/^(@(?!babel$)[^/]+)$/,cN=dN.bind(null,"plugin");ms.resolvePlugin=cN;var fN=dN.bind(null,"preset");ms.resolvePreset=fN;function*kSe(e,t){let r=cN(e,t,yield*(0,zE.isAsync)()),n=yield*hN("plugin",r);return uN("Loaded plugin %o from %o.",e,t),{filepath:r,value:n}}function*BSe(e,t){let r=fN(e,t,yield*(0,zE.isAsync)()),n=yield*hN("preset",r);return uN("Loaded preset %o from %o.",e,t),{filepath:r,value:n}}function YE(e,t){if(JE().isAbsolute(t))return t;let r=e==="preset";return t.replace(r?wSe:CSe,`babel-${e}-`).replace(r?ISe:DSe,`$1${e}-`).replace(r?_Se:OSe,`$1babel-${e}-`).replace(NSe,`$1/babel-${e}`).replace(ASe,"")}function*pN(e,t){let r=YE(e,t),{error:n,value:s}=yield r;if(!n)return s;if(n.code!=="MODULE_NOT_FOUND")throw n;r!==t&&!(yield t).error&&(n.message+=`
  1847. - If you want to resolve "${t}", use "module:${t}"`),(yield YE(e,"@babel/"+t)).error||(n.message+=`
  1848. - Did you mean "@babel/${t}"?`);let i=e==="preset"?"plugin":"preset";if((yield YE(i,t)).error||(n.message+=`
  1849. - Did you accidentally pass a ${i} as a ${e}?`),e==="plugin"){let a=r.replace("-proposal-","-transform-");a!==r&&!(yield a).error&&(n.message+=`
  1850. - Did you mean "${a}"?`)}throw n.message+=`
  1851. Make sure that all the Babel plugins and presets you are using
  1852. are defined as dependencies or devDependencies in your package.json
  1853. file. It's possible that the missing plugin is loaded by a preset
  1854. you are using that forgot to add the plugin to its dependencies: you
  1855. can workaround this problem by explicitly adding the missing package
  1856. to your top-level package.json.
  1857. `,n}function FSe(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]},s=require("module"))=>{let i=s._findPath(r,s._nodeModulePaths(n).concat(n));if(i)return i;throw i=new Error(`Cannot resolve module '${r}'`),i.code="MODULE_NOT_FOUND",i})(e,{paths:[t]})}:{error:null,value:require.resolve(e)}}catch(r){return{error:r,value:null}}}function jSe(e,t){try{return{error:null,value:(0,PSe.resolve)(e,t)}}catch(r){return{error:r,value:null}}}function aN(e,t,r){let n=pN(e,t),s=n.next();for(;!s.done;)s=n.next(FSe(s.value,r));return s.value}function LSe(e,t,r){let n=(0,XE().pathToFileURL)(JE().join(r,"./babel-virtual-resolve-base.js")).href,s=pN(e,t),i=s.next();for(;!i.done;)i=s.next(jSe(i.value,n));return(0,XE().fileURLToPath)(i.value)}function dN(e,t,r,n){if(!lN.supportsESM||!n)return aN(e,t,r);try{return LSe(e,t,r)}catch(s){try{return aN(e,t,r)}catch(i){throw s.type==="MODULE_NOT_FOUND"?s:i.type==="MODULE_NOT_FOUND"?i:s}}}ep=new Set;var ep;function*hN(e,t){if(!(yield*(0,zE.isAsync)())&&ep.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 ep.add(t),yield*(0,lN.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{ep.delete(t)}}});var Fo=g(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Object.defineProperty(Sr,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return ua.ROOT_CONFIG_FILENAMES}});Object.defineProperty(Sr,"findConfigUpwards",{enumerable:!0,get:function(){return ua.findConfigUpwards}});Object.defineProperty(Sr,"findPackageData",{enumerable:!0,get:function(){return MSe.findPackageData}});Object.defineProperty(Sr,"findRelativeConfig",{enumerable:!0,get:function(){return ua.findRelativeConfig}});Object.defineProperty(Sr,"findRootConfig",{enumerable:!0,get:function(){return ua.findRootConfig}});Object.defineProperty(Sr,"loadConfig",{enumerable:!0,get:function(){return ua.loadConfig}});Object.defineProperty(Sr,"loadPlugin",{enumerable:!0,get:function(){return tp.loadPlugin}});Object.defineProperty(Sr,"loadPreset",{enumerable:!0,get:function(){return tp.loadPreset}});Object.defineProperty(Sr,"resolvePlugin",{enumerable:!0,get:function(){return tp.resolvePlugin}});Object.defineProperty(Sr,"resolvePreset",{enumerable:!0,get:function(){return tp.resolvePreset}});Object.defineProperty(Sr,"resolveShowConfigPath",{enumerable:!0,get:function(){return ua.resolveShowConfigPath}});var MSe=Gw(),ua=F_(),tp=mN()});var gN=g(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.transform=void 0;ca.transformAsync=$Se;ca.transformSync=VSe;function yN(){let e=Er();return yN=function(){return e},e}var RSe=Qi(),qSe=Af(),rp=Dn(),np=yN()(function*(t,r){let n=yield*(0,RSe.default)(r);return n===null?null:yield*(0,qSe.run)(n,t)}),USe=function(t,r,n){let s,i;if(typeof r=="function"?(i=r,s=void 0):(s=r,i=n),i===void 0)return(0,rp.beginHiddenCallStack)(np.sync)(t,s);(0,rp.beginHiddenCallStack)(np.errback)(t,s,i)};ca.transform=USe;function VSe(...e){return(0,rp.beginHiddenCallStack)(np.sync)(...e)}function $Se(...e){return(0,rp.beginHiddenCallStack)(np.async)(...e)}});var EN=g(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.transformFromAst=void 0;fa.transformFromAstAsync=YSe;fa.transformFromAstSync=HSe;function bN(){let e=Er();return bN=function(){return e},e}var WSe=Qi(),KSe=Af(),sp=Dn(),ip=bN()(function*(e,t,r){let n=yield*(0,WSe.default)(r);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,KSe.run)(n,t,e)}),GSe=function(t,r,n,s){let i,a;if(typeof n=="function"?(a=n,i=void 0):(i=n,a=s),a===void 0)return(0,sp.beginHiddenCallStack)(ip.sync)(t,r,i);(0,sp.beginHiddenCallStack)(ip.errback)(t,r,i,a)};fa.transformFromAst=GSe;function HSe(...e){return(0,sp.beginHiddenCallStack)(ip.sync)(...e)}function YSe(...e){return(0,sp.beginHiddenCallStack)(ip.async)(...e)}});var TN=g(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.parse=void 0;pa.parseAsync=exe;pa.parseSync=ZSe;function vN(){let e=Er();return vN=function(){return e},e}var XSe=Qi(),JSe=Ib(),zSe=Pb(),ap=Dn(),op=vN()(function*(t,r){let n=yield*(0,XSe.default)(r);return n===null?null:yield*(0,JSe.default)(n.passes,(0,zSe.default)(n),t)}),QSe=function(t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n===void 0)return(0,ap.beginHiddenCallStack)(op.sync)(t,r);(0,ap.beginHiddenCallStack)(op.errback)(t,r,n)};pa.parse=QSe;function ZSe(...e){return(0,ap.beginHiddenCallStack)(op.sync)(...e)}function exe(...e){return(0,ap.beginHiddenCallStack)(op.async)(...e)}});var ft=g(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(Me,"File",{enumerable:!0,get:function(){return txe.default}});Object.defineProperty(Me,"buildExternalHelpers",{enumerable:!0,get:function(){return rxe.default}});Object.defineProperty(Me,"createConfigItem",{enumerable:!0,get:function(){return pn.createConfigItem}});Object.defineProperty(Me,"createConfigItemAsync",{enumerable:!0,get:function(){return pn.createConfigItemAsync}});Object.defineProperty(Me,"createConfigItemSync",{enumerable:!0,get:function(){return pn.createConfigItemSync}});Object.defineProperty(Me,"getEnv",{enumerable:!0,get:function(){return nxe.getEnv}});Object.defineProperty(Me,"loadOptions",{enumerable:!0,get:function(){return pn.loadOptions}});Object.defineProperty(Me,"loadOptionsAsync",{enumerable:!0,get:function(){return pn.loadOptionsAsync}});Object.defineProperty(Me,"loadOptionsSync",{enumerable:!0,get:function(){return pn.loadOptionsSync}});Object.defineProperty(Me,"loadPartialConfig",{enumerable:!0,get:function(){return pn.loadPartialConfig}});Object.defineProperty(Me,"loadPartialConfigAsync",{enumerable:!0,get:function(){return pn.loadPartialConfigAsync}});Object.defineProperty(Me,"loadPartialConfigSync",{enumerable:!0,get:function(){return pn.loadPartialConfigSync}});Object.defineProperty(Me,"parse",{enumerable:!0,get:function(){return tv.parse}});Object.defineProperty(Me,"parseAsync",{enumerable:!0,get:function(){return tv.parseAsync}});Object.defineProperty(Me,"parseSync",{enumerable:!0,get:function(){return tv.parseSync}});Object.defineProperty(Me,"resolvePlugin",{enumerable:!0,get:function(){return SN.resolvePlugin}});Object.defineProperty(Me,"resolvePreset",{enumerable:!0,get:function(){return SN.resolvePreset}});Object.defineProperty(Me,"template",{enumerable:!0,get:function(){return CN().default}});Object.defineProperty(Me,"tokTypes",{enumerable:!0,get:function(){return PN().tokTypes}});Object.defineProperty(Me,"transform",{enumerable:!0,get:function(){return QE.transform}});Object.defineProperty(Me,"transformAsync",{enumerable:!0,get:function(){return QE.transformAsync}});Object.defineProperty(Me,"transformFile",{enumerable:!0,get:function(){return ZE.transformFile}});Object.defineProperty(Me,"transformFileAsync",{enumerable:!0,get:function(){return ZE.transformFileAsync}});Object.defineProperty(Me,"transformFileSync",{enumerable:!0,get:function(){return ZE.transformFileSync}});Object.defineProperty(Me,"transformFromAst",{enumerable:!0,get:function(){return ev.transformFromAst}});Object.defineProperty(Me,"transformFromAstAsync",{enumerable:!0,get:function(){return ev.transformFromAstAsync}});Object.defineProperty(Me,"transformFromAstSync",{enumerable:!0,get:function(){return ev.transformFromAstSync}});Object.defineProperty(Me,"transformSync",{enumerable:!0,get:function(){return QE.transformSync}});Object.defineProperty(Me,"traverse",{enumerable:!0,get:function(){return AN().default}});Me.version=Me.types=void 0;var txe=mc(),rxe=Ew(),SN=Fo(),nxe=pb();function xN(){let e=Ce();return xN=function(){return e},e}Object.defineProperty(Me,"types",{enumerable:!0,get:function(){return xN()}});function PN(){let e=Ii();return PN=function(){return e},e}function AN(){let e=Ur();return AN=function(){return e},e}function CN(){let e=Oi();return CN=function(){return e},e}var pn=Qi(),QE=gN(),ZE=Wb(),ev=EN(),tv=TN(),WIe=ft(),sxe="7.23.2";Me.version=sxe;var ixe=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);Me.DEFAULT_EXTENSIONS=ixe;Me.OptionManager=class{init(t){return(0,pn.loadOptionsSync)(t)}},Me.Plugin=function(t){throw new Error(`The (${t}) Babel 5 plugin is being run with an unsupported Babel version.`)}});var rv=g(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.default=void 0;var axe=Je(),oxe=(0,axe.declare)((e,t)=>{e.assertVersion(7);let{version:r}=t;{let{legacy:s}=t;if(s!==void 0){if(typeof s!="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=s?"legacy":"2018-09";else if(r!=="2023-05"&&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:s},i){r==="legacy"?i.plugins.push("decorators-legacy"):r==="2023-01"||r==="2023-05"?i.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):r==="2022-03"?i.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):r==="2021-12"?(i.plugins.push(["decorators",{decoratorsBeforeExport:n}],"decoratorAutoAccessors"),s.decoratorsBeforeExport=n):r==="2018-09"&&(i.plugins.push(["decorators",{decoratorsBeforeExport:n}]),s.decoratorsBeforeExport=n)}}});lp.default=oxe});var _N=g(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.default=void 0;var le=ft(),lxe=le.template.statement(`
  1858. DECORATOR(CLASS_REF = INNER) || CLASS_REF;
  1859. `),uxe=(0,le.template)(`
  1860. CLASS_REF.prototype;
  1861. `),cxe=(0,le.template)(`
  1862. Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
  1863. `),fxe=(0,le.template)(`
  1864. (TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
  1865. enumerable: true,
  1866. configurable: true,
  1867. writable: true,
  1868. initializer: function(){
  1869. return TEMP;
  1870. }
  1871. })
  1872. `),nv=new WeakSet;function wN(e){let r=(e.isClass()?[e,...e.get("body.body")]:e.get("properties")).reduce((n,s)=>n.concat(s.node.decorators||[]),[]).filter(n=>!le.types.isIdentifier(n.expression));if(r.length!==0)return le.types.sequenceExpression(r.map(n=>{let s=n.expression,i=n.expression=e.scope.generateDeclaredUidIdentifier("dec");return le.types.assignmentExpression("=",i,s)}).concat([e.node]))}function pxe(e){if(!IN(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,s){return lxe({CLASS_REF:le.types.cloneNode(r),DECORATOR:le.types.cloneNode(s),INNER:n}).expression},e.node)}function IN(e){var t;return!!((t=e.decorators)!=null&&t.length)}function dxe(e,t){if(sv(e.node.body.body))return ON(e,t,e.node.body.body)}function sv(e){return e.some(t=>{var r;return(r=t.decorators)==null?void 0:r.length})}function hxe(e,t){if(sv(e.node.properties))return ON(e,t,e.node.properties.filter(r=>r.type!=="SpreadElement"))}function ON(e,t,r){let n=e.scope.generateDeclaredUidIdentifier(e.isClass()?"class":"obj"),s=r.reduce(function(i,a){let o=[];if(a.decorators!=null&&(o=a.decorators,a.decorators=null),o.length===0)return i;if(a.computed)throw e.buildCodeFrameError("Computed method/property decorators are not yet supported.");let l=le.types.isLiteral(a.key)?a.key:le.types.stringLiteral(a.key.name),u=e.isClass()&&!a.static?uxe({CLASS_REF:n}).expression:n;if(le.types.isClassProperty(a,{static:!1})){let c=e.scope.generateDeclaredUidIdentifier("descriptor"),f=a.value?le.types.functionExpression(null,[],le.types.blockStatement([le.types.returnStatement(a.value)])):le.types.nullLiteral();a.value=le.types.callExpression(t.addHelper("initializerWarningHelper"),[c,le.types.thisExpression()]),nv.add(a.value),i.push(le.types.assignmentExpression("=",le.types.cloneNode(c),le.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[le.types.cloneNode(u),le.types.cloneNode(l),le.types.arrayExpression(o.map(d=>le.types.cloneNode(d.expression))),le.types.objectExpression([le.types.objectProperty(le.types.identifier("configurable"),le.types.booleanLiteral(!0)),le.types.objectProperty(le.types.identifier("enumerable"),le.types.booleanLiteral(!0)),le.types.objectProperty(le.types.identifier("writable"),le.types.booleanLiteral(!0)),le.types.objectProperty(le.types.identifier("initializer"),f)])])))}else i.push(le.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[le.types.cloneNode(u),le.types.cloneNode(l),le.types.arrayExpression(o.map(c=>le.types.cloneNode(c.expression))),le.types.isObjectProperty(a)||le.types.isClassProperty(a,{static:!0})?fxe({TEMP:e.scope.generateDeclaredUidIdentifier("init"),TARGET:le.types.cloneNode(u),PROPERTY:le.types.cloneNode(l)}).expression:cxe({TARGET:le.types.cloneNode(u),PROPERTY:le.types.cloneNode(l)}).expression,le.types.cloneNode(u)]));return i},[]);return le.types.sequenceExpression([le.types.assignmentExpression("=",le.types.cloneNode(n),e.node),le.types.sequenceExpression(s),le.types.cloneNode(n)])}function DN({node:e,scope:t}){if(!IN(e)&&!sv(e.body.body))return;let r=e.id?le.types.cloneNode(e.id):t.generateUidIdentifier("class");return le.types.variableDeclaration("let",[le.types.variableDeclarator(r,le.types.toExpression(e))])}var mxe={ExportDefaultDeclaration(e){let t=e.get("declaration");if(!t.isClassDeclaration())return;let r=DN(t);if(r){let[n]=e.replaceWithMultiple([r,le.types.exportNamedDeclaration(null,[le.types.exportSpecifier(le.types.cloneNode(r.declarations[0].id),le.types.identifier("default"))])]);t.node.id||e.scope.registerDeclaration(n)}},ClassDeclaration(e){let t=DN(e);if(t){let[r]=e.replaceWith(t),n=r.get("declarations.0"),s=n.node.id,i=e.scope.getOwnBinding(s.name);i.identifier=s,i.path=n}},ClassExpression(e,t){let r=wN(e)||pxe(e)||dxe(e,t);r&&e.replaceWith(r)},ObjectExpression(e,t){let r=wN(e)||hxe(e,t);r&&e.replaceWith(r)},AssignmentExpression(e,t){nv.has(e.node.right)&&e.replaceWith(le.types.callExpression(t.addHelper("initializerDefineProperty"),[le.types.cloneNode(e.get("left.object").node),le.types.stringLiteral(e.get("left.property").node.name||e.get("left.property").node.value),le.types.cloneNode(e.get("right.arguments")[0].node),le.types.cloneNode(e.get("right.arguments")[1].node)]))},CallExpression(e,t){e.node.arguments.length===3&&nv.has(e.node.arguments[2])&&e.node.callee.name===t.addHelper("defineProperty").name&&e.replaceWith(le.types.callExpression(t.addHelper("initializerDefineProperty"),[le.types.cloneNode(e.get("arguments")[0].node),le.types.cloneNode(e.get("arguments")[1].node),le.types.cloneNode(e.get("arguments.2.arguments")[0].node),le.types.cloneNode(e.get("arguments.2.arguments")[1].node)]))}},yxe=mxe;up.default=yxe});var UN=g(iv=>{"use strict";Object.defineProperty(iv,"__esModule",{value:!0});iv.default=Lxe;var F=ft(),gxe=rv(),bxe=Bf(),Exe=ka();function LN(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,LN(e,t-1)):e[t]=r+1}function vxe(e){let t=[],r=new Set;return e.traverse({PrivateName(n){r.add(n.node.id.name)}}),()=>{let n;do LN(t),n=String.fromCharCode(...t);while(r.has(n));return F.types.privateName(F.types.identifier(n))}}function Txe(e){let t;return()=>(t||(t=vxe(e)),t())}function Sxe(e){if(e.type==="ClassDeclaration"){let t=e.scope.generateUidIdentifierBasedOnNode(e.node.id),r=F.types.identifier(e.node.id.name);return e.scope.rename(r.name,t.name),e.insertBefore(F.types.variableDeclaration("let",[F.types.variableDeclarator(t)])),e.get("id").replaceWith(r),[F.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=F.types.classExpression(t&&F.types.identifier(t),e.node.superClass,e.node.body),[s]=e.replaceWith(F.types.sequenceExpression([n,r]));return[F.types.cloneNode(r),s.get("expressions.0")]}}function NN(e,t,r){return e.type==="PrivateName"?F.types.classPrivateProperty(e,t,void 0,r):F.types.classProperty(e,t,void 0,void 0,r)}function kN(e,t,r,n,s,i=!1){let{static:a}=t.node,o=s==="2023-05"&&a?e:F.types.thisExpression(),l=F.types.blockStatement([F.types.returnStatement(F.types.memberExpression(F.types.cloneNode(o),F.types.cloneNode(n)))]),u=F.types.blockStatement([F.types.expressionStatement(F.types.assignmentExpression("=",F.types.memberExpression(F.types.cloneNode(o),F.types.cloneNode(n)),F.types.identifier("v")))]),c,f;r.type==="PrivateName"?(c=F.types.classPrivateMethod("get",F.types.cloneNode(r),[],l,a),f=F.types.classPrivateMethod("set",F.types.cloneNode(r),[F.types.identifier("v")],u,a)):(c=F.types.classMethod("get",F.types.cloneNode(r),[],l,i,a),f=F.types.classMethod("set",F.types.cloneNode(r),[F.types.identifier("v")],u,i,a)),t.insertAfter(f),t.insertAfter(c)}function BN(e,t){return t!=="2023-05"&&t!=="2023-01"?[F.template.expression.ast`
  1873. function () {
  1874. return this.${F.types.cloneNode(e)};
  1875. }
  1876. `,F.template.expression.ast`
  1877. function (value) {
  1878. this.${F.types.cloneNode(e)} = value;
  1879. }
  1880. `]:[F.template.expression.ast`
  1881. o => o.${F.types.cloneNode(e)}
  1882. `,F.template.expression.ast`
  1883. (o, v) => o.${F.types.cloneNode(e)} = v
  1884. `]}var da=0,nl=1,xxe=2,MN=3,cp=4,Pxe=5,Axe=8,Cxe=16;function wxe(e){switch(e.node.type){case"ClassProperty":case"ClassPrivateProperty":return da;case"ClassAccessorProperty":return nl;case"ClassMethod":case"ClassPrivateMethod":return e.node.kind==="get"?MN:e.node.kind==="set"?cp:xxe}}function Dxe(e){return"decorators"in e}function RN(e){let t=e.filter(Dxe);return[...t.filter(r=>r.isStatic&&r.kind>=nl&&r.kind<=cp),...t.filter(r=>!r.isStatic&&r.kind>=nl&&r.kind<=cp),...t.filter(r=>r.isStatic&&r.kind===da),...t.filter(r=>!r.isStatic&&r.kind===da)]}function qN(e,t,r){let n=e.length,s=t.some(Boolean),i=[];for(let a=0;a<n;a++)r==="2023-05"&&s&&i.push(t[a]||F.types.unaryExpression("void",F.types.numericLiteral(0))),i.push(e[a]);return{hasThis:s,decs:i}}function Ixe(e,t){return F.types.arrayExpression(RN(e).map(r=>{let{decs:n,hasThis:s}=qN(r.decorators,r.decoratorsThis,t),i=r.kind;return r.isStatic&&(i+=t==="2023-05"?Axe:Pxe),s&&(i+=Cxe),F.types.arrayExpression([n.length===1?n[0]:F.types.arrayExpression(n),F.types.numericLiteral(i),r.name,...r.privateMethods||[]])}))}function Oxe(e){let t=[];for(let r of RN(e)){let{locals:n}=r;Array.isArray(n)?t.push(...n):n!==void 0&&t.push(n)}return t}function _xe(e,t,r,n){e.insertAfter(F.types.classPrivateMethod("get",F.types.cloneNode(t),[],F.types.blockStatement([F.types.returnStatement(F.types.callExpression(F.types.cloneNode(r),[F.types.thisExpression()]))]))),e.insertAfter(F.types.classPrivateMethod("set",F.types.cloneNode(t),[F.types.identifier("v")],F.types.blockStatement([F.types.expressionStatement(F.types.callExpression(F.types.cloneNode(n),[F.types.thisExpression(),F.types.identifier("v")]))])))}function Nxe(e){return e.type!=="TSParameterProperty"}function kxe(e,t,r,n){let s,i;e.node.kind==="set"?(s=[F.types.identifier("v")],i=[F.types.expressionStatement(F.types.callExpression(r,[F.types.thisExpression(),F.types.identifier("v")]))]):(s=[],i=[F.types.returnStatement(F.types.callExpression(r,[F.types.thisExpression()]))]),e.replaceWith(F.types.classPrivateMethod(e.node.kind,F.types.cloneNode(t),s,F.types.blockStatement(i),n))}function FN(e){let{type:t}=e;return t!=="TSDeclareMethod"&&t!=="TSIndexSignature"&&t!=="StaticBlock"}function jN(e){return F.types.callExpression(F.types.arrowFunctionExpression([],F.types.blockStatement(e.body)),[])}function Bxe(e){return e.length===0?F.types.unaryExpression("void",F.types.numericLiteral(0)):e.length===1?e[0]:F.types.sequenceExpression(e)}function Fxe(e,t,r,n){let s=e.get("body.body"),i=e.node.decorators,a=!1,o=Txe(e);for(let X of s)if(FN(X)){if(X.node.decorators&&X.node.decorators.length>0)a=!0;else if(X.node.type==="ClassAccessorProperty"){let{key:Z,value:J,static:pe,computed:De}=X.node,ke=o(),Ie=J?F.types.cloneNode(J):void 0,Qe=NN(ke,Ie,pe),[Et]=X.replaceWith(Qe);kN(e.node.id,Et,Z,ke,n,De)}}if(!i&&!a)return;let l=[],u,c,f=!1,d=!1,m=new Set,C,p,b,E,O=[],P=e.scope.parent,A=(X,Z)=>{let J=P.generateDeclaredUidIdentifier(Z);return O.push(F.types.assignmentExpression("=",J,X)),F.types.cloneNode(J)},I=new Map,k=X=>{let{expression:Z}=X;if(n==="2023-05"&&F.types.isMemberExpression(Z)){let J;F.types.isSuper(Z.object)||F.types.isThisExpression(Z.object)?J=A(F.types.thisExpression(),"obj"):P.isStatic(Z.object)?J=Z.object:(J=A(Z.object,"obj"),Z.object=J),I.set(X,F.types.cloneNode(J))}P.isStatic(Z)||(X.expression=A(Z,"dec"))};if(i){b=P.generateDeclaredUidIdentifier("initClass");let[X,Z]=Sxe(e);e=Z,E=X,e.node.decorators=null;for(let J of i)k(J)}else e.node.id||(e.node.id=e.scope.generateUidIdentifier("Class")),E=F.types.cloneNode(e.node.id);let B,M=!1;if(a)for(let X of s){if(!FN(X))continue;let{node:Z}=X,J=X.get("decorators"),pe=Array.isArray(J)&&J.length>0;if(pe)for(let V of J)k(V.node);let De="computed"in X.node&&X.node.computed===!0;De&&(P.isStatic(Z.key)||(Z.key=A(Z.key,"computedKey")));let ke=wxe(X),{key:Ie}=Z,Qe=Ie.type==="PrivateName",Et=!!X.node.static,W="computedKey";if(Qe?W=Ie.id.name:!De&&Ie.type==="Identifier"&&(W=Ie.name),Qe&&!Et&&(pe&&(M=!0),(F.types.isClassPrivateProperty(Z)||!B)&&(B=Ie)),X.isClassMethod({kind:"constructor"})&&(c=X),pe){let V,z;if(ke===nl){let{value:xe}=X.node,he=[F.types.thisExpression()];xe&&he.push(F.types.cloneNode(xe));let Pe=o(),Ze=X.scope.parent.generateDeclaredUidIdentifier(`init_${W}`),$e=F.types.callExpression(F.types.cloneNode(Ze),he),et=NN(Pe,$e,Et),[vt]=X.replaceWith(et);if(Qe){z=BN(Pe,n);let Tt=vt.scope.parent.generateDeclaredUidIdentifier(`get_${W}`),kt=vt.scope.parent.generateDeclaredUidIdentifier(`set_${W}`);_xe(vt,Ie,Tt,kt),V=[Ze,Tt,kt]}else kN(e.node.id,vt,Ie,Pe,n,De),V=Ze}else if(ke===da){let xe=X.scope.parent.generateDeclaredUidIdentifier(`init_${W}`),he=X.get("value");he.replaceWith(F.types.callExpression(F.types.cloneNode(xe),[F.types.thisExpression(),he.node].filter(Pe=>Pe))),V=xe,Qe&&(z=BN(Ie,n))}else if(Qe){V=X.scope.parent.generateDeclaredUidIdentifier(`call_${W}`),new bxe.default({constantSuper:r,methodPath:X,objectRef:E,superRef:e.node.superClass,file:t.file,refToPreserve:E}).replace();let{params:he,body:Pe,async:Ze}=X.node;if(z=[F.types.functionExpression(void 0,he.filter(Nxe),Pe,Ze)],ke===MN||ke===cp)kxe(X,F.types.cloneNode(Ie),F.types.cloneNode(V),Et);else{let $e=X.node;e.node.body.body.unshift(F.types.classPrivateProperty(Ie,F.types.cloneNode(V),[],$e.static)),m.add(Ie.id.name),X.remove()}}let se;De?se=F.types.cloneNode(Ie):Ie.type==="PrivateName"?se=F.types.stringLiteral(Ie.id.name):Ie.type==="Identifier"?se=F.types.stringLiteral(Ie.name):se=F.types.cloneNode(Ie),l.push({kind:ke,decorators:J.map(xe=>xe.node.expression),decoratorsThis:J.map(xe=>I.get(xe.node)),name:se,isStatic:Et,privateMethods:z,locals:V}),ke!==da&&(Et?d=!0:f=!0),X.node&&(X.node.decorators=null),!u&&!Et&&(ke===da||ke===nl)&&(u=X)}}let H=Ixe(l,n),ie=0,ce=[];if(i){let{hasThis:X,decs:Z}=qN(i.map(J=>J.expression),i.map(J=>I.get(J)),n);ie=X?1:0,ce=Z}let ve=Oxe(l);if(f){C=P.generateDeclaredUidIdentifier("initProto"),ve.push(C);let X=F.types.callExpression(F.types.cloneNode(C),[F.types.thisExpression()]);if(u){let Z=u.get("value"),J=[X];Z.node&&J.push(Z.node),Z.replaceWith(F.types.sequenceExpression(J))}else if(c)e.node.superClass?e.traverse({CallExpression:{exit(Z){Z.get("callee").isSuper()&&(Z.replaceWith(F.types.callExpression(F.types.cloneNode(C),[Z.node])),Z.skip())}}}):c.node.body.body.unshift(F.types.expressionStatement(X));else{let Z=[F.types.expressionStatement(X)];e.node.superClass&&Z.unshift(F.types.expressionStatement(F.types.callExpression(F.types.super(),[F.types.spreadElement(F.types.identifier("args"))]))),e.node.body.body.unshift(F.types.classMethod("constructor",F.types.identifier("constructor"),[F.types.restElement(F.types.identifier("args"))],F.types.blockStatement(Z)))}}d&&(p=P.generateDeclaredUidIdentifier("initStatic"),ve.push(p)),m.size>0&&e.traverse({PrivateName(X){if(!m.has(X.node.id.name))return;let Z=X.parentPath,J=Z.parentPath;if(J.node.type==="AssignmentExpression"&&J.node.left===Z.node||J.node.type==="UpdateExpression"||J.node.type==="RestElement"||J.node.type==="ArrayPattern"||J.node.type==="ObjectProperty"&&J.node.value===Z.node&&J.parentPath.type==="ObjectPattern"||J.node.type==="ForOfStatement"&&J.node.left===Z.node)throw X.buildCodeFrameError(`Decorated private methods are not updatable, but "#${X.node.id.name}" is updated via this expression.`)}});let dt=[],ut=!1,q=b&&F.types.callExpression(F.types.cloneNode(b),[]),Y=e.node;if(i){dt.push(E,b);let X=[],Z=[];if(e.get("body.body").forEach(J=>{if(J.isStaticBlock()){Z.push(J.node),J.remove();return}let pe=J.isClassProperty()||J.isClassPrivateProperty();if((pe||J.isClassPrivateMethod())&&J.node.static){if(pe&&Z.length>0){let De=Z.map(jN);J.node.value&&De.push(J.node.value),J.node.value=Bxe(De),Z=[]}J.node.static=!1,X.push(J.node),J.remove()}}),X.length>0||Z.length>0){let J=F.template.expression.ast`
  1885. class extends ${t.addHelper("identity")} {}
  1886. `;J.body.body=[F.types.staticBlock([F.types.toStatement(Y,!0)||F.types.expressionStatement(Y)]),...X];let pe=[],De=F.types.newExpression(J,[]);Z.length>0&&pe.push(...Z.map(jN)),q&&(ut=!0,pe.push(q)),pe.length>0?(pe.unshift(F.types.callExpression(F.types.super(),[F.types.cloneNode(E)])),J.body.body.push(F.types.classMethod("constructor",F.types.identifier("constructor"),[],F.types.blockStatement([F.types.expressionStatement(F.types.sequenceExpression(pe))])))):De.arguments.push(F.types.cloneNode(E)),e.replaceWith(De)}}!ut&&q&&e.node.body.body.push(F.types.staticBlock([F.types.expressionStatement(q)]));let{superClass:fe}=Y;if(fe&&n==="2023-05"){let X=e.scope.maybeGenerateMemoised(fe);X&&(Y.superClass=F.types.assignmentExpression("=",X,fe),fe=X)}return Y.body.body.unshift(F.types.staticBlock([F.types.expressionStatement(jxe(ve,dt,H,F.types.arrayExpression(ce),F.types.numericLiteral(ie),M?B:null,F.types.cloneNode(fe),t,n)),d&&F.types.expressionStatement(F.types.callExpression(F.types.cloneNode(p),[F.types.thisExpression()]))].filter(Boolean))),e.insertBefore(O.map(X=>F.types.expressionStatement(X))),e.scope.crawl(),e}function jxe(e,t,r,n,s,i,a,o,l){let u,c,f=[F.types.thisExpression(),r,n];if(l==="2021-12"||l==="2022-03"&&!o.availableHelper("applyDecs2203R")){let d=F.types.arrayPattern([...e,...t]),m=F.types.callExpression(o.addHelper(l==="2021-12"?"applyDecs":"applyDecs2203"),f);return F.types.assignmentExpression("=",d,m)}return l==="2023-05"?((i||a||s.value!==0)&&f.push(s),i?f.push(F.template.expression.ast`
  1887. _ => ${F.types.cloneNode(i)} in _
  1888. `):a&&f.push(F.types.unaryExpression("void",F.types.numericLiteral(0))),a&&f.push(a),c=F.types.callExpression(o.addHelper("applyDecs2305"),f)):l==="2023-01"?(i&&f.push(F.template.expression.ast`
  1889. _ => ${F.types.cloneNode(i)} in _
  1890. `),c=F.types.callExpression(o.addHelper("applyDecs2301"),f)):c=F.types.callExpression(o.addHelper("applyDecs2203R"),f),e.length>0?t.length>0?u=F.types.objectPattern([F.types.objectProperty(F.types.identifier("e"),F.types.arrayPattern(e)),F.types.objectProperty(F.types.identifier("c"),F.types.arrayPattern(t))]):(u=F.types.arrayPattern(e),c=F.types.memberExpression(c,F.types.identifier("e"),!1,!1)):(u=F.types.arrayPattern(t),c=F.types.memberExpression(c,F.types.identifier("c"),!1,!1)),F.types.assignmentExpression("=",u,c)}function Lxe({assertVersion:e,assumption:t},{loose:r},n){var s;e(n==="2023-05"||n==="2023-01"?"^7.21.0":n==="2021-12"?"^7.16.0":"^7.19.0");let i=new WeakSet,a=(s=t("constantSuper"))!=null?s:r;return{name:"proposal-decorators",inherits:gxe.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,Exe.default)(o)},Class(o,l){if(i.has(o))return;let u=Fxe(o,l,a,n);u&&i.add(u)}}}}});var WN=g(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=void 0;var Mxe=Je(),VN=rv(),$N=sa(),Rxe=_N(),qxe=UN(),Uxe=(0,Mxe.declare)((e,t)=>{e.assertVersion(7);var{legacy:r}=t;let{version:n}=t;return r||n==="legacy"?{name:"proposal-decorators",inherits:VN.default,visitor:Rxe.default}:n==="2021-12"||n==="2022-03"||n==="2023-01"||n==="2023-05"?(0,qxe.default)(e,t,n):(e.assertVersion("^7.0.2"),(0,$N.createClassFeaturePlugin)({name:"proposal-decorators",api:e,feature:$N.FEATURES.decorators,inherits:VN.default}))});fp.default=Uxe});var KN=g(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.default=void 0;var Vxe=Je(),$xe=(0,Vxe.declare)(e=>(e.assertVersion(7),{name:"syntax-explicit-resource-management",manipulateOptions(t,r){r.plugins.push("explicitResourceManagement")}}));pp.default=$xe});var GN=g(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.default=void 0;var Wxe=Je(),Kxe=KN(),Ue=ft(),Gxe=(0,Wxe.declare)(e=>{e.assertVersion("^7.22.0");let t=new Map;function r(i){return Ue.types.isVariableDeclaration(i)?i.kind==="using"||i.kind==="await using"||t.has(i):!1}let n={ForOfStatement(i){let{left:a}=i.node;if(!r(a))return;let{id:o}=a.declarations[0],l=i.scope.generateUidIdentifierBasedOnNode(o);a.declarations[0].id=l,a.kind="const",i.ensureBlock(),i.node.body.body.unshift(Ue.types.variableDeclaration("using",[Ue.types.variableDeclarator(o,Ue.types.cloneNode(l))]))},"BlockStatement|StaticBlock"(i,a){let o=null,l=!1;for(let p of i.node.body){var u;if(!r(p))continue;(u=o)!=null||(o=i.scope.generateUidIdentifier("stack"));let b=p.kind==="await using"||t.get(p)===1;l||(l=b),t.delete(p)||(p.kind="const"),p.declarations.forEach(E=>{let O=[Ue.types.cloneNode(o),E.init];b&&O.push(Ue.types.booleanLiteral(!0)),E.init=Ue.types.callExpression(a.addHelper("using"),O)})}if(!o)return;let c=i.scope.generateUidIdentifier("error"),f=i.scope.generateUidIdentifier("hasError"),d=Ue.types.callExpression(a.addHelper("dispose"),[Ue.types.cloneNode(o),Ue.types.cloneNode(c),Ue.types.cloneNode(f)]);l&&(d=Ue.types.awaitExpression(d));let m=Ue.template.statement.ast`
  1891. try {
  1892. var ${o} = [];
  1893. ${i.node.body}
  1894. } catch (_) {
  1895. var ${c} = _;
  1896. var ${f} = true;
  1897. } finally {
  1898. ${d}
  1899. }
  1900. `;Ue.types.inherits(m.block,i.node);let{parentPath:C}=i;C.isFunction()||C.isTryStatement()||C.isCatchClause()?i.replaceWith(Ue.types.blockStatement([m])):i.isStaticBlock()?i.node.body=[m]:i.replaceWith(m)}},s=Ue.traverse.visitors.merge([n,{Function(i){i.skip()}}]);return{name:"proposal-explicit-resource-management",inherits:Kxe.default,visitor:Ue.traverse.visitors.merge([n,{Program(i){if(t.clear(),i.node.sourceType!=="module"||!i.node.body.some(r))return;let a=[];for(let l of i.get("body")){if(l.isFunctionDeclaration()||l.isImportDeclaration())continue;let{node:u}=l,c=!0;if(l.isExportDefaultDeclaration()){var o;let{declaration:f}=l.node,d;if(Ue.types.isClassDeclaration(f))d=f.id,f.id=null,f=Ue.types.toExpression(f);else if(!Ue.types.isExpression(f))continue;(o=d)!=null||(d=i.scope.generateUidIdentifier("_default")),a.push(Ue.types.variableDeclaration("var",[Ue.types.variableDeclarator(d,f)])),l.replaceWith(Ue.types.exportNamedDeclaration(null,[Ue.types.exportSpecifier(Ue.types.cloneNode(d),Ue.types.identifier("default"))]));continue}if(l.isExportNamedDeclaration()){if(u=l.node.declaration,!u||Ue.types.isFunction(u))continue;l.replaceWith(Ue.types.exportNamedDeclaration(null,Object.keys(Ue.types.getOuterBindingIdentifiers(u,!1)).map(f=>Ue.types.exportSpecifier(Ue.types.identifier(f),Ue.types.identifier(f))))),c=!1}else if(l.isExportDeclaration())continue;if(Ue.types.isClassDeclaration(u)){let{id:f}=u;u.id=null,a.push(Ue.types.variableDeclaration("var",[Ue.types.variableDeclarator(f,Ue.types.toExpression(u))]))}else Ue.types.isVariableDeclaration(u)?(u.kind==="using"?t.set(l.node,0):u.kind==="await using"&&t.set(l.node,1),u.kind="var",a.push(u)):a.push(l.node);c&&l.remove()}i.pushContainer("body",Ue.types.blockStatement(a))},Function(i,a){i.node.async&&i.traverse(s,a)}}])}});dp.default=Gxe});var YN=g(hp=>{"use strict";Object.defineProperty(hp,"__esModule",{value:!0});hp.default=void 0;var Hxe=Je(),HN=sa(),Yxe=(0,Hxe.declare)((e,t)=>(e.assertVersion(7),(0,HN.createClassFeaturePlugin)({name:"transform-class-properties",api:e,feature:HN.FEATURES.fields,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classProperties","classPrivateProperties")}})));hp.default=Yxe});var XN=g(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.default=void 0;var Xxe=Je(),Jxe=(0,Xxe.declare)(e=>(e.assertVersion(7),{name:"syntax-class-static-block",manipulateOptions(t,r){r.plugins.push("classStaticBlock")}}));mp.default=Jxe});var zN=g(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});yp.default=void 0;var zxe=Je(),JN=sa();function Qxe(e,t){let r="",n,s=1;do n=e._generateUid(r,s),s++;while(t.has(n));return n}var Zxe=(0,zxe.declare)(({types:e,template:t,assertVersion:r})=>(r("^7.12.0"),{name:"transform-class-static-block",inherits:XN().default,pre(){(0,JN.enableFeature)(this.file,JN.FEATURES.staticBlocks,!1)},visitor:{ClassBody(n){let{scope:s}=n,i=new Set,a=n.get("body");for(let o of a)o.isPrivate()&&i.add(o.get("key.id").node.name);for(let o of a){if(!o.isStaticBlock())continue;let l=Qxe(s,i);i.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))}}}}));yp.default=Zxe});var QN=g(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.default=void 0;var ePe=Je(),tPe=(0,ePe.declare)(e=>(e.assertVersion(7),{name:"syntax-numeric-separator",manipulateOptions(t,r){r.plugins.push("numericSeparator")}}));gp.default=tPe});var e3=g(bp=>{"use strict";Object.defineProperty(bp,"__esModule",{value:!0});bp.default=void 0;var rPe=Je();function ZN({node:e}){var t;let{extra:r}=e;r!=null&&(t=r.raw)!=null&&t.includes("_")&&(r.raw=r.raw.replace(/_/g,""))}var nPe=(0,rPe.declare)(e=>(e.assertVersion(7),{name:"transform-numeric-separator",inherits:QN().default,visitor:{NumericLiteral:ZN,BigIntLiteral:ZN}}));bp.default=nPe});var t3=g(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.default=void 0;var sPe=Je(),iPe=(0,sPe.declare)(e=>(e.assertVersion(7),{name:"syntax-logical-assignment-operators",manipulateOptions(t,r){r.plugins.push("logicalAssignment")}}));Ep.default=iPe});var r3=g(vp=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});vp.default=void 0;var aPe=Je(),Rn=ft(),oPe=(0,aPe.declare)(e=>(e.assertVersion(7),{name:"transform-logical-assignment-operators",inherits:t3().default,visitor:{AssignmentExpression(t){let{node:r,scope:n}=t,{operator:s,left:i,right:a}=r,o=s.slice(0,-1);if(!Rn.types.LOGICAL_OPERATORS.includes(o))return;let l=Rn.types.cloneNode(i);if(Rn.types.isMemberExpression(i)){let{object:u,property:c,computed:f}=i,d=n.maybeGenerateMemoised(u);if(d&&(i.object=d,l.object=Rn.types.assignmentExpression("=",Rn.types.cloneNode(d),u)),f){let m=n.maybeGenerateMemoised(c);m&&(i.property=m,l.property=Rn.types.assignmentExpression("=",Rn.types.cloneNode(m),c))}}t.replaceWith(Rn.types.logicalExpression(o,l,Rn.types.assignmentExpression("=",i,a)))}}}));vp.default=oPe});var n3=g(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=void 0;var lPe=Je(),uPe=(0,lPe.declare)(e=>(e.assertVersion(7),{name:"syntax-nullish-coalescing-operator",manipulateOptions(t,r){r.plugins.push("nullishCoalescingOperator")}}));Tp.default=uPe});var s3=g(Sp=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.default=void 0;var cPe=Je(),xr=ft(),fPe=(0,cPe.declare)((e,{loose:t=!1})=>{var r;e.assertVersion(7);let n=(r=e.assumption("noDocumentAll"))!=null?r:t;return{name:"transform-nullish-coalescing-operator",inherits:n3().default,visitor:{LogicalExpression(s){let{node:i,scope:a}=s;if(i.operator!=="??")return;let o,l;if(a.isStatic(i.left))o=i.left,l=xr.types.cloneNode(i.left);else if(a.path.isPattern()){s.replaceWith(xr.template.statement.ast`(() => ${s.node})()`);return}else o=a.generateUidIdentifierBasedOnNode(i.left),a.push({id:xr.types.cloneNode(o)}),l=xr.types.assignmentExpression("=",o,i.left);s.replaceWith(xr.types.conditionalExpression(n?xr.types.binaryExpression("!=",l,xr.types.nullLiteral()):xr.types.logicalExpression("&&",xr.types.binaryExpression("!==",l,xr.types.nullLiteral()),xr.types.binaryExpression("!==",xr.types.cloneNode(o),a.buildUndefinedNode())),xr.types.cloneNode(o),i.right))}}}});Sp.default=fPe});var i3=g(xp=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});xp.default=void 0;var pPe=Je(),dPe=(0,pPe.declare)(e=>(e.assertVersion(7),{name:"syntax-optional-chaining",manipulateOptions(t,r){r.plugins.push("optionalChaining")}}));xp.default=dPe});var l3=g(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var hPe=Je(),Ve=ft(),ei=sE();function av(e){let t=a3(e),{node:r,parentPath:n}=t;if(n.isLogicalExpression()){let{operator:s,right:i}=n.node;if(s==="&&"||s==="||"||s==="??"&&r===i)return av(n)}if(n.isSequenceExpression()){let{expressions:s}=n.node;return s[s.length-1]===r?av(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}function a3(e){let t=e;return e.findParent(r=>{if(!ei.isTransparentExprWrapper(r.node))return!0;t=r}),t}var mPe=e=>e[e.length-1];function Pp(e){return e=ei.skipTransparentExprWrapperNodes(e),Ve.types.isIdentifier(e)||Ve.types.isSuper(e)||Ve.types.isMemberExpression(e)&&!e.computed&&Pp(e.object)}function yPe(e){let t=e,{scope:r}=e;for(;t.isOptionalMemberExpression()||t.isOptionalCallExpression();){let{node:n}=t,s=ei.skipTransparentExprWrappers(t.isOptionalMemberExpression()?t.get("object"):t.get("callee"));if(n.optional)return!r.isStatic(s.node);t=s}}var gPe=Ve.template.expression("%%check%% === null || %%ref%% === void 0"),bPe=Ve.template.expression("%%check%% == null"),EPe=Ve.template.expression("%%check%% !== null && %%ref%% !== void 0"),vPe=Ve.template.expression("%%check%% != null");function ov(e,{pureGetters:t,noDocumentAll:r},n,s,i){let{scope:a}=e;if(a.path.isPattern()&&yPe(e)){n.replaceWith(Ve.template.expression.ast`(() => ${n.node})()`);return}let o=[],l=e;for(;l.isOptionalMemberExpression()||l.isOptionalCallExpression();){let{node:P}=l;P.optional&&o.push(P),l.isOptionalMemberExpression()?(l.node.type="MemberExpression",l=ei.skipTransparentExprWrappers(l.get("object"))):l.isOptionalCallExpression()&&(l.node.type="CallExpression",l=ei.skipTransparentExprWrappers(l.get("callee")))}if(o.length===0)return;let u=[],c;for(let P=o.length-1;P>=0;P--){let A=o[P],I=Ve.types.isCallExpression(A),k=I?A.callee:A.object,B=ei.skipTransparentExprWrapperNodes(k),M,H;if(I&&Ve.types.isIdentifier(B,{name:"eval"})?(H=M=B,A.callee=Ve.types.sequenceExpression([Ve.types.numericLiteral(0),M])):t&&I&&Pp(B)?H=M=A.callee:a.isStatic(B)?H=M=k:((!c||I)&&(c=a.generateUidIdentifierBasedOnNode(B),a.push({id:Ve.types.cloneNode(c)})),M=c,H=Ve.types.assignmentExpression("=",Ve.types.cloneNode(c),k),I?A.callee=M:A.object=M),I&&Ve.types.isMemberExpression(B))if(t&&Pp(B))A.callee=k;else{let{object:ce}=B,ve;if(Ve.types.isSuper(ce))ve=Ve.types.thisExpression();else{let dt=a.maybeGenerateMemoised(ce);dt?(ve=dt,B.object=Ve.types.assignmentExpression("=",dt,ce)):ve=ce}A.arguments.unshift(Ve.types.cloneNode(ve)),A.callee=Ve.types.memberExpression(A.callee,Ve.types.identifier("call"))}let ie={check:Ve.types.cloneNode(H),ref:Ve.types.cloneNode(M)};Object.defineProperty(ie,"ref",{enumerable:!1}),u.push(ie)}let f=n.node;i&&(f=i(f));let d=Ve.types.isBooleanLiteral(s),m=d&&s.value===!1,C=!d&&Ve.types.isUnaryExpression(s,{operator:"void"}),p=Ve.types.isExpressionStatement(n.parent)&&!n.isCompletionRecord()||Ve.types.isSequenceExpression(n.parent)&&mPe(n.parent.expressions)!==n.node,b=m?r?vPe:EPe:r?bPe:gPe,E=m?"&&":"||",O=u.map(b).reduce((P,A)=>Ve.types.logicalExpression(E,P,A));n.replaceWith(d||C&&p?Ve.types.logicalExpression(E,O,f):Ve.types.conditionalExpression(O,s,f))}function o3(e,t){let{scope:r}=e,n=a3(e),{parentPath:s}=n;if(s.isUnaryExpression({operator:"delete"}))ov(e,t,s,Ve.types.booleanLiteral(!0));else{let i;s.isCallExpression({callee:n.node})&&e.isOptionalMemberExpression()&&(i=a=>{var o;let l=ei.skipTransparentExprWrapperNodes(a.object),u;return(!t.pureGetters||!Pp(l))&&(u=r.maybeGenerateMemoised(l),u&&(a.object=Ve.types.assignmentExpression("=",u,l))),Ve.types.callExpression(Ve.types.memberExpression(a,Ve.types.identifier("bind")),[Ve.types.cloneNode((o=u)!=null?o:l)])}),ov(e,t,e,av(n)?Ve.types.booleanLiteral(!1):r.buildUndefinedNode(),i)}}var TPe=hPe.declare((e,t)=>{var r,n;e.assertVersion(7);let{loose:s=!1}=t,i=(r=e.assumption("noDocumentAll"))!=null?r:s,a=(n=e.assumption("pureGetters"))!=null?n:s;return{name:"transform-optional-chaining",inherits:i3().default,visitor:{"OptionalCallExpression|OptionalMemberExpression"(o){o3(o,{noDocumentAll:i,pureGetters:a})}}}});sl.default=TPe;sl.transform=o3;sl.transformOptionalChain=ov});var c3=g(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.default=void 0;var SPe=Je(),u3=sa(),xPe=(0,SPe.declare)((e,t)=>(e.assertVersion(7),(0,u3.createClassFeaturePlugin)({name:"transform-private-methods",api:e,feature:u3.FEATURES.privateMethods,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classPrivateMethods")}})));Ap.default=xPe});var f3=g(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.default=void 0;var PPe=Je(),APe=(0,PPe.declare)(e=>(e.assertVersion(7),{name:"syntax-json-strings",manipulateOptions(t,r){r.plugins.push("jsonStrings")}}));Cp.default=APe});var p3=g(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});wp.default=void 0;var CPe=Je(),wPe=(0,CPe.declare)(e=>(e.assertVersion(7),{name:"syntax-optional-catch-binding",manipulateOptions(t,r){r.plugins.push("optionalCatchBinding")}}));wp.default=wPe});var d3=g(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.default=void 0;var DPe=Je(),IPe=(0,DPe.declare)(e=>(e.assertVersion(7),{name:"syntax-async-generators",manipulateOptions(t,r){r.plugins.push("asyncGenerators")}}));Dp.default=IPe});var h3=g(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.default=void 0;var OPe=Je(),_Pe=(0,OPe.declare)(e=>(e.assertVersion(7),{name:"syntax-object-rest-spread",manipulateOptions(t,r){r.plugins.push("objectRestSpread")}}));Ip.default=_Pe});var m3=g(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.default=void 0;var NPe=Je(),kPe=(0,NPe.declare)(e=>(e.assertVersion(7),{name:"syntax-export-namespace-from",manipulateOptions(t,r){r.plugins.push("exportNamespaceFrom")}}));Op.default=kPe});var y3=g(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.default=void 0;var BPe=Je(),qn=ft(),FPe=(0,BPe.declare)(e=>(e.assertVersion(7),{name:"transform-export-namespace-from",inherits:m3().default,visitor:{ExportNamedDeclaration(t){var r;let{node:n,scope:s}=t,{specifiers:i}=n,a=qn.types.isExportDefaultSpecifier(i[0])?1:0;if(!qn.types.isExportNamespaceSpecifier(i[a]))return;let o=[];a===1&&o.push(qn.types.exportNamedDeclaration(null,[i.shift()],n.source));let l=i.shift(),{exported:u}=l,c=s.generateUidIdentifier((r=u.name)!=null?r:u.value);o.push(qn.types.importDeclaration([qn.types.importNamespaceSpecifier(c)],qn.types.cloneNode(n.source)),qn.types.exportNamedDeclaration(null,[qn.types.exportSpecifier(qn.types.cloneNode(c),u)])),n.specifiers.length>=1&&o.push(n);let[f]=t.replaceWithMultiple(o);t.scope.registerDeclaration(f)}}}));_p.default=FPe});var E3=g(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});uv.default=WPe;var jPe=TE(),LPe=Je(),Q=ft(),lv=y0(),MPe=Ff(),il={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"},RPe=/^\s*\*?\s*@jsxImportSource\s+([^\s]+)\s*$/m,qPe=/^\s*\*?\s*@jsxRuntime\s+([^\s]+)\s*$/m,UPe=/^\s*\*?\s*@jsx\s+([^\s]+)\s*$/m,VPe=/^\s*\*?\s*@jsxFrag\s+([^\s]+)\s*$/m,Un=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`),ys=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function $Pe(e){return e.properties.some(t=>Q.types.isObjectProperty(t,{computed:!1,shorthand:!1})&&(Q.types.isIdentifier(t.key,{name:"__proto__"})||Q.types.isStringLiteral(t.key,{value:"__proto__"})))}function WPe({name:e,development:t}){return(0,LPe.declare)((s,i)=>{let{pure:a,throwIfNamespace:o=!0,filter:l,runtime:u=t?"automatic":"classic",importSource:c=il.importSource,pragma:f=il.pragma,pragmaFrag:d=il.pragmaFrag}=i;{var{useSpread:m=!1,useBuiltIns:C=!1}=i;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 C!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");if(m&&C)throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread but not both")}}let p={JSXOpeningElement(q,Y){let fe=[];E(q.scope)&&fe.push(Q.types.jsxAttribute(Q.types.jsxIdentifier("__self"),Q.types.jsxExpressionContainer(Q.types.thisExpression()))),fe.push(Q.types.jsxAttribute(Q.types.jsxIdentifier("__source"),Q.types.jsxExpressionContainer(KPe(q,Y)))),q.pushContainer("attributes",fe)}};return{name:e,inherits:jPe.default,visitor:{JSXNamespacedName(q){if(o)throw q.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(q){throw q.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(q,Y){let{file:fe}=Y,X=u,Z=c,J=f,pe=d,De=!!i.importSource,ke=!!i.pragma,Ie=!!i.pragmaFrag;if(fe.ast.comments)for(let Qe of fe.ast.comments){let Et=RPe.exec(Qe.value);Et&&(Z=Et[1],De=!0);let W=qPe.exec(Qe.value);W&&(X=W[1]);let V=UPe.exec(Qe.value);V&&(J=V[1],ke=!0);let z=VPe.exec(Qe.value);z&&(pe=z[1],Ie=!0)}if(ys(Y,"runtime",X),X==="classic"){if(De)throw q.buildCodeFrameError("importSource cannot be set when runtime is classic.");let Qe=g3(J),Et=g3(pe);ys(Y,"id/createElement",()=>Q.types.cloneNode(Qe)),ys(Y,"id/fragment",()=>Q.types.cloneNode(Et)),ys(Y,"defaultPure",J===il.pragma)}else if(X==="automatic"){if(ke||Ie)throw q.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");let Qe=(Et,W)=>ys(Y,Et,n(Y,q,W,Z));Qe("id/jsx",t?"jsxDEV":"jsx"),Qe("id/jsxs",t?"jsxDEV":"jsxs"),Qe("id/createElement","createElement"),Qe("id/fragment","Fragment"),ys(Y,"defaultPure",Z===il.importSource)}else throw q.buildCodeFrameError('Runtime must be either "classic" or "automatic".');t&&q.traverse(p,Y)}},JSXFragment:{exit(q,Y){let fe;Un(Y,"runtime")==="classic"?fe=ce(q,Y):fe=ie(q,Y),q.replaceWith(Q.types.inherits(fe,q.node))}},JSXElement:{exit(q,Y){let fe;Un(Y,"runtime")==="classic"||P(q)?fe=ve(q,Y):fe=M(q,Y),q.replaceWith(Q.types.inherits(fe,q.node))}},JSXAttribute(q){Q.types.isJSXElement(q.node.value)&&(q.node.value=Q.types.jsxExpressionContainer(q.node.value))}}};function b(q){return q.node.superClass!==null}function E(q){do{let{path:Y}=q;if(Y.isFunctionParent()&&!Y.isArrowFunctionExpression())return!Y.isMethod()||Y.node.kind!=="constructor"?!0:!b(Y.parentPath.parentPath);if(Y.isTSModuleBlock())return!1}while(q=q.parent);return!0}function O(q,Y,fe){let X=Q.types.callExpression(Un(q,`id/${Y}`)(),fe);return(a!=null?a:Un(q,"defaultPure"))&&(0,MPe.default)(X),X}function P(q){let fe=q.get("openingElement").node.attributes,X=!1;for(let Z=0;Z<fe.length;Z++){let J=fe[Z];if(X&&Q.types.isJSXAttribute(J)&&J.name.name==="key")return!0;Q.types.isJSXSpreadAttribute(J)&&(X=!0)}return!1}function A(q,Y){return Q.types.isJSXIdentifier(q)?q.name==="this"&&Q.types.isReferenced(q,Y)?Q.types.thisExpression():Q.types.isValidIdentifier(q.name,!1)?(q.type="Identifier",q):Q.types.stringLiteral(q.name):Q.types.isJSXMemberExpression(q)?Q.types.memberExpression(A(q.object,q),A(q.property,q)):Q.types.isJSXNamespacedName(q)?Q.types.stringLiteral(`${q.namespace.name}:${q.name.name}`):q}function I(q){return Q.types.isJSXExpressionContainer(q)?q.expression:q}function k(q,Y){if(Q.types.isJSXSpreadAttribute(Y.node)){let Z=Y.node.argument;return Q.types.isObjectExpression(Z)&&!$Pe(Z)?q.push(...Z.properties):q.push(Q.types.spreadElement(Z)),q}let fe=I(Y.node.name.name!=="key"?Y.node.value||Q.types.booleanLiteral(!0):Y.node.value);if(Y.node.name.name==="key"&&fe===null)throw Y.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');if(Q.types.isStringLiteral(fe)&&!Q.types.isJSXExpressionContainer(Y.node.value)){var X;fe.value=fe.value.replace(/\n\s+/g," "),(X=fe.extra)==null||delete X.raw}return Q.types.isJSXNamespacedName(Y.node.name)?Y.node.name=Q.types.stringLiteral(Y.node.name.namespace.name+":"+Y.node.name.name.name):Q.types.isValidIdentifier(Y.node.name.name,!1)?Y.node.name.type="Identifier":Y.node.name=Q.types.stringLiteral(Y.node.name.name),q.push(Q.types.inherits(Q.types.objectProperty(Y.node.name,fe),Y.node)),q}function B(q){let Y;if(q.length===1)Y=q[0];else if(q.length>1)Y=Q.types.arrayExpression(q);else return;return Q.types.objectProperty(Q.types.identifier("children"),Y)}function M(q,Y){let fe=q.get("openingElement"),X=[dt(fe)],Z=[],J=Object.create(null);for(let Ie of fe.get("attributes"))if(Ie.isJSXAttribute()&&Q.types.isJSXIdentifier(Ie.node.name)){let{name:Qe}=Ie.node.name;switch(Qe){case"__source":case"__self":if(J[Qe])throw b3(q,Qe);case"key":{let Et=I(Ie.node.value);if(Et===null)throw Ie.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');J[Qe]=Et;break}default:Z.push(Ie)}}else Z.push(Ie);let pe=Q.types.react.buildChildren(q.node),De;if(Z.length||pe.length?De=H(Z,pe):De=Q.types.objectExpression([]),X.push(De),t){var ke;X.push((ke=J.key)!=null?ke:q.scope.buildUndefinedNode(),Q.types.booleanLiteral(pe.length>1)),J.__source?(X.push(J.__source),J.__self&&X.push(J.__self)):J.__self&&X.push(q.scope.buildUndefinedNode(),J.__self)}else J.key!==void 0&&X.push(J.key);return O(Y,pe.length>1?"jsxs":"jsx",X)}function H(q,Y){let fe=q.reduce(k,[]);return(Y==null?void 0:Y.length)>0&&fe.push(B(Y)),Q.types.objectExpression(fe)}function ie(q,Y){let fe=[Un(Y,"id/fragment")()],X=Q.types.react.buildChildren(q.node);return fe.push(Q.types.objectExpression(X.length>0?[B(X)]:[])),t&&fe.push(q.scope.buildUndefinedNode(),Q.types.booleanLiteral(X.length>1)),O(Y,X.length>1?"jsxs":"jsx",fe)}function ce(q,Y){if(!(l&&!l(q.node,Y)))return O(Y,"createElement",[Un(Y,"id/fragment")(),Q.types.nullLiteral(),...Q.types.react.buildChildren(q.node)])}function ve(q,Y){let fe=q.get("openingElement");return O(Y,"createElement",[dt(fe),ut(Y,q,fe.get("attributes")),...Q.types.react.buildChildren(q.node)])}function dt(q){let Y=A(q.node.name,q.node),fe;return Q.types.isIdentifier(Y)?fe=Y.name:Q.types.isStringLiteral(Y)&&(fe=Y.value),Q.types.react.isCompatTag(fe)?Q.types.stringLiteral(fe):Y}function ut(q,Y,fe){let X=Un(q,"runtime");if(X!=="automatic"){let pe=[],De=fe.reduce(k,[]);if(m)De.length&&pe.push(Q.types.objectExpression(De));else{let Ie=0;De.forEach((Qe,Et)=>{Q.types.isSpreadElement(Qe)&&(Et>Ie&&pe.push(Q.types.objectExpression(De.slice(Ie,Et))),pe.push(Qe.argument),Ie=Et+1)}),De.length>Ie&&pe.push(Q.types.objectExpression(De.slice(Ie)))}if(!pe.length)return Q.types.nullLiteral();if(pe.length===1&&!(Q.types.isSpreadElement(De[0])&&Q.types.isObjectExpression(De[0].argument)))return pe[0];Q.types.isObjectExpression(pe[0])||pe.unshift(Q.types.objectExpression([]));let ke=C?Q.types.memberExpression(Q.types.identifier("Object"),Q.types.identifier("assign")):q.addHelper("extends");return Q.types.callExpression(ke,pe)}let Z=[],J=Object.create(null);for(let pe of fe){let{node:De}=pe,ke=Q.types.isJSXAttribute(De)&&Q.types.isJSXIdentifier(De.name)&&De.name.name;if(X==="automatic"&&(ke==="__source"||ke==="__self")){if(J[ke])throw b3(Y,ke);J[ke]=!0}k(Z,pe)}return Z.length===1&&Q.types.isSpreadElement(Z[0])&&!Q.types.isObjectExpression(Z[0].argument)?Z[0].argument:Z.length>0?Q.types.objectExpression(Z):Q.types.nullLiteral()}});function r(s,i){switch(i){case"Fragment":return`${s}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${s}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${s}/jsx-runtime`;case"createElement":return s}}function n(s,i,a,o){return()=>{let l=r(o,a);if((0,lv.isModule)(i)){let u=Un(s,`imports/${a}`);return u?Q.types.cloneNode(u):(u=(0,lv.addNamed)(i,a,l,{importedInterop:"uncompiled",importPosition:"after"}),ys(s,`imports/${a}`,u),u)}else{let u=Un(s,`requires/${l}`);return u?u=Q.types.cloneNode(u):(u=(0,lv.addNamespace)(i,l,{importedInterop:"uncompiled"}),ys(s,`requires/${l}`,u)),Q.types.memberExpression(u,Q.types.identifier(a))}}}}function g3(e){return e.split(".").map(t=>Q.types.identifier(t)).reduce((t,r)=>Q.types.memberExpression(t,r))}function KPe(e,t){let r=e.node.loc;if(!r)return e.scope.buildUndefinedNode();if(!t.fileNameIdentifier){let{filename:n=""}=t,s=e.scope.generateUidIdentifier("_jsxFileName");e.scope.getProgramParent().push({id:s,init:Q.types.stringLiteral(n)}),t.fileNameIdentifier=s}return GPe(Q.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function GPe(e,t,r){let n=t!=null?Q.types.numericLiteral(t):Q.types.nullLiteral(),s=r!=null?Q.types.numericLiteral(r+1):Q.types.nullLiteral();return Q.template.expression.ast`{
  1901. fileName: ${e},
  1902. lineNumber: ${n},
  1903. columnNumber: ${s},
  1904. }`}function b3(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 v3=g(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.default=void 0;var HPe=E3(),YPe=(0,HPe.default)({name:"transform-react-jsx",development:!1});Np.default=YPe});var T3=g(kp=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});kp.default=void 0;var XPe=Je(),JPe=(0,XPe.declare)(e=>(e.assertVersion(7),{name:"syntax-dynamic-import",manipulateOptions(t,r){r.plugins.push("dynamicImport")}}));kp.default=JPe});var S3=g(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});Bp.default=void 0;var zPe=Je(),QPe=["commonjs","amd","systemjs"],ZPe=`@babel/plugin-transform-dynamic-import depends on a modules
  1905. transform plugin. Supported plugins are:
  1906. - @babel/plugin-transform-modules-commonjs ^7.4.0
  1907. - @babel/plugin-transform-modules-amd ^7.4.0
  1908. - @babel/plugin-transform-modules-systemjs ^7.4.0
  1909. If you are using Webpack or Rollup and thus don't want
  1910. Babel to transpile your imports and exports, you can use
  1911. the @babel/plugin-syntax-dynamic-import plugin and let your
  1912. bundler handle dynamic imports.
  1913. `,eAe=(0,zPe.declare)(e=>(e.assertVersion(7),{name:"transform-dynamic-import",inherits:T3().default,pre(){this.file.set("@babel/plugin-proposal-dynamic-import","7.22.11")},visitor:{Program(){let t=this.file.get("@babel/plugin-transform-modules-*");if(!QPe.includes(t))throw new Error(ZPe)}}}));Bp.default=eAe});var x3=g(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=void 0;var tAe=Je(),rAe=(0,tAe.declare)(e=>(e.assertVersion(7),{name:"syntax-import-assertions",manipulateOptions(t,r){r.plugins.push("importAssertions")}}));Fp.default=rAe});var aAe={};L3(aAe,{babelTransform:()=>iAe,codeFrameColumns:()=>w3.codeFrameColumns,declare:()=>D3.declare,parse:()=>O3.parse,traverse:()=>nAe,types:()=>I3.types});module.exports=M3(aAe);var P3=Vn(require("path")),A3=Vn(ft()),w3=Vn(vi()),D3=Vn(Je()),I3=Vn(ft()),O3=Vn(Ii()),C3=Vn(Ur()),nAe=C3.default;function sAe(e,t,r,n){let s=[];return e&&s.push([WN(),{version:"2023-05"}],[GN()],[YN()],[zN()],[e3()],[r3()],[s3()],[l3()],[c3()],[f3()],[p3()],[d3()],[h3()],[y3()],[({template:i})=>({name:"replace-ts-export-assignment",visitor:{TSExportAssignment(a){a.replaceWith(i("module.exports = ASSIGNMENT;")({ASSIGNMENT:a.node.expression}))}}})]),s.push([v3(),{throwIfNamespace:!1,runtime:"automatic",importSource:P3.default.dirname(require.resolve("playwright"))}]),t?s.push([x3()]):(s.push([CE()]),s.push([S3()]),s.push([()=>({name:"css-to-identity-obj-proxy",visitor:{ImportDeclaration(i){i.node.source.value.match(/\.(css|less|scss)$/)&&i.remove()}}})])),{browserslistConfigFile:!1,babelrc:!1,configFile:!1,assumptions:{setPublicClassFields:!0},presets:e?[[DE(),{onlyRemoveTypeImports:!1}]]:[],plugins:[...r.map(([i,a])=>[require(i),a]),...s,...n.map(([i,a])=>[require(i),a])],compact:!1,sourceMaps:"both"}}var cv=!1;function iAe(e,t,r,n,s,i){if(cv)return{};cv=!0;try{let a=sAe(r,n,s,i);return A3.transform(e,{filename:t,...a})}finally{cv=!1}}0&&(module.exports={babelTransform,codeFrameColumns,declare,parse,traverse,types});