setupin 2.6.2-beta.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/README.zh-CN.md +5 -5
- package/dist/main.js +45980 -52
- package/dist/main.prod.js +201 -20
- package/package.json +15 -16
package/dist/main.prod.js
CHANGED
|
@@ -1,22 +1,203 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
- Did you mean \`import { "${s}" as foo }\`?`,ImportCallArity:"`import()` requires exactly 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:s})=>`Expected number in radix ${s}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:s})=>`Escape sequence in keyword ${s}.`,InvalidIdentifier:({identifierName:s})=>`Invalid identifier ${s}.`,InvalidLhs:({ancestor:s})=>`Invalid left-hand side in ${jr(s)}.`,InvalidLhsBinding:({ancestor:s})=>`Binding invalid left-hand side in ${jr(s)}.`,InvalidLhsOptionalChaining:({ancestor:s})=>`Invalid optional chaining in the left-hand side of ${jr(s)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:s})=>`Unexpected character '${s}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:s})=>`Private name #${s} 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:s})=>`Label '${s}' 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:s})=>`This experimental syntax requires enabling the parser plugin: ${s.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:s})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${s.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:s})=>`Duplicate key "${s}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:s})=>`An export name cannot include a lone surrogate, found '\\u${s.toString(16)}'.`,ModuleExportUndefined:({localName:s})=>`Export '${s}' 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:s})=>`Private names are only allowed in property accesses (\`obj.#${s}\`) or in \`in\` expressions (\`#${s} in obj\`).`,PrivateNameRedeclaration:({identifierName:s})=>`Duplicate private name #${s}.`,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:s})=>`Unexpected keyword '${s}'.`,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:s})=>`Unexpected reserved word '${s}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:s,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${s?`, expected "${s}"`:""}`,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:s,onlyValidPropertyName:t})=>`The only valid meta property for ${s} is ${s}.${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.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:s})=>`Identifier '${s}' 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."},Od={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:s})=>`Assigning to '${s}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:s})=>`Binding '${s}' 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."};const Fd=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var Rd={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:s})=>`Invalid topic token ${s}. In order to use ${s} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${s}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:s})=>`Hack-style pipe body cannot be an unparenthesized ${jr({type:s})}; 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.'};const Bd=["message"];function Qc(s,t,e){Object.defineProperty(s,t,{enumerable:!1,configurable:!0,value:e})}function Ud({toMessage:s,code:t,reasonCode:e,syntaxPlugin:i}){const r=e==="MissingPlugin"||e==="MissingOneOfPlugins";{const n={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};n[e]&&(e=n[e])}return function n(a,o){const l=new SyntaxError;return l.code=t,l.reasonCode=e,l.loc=a,l.pos=a.index,l.syntaxPlugin=i,r&&(l.missingPlugin=o.missingPlugin),Qc(l,"clone",function(h={}){var u;const{line:d,column:p,index:f}=(u=h.loc)!=null?u:a;return n(new cs(d,p,f),Object.assign({},o,h.details))}),Qc(l,"details",o),Object.defineProperty(l,"message",{configurable:!0,get(){const c=`${s(o)} (${a.line}:${a.column})`;return this.message=c,c},set(c){Object.defineProperty(this,"message",{value:c,writable:!0})}}),l}}function zt(s,t){if(Array.isArray(s))return i=>zt(i,s[0]);const e={};for(const i of Object.keys(s)){const r=s[i],n=typeof r=="string"?{message:()=>r}:typeof r=="function"?{message:r}:r,{message:a}=n,o=_d(n,Bd),l=typeof a=="string"?()=>a:a;e[i]=Ud(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:l},t?{syntaxPlugin:t}:{},o))}return e}const b=Object.assign({},zt(Md),zt(Dd),zt(Od),zt`pipelineOperator`(Rd)),{defineProperty:jd}=Object,Zc=(s,t)=>{s&&jd(s,t,{enumerable:!1,value:s[t]})};function ji(s){return Zc(s.loc.start,"index"),Zc(s.loc.end,"index"),s}var Vd=s=>class extends s{parse(){const e=ji(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(ji)),e}parseRegExpLiteral({pattern:e,flags:i}){let r=null;try{r=new RegExp(e,i)}catch{}const n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:i},n}parseBigIntLiteral(e){let i;try{i=BigInt(e)}catch{i=null}const r=this.estreeParseLiteral(i);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){const r=this.estreeParseLiteral(null);return r.decimal=String(r.value||e),r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const i=e.value;delete e.value,i.type="Literal",i.raw=i.extra.raw,i.value=i.extra.expressionValue;const r=e;return r.type="ExpressionStatement",r.expression=i,r.directive=i.extra.rawValue,delete i.extra,r}initFunction(e,i){super.initFunction(e,i),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var i;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((i=e.expression.extra)!=null&&i.parenthesized)}parseBlockBody(e,i,r,n,a){super.parseBlockBody(e,i,r,n,a);const o=e.directives.map(l=>this.directiveToStmt(l));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,i,r,n,a,o){this.parseMethod(i,r,n,a,o,"ClassMethod",!0),i.typeParameters&&(i.value.typeParameters=i.typeParameters,delete i.typeParameters),e.body.push(i)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const i=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=i,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,i){const r=super.parseLiteral(e,i);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,i,r=!1){super.parseFunctionBody(e,i,r),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,i,r,n,a,o,l=!1){let c=this.startNode();return c.kind=e.kind,c=super.parseMethod(c,i,r,n,a,o,l),c.type="FunctionExpression",delete c.kind,e.value=c,o==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){const i=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(i.type="PropertyDefinition"),i}parseClassPrivateProperty(...e){const i=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(i.type="PropertyDefinition",i.computed=!1),i}parseObjectMethod(e,i,r,n,a){const o=super.parseObjectMethod(e,i,r,n,a);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(e,i,r,n){const a=super.parseObjectProperty(e,i,r,n);return a&&(a.kind="init",a.type="Property"),a}isValidLVal(e,i,r){return e==="Property"?"value":super.isValidLVal(e,i,r)}isAssignable(e,i){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,i):super.isAssignable(e,i)}toAssignable(e,i=!1){if(e!=null&&this.isObjectProperty(e)){const{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,i)}else super.toAssignable(e,i)}toAssignableObjectExpressionProp(e,i,r){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(b.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(b.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,i,r)}finishCallExpression(e,i){const r=super.finishCallExpression(e,i);if(r.callee.type==="Import"){var n,a;r.type="ImportExpression",r.source=r.arguments[0],r.options=(n=r.arguments[1])!=null?n:null,r.attributes=(a=r.arguments[1])!=null?a:null,delete r.arguments,delete r.callee}return r}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,i){const r=this.state.lastTokStartLoc,n=super.parseExport(e,i);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"&&(n.type="ExportAllDeclaration",n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var a;const{declaration:o}=n;o?.type==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===n.start&&this.resetStartLocation(n,r)}break}return n}parseSubscript(e,i,r,n){const a=super.parseSubscript(e,i,r,n);if(n.optionalChainMember){if((a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression")&&(a.type=a.type.substring(8)),n.stop){const 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(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}finishNodeAt(e,i,r){return ji(super.finishNodeAt(e,i,r))}resetStartLocation(e,i){super.resetStartLocation(e,i),ji(e)}resetEndLocation(e,i=this.state.lastTokEndLoc){super.resetEndLocation(e,i),ji(e)}};class Vi{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}}const Ae={brace:new Vi("{"),j_oTag:new Vi("<tag"),j_cTag:new Vi("</tag"),j_expr:new Vi("<tag>...</tag>",!0)};Ae.template=new Vi("`",!0);const he=!0,z=!0,Oa=!0,$i=!0,hs=!0,$d=!0;class eh{constructor(t,e={}){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=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}}const Fa=new Map;function ye(s,t={}){t.keyword=s;const e=ee(s,t);return Fa.set(s,e),e}function at(s,t){return ee(s,{beforeExpr:he,binop:t})}let Hi=-1;const Kt=[],Ra=[],Ba=[],Ua=[],ja=[],Va=[];function ee(s,t={}){var e,i,r,n;return++Hi,Ra.push(s),Ba.push((e=t.binop)!=null?e:-1),Ua.push((i=t.beforeExpr)!=null?i:!1),ja.push((r=t.startsExpr)!=null?r:!1),Va.push((n=t.prefix)!=null?n:!1),Kt.push(new eh(s,t)),Hi}function ue(s,t={}){var e,i,r,n;return++Hi,Fa.set(s,Hi),Ra.push(s),Ba.push((e=t.binop)!=null?e:-1),Ua.push((i=t.beforeExpr)!=null?i:!1),ja.push((r=t.startsExpr)!=null?r:!1),Va.push((n=t.prefix)!=null?n:!1),Kt.push(new eh("name",t)),Hi}const Hd={bracketL:ee("[",{beforeExpr:he,startsExpr:z}),bracketHashL:ee("#[",{beforeExpr:he,startsExpr:z}),bracketBarL:ee("[|",{beforeExpr:he,startsExpr:z}),bracketR:ee("]"),bracketBarR:ee("|]"),braceL:ee("{",{beforeExpr:he,startsExpr:z}),braceBarL:ee("{|",{beforeExpr:he,startsExpr:z}),braceHashL:ee("#{",{beforeExpr:he,startsExpr:z}),braceR:ee("}"),braceBarR:ee("|}"),parenL:ee("(",{beforeExpr:he,startsExpr:z}),parenR:ee(")"),comma:ee(",",{beforeExpr:he}),semi:ee(";",{beforeExpr:he}),colon:ee(":",{beforeExpr:he}),doubleColon:ee("::",{beforeExpr:he}),dot:ee("."),question:ee("?",{beforeExpr:he}),questionDot:ee("?."),arrow:ee("=>",{beforeExpr:he}),template:ee("template"),ellipsis:ee("...",{beforeExpr:he}),backQuote:ee("`",{startsExpr:z}),dollarBraceL:ee("${",{beforeExpr:he,startsExpr:z}),templateTail:ee("...`",{startsExpr:z}),templateNonTail:ee("...${",{beforeExpr:he,startsExpr:z}),at:ee("@"),hash:ee("#",{startsExpr:z}),interpreterDirective:ee("#!..."),eq:ee("=",{beforeExpr:he,isAssign:$i}),assign:ee("_=",{beforeExpr:he,isAssign:$i}),slashAssign:ee("_=",{beforeExpr:he,isAssign:$i}),xorAssign:ee("_=",{beforeExpr:he,isAssign:$i}),moduloAssign:ee("_=",{beforeExpr:he,isAssign:$i}),incDec:ee("++/--",{prefix:hs,postfix:$d,startsExpr:z}),bang:ee("!",{beforeExpr:he,prefix:hs,startsExpr:z}),tilde:ee("~",{beforeExpr:he,prefix:hs,startsExpr:z}),doubleCaret:ee("^^",{startsExpr:z}),doubleAt:ee("@@",{startsExpr:z}),pipeline:at("|>",0),nullishCoalescing:at("??",1),logicalOR:at("||",1),logicalAND:at("&&",2),bitwiseOR:at("|",3),bitwiseXOR:at("^",4),bitwiseAND:at("&",5),equality:at("==/!=/===/!==",6),lt:at("</>/<=/>=",7),gt:at("</>/<=/>=",7),relational:at("</>/<=/>=",7),bitShift:at("<</>>/>>>",8),bitShiftL:at("<</>>/>>>",8),bitShiftR:at("<</>>/>>>",8),plusMin:ee("+/-",{beforeExpr:he,binop:9,prefix:hs,startsExpr:z}),modulo:ee("%",{binop:10,startsExpr:z}),star:ee("*",{binop:10}),slash:at("/",10),exponent:ee("**",{beforeExpr:he,binop:11,rightAssociative:!0}),_in:ye("in",{beforeExpr:he,binop:7}),_instanceof:ye("instanceof",{beforeExpr:he,binop:7}),_break:ye("break"),_case:ye("case",{beforeExpr:he}),_catch:ye("catch"),_continue:ye("continue"),_debugger:ye("debugger"),_default:ye("default",{beforeExpr:he}),_else:ye("else",{beforeExpr:he}),_finally:ye("finally"),_function:ye("function",{startsExpr:z}),_if:ye("if"),_return:ye("return",{beforeExpr:he}),_switch:ye("switch"),_throw:ye("throw",{beforeExpr:he,prefix:hs,startsExpr:z}),_try:ye("try"),_var:ye("var"),_const:ye("const"),_with:ye("with"),_new:ye("new",{beforeExpr:he,startsExpr:z}),_this:ye("this",{startsExpr:z}),_super:ye("super",{startsExpr:z}),_class:ye("class",{startsExpr:z}),_extends:ye("extends",{beforeExpr:he}),_export:ye("export"),_import:ye("import",{startsExpr:z}),_null:ye("null",{startsExpr:z}),_true:ye("true",{startsExpr:z}),_false:ye("false",{startsExpr:z}),_typeof:ye("typeof",{beforeExpr:he,prefix:hs,startsExpr:z}),_void:ye("void",{beforeExpr:he,prefix:hs,startsExpr:z}),_delete:ye("delete",{beforeExpr:he,prefix:hs,startsExpr:z}),_do:ye("do",{isLoop:Oa,beforeExpr:he}),_for:ye("for",{isLoop:Oa}),_while:ye("while",{isLoop:Oa}),_as:ue("as",{startsExpr:z}),_assert:ue("assert",{startsExpr:z}),_async:ue("async",{startsExpr:z}),_await:ue("await",{startsExpr:z}),_defer:ue("defer",{startsExpr:z}),_from:ue("from",{startsExpr:z}),_get:ue("get",{startsExpr:z}),_let:ue("let",{startsExpr:z}),_meta:ue("meta",{startsExpr:z}),_of:ue("of",{startsExpr:z}),_sent:ue("sent",{startsExpr:z}),_set:ue("set",{startsExpr:z}),_source:ue("source",{startsExpr:z}),_static:ue("static",{startsExpr:z}),_using:ue("using",{startsExpr:z}),_yield:ue("yield",{startsExpr:z}),_asserts:ue("asserts",{startsExpr:z}),_checks:ue("checks",{startsExpr:z}),_exports:ue("exports",{startsExpr:z}),_global:ue("global",{startsExpr:z}),_implements:ue("implements",{startsExpr:z}),_intrinsic:ue("intrinsic",{startsExpr:z}),_infer:ue("infer",{startsExpr:z}),_is:ue("is",{startsExpr:z}),_mixins:ue("mixins",{startsExpr:z}),_proto:ue("proto",{startsExpr:z}),_require:ue("require",{startsExpr:z}),_satisfies:ue("satisfies",{startsExpr:z}),_keyof:ue("keyof",{startsExpr:z}),_readonly:ue("readonly",{startsExpr:z}),_unique:ue("unique",{startsExpr:z}),_abstract:ue("abstract",{startsExpr:z}),_declare:ue("declare",{startsExpr:z}),_enum:ue("enum",{startsExpr:z}),_module:ue("module",{startsExpr:z}),_namespace:ue("namespace",{startsExpr:z}),_interface:ue("interface",{startsExpr:z}),_type:ue("type",{startsExpr:z}),_opaque:ue("opaque",{startsExpr:z}),name:ee("name",{startsExpr:z}),placeholder:ee("%%",{startsExpr:!0}),string:ee("string",{startsExpr:z}),num:ee("num",{startsExpr:z}),bigint:ee("bigint",{startsExpr:z}),decimal:ee("decimal",{startsExpr:z}),regexp:ee("regexp",{startsExpr:z}),privateName:ee("#name",{startsExpr:z}),eof:ee("eof"),jsxName:ee("jsxName"),jsxText:ee("jsxText",{beforeExpr:!0}),jsxTagStart:ee("jsxTagStart",{startsExpr:!0}),jsxTagEnd:ee("jsxTagEnd")};function Te(s){return s>=93&&s<=133}function qd(s){return s<=92}function Mt(s){return s>=58&&s<=133}function th(s){return s>=58&&s<=137}function zd(s){return Ua[s]}function $a(s){return ja[s]}function Kd(s){return s>=29&&s<=33}function sh(s){return s>=129&&s<=131}function Wd(s){return s>=90&&s<=92}function Ha(s){return s>=58&&s<=92}function Jd(s){return s>=39&&s<=59}function Xd(s){return s===34}function Gd(s){return Va[s]}function Yd(s){return s>=121&&s<=123}function Qd(s){return s>=124&&s<=130}function us(s){return Ra[s]}function Vr(s){return Ba[s]}function Zd(s){return s===57}function $r(s){return s>=24&&s<=25}function Wt(s){return Kt[s]}Kt[8].updateContext=s=>{s.pop()},Kt[5].updateContext=Kt[7].updateContext=Kt[23].updateContext=s=>{s.push(Ae.brace)},Kt[22].updateContext=s=>{s[s.length-1]===Ae.template?s.pop():s.push(Ae.template)},Kt[143].updateContext=s=>{s.push(Ae.j_expr,Ae.j_oTag)};let qa="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",ih="\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\u0897-\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";const ef=new RegExp("["+qa+"]"),tf=new RegExp("["+qa+ih+"]");qa=ih=null;const rh=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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],sf=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function za(s,t){let e=65536;for(let i=0,r=t.length;i<r;i+=2){if(e+=t[i],e>s)return!1;if(e+=t[i+1],e>=s)return!0}return!1}function Jt(s){return s<65?s===36:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&ef.test(String.fromCharCode(s)):za(s,rh)}function ai(s){return s<48?s===36:s<58?!0:s<65?!1:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&tf.test(String.fromCharCode(s)):za(s,rh)||za(s,sf)}const Ka={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"]},rf=new Set(Ka.keyword),nf=new Set(Ka.strict),af=new Set(Ka.strictBind);function nh(s,t){return t&&s==="await"||s==="enum"}function ah(s,t){return nh(s,t)||nf.has(s)}function oh(s){return af.has(s)}function lh(s,t){return ah(s,t)||oh(s)}function of(s){return rf.has(s)}function lf(s,t,e){return s===64&&t===64&&Jt(e)}const cf=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 hf(s){return cf.has(s)}class Wa{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}}class Ja{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new Wa(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,e,i){let r=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(r,t,e,i);let n=r.names.get(t)||0;e&16?n=n|4:(r.firstLexicalName||(r.firstLexicalName=t),n=n|2),r.names.set(t,n),e&8&&this.maybeExportDefined(r,t)}else if(e&4)for(let n=this.scopeStack.length-1;n>=0&&(r=this.scopeStack[n],this.checkRedeclarationInScope(r,t,e,i),r.names.set(t,(r.names.get(t)||0)|1),this.maybeExportDefined(r,t),!(r.flags&387));--n);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,i,r){this.isRedeclaredInScope(t,e,i)&&this.parser.raise(b.VarRedeclaration,r,{identifierName:e})}isRedeclaredInScope(t,e,i){if(!(i&1))return!1;if(i&8)return t.names.has(e);const r=t.names.get(e);return i&16?(r&2)>0||!this.treatFunctionsAsVarInScope(t)&&(r&1)>0:(r&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(r&4)>0}checkLocalExport(t){const{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&387)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&451&&!(e&4))return e}}}class uf extends Wa{constructor(...t){super(...t),this.declareFunctions=new Set}}class pf extends Ja{createScope(t){return new uf(t)}declareName(t,e,i){const r=this.currentScope();if(e&2048){this.checkRedeclarationInScope(r,t,e,i),this.maybeExportDefined(r,t),r.declareFunctions.add(t);return}super.declareName(t,e,i)}isRedeclaredInScope(t,e,i){if(super.isRedeclaredInScope(t,e,i))return!0;if(i&2048&&!t.declareFunctions.has(e)){const r=t.names.get(e);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}}class df{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(t){return t+this.startIndex}offsetToSourcePos(t){return t-this.startIndex}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{const[e,i]=t;if(!this.hasPlugin(e))return!1;const r=this.plugins.get(e);for(const n of Object.keys(i))if(r?.[n]!==i[n])return!1;return!0}}getPluginOption(t,e){var i;return(i=this.plugins.get(t))==null?void 0:i[e]}}function ch(s,t){s.trailingComments===void 0?s.trailingComments=t:s.trailingComments.unshift(...t)}function ff(s,t){s.leadingComments===void 0?s.leadingComments=t:s.leadingComments.unshift(...t)}function qi(s,t){s.innerComments===void 0?s.innerComments=t:s.innerComments.unshift(...t)}function zi(s,t,e){let i=null,r=t.length;for(;i===null&&r>0;)i=t[--r];i===null||i.start>e.start?qi(s,e.comments):ch(i,e.comments)}class mf extends df{addComment(t){this.filename&&(t.loc.filename=this.filename);const{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){const{commentStack:e}=this.state,i=e.length;if(i===0)return;let r=i-1;const n=e[r];n.start===t.end&&(n.leadingNode=t,r--);const{start:a}=t;for(;r>=0;r--){const o=e[r],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),e.splice(r,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){const{comments:e}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&ch(t.leadingNode,e),t.trailingNode!==null&&ff(t.trailingNode,e);else{const{containingNode:i,start:r}=t;if(this.input.charCodeAt(this.offsetToSourcePos(r)-1)===44)switch(i.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":zi(i,i.properties,t);break;case"CallExpression":case"OptionalCallExpression":zi(i,i.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":zi(i,i.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":zi(i,i.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":zi(i,i.specifiers,t);break;default:qi(i,e)}else qi(i,e)}}finalizeRemainingComments(){const{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){const{commentStack:e}=this.state,{length:i}=e;if(i===0)return;const r=e[i-1];r.leadingNode===t&&(r.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){const{commentStack:e}=this.state,{length:i}=e;i!==0&&(e[i-1].trailingNode===t?e[i-1].trailingNode=null:i>=2&&e[i-2].trailingNode===t&&(e[i-2].trailingNode=null))}takeSurroundingComments(t,e,i){const{commentStack:r}=this.state,n=r.length;if(n===0)return;let a=n-1;for(;a>=0;a--){const o=r[a],l=o.end;if(o.start===i)o.leadingNode=t;else if(l===e)o.trailingNode=t;else if(l<e)break}}}const yf=/\r\n|[\r\n\u2028\u2029]/,Hr=new RegExp(yf.source,"g");function oi(s){switch(s){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function hh(s,t,e){for(let i=t;i<e;i++)if(oi(s.charCodeAt(i)))return!0;return!1}const Xa=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ga=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function gf(s){switch(s){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}}class Ya{constructor(){this.flags=1024,this.startIndex=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.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[Ae.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:e,startIndex:i,startLine:r,startColumn:n}){this.strict=t===!1?!1:t===!0?!0:e==="module",this.startIndex=i,this.curLine=r,this.lineStart=-n,this.startLoc=this.endLoc=new cs(r,n,i)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(t){t?this.flags|=4096:this.flags&=-4097}curPosition(){return new cs(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){const t=new Ya;return t.flags=this.flags,t.startIndex=this.startIndex,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}}var xf=function(t){return t>=48&&t<=57};const uh={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},qr={bin:s=>s===48||s===49,oct:s=>s>=48&&s<=55,dec:s=>s>=48&&s<=57,hex:s=>s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102};function ph(s,t,e,i,r,n){const a=e,o=i,l=r;let c="",h=null,u=e;const{length:d}=t;for(;;){if(e>=d){n.unterminated(a,o,l),c+=t.slice(u,e);break}const p=t.charCodeAt(e);if(bf(s,p,t,e)){c+=t.slice(u,e);break}if(p===92){c+=t.slice(u,e);const f=Pf(t,e,i,r,s==="template",n);f.ch===null&&!h?h={pos:e,lineStart:i,curLine:r}:c+=f.ch,{pos:e,lineStart:i,curLine:r}=f,u=e}else p===8232||p===8233?(++e,++r,i=e):p===10||p===13?s==="template"?(c+=t.slice(u,e)+`
|
|
4
|
-
|
|
5
|
-
`);case 114:return o("\r");case 120:{let c;return{code:c,pos:t}=Qa(s,t,e,i,2,!1,a,n),o(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:t}=fh(s,t,e,i,a,n),o(c===null?null:String.fromCodePoint(c))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:s.charCodeAt(t)===10&&++t;case 10:e=t,++i;case 8232:case 8233:return o("");case 56:case 57:if(r)return o(null);n.strictNumericEscape(t-1,e,i);default:if(l>=48&&l<=55){const c=t-1;let u=/^[0-7]+/.exec(s.slice(c,t+2))[0],d=parseInt(u,8);d>255&&(u=u.slice(0,-1),d=parseInt(u,8)),t+=u.length-1;const p=s.charCodeAt(t);if(u!=="0"||p===56||p===57){if(r)return o(null);n.strictNumericEscape(c,e,i)}return o(String.fromCharCode(d))}return o(String.fromCharCode(l))}}function Qa(s,t,e,i,r,n,a,o){const l=t;let c;return{n:c,pos:t}=dh(s,t,e,i,16,r,n,!1,o,!a),c===null&&(a?o.invalidEscapeSequence(l,e,i):t=l-1),{code:c,pos:t}}function dh(s,t,e,i,r,n,a,o,l,c){const h=t,u=r===16?uh.hex:uh.decBinOct,d=r===16?qr.hex:r===10?qr.dec:r===8?qr.oct:qr.bin;let p=!1,f=0;for(let P=0,I=n??1/0;P<I;++P){const T=s.charCodeAt(t);let m;if(T===95&&o!=="bail"){const g=s.charCodeAt(t-1),A=s.charCodeAt(t+1);if(o){if(Number.isNaN(A)||!d(A)||u.has(g)||u.has(A)){if(c)return{n:null,pos:t};l.unexpectedNumericSeparator(t,e,i)}}else{if(c)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,e,i)}++t;continue}if(T>=97?m=T-97+10:T>=65?m=T-65+10:xf(T)?m=T-48:m=1/0,m>=r){if(m<=9&&c)return{n:null,pos:t};if(m<=9&&l.invalidDigit(t,e,i,r))m=0;else if(a)m=0,p=!0;else break}++t,f=f*r+m}return t===h||n!=null&&t-h!==n||p?{n:null,pos:t}:{n:f,pos:t}}function fh(s,t,e,i,r,n){const a=s.charCodeAt(t);let o;if(a===123){if(++t,{code:o,pos:t}=Qa(s,t,e,i,s.indexOf("}",t)-t,!0,r,n),++t,o!==null&&o>1114111)if(r)n.invalidCodePoint(t,e,i);else return{code:null,pos:t}}else({code:o,pos:t}=Qa(s,t,e,i,4,!1,r,n));return{code:o,pos:t}}function Ki(s,t,e){return new cs(e,s-t,s)}const Tf=new Set([103,109,115,105,121,117,100,118]);class ps{constructor(t){const e=t.startIndex||0;this.type=t.type,this.value=t.value,this.start=e+t.start,this.end=e+t.end,this.loc=new Ur(t.startLoc,t.endLoc)}}class Sf extends mf{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(i,r,n,a)=>this.options.errorRecovery?(this.raise(b.InvalidDigit,Ki(i,r,n),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(b.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(b.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(b.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(b.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(i,r,n)=>{this.recordStrictModeErrors(b.StrictNumericEscape,Ki(i,r,n))},unterminated:(i,r,n)=>{throw this.raise(b.UnterminatedString,Ki(i-1,r,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(b.StrictNumericEscape),unterminated:(i,r,n)=>{throw this.raise(b.UnterminatedTemplate,Ki(i,r,n))}}),this.state=new Ya,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ps(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){const t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return Xa.lastIndex=t,Xa.test(this.input)?Xa.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Ga.lastIndex=t,Ga.test(this.input)?Ga.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++t<this.input.length){const i=this.input.charCodeAt(t);(i&64512)===56320&&(e=65536+((e&1023)<<10)+(i&1023))}return e}setStrict(t){this.state.strict=t,t&&(this.state.strictErrors.forEach(([e,i])=>this.raise(e,i)),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(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());const i=this.state.pos,r=this.input.indexOf(t,i+2);if(r===-1)throw this.raise(b.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+t.length,Hr.lastIndex=i+2;Hr.test(this.input)&&Hr.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Hr.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(i+2,r),start:this.sourceToOffsetPos(i),end:this.sourceToOffsetPos(r+t.length),loc:new Ur(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(t){const e=this.state.pos;let i;this.isLookahead||(i=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!oi(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const n=this.state.pos,o={type:"CommentLine",value:this.input.slice(e+t,n),start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(n),loc:new Ur(i,this.state.curPosition())};return this.options.tokens&&this.pushToken(o),o}skipSpace(){const t=this.state.pos,e=[];e:for(;this.state.pos<this.length;){const i=this.input.charCodeAt(this.state.pos);switch(i){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:{const r=this.skipBlockComment("*/");r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r));break}case 47:{const r=this.skipLineComment(2);r!==void 0&&(this.addComment(r),this.options.attachComment&&e.push(r));break}default:break e}break;default:if(gf(i))++this.state.pos;else if(i===45&&!this.inModule&&this.options.annexB){const r=this.state.pos;if(this.input.charCodeAt(r+1)===45&&this.input.charCodeAt(r+2)===62&&(t===0||this.state.lineStart>t)){const n=this.skipLineComment(3);n!==void 0&&(this.addComment(n),this.options.attachComment&&e.push(n))}else break e}else if(i===60&&!this.inModule&&this.options.annexB){const r=this.state.pos;if(this.input.charCodeAt(r+1)===33&&this.input.charCodeAt(r+2)===45&&this.input.charCodeAt(r+3)===45){const n=this.skipLineComment(4);n!==void 0&&(this.addComment(n),this.options.attachComment&&e.push(n))}else break e}else break e}}if(e.length>0){const i=this.state.pos,r={start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(i),comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const i=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(i)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(b.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?b.RecordExpressionHashIncorrectStartSyntaxType:b.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else Jt(e)?(++this.state.pos,this.finishToken(139,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const 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;const e=this.state.pos;for(this.state.pos+=1;!oi(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);const i=this.input.slice(e+2,this.state.pos);return this.finishToken(28,i),!0}readToken_mult_modulo(t){let e=t===42?55:54,i=1,r=this.input.charCodeAt(this.state.pos+1);t===42&&r===42&&(i++,r=this.input.charCodeAt(this.state.pos+2),e=57),r===61&&!this.state.inType&&(i++,e=t===37?33:30),this.finishOp(e,i)}readToken_pipe_amp(t){const e=this.input.charCodeAt(this.state.pos+1);if(e===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(e===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&e===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(b.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&e===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(b.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(e===61){this.finishOp(30,2);return}this.finishOp(t===124?43:45,1)}readToken_caret(){const 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){const e=this.input.charCodeAt(this.state.pos+1);if(e===t){this.finishOp(34,2);return}e===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===60){if(this.input.charCodeAt(t+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(e===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===62){const i=this.input.charCodeAt(t+2)===62?3:2;if(this.input.charCodeAt(t+i)===61){this.finishOp(30,i+1);return}this.finishOp(52,i);return}if(e===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(t){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(t===61&&e===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(t===61?29:35,1)}readToken_question(){const t=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);t===63?e===61?this.finishOp(30,3):this.finishOp(40,2):t===46&&!(e>=48&&e<=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(b.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(b.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===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(Jt(t)){this.readWord(t);return}}throw this.raise(b.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){const i=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,i)}readRegexp(){const t=this.state.startLoc,e=this.state.start+1;let i,r,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(b.UnterminatedRegExp,nt(t,1));const c=this.input.charCodeAt(n);if(oi(c))throw this.raise(b.UnterminatedRegExp,nt(t,1));if(i)i=!1;else{if(c===91)r=!0;else if(c===93&&r)r=!1;else if(c===47&&!r)break;i=c===92}}const a=this.input.slice(e,n);++n;let o="";const l=()=>nt(t,n+2-e);for(;n<this.length;){const c=this.codePointAtPos(n),h=String.fromCharCode(c);if(Tf.has(c))c===118?o.includes("u")&&this.raise(b.IncompatibleRegExpUVFlags,l()):c===117&&o.includes("v")&&this.raise(b.IncompatibleRegExpUVFlags,l()),o.includes(h)&&this.raise(b.DuplicateRegExpFlags,l());else if(ai(c)||c===92)this.raise(b.MalformedRegExpFlags,l());else break;++n,o+=h}this.state.pos=n,this.finishToken(138,{pattern:a,flags:o})}readInt(t,e,i=!1,r=!0){const{n,pos:a}=dh(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,e,i,r,this.errorHandlers_readInt,!1);return this.state.pos=a,n}readRadixNumber(t){const e=this.state.pos,i=this.state.curPosition();let r=!1;this.state.pos+=2;const n=this.readInt(t);n==null&&this.raise(b.InvalidDigit,nt(i,2),{radix:t});const a=this.input.charCodeAt(this.state.pos);if(a===110)++this.state.pos,r=!0;else if(a===109)throw this.raise(b.InvalidDecimal,i);if(Jt(this.codePointAtPos(this.state.pos)))throw this.raise(b.NumberIdentifier,this.state.curPosition());if(r){const o=this.input.slice(e,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,o);return}this.finishToken(135,n)}readNumber(t){const e=this.state.pos,i=this.state.curPosition();let r=!1,n=!1,a=!1,o=!1;!t&&this.readInt(10)===null&&this.raise(b.InvalidNumber,this.state.curPosition());const l=this.state.pos-e>=2&&this.input.charCodeAt(e)===48;if(l){const p=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(b.StrictOctalLiteral,i),!this.state.strict){const f=p.indexOf("_");f>0&&this.raise(b.ZeroDigitNumericSeparator,nt(i,f))}o=l&&!/[89]/.test(p)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!o&&(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!o&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(b.InvalidOrMissingExponent,i),r=!0,a=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((r||l)&&this.raise(b.InvalidBigIntLiteral,i),++this.state.pos,n=!0),c===109){this.expectPlugin("decimal",this.state.curPosition()),(a||l)&&this.raise(b.InvalidDecimal,i),++this.state.pos;var h=!0}if(Jt(this.codePointAtPos(this.state.pos)))throw this.raise(b.NumberIdentifier,this.state.curPosition());const u=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(136,u);return}if(h){this.finishToken(137,u);return}const d=o?parseInt(u,8):parseFloat(u);this.finishToken(135,d)}readCodePoint(t){const{code:e,pos:i}=fh(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=i,e}readString(t){const{str:e,pos:i,curLine:r,lineStart:n}=ph(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=r,this.finishToken(134,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const t=this.input[this.state.pos],{str:e,firstInvalidLoc:i,pos:r,curLine:n,lineStart:a}=ph("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=n,i&&(this.state.firstInvalidTemplateEscapePos=new cs(i.curLine,i.pos-i.lineStart,this.sourceToOffsetPos(i.pos))),this.input.codePointAt(r)===96?this.finishToken(24,i?null:t+e+"`"):(this.state.pos++,this.finishToken(25,i?null:t+e+"${"))}recordStrictModeErrors(t,e){const i=e.index;this.state.strict&&!this.state.strictErrors.has(i)?this.raise(t,e):this.state.strictErrors.set(i,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="";const i=this.state.pos;let r=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){const n=this.codePointAtPos(this.state.pos);if(ai(n))this.state.pos+=n<=65535?1:2;else if(n===92){this.state.containsEsc=!0,e+=this.input.slice(r,this.state.pos);const a=this.state.curPosition(),o=this.state.pos===i?Jt:ai;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(b.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;const l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(b.EscapedCharNotAnIdentifier,a),e+=String.fromCodePoint(l)),r=this.state.pos}else break}return e+this.input.slice(r,this.state.pos)}readWord(t){const e=this.readWord1(t),i=Fa.get(e);i!==void 0?this.finishToken(i,us(i)):this.finishToken(132,e)}checkKeywordEscapes(){const{type:t}=this.state;Ha(t)&&this.state.containsEsc&&this.raise(b.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:us(t)})}raise(t,e,i={}){const r=e instanceof cs?e:e.loc.start,n=t(r,i);if(!this.options.errorRecovery)throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(t,e,i={}){const r=e instanceof cs?e:e.loc.start,n=r.index,a=this.state.errors;for(let o=a.length-1;o>=0;o--){const l=a[o];if(l.loc.index===n)return a[o]=t(r,i);if(l.loc.index<n)break}return this.raise(t,e,i)}updateContext(t){}unexpected(t,e){throw this.raise(b.UnexpectedToken,t??this.state.startLoc,{expected:e?us(e):null})}expectPlugin(t,e){if(this.hasPlugin(t))return!0;throw this.raise(b.MissingPlugin,e??this.state.startLoc,{missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(e=>this.hasPlugin(e)))throw this.raise(b.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,i,r)=>{this.raise(t,Ki(e,i,r))}}}class vf{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Af{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 vf)}exit(){const t=this.stack.pop(),e=this.current();for(const[i,r]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(i)||e.undefinedPrivateNames.set(i,r):this.parser.raise(b.InvalidPrivateFieldResolution,r,{identifierName:i})}declarePrivateName(t,e,i){const{privateNames:r,loneAccessors:n,undefinedPrivateNames:a}=this.current();let o=r.has(t);if(e&3){const l=o&&n.get(t);if(l){const c=l&4,h=e&4,u=l&3,d=e&3;o=u===d||c!==h,o||n.delete(t)}else o||n.set(t,e)}o&&this.parser.raise(b.PrivateNameRedeclaration,i,{identifierName:t}),r.add(t),a.delete(t)}usePrivateName(t,e){let i;for(i of this.stack)if(i.privateNames.has(t))return;i?i.undefinedPrivateNames.set(t,e):this.parser.raise(b.InvalidPrivateFieldResolution,e,{identifierName:t})}}class zr{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class mh extends zr{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){const i=e.index;this.declarationErrors.set(i,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}}class Cf{constructor(t){this.parser=void 0,this.stack=[new zr],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){const i=e.loc.start,{stack:r}=this;let n=r.length-1,a=r[n];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,i);else return;a=r[--n]}this.parser.raise(t,i)}recordArrowParameterBindingError(t,e){const{stack:i}=this,r=i[i.length-1],n=e.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(t,n);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(t,n);else return}recordAsyncArrowParametersError(t){const{stack:e}=this;let i=e.length-1,r=e[i];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(b.AwaitBindingIdentifier,t),r=e[--i]}validateAsPattern(){const{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([i,r])=>{this.parser.raise(i,r);let n=t.length-2,a=t[n];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=t[--n]})}}function wf(){return new zr(3)}function Ef(){return new mh(1)}function If(){return new mh(2)}function yh(){return new zr}class Nf{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function Kr(s,t){return(s?2:0)|(t?1:0)}class kf extends Sf{addExtra(t,e,i,r=!0){if(!t)return;let{extra:n}=t;n==null&&(n={},t.extra=n),r?n[e]=i:Object.defineProperty(n,e,{enumerable:r,value:i})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){const i=t+e.length;if(this.input.slice(t,i)===e){const r=this.input.charCodeAt(i);return!(ai(r)||(r&64512)===55296)}return!1}isLookaheadContextual(t){const e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return hh(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return hh(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(b.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){const i={node:null};try{const r=t((n=null)=>{throw i.node=n,i});if(this.state.errors.length>e.errors.length){const n=this.state;return this.state=e,this.state.tokensLength=n.tokensLength,{node:r,error:n.errors[e.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){const n=this.state;if(this.state=e,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:n};if(r===i)return{node:i.node,error:null,thrown:!1,aborted:!0,failState:n};throw r}}checkExpressionErrors(t,e){if(!t)return!1;const{shorthandAssignLoc:i,doubleProtoLoc:r,privateKeyLoc:n,optionalParametersLoc:a}=t,o=!!i||!!r||!!a||!!n;if(!e)return o;i!=null&&this.raise(b.InvalidCoverInitializedName,i),r!=null&&this.raise(b.DuplicateProto,r),n!=null&&this.raise(b.UnexpectedPrivateField,n),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return th(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"){const e=this.state.labels;this.state.labels=[];const i=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=t;const n=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);const o=this.prodParam;this.prodParam=new Nf;const l=this.classScope;this.classScope=new Af(this);const c=this.expressionScope;return this.expressionScope=new Cf(this),()=>{this.state.labels=e,this.exportedIdentifiers=i,this.inModule=r,this.scope=n,this.prodParam=o,this.classScope=l,this.expressionScope=c}}enterInitialScopes(){let t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){const{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}}class Wr{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Jr{constructor(t,e,i){this.type="",this.start=e,this.end=0,this.loc=new Ur(i),t!=null&&t.options.ranges&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}}const Za=Jr.prototype;Za.__clone=function(){const s=new Jr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,i=t.length;e<i;e++){const r=t[e];r!=="leadingComments"&&r!=="trailingComments"&&r!=="innerComments"&&(s[r]=this[r])}return s};function Lf(s){return Xt(s)}function Xt(s){const{type:t,start:e,end:i,loc:r,range:n,extra:a,name:o}=s,l=Object.create(Za);return l.type=t,l.start=e,l.end=i,l.loc=r,l.range=n,l.extra=a,l.name=o,t==="Placeholder"&&(l.expectedNode=s.expectedNode),l}function _f(s){const{type:t,start:e,end:i,loc:r,range:n,extra:a}=s;if(t==="Placeholder")return Lf(s);const o=Object.create(Za);return o.type=t,o.start=e,o.end=i,o.loc=r,o.range=n,s.raw!==void 0?o.raw=s.raw:o.extra=a,o.value=s.value,o}class Mf extends kf{startNode(){const t=this.state.startLoc;return new Jr(this,t.index,t)}startNodeAt(t){return new Jr(this,t.index,t)}startNodeAtNode(t){return this.startNodeAt(t.loc.start)}finishNode(t,e){return this.finishNodeAt(t,e,this.state.lastTokEndLoc)}finishNodeAt(t,e,i){return t.type=e,t.end=i.index,t.loc.end=i,this.options.ranges&&(t.range[1]=i.index),this.options.attachComment&&this.processComment(t),t}resetStartLocation(t,e){t.start=e.index,t.loc.start=e,this.options.ranges&&(t.range[0]=e.index)}resetEndLocation(t,e=this.state.lastTokEndLoc){t.end=e.index,t.loc.end=e,this.options.ranges&&(t.range[1]=e.index)}resetStartLocationFromNode(t,e){this.resetStartLocation(t,e.loc.start)}}const Df=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),te=zt`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:s})=>`Cannot overwrite reserved type ${s}.`,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:s,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${s} = true,\` or \`${s} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:s,enumName:t})=>`Enum member names need to be unique, but the name \`${s}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:s})=>`Enum \`${s}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:s,enumName:t})=>`Enum type \`${s}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:s})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${s}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:s,memberName:t,explicitType:e})=>`Enum \`${s}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:s,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${s}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:s,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${s}\`.`,EnumInvalidMemberName:({enumName:s,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${s}\`.`,EnumNumberMemberNotInitialized:({enumName:s,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${s}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:s})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${s}\`.`,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:s})=>`Unexpected reserved type ${s}.`,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:s,suggestion:t})=>`\`declare export ${s}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Of(s){return s.type==="DeclareExportAllDeclaration"||s.type==="DeclareExportDeclaration"&&(!s.declaration||s.declaration.type!=="TypeAlias"&&s.declaration.type!=="InterfaceDeclaration")}function gh(s){return s.importKind==="type"||s.importKind==="typeof"}const Ff={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Rf(s,t){const e=[],i=[];for(let r=0;r<s.length;r++)(t(s[r],r,s)?e:i).push(s[r]);return[e,i]}const Bf=/\*?\s*@((?:no)?flow)\b/;var Uf=s=>class extends s{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return pf}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(e,i){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,i)}addComment(e){if(this.flowPragma===void 0){const i=Bf.exec(e.value);if(i)if(i[1]==="flow")this.flowPragma="flow";else if(i[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){const i=this.state.inType;this.state.inType=!0,this.expect(e||14);const r=this.flowParseType();return this.state.inType=i,r}flowParsePredicate(){const e=this.startNode(),i=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>i.index+1&&this.raise(te.UnexpectedSpaceBetweenModuloChecks,i),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let i=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(i=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[i,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const i=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const a=this.flowParseFunctionTypeParams();return r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),i.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(i),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,i){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(i&&this.raise(te.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,i);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const i=e.body=this.startNode(),r=i.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(te.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,te.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),r.push(o)}this.scope.exit(),this.expect(8),this.finishNode(i,"BlockStatement");let n=null,a=!1;return r.forEach(o=>{Of(o)?(n==="CommonJS"&&this.raise(te.AmbiguousDeclareModuleKind,o),n="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(te.DuplicateDeclareModuleExports,o),n==="ES"&&this.raise(te.AmbiguousDeclareModuleKind,o),n="CommonJS",a=!0)}),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,i){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!i){const r=this.state.value;throw this.raise(te.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:Ff[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const i=this.flowParseTypeAlias(e);return i.type="DeclareTypeAlias",i}flowParseDeclareOpaqueType(e){this.next();const i=this.flowParseOpaqueType(e,!0);return i.type="DeclareOpaqueType",i}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,i){if(e.id=this.flowParseRestrictedIdentifier(!i,!0),this.scope.declareName(e.id.name,i?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!i&&this.eat(12));if(i){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:i,allowExact:!1,allowSpread:!1,allowProto:i,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(te.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,i,r){Df.has(e)&&this.raise(r?te.AssignReservedType:te.UnexpectedReservedType,i,{reservedType:e})}flowParseRestrictedIdentifier(e,i){return this.checkReservedType(this.state.value,this.state.startLoc,i),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,i){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,i||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const i=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return r.name=a.name,r.variance=n,r.bound=a.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(te.MissingTypeParamDefault,i),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,i=this.startNode();i.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let r=!1;do{const n=this.flowParseTypeParameter(r);i.params.push(n),n.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(i,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),i=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=i,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),i=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=i,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,i,r){return e.static=i,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,i){return e.static=i,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,i){const r=this.startNode();return e.static=i,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:i,allowSpread:r,allowProto:n,allowInexact:a}){const o=this.state.inType;this.state.inType=!0;const l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let c,h,u=!1;for(i&&this.match(6)?(this.expect(6),c=9,h=!0):(this.expect(5),c=8,h=!1),l.exact=h;!this.match(c);){let p=!1,f=null,P=null;const I=this.startNode();if(n&&this.isContextual(118)){const m=this.lookahead();m.type!==14&&m.type!==17&&(this.next(),f=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const m=this.lookahead();m.type!==14&&m.type!==17&&(this.next(),p=!0)}const T=this.flowParseVariance();if(this.eat(0))f!=null&&this.unexpected(f),this.eat(0)?(T&&this.unexpected(T.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(I,p))):l.indexers.push(this.flowParseObjectTypeIndexer(I,p,T));else if(this.match(10)||this.match(47))f!=null&&this.unexpected(f),T&&this.unexpected(T.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(I,p));else{let m="init";if(this.isContextual(99)||this.isContextual(104)){const A=this.lookahead();th(A.type)&&(m=this.state.value,this.next())}const g=this.flowParseObjectTypeProperty(I,p,f,T,m,r,a??!h);g===null?(u=!0,P=this.state.lastTokStartLoc):l.properties.push(g)}this.flowObjectTypeSemicolon(),P&&!this.match(8)&&!this.match(9)&&this.raise(te.UnexpectedExplicitInexactInObject,P)}this.expect(c),r&&(l.inexact=u);const d=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,d}flowParseObjectTypeProperty(e,i,r,n,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(te.InexactInsideExact,this.state.lastTokStartLoc):this.raise(te.InexactInsideNonObject,this.state.lastTokStartLoc),n&&this.raise(te.InexactVariance,n),null):(o||this.raise(te.UnexpectedSpreadType,this.state.lastTokStartLoc),r!=null&&this.unexpected(r),n&&this.raise(te.SpreadVariance,n),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=i,e.proto=r!=null,e.kind=a;let c=!1;return this.match(47)||this.match(10)?(e.method=!0,r!=null&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(te.ThisParamBannedInConstructor,e.value.this)):(a!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(c=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=c,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const i=e.kind==="get"?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?te.GetterMayNotHaveThisParam:te.SetterMayNotHaveThisParam,e.value.this),r!==i&&this.raise(e.kind==="get"?b.BadGetterArity:b.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(b.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,i){var r;(r=e)!=null||(e=this.state.startLoc);let n=i||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const a=this.startNodeAt(e);a.qualification=n,a.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(a,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,i){const r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,i),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let i=null,r=!1,n=null;const a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!e&&this.raise(te.ThisParamMustBeFirst,a),i=this.parseIdentifier(l),this.eat(17)&&(r=!0,l&&this.raise(te.ThisParamMayNotBeOptional,a)),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),a.name=i,a.optional=r,a.typeAnnotation=n,this.finishNode(a,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const i=this.startNodeAt(e.loc.start);return i.name=null,i.optional=!1,i.typeAnnotation=e,this.finishNode(i,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let i=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(i=this.flowParseFunctionTypeParam(!1)),{params:e,rest:i,_this:r}}flowIdentToTypeAnnotation(e,i,r){switch(r.name){case"any":return this.finishNode(i,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(i,"BooleanTypeAnnotation");case"mixed":return this.finishNode(i,"MixedTypeAnnotation");case"empty":return this.finishNode(i,"EmptyTypeAnnotation");case"number":return this.finishNode(i,"NumberTypeAnnotation");case"string":return this.finishNode(i,"StringTypeAnnotation");case"symbol":return this.finishNode(i,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){const e=this.state.startLoc,i=this.startNode();let r,n,a=!1;const 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,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 47:{const l=this.startNode();return l.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),r=this.flowParseFunctionTypeParams(),l.params=r.params,l.rest=r.rest,l.this=r._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),this.finishNode(l,"FunctionTypeAnnotation")}case 10:{const l=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(Te(this.state.type)||this.match(78)){const c=this.lookahead().type;a=c!==17&&c!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),n;this.eat(12)}return n?r=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):r=this.flowParseFunctionTypeParams(),l.params=r.params,l.rest=r.rest,l.this=r._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(te.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Ha(this.state.type)){const l=us(this.state.type);return this.next(),super.createIdentifier(i,l)}else if(Te(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,i,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let i=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const n=this.startNodeAt(e),a=this.eat(18);r=r||a,this.expect(0),!a&&this.match(3)?(n.elementType=i,this.next(),i=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=i,n.indexType=this.flowParseType(),this.expect(3),r?(n.optional=a,i=this.finishNode(n,"OptionalIndexedAccessType")):i=this.finishNode(n,"IndexedAccessType"))}return i}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const i=this.startNodeAt(e.loc.start);return i.params=[this.reinterpretTypeAsFunctionTypeParam(e)],i.rest=null,i.this=null,i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const i=this.flowParseAnonFunctionWithoutParens();for(e.types=[i];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?i:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const i=this.flowParseIntersectionType();for(e.types=[i];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?i:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const i=this.flowParseUnionType();return this.state.inType=e,i}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const e=this.state.startLoc,i=this.parseIdentifier();return this.flowParseGenericType(e,i)}else return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const i=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(i.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(i)),i}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value==="+"?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,i,r=!1){if(i){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,r));return}super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,i,r=!1){if(this.match(14)){const n=this.startNode();[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=n.typeAnnotation?this.finishNode(n,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,i,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){const r=this.lookahead();if(Mt(r.type)){const n=this.startNode();return this.next(),this.flowParseInterface(n)}}else if(this.isContextual(126)){const r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}const i=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(i)&&(this.flowPragma=null),i}parseExpressionStatement(e,i,r){if(i.type==="Identifier"){if(i.name==="declare"){if(this.match(80)||Te(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(Te(this.state.type)){if(i.name==="interface")return this.flowParseInterface(e);if(i.name==="type")return this.flowParseTypeAlias(e);if(i.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,i,r)}shouldParseExportDeclaration(){const{type:e}=this.state;return e===126||sh(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return e===126||sh(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,i,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const d=this.lookaheadCharCode();if(d===44||d===61||d===58||d===41)return this.setOptionalParametersError(r),e}this.expect(17);const n=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(i);let{consequent:l,failed:c}=this.tryParseConditionalConsequent(),[h,u]=this.getArrowLikeExpressions(l);if(c||u.length>0){const d=[...a];if(u.length>0){this.state=n,this.state.noArrowAt=d;for(let p=0;p<u.length;p++)d.push(u[p].start);({consequent:l,failed:c}=this.tryParseConditionalConsequent()),[h,u]=this.getArrowLikeExpressions(l)}c&&h.length>1&&this.raise(te.AmbiguousConditionalArrow,n.startLoc),c&&h.length===1&&(this.state=n,d.push(h[0].start),this.state.noArrowAt=d,{consequent:l,failed:c}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=e,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);const e=this.parseMaybeAssignAllowIn(),i=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:i}}getArrowLikeExpressions(e,i){const r=[e],n=[];for(;r.length!==0;){const a=r.pop();a.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):n.push(a),r.push(a.body)):a.type==="ConditionalExpression"&&(r.push(a.consequent),r.push(a.alternate))}return i?(n.forEach(a=>this.finishArrowValidation(a)),[n,[]]):Rf(n,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var i;this.toAssignableList(e.params,(i=e.extra)==null?void 0:i.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,i){let r;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),r=i(),this.state.noArrowParamsConversionAt.pop()):r=i(),r}parseParenItem(e,i){const r=super.parseParenItem(e,i);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){const n=this.startNodeAt(i);return n.expression=r,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return r}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const i=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(i)}else if(this.isContextual(131)){e.exportKind="type";const i=this.startNode();return this.next(),this.flowParseOpaqueType(i,!1)}else if(this.isContextual(129)){e.exportKind="type";const i=this.startNode();return this.next(),this.flowParseInterface(i)}else if(this.isContextual(126)){e.exportKind="value";const i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){const{startLoc:i}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&e.exportKind==="type"&&this.unexpected(i),r}parseClassId(e,i,r){super.parseClassId(e,i,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,i,r){const{startLoc:n}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,i))return;i.declare=!0}super.parseClassMember(e,i,r),i.declare&&(i.type!=="ClassProperty"&&i.type!=="ClassPrivateProperty"&&i.type!=="PropertyDefinition"?this.raise(te.DeclareClassElement,n):i.value&&this.raise(te.DeclareClassFieldInitializer,i.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1(),i="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(b.InvalidIdentifier,this.state.curPosition(),{identifierName:i}),this.finishToken(132,i)}getTokenFromCode(e){const i=this.input.charCodeAt(this.state.pos+1);e===123&&i===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?i===46?this.finishOp(18,2):this.finishOp(17,1):lf(e,i,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,i){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,i):super.isAssignable(e,i)}toAssignable(e,i=!1){!i&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,i)}toAssignableList(e,i,r){for(let n=0;n<e.length;n++){const a=e[n];a?.type==="TypeCastExpression"&&(e[n]=this.typeCastToParameter(a))}super.toAssignableList(e,i,r)}toReferencedList(e,i){for(let n=0;n<e.length;n++){var r;const a=e[n];a&&a.type==="TypeCastExpression"&&!((r=a.extra)!=null&&r.parenthesized)&&(e.length>1||!i)&&this.raise(te.TypeCastInPattern,a.typeAnnotation)}return e}parseArrayLike(e,i,r,n){const a=super.parseArrayLike(e,i,r,n);return i&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(e,i,r){return e==="TypeCastExpression"||super.isValidLVal(e,i,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,i,r,n,a,o){if(i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,i,r,n,a,o),i.params&&a){const l=i.params;l.length>0&&this.isThisParam(l[0])&&this.raise(te.ThisParamBannedInConstructor,i)}else if(i.type==="MethodDefinition"&&a&&i.value.params){const l=i.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(te.ThisParamBannedInConstructor,i)}}pushClassPrivateMethod(e,i,r,n){i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,i,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const i=e.implements=[];do{const r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,i.push(this.finishNode(r,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const i=this.getObjectOrClassMethodParams(e);if(i.length>0){const r=i[0];this.isThisParam(r)&&e.kind==="get"?this.raise(te.GetterMayNotHaveThisParam,r):this.isThisParam(r)&&this.raise(te.SetterMayNotHaveThisParam,r)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,i,r,n,a,o,l){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let c;this.match(47)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const h=super.parseObjPropValue(e,i,r,n,a,o,l);return c&&((h.value||h).typeParameters=c),h}parseFunctionParamType(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(te.PatternIsOptional,e),this.isThisParam(e)&&this.raise(te.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(te.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(te.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,i){const r=super.parseMaybeDefault(e,i);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(te.TypeBeforeInitializer,r.typeAnnotation),r}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(te.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,i,r){i.local=gh(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(i,r))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const i=this.lookaheadCharCode();return i===123||i===42}return!e&&this.isContextual(87)}applyImportPhase(e,i,r,n){if(super.applyImportPhase(e,i,r,n),i){if(!r&&this.match(65))return;e.exportKind=r==="type"?r:"value"}else r==="type"&&this.match(55)&&this.unexpected(),e.importKind=r==="type"||r==="typeof"?r:"value"}parseImportSpecifier(e,i,r,n,a){const o=e.imported;let l=null;o.type==="Identifier"&&(o.name==="type"?l="type":o.name==="typeof"&&(l="typeof"));let c=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const u=this.parseIdentifier(!0);l!==null&&!Mt(this.state.type)?(e.imported=u,e.importKind=l,e.local=Xt(u)):(e.imported=o,e.importKind=null,e.local=this.parseIdentifier())}else{if(l!==null&&Mt(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=l;else{if(i)throw this.raise(b.ImportBindingIsString,e,{importName:o.value});e.imported=o,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(c=!0,e.local=Xt(e.imported))}const h=gh(e);return r&&h&&this.raise(te.ImportTypeShorthandOnlyInPureImport,e),(r||h)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),c&&!r&&!h&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,i){const r=e.kind;r!=="get"&&r!=="set"&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){if(this.match(14)){const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=r}return super.parseAsyncArrowFromCallExpression(e,i)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,i){var r;let n=null,a;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(n=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(e,i),n),!a.error)return a.node;const{context:c}=this.state,h=c[c.length-1];(h===Ae.j_oTag||h===Ae.j_expr)&&c.pop()}if((r=a)!=null&&r.error||this.match(47)){var o,l;n=n||this.state.clone();let c;const h=this.tryParse(d=>{var p;c=this.flowParseTypeParameterDeclaration();const f=this.forwardNoArrowParamsConversionAt(c,()=>{const I=super.parseMaybeAssign(e,i);return this.resetStartLocationFromNode(I,c),I});(p=f.extra)!=null&&p.parenthesized&&d();const P=this.maybeUnwrapTypeCastExpression(f);return P.type!=="ArrowFunctionExpression"&&d(),P.typeParameters=c,this.resetStartLocationFromNode(P,c),f},n);let u=null;if(h.node&&this.maybeUnwrapTypeCastExpression(h.node).type==="ArrowFunctionExpression"){if(!h.error&&!h.aborted)return h.node.async&&this.raise(te.UnexpectedTypeParameterBeforeAsyncArrowFunction,c),h.node;u=h.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(u)return this.state=h.failState,u;throw(l=a)!=null&&l.thrown?a.error:h.thrown?h.error:this.raise(te.UnexpectedTokenAfterTypeParameter,c)}return super.parseMaybeAssign(e,i)}parseArrow(e){if(this.match(14)){const i=this.tryParse(()=>{const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=r,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(i.thrown)return null;i.error&&(this.state=i.failState),e.returnType=i.node.typeAnnotation?this.finishNode(i.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,i){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=i:super.setArrowFunctionParameters(e,i)}checkParams(e,i,r,n=!0){if(!(r&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let a=0;a<e.params.length;a++)this.isThisParam(e.params[a])&&a>0&&this.raise(te.ThisParamMustBeFirst,e.params[a]);super.checkParams(e,i,r,n)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,i,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(i.index)){this.next();const n=this.startNodeAt(i);n.callee=e,n.arguments=super.parseCallExpressionArguments(11),e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const n=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(i)||l(),n);if(!a.error&&!a.aborted)return a.node;const o=this.tryParse(()=>super.parseSubscripts(e,i,r),n);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(e,i,r)}parseSubscript(e,i,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();const a=this.startNodeAt(i);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11),a.optional=!0,this.finishCallExpression(a,!0)}else if(!r&&this.shouldParseTypes()&&this.match(47)){const a=this.startNodeAt(i);a.callee=e;const o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11),n.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,n.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,i,r,n)}parseNewCallee(e){super.parseNewCallee(e);let i=null;this.shouldParseTypes()&&this.match(47)&&(i=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=i}parseAsyncArrowWithTypeParameters(e){const i=this.startNodeAt(e);if(this.parseFunctionParams(i,!1),!!this.parseArrow(i))return super.parseArrowExpression(i,void 0,!0)}readToken_mult_modulo(e){const i=this.input.charCodeAt(this.state.pos+1);if(e===42&&i===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const i=this.input.charCodeAt(this.state.pos+1);if(e===124&&i===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,i){const r=super.parseTopLevel(e,i);return this.state.hasFlowComment&&this.raise(te.UnterminatedFlowComment,this.state.curPosition()),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(te.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let i=2;for(;[32,9].includes(this.input.charCodeAt(e+i));)i++;const r=this.input.charCodeAt(i+e),n=this.input.charCodeAt(i+e+1);return r===58&&n===58?i+2:this.input.slice(i+e,i+e+12)==="flow-include"?i+12:r===58&&n!==58?i:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(b.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:i,memberName:r}){this.raise(te.EnumBooleanMemberNotInitialized,e,{memberName:r,enumName:i})}flowEnumErrorInvalidMemberInitializer(e,i){return this.raise(i.explicitType?i.explicitType==="symbol"?te.EnumInvalidMemberInitializerSymbolType:te.EnumInvalidMemberInitializerPrimaryType:te.EnumInvalidMemberInitializerUnknownType,e,i)}flowEnumErrorNumberMemberNotInitialized(e,i){this.raise(te.EnumNumberMemberNotInitialized,e,i)}flowEnumErrorStringMemberInconsistentlyInitialized(e,i){this.raise(te.EnumStringMemberInconsistentlyInitialized,e,i)}flowEnumMemberInit(){const e=this.state.startLoc,i=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{const r=this.parseNumericLiteral(this.state.value);return i()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 134:{const r=this.parseStringLiteral(this.state.value);return i()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{const r=this.parseBooleanLiteral(this.match(85));return i()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc,i=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:i,init:r}}flowEnumCheckExplicitTypeMismatch(e,i,r){const{explicitType:n}=i;n!==null&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,i)}flowEnumMembers({enumName:e,explicitType:i}){const r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}const o=this.startNode(),{id:l,init:c}=this.flowEnumMemberRaw(),h=l.name;if(h==="")continue;/^[a-z]/.test(h)&&this.raise(te.EnumInvalidMemberName,l,{memberName:h,suggestion:h[0].toUpperCase()+h.slice(1),enumName:e}),r.has(h)&&this.raise(te.EnumDuplicateMemberName,l,{memberName:h,enumName:e}),r.add(h);const u={enumName:e,explicitType:i,memberName:h};switch(o.id=l,c.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"boolean"),o.init=c.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"number"),o.init=c.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"string"),o.init=c.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,u);case"none":switch(i){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,u);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:a}}flowEnumStringMembers(e,i,{enumName:r}){if(e.length===0)return i;if(i.length===0)return e;if(i.length>e.length){for(const n of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return i}else{for(const n of i)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!Te(this.state.type))throw this.raise(te.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:i}=this.state;return this.next(),i!=="boolean"&&i!=="number"&&i!=="string"&&i!=="symbol"&&this.raise(te.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:i}),i}flowEnumBody(e,i){const r=i.name,n=i.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:r,explicitType:a});switch(e.hasUnknownMembers=l,a){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const c=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const h=o.booleanMembers.length,u=o.numberMembers.length,d=o.stringMembers.length,p=o.defaultedMembers.length;if(!h&&!u&&!d&&!p)return c();if(!h&&!u)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!u&&!d&&h>=p){for(const f of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(f.loc.start,{enumName:r,memberName:f.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!h&&!d&&u>=p){for(const f of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(f.loc.start,{enumName:r,memberName:f.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(te.EnumInconsistentMemberValues,n,{enumName:r}),c()}}}flowParseEnumDeclaration(e){const i=this.parseIdentifier();return e.id=i,e.body=this.flowEnumBody(this.startNode(),i),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const i=this.input.charCodeAt(e+1);return i!==60&&i!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const jf={__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"},Ms=zt`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:s})=>`Expected corresponding JSX closing tag for <${s}>.`,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:s,HTMLEntity:t})=>`Unexpected token \`${s}\`. Did you mean \`${t}\` or \`{'${s}'}\`?`,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 ds(s){return s?s.type==="JSXOpeningFragment"||s.type==="JSXClosingFragment":!1}function li(s){if(s.type==="JSXIdentifier")return s.name;if(s.type==="JSXNamespacedName")return s.namespace.name+":"+s.name.name;if(s.type==="JSXMemberExpression")return li(s.object)+"."+li(s.property);throw new Error("Node had unexpected type: "+s.type)}var Vf=s=>class extends s{jsxReadToken(){let e="",i=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ms.UnterminatedJsxContent,this.state.startLoc);const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){r===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(r);return}e+=this.input.slice(i,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(i,this.state.pos),e+=this.jsxReadEntity(),i=this.state.pos;break;case 62:case 125:default:oi(r)?(e+=this.input.slice(i,this.state.pos),e+=this.jsxReadNewLine(!0),i=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const i=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,i===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,r=e?`
|
|
6
|
-
|
|
7
|
-
`):r=String.fromCharCode(i),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let i="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(b.UnterminatedString,this.state.startLoc);const n=this.input.charCodeAt(this.state.pos);if(n===e)break;n===38?(i+=this.input.slice(r,this.state.pos),i+=this.jsxReadEntity(),r=this.state.pos):oi(n)?(i+=this.input.slice(r,this.state.pos),i+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}i+=this.input.slice(r,this.state.pos++),this.finishToken(134,i)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let i=10;this.codePointAtPos(this.state.pos)===120&&(i=16,++this.state.pos);const r=this.readInt(i,void 0,!1,"bail");if(r!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(r)}else{let i=0,r=!1;for(;i++<10&&this.state.pos<this.length&&!(r=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(r){const n=this.input.slice(e,this.state.pos),a=jf[n];if(++this.state.pos,a)return a}}return this.state.pos=e,"&"}jsxReadWord(){let e;const i=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(ai(e)||e===45);this.finishToken(141,this.input.slice(i,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(141)?e.name=this.state.value:Ha(this.state.type)?e.name=us(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,i=this.jsxParseIdentifier();if(!this.eat(14))return i;const r=this.startNodeAt(e);return r.namespace=i,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let i=this.jsxParseNamespacedName();if(i.type==="JSXNamespacedName")return i;for(;this.eat(16);){const r=this.startNodeAt(e);r.object=i,r.property=this.jsxParseIdentifier(),i=this.finishNode(r,"JSXMemberExpression")}return i}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(Ae.brace),this.next(),e=this.jsxParseExpressionContainer(e,Ae.j_oTag),e.expression.type==="JSXEmptyExpression"&&this.raise(Ms.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(Ms.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(Ae.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,i){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const r=this.parseExpression();e.expression=r}return this.setContext(i),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(Ae.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(Ae.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){const i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXOpeningFragment"):(i.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(i))}jsxParseOpeningElementAfterName(e){const i=[];for(;!this.match(56)&&!this.match(144);)i.push(this.jsxParseAttribute());return e.attributes=i,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXClosingFragment"):(i.name=this.jsxParseElementName(),this.expect(144),this.finishNode(i,"JSXClosingElement"))}jsxParseElementAt(e){const i=this.startNodeAt(e),r=[],n=this.jsxParseOpeningElementAt(e);let a=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 142:r.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const o=this.startNode();this.setContext(Ae.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(o)):r.push(this.jsxParseExpressionContainer(o,Ae.j_expr));break}default:this.unexpected()}ds(n)&&!ds(a)&&a!==null?this.raise(Ms.MissingClosingTagFragment,a):!ds(n)&&ds(a)?this.raise(Ms.MissingClosingTagElement,a,{openingTagName:li(n.name)}):!ds(n)&&!ds(a)&&li(a.name)!==li(n.name)&&this.raise(Ms.MissingClosingTagElement,a,{openingTagName:li(n.name)})}if(ds(n)?(i.openingFragment=n,i.closingFragment=a):(i.openingElement=n,i.closingElement=a),i.children=r,this.match(47))throw this.raise(Ms.UnwrappedAdjacentJSXElements,this.state.startLoc);return ds(n)?this.finishNode(i,"JSXFragment"):this.finishNode(i,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:i}=this.state;i[i.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const i=this.curContext();if(i===Ae.j_expr){this.jsxReadToken();return}if(i===Ae.j_oTag||i===Ae.j_cTag){if(Jt(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&i===Ae.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(e)}updateContext(e){const{context:i,type:r}=this.state;if(r===56&&e===143)i.splice(-2,2,Ae.j_cTag),this.state.canStartJSXElement=!1;else if(r===143)i.push(Ae.j_oTag);else if(r===144){const n=i[i.length-1];n===Ae.j_oTag&&e===56||n===Ae.j_cTag?(i.pop(),this.state.canStartJSXElement=i[i.length-1]===Ae.j_expr):(this.setContext(Ae.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=zd(r)}};class $f extends Wa{constructor(...t){super(...t),this.tsNames=new Map}}class Hf extends Ja{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new $f(t)}enter(t){t===256&&this.importsStack.push(new Set),super.enter(t)}exit(){const t=super.exit();return t===256&&this.importsStack.pop(),t}hasImport(t,e){const i=this.importsStack.length;if(this.importsStack[i-1].has(t))return!0;if(!e&&i>1){for(let r=0;r<i-1;r++)if(this.importsStack[r].has(t))return!0}return!1}declareName(t,e,i){if(e&4096){this.hasImport(t,!0)&&this.parser.raise(b.VarRedeclaration,i,{identifierName:t}),this.importsStack[this.importsStack.length-1].add(t);return}const r=this.currentScope();let n=r.tsNames.get(t)||0;if(e&1024){this.maybeExportDefined(r,t),r.tsNames.set(t,n|16);return}super.declareName(t,e,i),e&2&&(e&1||(this.checkRedeclarationInScope(r,t,e,i),this.maybeExportDefined(r,t)),n=n|1),e&256&&(n=n|2),e&512&&(n=n|4),e&128&&(n=n|8),n&&r.tsNames.set(t,n)}isRedeclaredInScope(t,e,i){const r=t.tsNames.get(e);if((r&2)>0){if(i&256){const n=!!(i&512),a=(r&4)>0;return n!==a}return!0}return i&128&&(r&8)>0?t.names.get(e)&2?!!(i&1):!1:i&2&&(r&1)>0?!0:super.isRedeclaredInScope(t,e,i)}checkLocalExport(t){const{name:e}=t;if(this.hasImport(e))return;const i=this.scopeStack.length;for(let r=i-1;r>=0;r--){const a=this.scopeStack[r].tsNames.get(e);if((a&1)>0||(a&16)>0)return}super.checkLocalExport(t)}}const xh=s=>s.type==="ParenthesizedExpression"?xh(s.expression):s;class qf extends Mf{toAssignable(t,e=!1){var i,r;let n;switch((t.type==="ParenthesizedExpression"||(i=t.extra)!=null&&i.parenthesized)&&(n=xh(t),e?n.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(b.InvalidParenthesizedAssignment,t):n.type!=="MemberExpression"&&!this.isOptionalMemberExpression(n)&&this.raise(b.InvalidParenthesizedAssignment,t):this.raise(b.InvalidParenthesizedAssignment,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,c=l-1;o<l;o++){var a;const h=t.properties[o],u=o===c;this.toAssignableObjectExpressionProp(h,u,e),u&&h.type==="RestElement"&&(a=t.extra)!=null&&a.trailingCommaLoc&&this.raise(b.RestTrailingComma,t.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:o,value:l}=t;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(l,e);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,(r=t.extra)==null?void 0:r.trailingCommaLoc,e);break;case"AssignmentExpression":t.operator!=="="&&this.raise(b.MissingEqInAssignment,t.left.loc.end),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(n,e);break}}toAssignableObjectExpressionProp(t,e,i){if(t.type==="ObjectMethod")this.raise(t.kind==="get"||t.kind==="set"?b.PatternHasAccessor:b.PatternHasMethod,t.key);else if(t.type==="SpreadElement"){t.type="RestElement";const r=t.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,i),e||this.raise(b.RestTrailingComma,t)}else this.toAssignable(t,i)}toAssignableList(t,e,i){const r=t.length-1;for(let n=0;n<=r;n++){const a=t[n];if(a){if(a.type==="SpreadElement"){a.type="RestElement";const o=a.argument;this.checkToRestConversion(o,!0),this.toAssignable(o,i)}else this.toAssignable(a,i);a.type==="RestElement"&&(n<r?this.raise(b.RestTrailingComma,a):e&&this.raise(b.RestTrailingComma,e))}}}isAssignable(t,e){switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const i=t.properties.length-1;return t.properties.every((r,n)=>r.type!=="ObjectMethod"&&(n===i||r.type!=="SpreadElement")&&this.isAssignable(r))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(i=>i===null||this.isAssignable(i));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(const i of t)i?.type==="ArrayExpression"&&this.toReferencedListDeep(i.elements)}parseSpread(t){const e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){const t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const 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,e,i){const r=i&1,n=[];let a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(t))break;if(this.match(21)){let o=this.parseRestBinding();if((this.hasPlugin("flow")||i&2)&&(o=this.parseFunctionParamType(o)),n.push(o),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{const o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(b.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());n.push(this.parseAssignableListItem(i,o))}}return n}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){const{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());const i=this.startNode();return t===139?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,e,!1,!1,!0,!1)}parseAssignableListItem(t,e){const i=this.parseMaybeDefault();(this.hasPlugin("flow")||t&2)&&this.parseFunctionParamType(i);const r=this.parseMaybeDefault(i.loc.start,i);return e.length&&(i.decorators=e),r}parseFunctionParamType(t){return t}parseMaybeDefault(t,e){var i,r;if((i=t)!=null||(t=this.state.startLoc),e=(r=e)!=null?r:this.parseBindingAtom(),!this.eat(29))return e;const n=this.startNodeAt(t);return n.left=e,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(t,e,i){switch(t){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,e,i=64,r=!1,n=!1,a=!1){var o;const l=t.type;if(this.isObjectMethod(t))return;const c=this.isOptionalMemberExpression(t);if(c||l==="MemberExpression"){c&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(b.InvalidLhsOptionalChaining,t,{ancestor:e})),i!==64&&this.raise(b.InvalidPropertyBindingPattern,t);return}if(l==="Identifier"){this.checkIdentifier(t,i,n);const{name:P}=t;r&&(r.has(P)?this.raise(b.ParamDupe,t):r.add(P));return}const h=this.isValidLVal(l,!(a||(o=t.extra)!=null&&o.parenthesized)&&e.type==="AssignmentExpression",i);if(h===!0)return;if(h===!1){const P=i===64?b.InvalidLhs:b.InvalidLhsBinding;this.raise(P,t,{ancestor:e});return}let u,d;typeof h=="string"?(u=h,d=l==="ParenthesizedExpression"):[u,d]=h;const p=l==="ArrayPattern"||l==="ObjectPattern"?{type:l}:e,f=t[u];if(Array.isArray(f))for(const P of f)P&&this.checkLVal(P,p,i,r,n,d);else f&&this.checkLVal(f,p,i,r,n,d)}checkIdentifier(t,e,i=!1){this.state.strict&&(i?lh(t.name,this.inModule):oh(t.name))&&(e===64?this.raise(b.StrictEvalArguments,t,{referenceName:t.name}):this.raise(b.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(b.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(b.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?b.RestTrailingComma:b.ElementAfterRest,this.state.startLoc),!0):!1}}function zf(s){if(s==null)throw new Error(`Unexpected ${s} value.`);return s}function bh(s){if(!s)throw new Error("Assert fail")}const Y=zt`typescript`({AbstractMethodHasImplementation:({methodName:s})=>`Method '${s}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:s})=>`Property '${s}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:s})=>`'declare' is not allowed in ${s}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:s})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:s})=>`Duplicate modifier: '${s}'.`,EmptyHeritageClauseType:({token:s})=>`'${s}' 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:s})=>`'${s[0]}' modifier cannot be used with '${s[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:s})=>`Index signatures cannot have an accessibility modifier ('${s}').`,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:s})=>`'${s}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:s})=>`'${s}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:s})=>`'${s}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:s})=>`'${s[0]}' modifier must precede '${s[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:s})=>`Private elements cannot have an accessibility modifier ('${s}').`,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.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:s})=>`Single type parameter ${s} should have a trailing comma. Example usage: <${s},>.`,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:s})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${s}.`});function Kf(s){switch(s){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 Ph(s){return s==="private"||s==="public"||s==="protected"}function Wf(s){return s==="in"||s==="out"}var Jf=s=>class extends s{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Y.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Y.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Y.InvalidModifierOnTypeParameter})}getScopeHandler(){return Hf}tsIsIdentifier(){return Te(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,i){if(!Te(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const r=this.state.value;if(e.includes(r)){if(i&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:i,stopOnStartOfClassStaticBlock:r,errorTemplate:n=Y.InvalidModifierOnTypeMember},a){const o=(c,h,u,d)=>{h===u&&a[d]&&this.raise(Y.InvalidModifiersOrder,c,{orderedModifiers:[u,d]})},l=(c,h,u,d)=>{(a[u]&&h===d||a[d]&&h===u)&&this.raise(Y.IncompatibleModifiers,c,{modifiers:[u,d]})};for(;;){const{startLoc:c}=this.state,h=this.tsParseModifier(e.concat(i??[]),r);if(!h)break;Ph(h)?a.accessibility?this.raise(Y.DuplicateAccessibilityModifier,c,{modifier:h}):(o(c,h,h,"override"),o(c,h,h,"static"),o(c,h,h,"readonly"),a.accessibility=h):Wf(h)?(a[h]&&this.raise(Y.DuplicateModifier,c,{modifier:h}),a[h]=!0,o(c,h,"in","out")):(hasOwnProperty.call(a,h)?this.raise(Y.DuplicateModifier,c,{modifier:h}):(o(c,h,"static","readonly"),o(c,h,"static","override"),o(c,h,"override","readonly"),o(c,h,"abstract","override"),l(c,h,"declare","override"),l(c,h,"static","abstract")),a[h]=!0),i!=null&&i.includes(h)&&this.raise(n,c,{modifier:h})}}tsIsListTerminator(e){switch(e){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(e,i){const r=[];for(;!this.tsIsListTerminator(e);)r.push(i());return r}tsParseDelimitedList(e,i,r){return zf(this.tsParseDelimitedListWorker(e,i,!0,r))}tsParseDelimitedListWorker(e,i,r,n){const a=[];let o=-1;for(;!this.tsIsListTerminator(e);){o=-1;const l=i();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;r&&this.expect(12);return}return n&&(n.value=o),a}tsParseBracketedList(e,i,r,n,a){n||(r?this.expect(0):this.expect(47));const o=this.tsParseDelimitedList(e,i,a);return r?this.expect(3):this.expect(48),o}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(134)||this.raise(Y.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),this.eat(12)&&!this.match(11)?(e.options=super.parseMaybeAssignAllowIn(),this.eat(12)):e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let i=this.parseIdentifier(e);for(;this.eat(16);){const r=this.startNodeAtNode(i);r.left=i,r.right=this.parseIdentifier(e),i=this.finishNode(r,"TSQualifiedName")}return i}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const i=this.startNodeAtNode(e);return i.parameterName=e,i.typeAnnotation=this.tsParseTypeAnnotation(!1),i.asserts=!1,this.finishNode(i,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const i=this.startNode();return e(i),i.name=this.tsParseTypeParameterName(),i.constraint=this.tsEatThenParseType(81),i.default=this.tsEatThenParseType(29),this.finishNode(i,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const i=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();const r={value:-1};return i.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),i.params.length===0&&this.raise(Y.EmptyTypeParameters,i),r.value!==-1&&this.addExtra(i,"trailingComma",r.value),this.finishNode(i,"TSTypeParameterDeclaration")}tsFillSignature(e,i){const r=e===19,n="parameters",a="typeAnnotation";i.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),i[n]=this.tsParseBindingListForSignature(),r?i[a]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(i[a]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const i of e){const{type:r}=i;(r==="AssignmentPattern"||r==="TSParameterProperty")&&this.raise(Y.UnsupportedSignatureParameterKind,i,{type:r})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,i){return this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon(),this.finishNode(i,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),Te(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const i=this.parseIdentifier();i.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(i),this.expect(3),e.parameters=[i];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,i){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(47)){i&&this.raise(Y.ReadonlyForMethodSignature,e);const n=r;n.kind&&this.match(47)&&this.raise(Y.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();const a="parameters",o="typeAnnotation";if(n.kind==="get")n[a].length>0&&(this.raise(b.BadGetterArity,this.state.curPosition()),this.isThisParam(n[a][0])&&this.raise(Y.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(n.kind==="set"){if(n[a].length!==1)this.raise(b.BadSetterArity,this.state.curPosition());else{const l=n[a][0];this.isThisParam(l)&&this.raise(Y.AccessorCannotDeclareThisParameter,this.state.curPosition()),l.type==="Identifier"&&l.optional&&this.raise(Y.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),l.type==="RestElement"&&this.raise(Y.SetAccessorCannotHaveRestParameter,this.state.curPosition())}n[o]&&this.raise(Y.SetAccessorCannotHaveReturnType,n[o])}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}else{const n=r;i&&(n.readonly=!0);const a=this.tsTryParseTypeAnnotation();return a&&(n.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const i=this.tsTryParseIndexSignature(e);return i||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}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)))}tsParseMappedType(){const e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);{const i=this.startNode();i.name=this.tsParseTypeParameterName(),i.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(i,"TSTypeParameter")}return e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let i=!1;return e.elementTypes.forEach(r=>{const{type:n}=r;i&&n!=="TSRestType"&&n!=="TSOptionalType"&&!(n==="TSNamedTupleMember"&&r.optional)&&this.raise(Y.OptionalTypeBeforeRequired,r),i||(i=n==="TSNamedTupleMember"&&r.optional||n==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,i=this.eat(21);let r,n,a,o;const c=Mt(this.state.type)?this.lookaheadCharCode():null;if(c===58)r=!0,a=!1,n=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(c===63){a=!0;const h=this.state.startLoc,u=this.state.value,d=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(r=!0,n=this.createIdentifier(this.startNodeAt(h),u),this.expect(17),this.expect(14),o=this.tsParseType()):(r=!1,o=d,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),r=this.eat(14);if(r){let h;n?(h=this.startNodeAtNode(n),h.optional=a,h.label=n,h.elementType=o,this.eat(17)&&(h.optional=!0,this.raise(Y.TupleOptionalAfterType,this.state.lastTokStartLoc))):(h=this.startNodeAtNode(o),h.optional=a,this.raise(Y.InvalidTupleMemberLabel,o),h.label=o,h.elementType=this.tsParseType()),o=this.finishNode(h,"TSNamedTupleMember")}else if(a){const h=this.startNodeAtNode(o);h.typeAnnotation=o,o=this.finishNode(h,"TSOptionalType")}if(i){const h=this.startNodeAt(e);h.typeAnnotation=o,o=this.finishNode(h,"TSRestType")}return o}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,i){const r=this.startNode();return e==="TSConstructorType"&&(r.abstract=!!i,i&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,r)),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode(),i=this.lookahead();return i.type!==135&&i.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(Te(e)||e===88||e===84){const i=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":Kf(this.state.value);if(i!==void 0&&this.lookaheadCharCode()!==46){const r=this.startNode();return this.next(),this.finishNode(r,i)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const i=this.startNodeAtNode(e);i.elementType=e,this.expect(3),e=this.finishNode(i,"TSArrayType")}else{const i=this.startNodeAtNode(e);i.objectType=e,i.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(i,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),i=this.state.value;return this.next(),e.operator=i,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),i==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Y.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(i,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return Yd(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,i,r){const n=this.startNode(),a=this.eat(r),o=[];do o.push(i());while(this.eat(r));return o.length===1&&!a?o[0]:(n.types=o,this.finishNode(n,e))}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(Te(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,i=e.length;try{return this.parseObjectLike(8,!0),e.length===i}catch{return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,i=e.length;try{return super.parseBindingList(3,93,1),e.length===i}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(e){return this.tsInType(()=>{const i=this.startNode();this.expect(e);const r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(r.parameterName=l,r.asserts=!0,r.typeAnnotation=null,l=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(l,r),l.asserts=!0),i.typeAnnotation=l,this.finishNode(i,"TSTypeAnnotation")}const a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,i.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,i);const o=this.tsParseTypeAnnotation(!1);return r.parameterName=a,r.typeAnnotation=o,r.asserts=n,i.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const e=this.state.containsEsc;return this.next(),!Te(this.state.type)&&!this.match(78)?!1:(e&&this.raise(b.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,i=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),i.typeAnnotation=this.tsParseType()}),this.finishNode(i,"TSTypeAnnotation")}tsParseType(){bh(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const i=this.startNodeAtNode(e);return i.checkType=e,i.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),i.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),i.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(i,"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(Y.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const i=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",()=>{const n=this.startNode();return n.expression=this.tsParseEntityName(),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSExpressionWithTypeArguments")});return r.length||this.raise(Y.EmptyHeritageClauseType,i,{token:e}),r}tsParseInterfaceDeclaration(e,i={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),i.declare&&(e.declare=!0),Te(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Y.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const i=this.startNode();return this.next(),this.finishNode(i,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}tsInType(e){const i=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=i}}tsInDisallowConditionalTypesContext(e){const i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsInAllowConditionalTypesContext(e){const i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,i={}){return i.const&&(e.const=!0),i.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,i=!1){if(e.id=this.parseIdentifier(),i||this.checkIdentifier(e.id,1024),this.eat(16)){const r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind="global",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind="module",e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,i,r){e.isExport=r||!1,e.id=i||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const n=this.tsParseModuleReference();return e.importKind==="type"&&n.type!=="TSExternalModuleReference"&&this.raise(Y.ImportAliasHasImportType,n),e.moduleReference=n,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const i=this.state.clone(),r=e();return this.state=i,r}tsTryParseAndCatch(e){const i=this.tryParse(r=>e()||r());if(!(i.aborted||!i.node))return i.error&&(this.state=i.failState),i.node}tsTryParse(e){const i=this.state.clone(),r=e();if(r!==void 0&&r!==!1)return r;this.state=i}tsTryParseDeclare(e){if(this.isLineTerminator())return;let i=this.state.type,r;return this.isContextual(100)&&(i=74,r="let"),this.tsInAmbientContext(()=>{switch(i){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,r||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{const n=this.tsParseInterfaceDeclaration(e,{declare:!0});if(n)return n}default:if(Te(i))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,i,r){switch(i.name){case"declare":{const n=this.tsTryParseDeclare(e);return n&&(n.declare=!0),n}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const n=e;return n.kind="global",n.global=!0,n.id=i,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,i.name,!1,r)}}tsParseDeclaration(e,i,r,n){switch(i){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||Te(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(Te(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&Te(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&Te(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const r=this.tsTryParseAndCatch(()=>{const n=this.startNodeAt(e);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),n});if(this.state.maybeInArrowParameters=i,!!r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(Y.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===Ae.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Qd(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,i){const r=this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);const a=n.accessibility,o=n.override,l=n.readonly;!(e&4)&&(a||l||o)&&this.raise(Y.UnexpectedParameterModifier,r);const c=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(c);const h=this.parseMaybeDefault(c.loc.start,c);if(a||l||o){const u=this.startNodeAt(r);return i.length&&(u.decorators=i),a&&(u.accessibility=a),l&&(u.readonly=l),o&&(u.override=o),h.type!=="Identifier"&&h.type!=="AssignmentPattern"&&this.raise(Y.UnsupportedParameterPropertyKind,u),u.parameter=h,this.finishNode(u,"TSParameterProperty")}return i.length&&(c.decorators=i),h}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const i of e.params)i.type!=="Identifier"&&i.optional&&!this.state.isAmbientContext&&this.raise(Y.PatternIsOptional,i)}setArrowFunctionParameters(e,i,r){super.setArrowFunctionParameters(e,i,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,i,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const n=i==="FunctionDeclaration"?"TSDeclareFunction":i==="ClassMethod"||i==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):n==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Y.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,i,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(i=>{i?.type==="TSTypeCastExpression"&&this.raise(Y.UnexpectedTypeAnnotation,i.typeAnnotation)})}toReferencedList(e,i){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,i,r,n){const a=super.parseArrayLike(e,i,r,n);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(e,i,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const o=this.startNodeAt(i);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(r)return n.stop=!0,e;n.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o;const l=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){const d=this.tsTryParseGenericAsyncArrowFunction(i);if(d)return d}const c=this.tsParseTypeArgumentsInExpression();if(!c)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if($r(this.state.type)){const d=super.parseTaggedTemplateExpression(e,i,n);return d.typeParameters=c,d}if(!r&&this.eat(10)){const d=this.startNodeAt(i);return d.callee=e,d.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(d.arguments),d.typeParameters=c,n.optionalChainMember&&(d.optional=a),this.finishCallExpression(d,n.optionalChainMember)}const h=this.state.type;if(h===48||h===52||h!==10&&$a(h)&&!this.hasPrecedingLineBreak())return;const u=this.startNodeAt(i);return u.expression=e,u.typeParameters=c,this.finishNode(u,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Y.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),l}return super.parseSubscript(e,i,r,n)}parseNewCallee(e){var i;super.parseNewCallee(e);const{callee:r}=e;r.type==="TSInstantiationExpression"&&!((i=r.extra)!=null&&i.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,i,r){let n;if(Vr(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){const a=this.startNodeAt(i);return a.expression=e,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(n&&this.raise(b.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,i,r)}return super.parseExprOp(e,i,r)}checkReservedWord(e,i,r,n){this.state.isAmbientContext||super.checkReservedWord(e,i,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(Y.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const i=this.lookaheadCharCode();return e?i===123||i===42:i!==61}return!e&&this.isContextual(87)}applyImportPhase(e,i,r,n){super.applyImportPhase(e,i,r,n),i?e.exportKind=r==="type"?"type":"value":e.importKind=r==="type"||r==="typeof"?r:"value"}parseImport(e){if(this.match(134))return e.importKind="value",super.parseImport(e);let i;if(Te(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const r=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,r);i=super.parseImportSpecifiersAndAfter(e,r)}else i=super.parseImport(e);return i.importKind==="type"&&i.specifiers.length>1&&i.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Y.TypeImportCannotSpecifyDefaultAndNamed,i),i}parseExport(e,i){if(this.match(83)){this.next();const r=e;let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(r,!1):r.importKind="value",this.tsParseImportEqualsDeclaration(r,n,!0)}else if(this.eat(29)){const r=e;return r.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExportAssignment")}else if(this.eatContextual(93)){const r=e;return this.expectContextual(128),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}else return super.parseExport(e,i)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,i,r=!1){const{isAmbientContext:n}=this.state,a=super.parseVarStatement(e,i,r||n);if(!n)return a;for(const{id:o,init:l}of a.declarations)l&&(i!=="const"||o.typeAnnotation?this.raise(Y.InitializerNotAllowedInAmbientContext,l):Gf(l,this.hasPlugin("estree"))||this.raise(Y.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,l));return a}parseStatementContent(e,i){if(this.match(75)&&this.isLookaheadContextual("enum")){const r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseStatementContent(e,i)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,i){return i.some(r=>Ph(r)?e.accessibility===r:!!e[r])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,i,r){const n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Y.InvalidModifierOnTypeParameterPositions},i);const a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(i,n)&&this.raise(Y.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,i)):this.parseClassMemberWithIsStatic(e,i,r,!!i.static)};i.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(e,i,r,n){const a=this.tsTryParseIndexSignature(i);if(a){e.body.push(a),i.abstract&&this.raise(Y.IndexSignatureHasAbstract,i),i.accessibility&&this.raise(Y.IndexSignatureHasAccessibility,i,{modifier:i.accessibility}),i.declare&&this.raise(Y.IndexSignatureHasDeclare,i),i.override&&this.raise(Y.IndexSignatureHasOverride,i);return}!this.state.inAbstractClass&&i.abstract&&this.raise(Y.NonAbstractClassHasAbstractMethod,i),i.override&&(r.hadSuperClass||this.raise(Y.OverrideNotInSubClass,i)),super.parseClassMemberWithIsStatic(e,i,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Y.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(Y.ClassMethodHasDeclare,e)}parseExpressionStatement(e,i,r){return(i.type==="Identifier"?this.tsParseExpressionStatement(e,i,r):void 0)||super.parseExpressionStatement(e,i,r)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,i,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,i,r);const n=this.tryParse(()=>super.parseConditional(e,i));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(r,n.error),e)}parseParenItem(e,i){const r=super.parseParenItem(e,i);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){const n=this.startNodeAt(i);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));const i=this.state.startLoc,r=this.eatContextual(125);if(r&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Y.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const a=Te(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(a,i),a.declare=!0),a):null}parseClassId(e,i,r,n){if((!i||r)&&this.isContextual(113))return;super.parseClassId(e,i,r,e.declare?1024:8331);const a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const i=this.tsTryParseTypeAnnotation();i&&(e.typeAnnotation=i)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(Y.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:i}=e;this.raise(Y.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:i.type==="Identifier"&&!e.computed?i.name:`[${this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Y.PrivateElementHasAbstract,e),e.accessibility&&this.raise(Y.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(Y.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,i,r,n,a,o){const l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(Y.ConstructorHasTypeParameters,l);const{declare:c=!1,kind:h}=i;c&&(h==="get"||h==="set")&&this.raise(Y.DeclareAccessor,i,{kind:h}),l&&(i.typeParameters=l),super.pushClassMethod(e,i,r,n,a,o)}pushClassPrivateMethod(e,i,r,n){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(i.typeParameters=a),super.pushClassPrivateMethod(e,i,r,n)}declareClassPrivateMethodInScope(e,i){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!hasOwnProperty.call(e.value,"body")||super.declareClassPrivateMethodInScope(e,i))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,i,r,n,a,o,l){const c=this.tsTryParseTypeParameters(this.tsParseConstModifier);return c&&(e.typeParameters=c),super.parseObjPropValue(e,i,r,n,a,o,l)}parseFunctionParams(e,i){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,i)}parseMaybeAssign(e,i){var r,n,a,o,l;let c,h,u;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(c=this.state.clone(),h=this.tryParse(()=>super.parseMaybeAssign(e,i),c),!h.error)return h.node;const{context:f}=this.state,P=f[f.length-1];(P===Ae.j_oTag||P===Ae.j_expr)&&f.pop()}if(!((r=h)!=null&&r.error)&&!this.match(47))return super.parseMaybeAssign(e,i);(!c||c===this.state)&&(c=this.state.clone());let d;const p=this.tryParse(f=>{var P,I;d=this.tsParseTypeParameters(this.tsParseConstModifier);const T=super.parseMaybeAssign(e,i);return(T.type!=="ArrowFunctionExpression"||(P=T.extra)!=null&&P.parenthesized)&&f(),((I=d)==null?void 0:I.params.length)!==0&&this.resetStartLocationFromNode(T,d),T.typeParameters=d,T},c);if(!p.error&&!p.aborted)return d&&this.reportReservedArrowTypeParam(d),p.node;if(!h&&(bh(!this.hasPlugin("jsx")),u=this.tryParse(()=>super.parseMaybeAssign(e,i),c),!u.error))return u.node;if((n=h)!=null&&n.node)return this.state=h.failState,h.node;if(p.node)return this.state=p.failState,d&&this.reportReservedArrowTypeParam(d),p.node;if((a=u)!=null&&a.node)return this.state=u.failState,u.node;throw((o=h)==null?void 0:o.error)||p.error||((l=u)==null?void 0:l.error)}reportReservedArrowTypeParam(e){var i;e.params.length===1&&!e.params[0].constraint&&!((i=e.extra)!=null&&i.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Y.ReservedArrowTypeParam,e)}parseMaybeUnary(e,i){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,i)}parseArrow(e){if(this.match(14)){const i=this.tryParse(r=>{const n=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&r(),n});if(i.aborted)return;i.thrown||(i.error&&(this.state=i.failState),e.returnType=i.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);const i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,i){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,i);case"TSParameterProperty":return!0;default:return super.isAssignable(e,i)}}toAssignable(e,i=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,i);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":i?this.expressionScope.recordArrowParameterBindingError(Y.UnexpectedTypeCastInParameter,e):this.raise(Y.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,i);break;case"AssignmentExpression":!i&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,i)}}toAssignableParenthesizedExpression(e,i){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,i);break;default:super.toAssignable(e,i)}}checkToRestConversion(e,i){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,i)}}isValidLVal(e,i,r){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(r!==64||!i)&&["expression",!0];default:return super.isValidLVal(e,i,r)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const i=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=i,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,i){const r=super.parseMaybeDefault(e,i);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Y.TypeAnnotationAfterAssign,r.typeAnnotation),r}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,i,r){for(let n=0;n<e.length;n++){const a=e[n];a?.type==="TSTypeCastExpression"&&(e[n]=this.typeCastToParameter(a))}super.toAssignableList(e,i,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(i=>this.isAssignable(i,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const i=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());i&&(e.typeParameters=i)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const i=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?i+1:i}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i,this.resetEndLocation(e)),e}tsInAmbientContext(e){const{isAmbientContext:i,strict:r}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=i,this.state.strict=r}}parseClass(e,i,r){const n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,i,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,i){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(i,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Y.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,i,r,n,a,o,l){const c=super.parseMethod(e,i,r,n,a,o,l);if(c.abstract&&(this.hasPlugin("estree")?!!c.value.body:!!c.body)){const{key:u}=c;this.raise(Y.AbstractMethodHasImplementation,c,{methodName:u.type==="Identifier"&&!c.computed?u.name:`[${this.input.slice(this.offsetToSourcePos(u.start),this.offsetToSourcePos(u.end))}]`})}return c}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,i,r,n){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,i,r,n))}parseImportSpecifier(e,i,r,n,a){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,i,r,n,r?4098:4096))}parseTypeOnlyImportExportSpecifier(e,i,r){const n=i?"imported":"local",a=i?"local":"exported";let o=e[n],l,c=!1,h=!0;const u=o.loc.start;if(this.isContextual(93)){const p=this.parseIdentifier();if(this.isContextual(93)){const f=this.parseIdentifier();Mt(this.state.type)?(c=!0,o=p,l=i?this.parseIdentifier():this.parseModuleExportName(),h=!1):(l=f,h=!1)}else Mt(this.state.type)?(h=!1,l=i?this.parseIdentifier():this.parseModuleExportName()):(c=!0,o=p)}else Mt(this.state.type)&&(c=!0,i?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());c&&r&&this.raise(i?Y.TypeModifierIsUsedInTypeImports:Y.TypeModifierIsUsedInTypeExports,u),e[n]=o,e[a]=l;const d=i?"importKind":"exportKind";e[d]=c?"type":"value",h&&this.eatContextual(93)&&(e[a]=i?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=Xt(e[n])),i&&this.checkIdentifier(e[a],c?4098:4096)}};function Xf(s){if(s.type!=="MemberExpression")return!1;const{computed:t,property:e}=s;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:Sh(s.object)}function Gf(s,t){var e;const{type:i}=s;if((e=s.extra)!=null&&e.parenthesized)return!1;if(t){if(i==="Literal"){const{value:r}=s;if(typeof r=="string"||typeof r=="boolean")return!0}}else if(i==="StringLiteral"||i==="BooleanLiteral")return!0;return!!(Th(s,t)||Yf(s,t)||i==="TemplateLiteral"&&s.expressions.length===0||Xf(s))}function Th(s,t){return t?s.type==="Literal"&&(typeof s.value=="number"||"bigint"in s):s.type==="NumericLiteral"||s.type==="BigIntLiteral"}function Yf(s,t){if(s.type==="UnaryExpression"){const{operator:e,argument:i}=s;if(e==="-"&&Th(i,t))return!0}return!1}function Sh(s){return s.type==="Identifier"?!0:s.type!=="MemberExpression"||s.computed?!1:Sh(s.object)}const vh=zt`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var Qf=s=>class extends s{parsePlaceholder(e){if(this.match(133)){const i=this.startNode();return this.next(),this.assertNoSpace(),i.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(i,e)}}finishPlaceholder(e,i){let r=e;return(!r.expectedNode||!r.type)&&(r=this.finishNode(r,"Placeholder")),r.expectedNode=i,r}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,i,r,n){e!==void 0&&super.checkReservedWord(e,i,r,n)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,i,r){return e==="Placeholder"||super.isValidLVal(e,i,r)}toAssignable(e,i){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,i)}chStartsBindingIdentifier(e,i){return!!(super.chStartsBindingIdentifier(e,i)||this.lookahead().type===133)}verifyBreakContinue(e,i){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,i)}parseExpressionStatement(e,i){var r;if(i.type!=="Placeholder"||(r=i.extra)!=null&&r.parenthesized)return super.parseExpressionStatement(e,i);if(this.match(14)){const a=e;return a.label=this.finishPlaceholder(i,"Identifier"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,"LabeledStatement")}this.semicolon();const n=e;return n.name=i.name,this.finishPlaceholder(n,"Statement")}parseBlock(e,i,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,i,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,i,r){const n=i?"ClassDeclaration":"ClassExpression";this.next();const a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(133)||this.match(5))e.id=o;else{if(r||!i)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,n);throw this.raise(vh.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,i,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,a),this.finishNode(e,n)}parseExport(e,i){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,i);const n=e;if(!this.isContextual(98)&&!this.match(12))return n.specifiers=[],n.source=null,n.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(n,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const a=this.startNode();return a.exported=r,n.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(n,i)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(us(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,i){var r;return(r=e.specifiers)!=null&&r.length?!0:super.maybeParseExportDefaultSpecifier(e,i)}checkExport(e){const{specifiers:i}=e;i!=null&&i.length&&(e.specifiers=i.filter(r=>r.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=i}parseImport(e){const i=this.parsePlaceholder("Identifier");if(!i)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(i,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(i);return r.local=i,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(vh.UnexpectedSpace,this.state.lastTokEndLoc)}},Zf=s=>class extends s{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,i=this.startNode();if(this.next(),Te(this.state.type)){const r=this.parseIdentifierName(),n=this.createIdentifier(i,r);if(n.type="V8IntrinsicIdentifier",this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};const Ah=["minimal","fsharp","hack","smart"],Ch=["^^","@@","^","%","#"];function em(s){if(s.has("decorators")){if(s.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const e=s.get("decorators").decoratorsBeforeExport;if(e!=null&&typeof e!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const i=s.get("decorators").allowCallParenthesized;if(i!=null&&typeof i!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(s.has("flow")&&s.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(s.has("placeholders")&&s.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(s.has("pipelineOperator")){var t;const e=s.get("pipelineOperator").proposal;if(!Ah.includes(e)){const r=Ah.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${r}.`)}const i=((t=s.get("recordAndTuple"))==null?void 0:t.syntaxType)==="hash";if(e==="hack"){if(s.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(s.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const r=s.get("pipelineOperator").topicToken;if(!Ch.includes(r)){const n=Ch.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${n}.`)}if(r==="#"&&i)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",s.get("recordAndTuple")])}\`.`)}else if(e==="smart"&&i)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",s.get("recordAndTuple")])}\`.`)}if(s.has("moduleAttributes")){if(s.has("deprecatedImportAssert")||s.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(s.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(s.has("importAssertions")&&s.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!s.has("deprecatedImportAssert")&&s.has("importAttributes")&&s.get("importAttributes").deprecatedAssertSyntax&&s.set("deprecatedImportAssert",{}),s.has("recordAndTuple")){const e=s.get("recordAndTuple").syntaxType;if(e!=null){const i=["hash","bar"];if(!i.includes(e))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+i.map(r=>`'${r}'`).join(", "))}}if(s.has("asyncDoExpressions")&&!s.has("doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(s.has("optionalChainingAssign")&&s.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const wh={estree:Vd,jsx:Vf,flow:Uf,typescript:Jf,v8intrinsic:Zf,placeholders:Qf},tm=Object.keys(wh);function sm(){return{sourceType:"script",sourceFilename:void 0,startIndex: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 im(s){const t=sm();if(s==null)return t;if(s.annexB!=null&&s.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(const e of Object.keys(t))s[e]!=null&&(t[e]=s[e]);if(t.startLine===1)s.startIndex==null&&t.startColumn>0?t.startIndex=t.startColumn:s.startColumn==null&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((s.startColumn==null||s.startIndex==null)&&s.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return t}class rm extends qf{checkProto(t,e,i,r){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;const n=t.key;if((n.type==="Identifier"?n.name:n.value)==="__proto__"){if(e){this.raise(b.RecordNoProto,n);return}i.used&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=n.loc.start):this.raise(b.DuplicateProto,n)),i.used=!0}}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(t.start)===e}getExpression(){this.enterInitialScopes(),this.nextToken();const t=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){const e=this.state.startLoc,i=this.parseMaybeAssign(t);if(this.match(12)){const r=this.startNodeAt(e);for(r.expressions=[i];this.eat(12);)r.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return i}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t,e){var i;t.optionalParametersLoc=(i=e?.loc)!=null?i:this.state.startLoc}parseMaybeAssign(t,e){const i=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let o=this.parseYield();return e&&(o=e.call(this,o,i)),o}let r;t?r=!1:(t=new Wr,r=!0);const{type:n}=this.state;(n===10||Te(n))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(e&&(a=e.call(this,a,i)),Kd(this.state.type)){const o=this.startNodeAt(i),l=this.state.value;if(o.operator=l,this.match(29)){this.toAssignable(a,!0),o.left=a;const c=i.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=c&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=c&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=c&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=a;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(a,this.finishNode(o,"AssignmentExpression")),o}else r&&this.checkExpressionErrors(t,!0);return a}parseMaybeConditional(t){const e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,i)?r:this.parseConditional(r,e,t)}parseConditional(t,e,i){if(this.eat(17)){const r=this.startNodeAt(e);return r.test=t,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){const e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(r,i)?r:this.parseExprOp(r,e,-1)}parseExprOp(t,e,i){if(this.isPrivateName(t)){const n=this.getPrivateNameSV(t);(i>=Vr(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(b.PrivateInExpectedIn,t,{identifierName:n}),this.classScope.usePrivateName(n,t.loc.start)}const r=this.state.type;if(Jd(r)&&(this.prodParam.hasIn||!this.match(58))){let n=Vr(r);if(n>i){if(r===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}const a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;const o=r===41||r===42,l=r===40;if(l&&(n=Vr(42)),this.next(),r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(b.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,n);const c=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),h=this.state.type;if(l&&(h===41||h===42)||o&&h===40)throw this.raise(b.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,e,i)}}return t}parseExprOpRightExpr(t,e){const i=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(b.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),i)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){const i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),i,Zd(t)?e-1:e)}parseHackPipeBody(){var t;const{startLoc:e}=this.state,i=this.parseMaybeAssign();return Fd.has(i.type)&&!((t=i.extra)!=null&&t.parenthesized)&&this.raise(b.PipeUnparenthesizedBody,e,{type:i.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(b.PipeTopicUnused,e),i}checkExponentialAfterUnary(t){this.match(57)&&this.raise(b.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){const i=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();const l=this.parseAwait(i);return e||this.checkExponentialAfterUnary(l),l}const n=this.match(34),a=this.startNode();if(Gd(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&l){const c=a.argument;c.type==="Identifier"?this.raise(b.StrictDelete,a):this.hasPropertyAsPrivateName(c)&&this.raise(b.DeletePrivateField,a)}if(!n)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}const o=this.parseUpdate(a,n,t);if(r){const{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?$a(l):$a(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(b.AwaitNotInAsyncContext,i),this.parseAwait(i)}return o}parseUpdate(t,e,i){if(e){const a=t;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),t}const r=this.state.startLoc;let n=this.parseExprSubscripts(i);if(this.checkExpressionErrors(i,!1))return n;for(;Xd(this.state.type)&&!this.canInsertSemicolon();){const a=this.startNodeAt(r);a.operator=this.state.value,a.prefix=!1,a.argument=n,this.next(),this.checkLVal(n,n=this.finishNode(a,"UpdateExpression"))}return n}parseExprSubscripts(t){const e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseExprAtom(t);return this.shouldExitDescending(r,i)?r:this.parseSubscripts(r,e)}parseSubscripts(t,e,i){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,i,r),r.maybeAsyncArrow=!1;while(!r.stop);return t}parseSubscript(t,e,i,r){const{type:n}=this.state;if(!i&&n===15)return this.parseBind(t,e,i,r);if($r(n))return this.parseTaggedTemplateExpression(t,e,r);let a=!1;if(n===18){if(i&&(this.raise(b.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return r.stop=!0,t;r.optionalChainMember=a=!0,this.next()}if(!i&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,r,a);{const o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,e,r,o,a):(r.stop=!0,t)}}parseMember(t,e,i,r,n){const a=this.startNodeAt(e);return a.object=t,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(t.type==="Super"&&this.raise(b.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),i.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,e,i,r){const n=this.startNodeAt(e);return n.object=t,this.next(),n.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),e,i)}parseCoverCallAndAsyncArrowHead(t,e,i,r){const n=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(e);o.callee=t;const{maybeAsyncArrow:l,optionalChainMember:c}=i;l&&(this.expressionScope.enter(If()),a=new Wr),c&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type!=="Super",o,a);let h=this.finishCallExpression(o,c);return l&&this.shouldParseAsyncArrow()&&!r?(i.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),h=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),h)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(h)),this.state.maybeInArrowParameters=n,h}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,i){const r=this.startNodeAt(e);return r.tag=t,r.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(b.OptionalChainingNoTemplate,e),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.offsetToSourcePos(t.start)===this.state.potentialArrowAt}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===0||t.arguments.length>2)this.raise(b.ImportCallArity,t);else for(const i of t.arguments)i.type==="SpreadElement"&&this.raise(b.ImportCallSpreadArgument,i);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,i,r){const n=[];let a=!0;const o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){i&&this.addTrailingCommaExtraToNode(i),this.next();break}n.push(this.parseExprListItem(!1,r,e))}return this.state.inFSharpPipelineDirectBody=o,n}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var i;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(i=e.extra)==null?void 0:i.trailingCommaLoc),e.innerComments&&qi(t,e.innerComments),e.callee.trailingComments&&qi(t,e.callee.trailingComments),t}parseNoCallExpr(){const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,i=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.options.createImportExpressions?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(b.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const n=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(n)}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:i=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(i,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;const n=e.callee=this.parseNoCallExpr();if(n.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(b.UnsupportedBind,n)}case 139:return this.raise(b.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.parseTopicReference(n);this.unexpected();break}case 47:{const n=this.input.codePointAt(this.nextTokenStart());Jt(n)||n===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(r===137)return this.parseDecimalLiteral(this.state.value);if(Te(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const n=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){const{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(Te(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 n&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){const i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=nt(this.state.endLoc,-1),this.parseTopicReference(i);this.unexpected()}parseTopicReference(t){const e=this.startNode(),i=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(e,i,t,r)}finishTopicReference(t,e,i,r){if(this.testTopicReferenceConfiguration(i,e,r)){const n=i==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(i==="smart"?b.PrimaryTopicNotAllowed:b.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,n)}else throw this.raise(b.PipeTopicUnconfiguredToken,e,{token:us(r)})}testTopicReferenceConfiguration(t,e,i){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:us(i)}]);case"smart":return i===27;default:throw this.raise(b.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(Kr(!0,this.prodParam.hasYield));const e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(b.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();const i=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=i,this.finishNode(t,"DoExpression")}parseSuper(){const t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(b.SuperNotAllowed,t):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(b.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(b.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){const t=this.startNode(),e=this.startNodeAt(nt(this.state.startLoc,1)),i=this.state.value;return this.next(),t.id=this.createIdentifier(e,i),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){const t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,i){t.meta=e;const r=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==i||r)&&this.raise(b.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:i}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){const e=this.createIdentifier(this.startNodeAtNode(t),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(b.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const i=this.isContextual(105);if(i||this.unexpected(),this.expectPlugin(i?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(b.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),t.phase=i?"source":"defer",this.parseImportCall(t)}return this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,i){return this.addExtra(i,"rawValue",t),this.addExtra(i,"raw",this.input.slice(this.offsetToSourcePos(i.start),this.state.end)),i.value=t,this.next(),this.finishNode(i,e)}parseLiteral(t,e){const i=this.startNode();return this.parseLiteralAtNode(t,e,i)}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){const e=this.startNode();return this.addExtra(e,"raw",this.input.slice(this.offsetToSourcePos(e.start),this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(t){const e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){const t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){const e=this.state.startLoc;let i;this.next(),this.expressionScope.enter(Ef());const r=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const a=this.state.startLoc,o=[],l=new Wr;let c=!0,h,u;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){u=this.state.startLoc;break}if(this.match(21)){const f=this.state.startLoc;if(h=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),f)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}const d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=n;let p=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(p=this.parseArrow(p))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(p,o,!1),p):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),h&&this.unexpected(h),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(i=this.startNodeAt(a),i.expressions=o,this.finishNode(i,"SequenceExpression"),this.resetEndLocation(i,d)):i=o[0],this.wrapParenthesis(e,i))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;const i=this.startNodeAt(t);return i.expression=e,this.finishNode(i,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){const t=this.startNode();if(this.next(),this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();const i=this.parseMetaProperty(t,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(b.UnexpectedNewTarget,i),i}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){const e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){const e=this.match(83),i=this.parseNoCallExpr();t.callee=i,e&&(i.type==="Import"||i.type==="ImportExpression")&&this.raise(b.ImportCallNotNewExpression,i)}parseTemplateElement(t){const{start:e,startLoc:i,end:r,value:n}=this.state,a=e+1,o=this.startNodeAt(nt(i,1));n===null&&(t||this.raise(b.InvalidEscapeSequenceTemplate,nt(this.state.firstInvalidTemplateEscapePos,1)));const l=this.match(24),c=l?-1:-2,h=r+c;o.value={raw:this.input.slice(a,h).replace(/\r\n?/g,`
|
|
8
|
-
`),cooked:n===null?null:n.slice(1,c)},o.tail=l,this.next();const u=this.finishNode(o,"TemplateElement");return this.resetEndLocation(u,nt(this.state.lastTokEndLoc,c)),u}parseTemplate(t){const e=this.startNode();let i=this.parseTemplateElement(t);const r=[i],n=[];for(;!i.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(i=this.parseTemplateElement(t));return e.expressions=n,e.quasis=r,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,i,r){i&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=Object.create(null);let o=!0;const 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 h;e?h=this.parseBindingProperty():(h=this.parsePropertyDefinition(r),this.checkProto(h,i,a,r)),i&&!this.isObjectProperty(h)&&h.type!=="SpreadElement"&&this.raise(b.InvalidRecordProperty,h),h.shorthand&&this.addExtra(h,"shorthand",!0),l.properties.push(h)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return e?c="ObjectPattern":i&&(c="RecordExpression"),this.finishNode(l,c)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(b.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());const i=this.startNode();let r=!1,n=!1,a;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(i.decorators=e,e=[]),i.method=!1,t&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(i);const l=this.state.containsEsc;if(this.parsePropertyName(i,t),!o&&!l&&this.maybeAsyncOrAccessorProp(i)){const{key:c}=i,h=c.name;h==="async"&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(i)),(h==="get"||h==="set")&&(n=!0,this.resetPreviousNodeTrailingComments(c),i.kind=h,this.match(55)&&(o=!0,this.raise(b.AccessorIsGenerator,this.state.curPosition(),{kind:h}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,a,o,r,!1,n,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;const i=this.getGetterSetterExpectedParamCount(t),r=this.getObjectOrClassMethodParams(t);r.length!==i&&this.raise(t.kind==="get"?b.BadGetterArity:b.BadSetterArity,t),t.kind==="set"&&((e=r[r.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(b.BadSetterRestParameter,t)}parseObjectMethod(t,e,i,r,n){if(n){const a=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(i||e||this.match(10))return r&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,i,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,i,r){if(t.shorthand=!1,this.eat(14))return t.value=i?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(t,"ObjectProperty");if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),i)t.value=this.parseMaybeDefault(e,Xt(t.key));else if(this.match(29)){const n=this.state.startLoc;r!=null?r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n):this.raise(b.InvalidCoverInitializedName,n),t.value=this.parseMaybeDefault(e,Xt(t.key))}else t.value=Xt(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,i,r,n,a,o){const l=this.parseObjectMethod(t,i,r,n,a)||this.parseObjectProperty(t,e,n,o);return l||this.unexpected(),l}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:i,value:r}=this.state;let n;if(Mt(i))n=this.parseIdentifier(!0);else switch(i){case 135:n=this.parseNumericLiteral(r);break;case 134:n=this.parseStringLiteral(r);break;case 136:n=this.parseBigIntLiteral(r);break;case 139:{const a=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=a):this.raise(b.UnexpectedPrivateField,a),n=this.parsePrivateName();break}default:if(i===137){n=this.parseDecimalLiteral(r);break}this.unexpected()}t.key=n,i!==139&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,i,r,n,a,o=!1){this.initFunction(t,i),t.generator=e,this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(Kr(i,t.generator)),this.parseFunctionParams(t,r);const l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,e,i,r){i&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!i,r,a),this.state.inFSharpPipelineDirectBody=n,this.finishNode(a,i?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,i,r){this.scope.enter(6);let n=Kr(i,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(t,i);const a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,i){this.toAssignableList(e,i,!1),t.params=e}parseFunctionBodyAndFinish(t,e,i=!1){return this.parseFunctionBody(t,!1,i),this.finishNode(t,e)}parseFunctionBody(t,e,i=!1){const r=e&&!this.match(5);if(this.expressionScope.enter(yh()),r)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{const n=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{const l=!this.isSimpleParamList(t.params);o&&l&&this.raise(b.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t);const c=!n&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!i&&!l,e,c),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,c)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,i=t.length;e<i;e++)if(!this.isSimpleParameter(t[e]))return!1;return!0}checkParams(t,e,i,r=!0){const n=!e&&new Set,a={type:"FormalParameters"};for(const o of t.params)this.checkLVal(o,a,5,n,r)}parseExprList(t,e,i,r){const n=[];let a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}n.push(this.parseExprListItem(e,i))}return n}parseExprListItem(t,e,i){let r;if(this.match(12))t||this.raise(b.UnexpectedToken,this.state.curPosition(),{unexpected:","}),r=null;else if(this.match(21)){const n=this.state.startLoc;r=this.parseParenItem(this.parseSpread(e),n)}else if(this.match(17)){this.expectPlugin("partialApplication"),i||this.raise(b.UnexpectedArgumentPlaceholder,this.state.startLoc);const n=this.startNode();this.next(),r=this.finishNode(n,"ArgumentPlaceholder")}else r=this.parseMaybeAssignAllowIn(e,this.parseParenItem);return r}parseIdentifier(t){const e=this.startNode(),i=this.parseIdentifierName(t);return this.createIdentifier(e,i)}createIdentifier(t,e){return t.name=e,t.loc.identifierName=e,this.finishNode(t,"Identifier")}parseIdentifierName(t){let e;const{startLoc:i,type:r}=this.state;Mt(r)?e=this.state.value:this.unexpected();const n=qd(r);return t?n&&this.replaceToken(132):this.checkReservedWord(e,i,n,!1),this.next(),e}checkReservedWord(t,e,i,r){if(t.length>10||!hf(t))return;if(i&&of(t)){this.raise(b.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?r?lh:ah:nh)(t,this.inModule)){this.raise(b.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(b.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(b.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(b.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(b.ArgumentsInClass,e);return}}recordAwaitIfAllowed(){const t=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){const e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(b.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(b.ObsoleteAwaitStar,e),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:t}=this.state;return t===53||t===10||t===0||$r(t)||t===102&&!this.state.containsEsc||t===138||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){const t=this.startNode();this.expressionScope.recordParameterInitializerError(b.YieldInParameter,t),this.next();let e=!1,i=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:i=this.parseMaybeAssign()}return t.delegate=e,t.argument=i,this.finishNode(t,"YieldExpression")}parseImportCall(t){if(this.next(),t.source=this.parseMaybeAssignAllowIn(),t.options=null,this.eat(12)&&!this.match(11)&&(t.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(b.ImportCallArity,t)}return this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(b.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){const i=this.startNodeAt(e);return i.callee=t,this.finishNode(i,"PipelineBareFunction")}else{const i=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),i.expression=t,this.finishNode(i,"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(b.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(b.PipelineTopicUnused,t)}withTopicBindingContext(t){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){const e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){const e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){const e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){const e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=i,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const e=this.startNodeAt(this.state.endLoc);this.next();const i=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{i()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}}const eo={kind:1},nm={kind:2},am=/[\uD800-\uDFFF]/u,to=/in(?:stanceof)?/y;function om(s,t,e){for(let i=0;i<s.length;i++){const r=s[i],{type:n}=r;if(typeof n=="number"){{if(n===139){const{loc:a,start:o,value:l,end:c}=r,h=o+1,u=nt(a.start,1);s.splice(i,1,new ps({type:Wt(27),value:"#",start:o,end:h,startLoc:a.start,endLoc:u}),new ps({type:Wt(132),value:l,start:h,end:c,startLoc:u,endLoc:a.end})),i++;continue}if($r(n)){const{loc:a,start:o,value:l,end:c}=r,h=o+1,u=nt(a.start,1);let d;t.charCodeAt(o-e)===96?d=new ps({type:Wt(22),value:"`",start:o,end:h,startLoc:a.start,endLoc:u}):d=new ps({type:Wt(8),value:"}",start:o,end:h,startLoc:a.start,endLoc:u});let p,f,P,I;n===24?(f=c-1,P=nt(a.end,-1),p=l===null?null:l.slice(1,-1),I=new ps({type:Wt(22),value:"`",start:f,end:c,startLoc:P,endLoc:a.end})):(f=c-2,P=nt(a.end,-2),p=l===null?null:l.slice(1,-2),I=new ps({type:Wt(23),value:"${",start:f,end:c,startLoc:P,endLoc:a.end})),s.splice(i,1,d,new ps({type:Wt(20),value:p,start:h,end:f,startLoc:u,endLoc:P}),I),i+=2;continue}}r.type=Wt(n)}}return s}class lm extends rm{parseTopLevel(t,e){return t.program=this.parseProgram(e),t.comments=this.comments,this.options.tokens&&(t.tokens=om(this.tokens,this.input,this.startIndex)),this.finishNode(t,"File")}parseProgram(t,e=140,i=this.options.sourceType){if(t.sourceType=i,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,e),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[n,a]of Array.from(this.scope.undefinedExports))this.raise(b.ModuleExportUndefined,a,{localName:n});this.addExtra(t,"topLevelAwait",this.state.hasTopLevelAwait)}let r;return e===140?r=this.finishNode(t,"Program"):r=this.finishNodeAt(t,"Program",nt(this.state.startLoc,-1)),r}stmtToDirective(t){const e=t;e.type="Directive",e.value=e.expression,delete e.expression;const i=e.value,r=i.value,n=this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end)),a=i.value=n.slice(1,-1);return this.addExtra(i,"raw",n),this.addExtra(i,"rawValue",a),this.addExtra(i,"expressionValue",r),i.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;const 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,e){if(Jt(t)){if(to.lastIndex=e,to.test(this.input)){const i=this.codePointAtPos(to.lastIndex);if(!ai(i)&&i!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){const t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){const t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){const{type:t,containsEsc:e}=this.lookahead();if(t===102&&!e)return!1;if(Te(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);const e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,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 e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){const i=this.state.type,r=this.startNode(),n=!!(t&2),a=!!(t&4),o=t&1;switch(i){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?b.StrictFunction:this.options.annexB?b.SloppyFunctionAnnexB:b.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!n&&a);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?n||this.raise(b.UnexpectedLexicalDeclaration,r):this.raise(b.AwaitUsingNotInAsyncContext,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(b.UnexpectedUsingDeclaration,this.state.startLoc):n||this.raise(b.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const h=this.nextTokenStart(),u=this.codePointAtPos(h);if(u!==91&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(u,h)&&u!==123))break}case 75:n||this.raise(b.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const h=this.state.value;return this.parseVarStatement(r,h)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{const h=this.lookaheadCharCode();if(h===40||h===46)break}case 82:{!this.options.allowImportExportEverywhere&&!o&&this.raise(b.UnexpectedImportExport,this.state.startLoc),this.next();let h;return i===83?(h=this.parseImport(r),h.type==="ImportDeclaration"&&(!h.importKind||h.importKind==="value")&&(this.sawUnambiguousESM=!0)):(h=this.parseExport(r,e),(h.type==="ExportNamedDeclaration"&&(!h.exportKind||h.exportKind==="value")||h.type==="ExportAllDeclaration"&&(!h.exportKind||h.exportKind==="value")||h.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(h),h}default:if(this.isAsyncFunction())return n||this.raise(b.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!n&&a)}const l=this.state.value,c=this.parseExpression();return Te(i)&&c.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(r,l,c,t):this.parseExpressionStatement(r,c,e)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(b.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,i){return t&&(e.decorators&&e.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(b.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),i&&this.resetStartLocationFromNode(i,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){const e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(b.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(b.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const t=this.startNode();if(this.next(),this.hasPlugin("decorators")){const e=this.state.startLoc;let i;if(this.match(10)){const r=this.state.startLoc;this.next(),i=this.parseExpression(),this.expect(11),i=this.wrapParenthesis(r,i);const n=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(i),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==i&&this.raise(b.DecoratorArgumentsOutsideParentheses,n)}else{for(i=this.parseIdentifier(!1);this.eat(16);){const r=this.startNodeAt(e);r.object=i,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),r.property=this.parsePrivateName()):r.property=this.parseIdentifier(!0),r.computed=!1,i=this.finishNode(r,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(i)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){const e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let i;for(i=0;i<this.state.labels.length;++i){const r=this.state.labels[i];if((t.label==null||r.name===t.label.name)&&(r.kind!=null&&(e||r.kind===1)||t.label&&e))break}if(i===this.state.labels.length){const r=e?"BreakStatement":"ContinueStatement";this.raise(b.IllegalBreakContinue,t,{type:r})}}parseDebuggerStatement(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const t=this.parseExpression();return this.expect(11),t}parseDoWhileStatement(t){return this.next(),this.state.labels.push(eo),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(eo);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);const i=this.isContextual(100);{const l=this.isContextual(96)&&this.startsAwaitUsing(),c=l||this.isContextual(107)&&this.startsUsingForOf(),h=i&&this.hasFollowingBindingAtom()||c;if(this.match(74)||this.match(75)||h){const u=this.startNode();let d;l?(d="await using",this.recordAwaitIfAllowed()||this.raise(b.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):d=this.state.value,this.next(),this.parseVar(u,!0,d);const p=this.finishNode(u,"VariableDeclaration"),f=this.match(58);return f&&c&&this.raise(b.ForInUsing,p),(f||this.isContextual(102))&&p.declarations.length===1?this.parseForIn(t,p,e):(e!==null&&this.unexpected(e),this.parseFor(t,p))}}const r=this.isContextual(95),n=new Wr,a=this.parseExpression(!0,n),o=this.isContextual(102);if(o&&(i&&this.raise(b.ForOfLet,a),e===null&&r&&a.type==="Identifier"&&this.raise(b.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);const l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{type:l}),this.parseForIn(t,a,e)}else this.checkExpressionErrors(n,!0);return e!==null&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,i){return this.next(),this.parseFunction(t,1|(i?2:0)|(e?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(b.IllegalReturn,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();const e=t.cases=[];this.expect(5),this.state.labels.push(nm),this.scope.enter(0);let i;for(let r;!this.match(8);)if(this.match(61)||this.match(65)){const n=this.match(61);i&&this.finishNode(i,"SwitchCase"),e.push(i=this.startNode()),i.consequent=[],this.next(),n?i.test=this.parseExpression():(r&&this.raise(b.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,i.test=null),this.expect(14)}else i?i.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),i&&this.finishNode(i,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(b.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){const t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{type:"CatchClause"},9),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){const e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(b.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,i=!1){return this.next(),this.parseVar(t,!1,e,i),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(eo),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(b.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,i,r){for(const a of this.state.labels)a.name===e&&this.raise(b.LabelRedeclaration,i,{labelName:e});const n=Wd(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){const o=this.state.labels[a];if(o.statementStart===t.start)o.statementStart=this.sourceToOffsetPos(this.state.start),o.kind=n;else break}return this.state.labels.push({name:e,kind:n,statementStart:this.sourceToOffsetPos(this.state.start)}),t.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,i){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,i){const r=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(r,t,!1,8,i),e&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,i,r,n){const a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?o:void 0,i,r,n)}parseBlockOrModuleBlockBody(t,e,i,r,n){const a=this.state.strict;let o=!1,l=!1;for(;!this.match(r);){const c=i?this.parseModuleItem():this.parseStatementListItem();if(e&&!l){if(this.isValidDirective(c)){const h=this.stmtToDirective(c);e.push(h),!o&&h.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}t.push(c)}n?.call(this,o),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,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,e,i){const r=this.match(58);return this.next(),r?i!==null&&this.unexpected(i):t.await=i!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(b.ForInOfLoopInitializer,e,{type:r?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(b.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,r?"ForInStatement":"ForOfStatement")}parseVar(t,e,i,r=!1){const n=t.declarations=[];for(t.kind=i;;){const a=this.startNode();if(this.parseVarId(a,i),a.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!r&&(a.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(b.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(i==="const"||i==="using"||i==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(b.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:i})),n.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){const i=this.parseBindingAtom();(e==="using"||e==="await using")&&(i.type==="ArrayPattern"||i.type==="ObjectPattern")&&this.raise(b.UsingDeclarationHasBindingPattern,i.loc.start),this.checkLVal(i,{type:"VariableDeclarator"},e==="var"?5:8201),t.id=i}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){const i=e&2,r=!!(e&1),n=r&&!(e&4),a=!!(e&8);this.initFunction(t,a),this.match(55)&&(i&&this.raise(b.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),r&&(t.id=this.parseFunctionId(n));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Kr(a,t.generator)),r||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!i&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||Te(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(wf()),t.params=this.parseBindingList(11,41,2|(e?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,e,i){this.next();const r=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,i),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,r),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();const i={hadConstructor:!1,hadSuperClass:t};let r=[];const n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(b.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}const a=this.startNode();r.length&&(a.decorators=r,this.resetStartLocationFromNode(a,r[0]),r=[]),this.parseClassMember(n,a,i),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(b.DecoratorConstructor,a)}}),this.state.strict=e,this.next(),r.length)throw this.raise(b.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(t,e){const i=this.parseIdentifier(!0);if(this.isClassMethod()){const r=e;return r.kind="method",r.computed=!1,r.key=i,r.static=!1,this.pushClassMethod(t,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const r=e;return r.computed=!1,r.key=i,r.static=!1,t.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(i),!1}parseClassMember(t,e,i){const r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,i,r)}parseClassMemberWithIsStatic(t,e,i,r){const n=e,a=e,o=e,l=e,c=e,h=n,u=n;if(e.static=r,this.parsePropertyNamePrefixOperator(e),this.eat(55)){h.kind="method";const T=this.match(139);if(this.parseClassElementName(h),T){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(n)&&this.raise(b.ConstructorIsGenerator,n.key),this.pushClassMethod(t,n,!0,!1,!1,!1);return}const d=!this.state.containsEsc&&Te(this.state.type),p=this.parseClassElementName(e),f=d?p.name:null,P=this.isPrivateName(p),I=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(h.kind="method",P){this.pushClassPrivateMethod(t,a,!1,!1);return}const T=this.isNonstaticConstructor(n);let m=!1;T&&(n.kind="constructor",i.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(b.DuplicateConstructor,p),T&&this.hasPlugin("typescript")&&e.override&&this.raise(b.OverrideOnConstructor,p),i.hadConstructor=!0,m=i.hadSuperClass),this.pushClassMethod(t,n,!1,!1,T,m)}else if(this.isClassProperty())P?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(f==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(p);const T=this.eat(55);u.optional&&this.unexpected(I),h.kind="method";const m=this.match(139);this.parseClassElementName(h),this.parsePostMemberNameModifiers(u),m?this.pushClassPrivateMethod(t,a,T,!0):(this.isNonstaticConstructor(n)&&this.raise(b.ConstructorIsAsync,n.key),this.pushClassMethod(t,n,T,!0,!1,!1))}else if((f==="get"||f==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(p),h.kind=f;const T=this.match(139);this.parseClassElementName(n),T?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(b.ConstructorIsAccessor,n.key),this.pushClassMethod(t,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else if(f==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(p);const T=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(t,c,T)}else this.isLineTerminator()?P?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){const{type:e,value:i}=this.state;if((e===132||e===134)&&t.static&&i==="prototype"&&this.raise(b.StaticPrototype,this.state.startLoc),e===139){i==="constructor"&&this.raise(b.ConstructorClassPrivateField,this.state.startLoc);const r=this.parsePrivateName();return t.key=r,r}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var i;this.scope.enter(208);const r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const n=e.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,t.body.push(this.finishNode(e,"StaticBlock")),(i=e.decorators)!=null&&i.length&&this.raise(b.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(b.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){const i=this.parseClassPrivateProperty(e);t.body.push(i),this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassAccessorProperty(t,e,i){!i&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(b.ConstructorClassField,e.key);const r=this.parseClassAccessorProperty(e);t.body.push(r),i&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(t,e,i,r,n,a){t.body.push(this.parseMethod(e,i,r,n,a,"ClassMethod",!0))}pushClassPrivateMethod(t,e,i,r){const n=this.parseMethod(e,i,r,!1,!1,"ClassPrivateMethod",!0);t.body.push(n);const a=n.kind==="get"?n.static?6:2:n.kind==="set"?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,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(yh()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,i,r=8331){if(Te(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,r);else if(i||!e)t.id=null;else throw this.raise(b.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){const i=this.parseMaybeImportPhase(t,!0),r=this.maybeParseExportDefaultSpecifier(t,i),n=!r||this.eat(12),a=n&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=n&&(!o||this.eat(12)),c=r||a;if(a&&!o){if(r&&this.unexpected(),e)throw this.raise(b.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}const h=this.maybeParseExportNamedSpecifiers(t);r&&n&&!a&&!h&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let u;if(c||h){if(u=!1,e)throw this.raise(b.UnsupportedDecoratorExport,t);this.parseExportFrom(t,c)}else u=this.maybeParseExportDeclaration(t);if(c||h||u){var d;const p=t;if(this.checkExport(p,!0,!1,!!p.source),((d=p.declaration)==null?void 0:d.type)==="ClassDeclaration")this.maybeTakeDecorators(e,p.declaration,p);else if(e)throw this.raise(b.UnsupportedDecoratorExport,t);return this.finishNode(p,"ExportNamedDeclaration")}if(this.eat(65)){const p=t,f=this.parseExportDefaultExpression();if(p.declaration=f,f.type==="ClassDeclaration")this.maybeTakeDecorators(e,f,p);else if(e)throw this.raise(b.UnsupportedDecoratorExport,t);return this.checkExport(p,!0,!0),this.finishNode(p,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e?.loc.start);const i=e||this.parseIdentifier(!0),r=this.startNodeAtNode(i);return r.exported=i,t.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e,i;(i=(e=t).specifiers)!=null||(e.specifiers=[]);const 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)){const e=t;e.specifiers||(e.specifiers=[]);const i=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(i)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.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;const t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){const 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(b.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(b.UnsupportedDefaultExport,this.state.startLoc);const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:t}=this.state;if(Te(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){const{type:r}=this.lookahead();if(Te(r)&&r!==98||r===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const e=this.nextTokenStart(),i=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||Te(this.state.type)&&i)return!0;if(this.match(65)&&i){const r=this.input.charCodeAt(this.nextTokenStartSince(e+4));return r===34||r===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(b.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(b.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(b.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,i,r){if(e){var n;if(i){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;const o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(b.ExportDefaultFromAsIdentifier,o)}}else if((n=t.specifiers)!=null&&n.length)for(const o of t.specifiers){const{exported:l}=o,c=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,c),!r&&o.local){const{local:h}=o;h.type!=="Identifier"?this.raise(b.ExportBindingIsString,o,{localName:h.value,exportName:c}):(this.checkReservedWord(h.name,h.loc.start,!0,!1),this.scope.checkLocalExport(h))}}else if(t.declaration){const o=t.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){const{id:l}=o;if(!l)throw new Error("Assertion failure");this.checkDuplicateExports(t,l.name)}else if(o.type==="VariableDeclaration")for(const l of o.declarations)this.checkDeclaration(l.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(const e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(const e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(b.DuplicateDefaultExport,t):this.raise(b.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){const e=[];let i=!0;for(this.expect(5);!this.eat(8);){if(i)i=!1;else if(this.expect(12),this.eat(8))break;const r=this.isContextual(130),n=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,n,t,r))}return e}parseExportSpecifier(t,e,i,r){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=_f(t.local):t.exported||(t.exported=Xt(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){const t=this.parseStringLiteral(this.state.value),e=am.exec(t.value);return e&&this.raise(b.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:i})=>i.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){const{specifiers:e}=t,i=e.length===1?e[0].type:null;if(t.phase==="source")i!=="ImportDefaultSpecifier"&&this.raise(b.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")i!=="ImportNamespaceSpecifier"&&this.raise(b.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var r;i!=="ImportDefaultSpecifier"&&this.raise(b.ImportReflectionNotBinding,e[0].loc.start),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(b.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){const{specifiers:e}=t;if(e!=null){const i=e.find(r=>{let n;if(r.type==="ExportSpecifier"?n=r.local:r.type==="ImportSpecifier"&&(n=r.imported),n!==void 0)return n.type==="Identifier"?n.name!=="default":n.value!=="default"});i!==void 0&&this.raise(b.ImportJSONBindingNotDefault,i.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,i,r){e||(i==="module"?(this.expectPlugin("importReflection",r),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),i==="source"?(this.expectPlugin("sourcePhaseImports",r),t.phase="source"):i==="defer"?(this.expectPlugin("deferredImportEvaluation",r),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;const i=this.parseIdentifier(!0),{type:r}=this.state;return(Mt(r)?r!==98||this.lookaheadCharCode()===102:r!==12)?(this.resetPreviousIdentifierLeadingComments(i),this.applyImportPhase(t,e,i.name,i.loc.start),null):(this.applyImportPhase(t,e,null),i)}isPrecedingIdImportPhase(t){const{type:e}=this.state;return Te(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(134)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];const r=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),n=r&&this.maybeParseStarImportSpecifier(t);return r&&!n&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=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(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,i){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,i))}finishImportSpecifier(t,e,i=8201){return this.checkLVal(t.local,{type:e},i),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);const t=[],e=new Set;do{if(this.match(8))break;const i=this.startNode(),r=this.state.value;if(e.has(r)&&this.raise(b.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),e.add(r),this.match(134)?i.key=this.parseStringLiteral(r):i.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(b.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){const t=[],e=new Set;do{const i=this.startNode();if(i.key=this.parseIdentifier(!0),i.key.name!=="type"&&this.raise(b.ModuleAttributeDifferentFromType,i.key),e.has(i.key.name)&&this.raise(b.ModuleAttributesWithDuplicateKeys,i.key,{key:i.key.name}),e.add(i.key.name),this.expect(14),!this.match(134))throw this.raise(b.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e;var i=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():e=this.parseImportAttributes(),i=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(b.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(t,"deprecatedAssertSyntax",!0),this.next(),e=this.parseImportAttributes()):e=[];!i&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){const i=this.startNodeAtNode(e);return i.local=e,t.specifiers.push(this.finishImportSpecifier(i,"ImportDefaultSpecifier")),!0}else if(Mt(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){const e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(b.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const i=this.startNode(),r=this.match(134),n=this.isContextual(130);i.imported=this.parseModuleExportName();const a=this.parseImportSpecifier(i,r,t.importKind==="type"||t.importKind==="typeof",n,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,i,r,n){if(this.eatContextual(93))t.local=this.parseIdentifier();else{const{imported:a}=t;if(e)throw this.raise(b.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=Xt(a))}return this.finishImportSpecifier(t,"ImportSpecifier",n)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}}class Eh extends lm{constructor(t,e,i){t=im(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=i,this.filename=t.sourceFilename,this.startIndex=t.startIndex}getScopeHandler(){return Ja}parse(){this.enterInitialScopes();const t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}}function cm(s,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const i=Wi(t,s),r=i.parse();if(i.sawUnambiguousESM)return r;if(i.ambiguousScriptDifferentAst)try{return t.sourceType="script",Wi(t,s).parse()}catch{}else r.program.sourceType="script";return r}catch(i){try{return t.sourceType="script",Wi(t,s).parse()}catch{}throw i}}else return Wi(t,s).parse()}function hm(s,t){const e=Wi(t,s);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function um(s){const t={};for(const e of Object.keys(s))t[e]=Wt(s[e]);return t}const pm=um(Hd);function Wi(s,t){let e=Eh;const i=new Map;if(s!=null&&s.plugins){for(const r of s.plugins){let n,a;typeof r=="string"?n=r:[n,a]=r,i.has(n)||i.set(n,a||{})}em(i),e=dm(i)}return new e(s,t,i)}const Ih=new Map;function dm(s){const t=[];for(const r of tm)s.has(r)&&t.push(r);const e=t.join("|");let i=Ih.get(e);if(!i){i=Eh;for(const r of t)i=wh[r](i);Ih.set(e,i)}return i}var fm=Br.parse=cm;Br.parseExpression=hm,Br.tokTypes=pm;function mm(s,t){const e=s.filter(({type:i})=>i==="ImportDeclaration").map(i=>t.slice(i.start,i.end));return{importsCode:`${e.join(`
|
|
9
|
-
|
|
10
|
-
`,
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
var b_=Object.defineProperty,v_=Object.defineProperties;var S_=Object.getOwnPropertyDescriptors;var Ua=Object.getOwnPropertySymbols;var dg=Object.prototype.hasOwnProperty,mg=Object.prototype.propertyIsEnumerable;var pg=(_e,Me,De)=>Me in _e?b_(_e,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):_e[Me]=De,Ht=(_e,Me)=>{for(var De in Me||(Me={}))dg.call(Me,De)&&pg(_e,De,Me[De]);if(Ua)for(var De of Ua(Me))mg.call(Me,De)&&pg(_e,De,Me[De]);return _e},Es=(_e,Me)=>v_(_e,S_(Me));var Dc=(_e,Me)=>{var De={};for(var gt in _e)dg.call(_e,gt)&&Me.indexOf(gt)<0&&(De[gt]=_e[gt]);if(_e!=null&&Ua)for(var gt of Ua(_e))Me.indexOf(gt)<0&&mg.call(_e,gt)&&(De[gt]=_e[gt]);return De};var Fc=(_e,Me,De)=>new Promise((gt,Si)=>{var qa=At=>{try{ws(De.next(At))}catch(Xt){Si(Xt)}},$e=At=>{try{ws(De.throw(At))}catch(Xt){Si(Xt)}},ws=At=>At.done?gt(At.value):Promise.resolve(At.value).then(qa,$e);ws((De=De.apply(_e,Me)).next())});(function(){"use strict";const _e="APP$",Me="setupin",De=JSON.stringify({imports:{vue:"https://unpkg.com/vue/dist/vue.runtime.esm-browser.prod.js"}}),gt=`
|
|
2
|
+
<script>
|
|
3
|
+
|
|
4
|
+
import * as Vue from "vue";
|
|
5
|
+
let ${_e} = {}
|
|
6
|
+
<\/script>
|
|
7
|
+
`,Si=`
|
|
8
|
+
const { createApp } = Vue
|
|
9
|
+
createApp(${_e}).mount(document.body)
|
|
10
|
+
`,qa=`
|
|
11
|
+
const { createApp, h, Suspense } = Vue
|
|
12
|
+
createApp({
|
|
13
|
+
render: () => h(Suspense, null, { default: () => h(${_e}) })
|
|
14
|
+
}).mount(document.body)
|
|
15
|
+
`;/**
|
|
16
|
+
* @vue/compiler-sfc v3.5.12
|
|
13
17
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
18
|
* @license MIT
|
|
15
|
-
**/let Mh,ot,Me,Xi,Gi,Xr,io,Gr,ro,Os,hi,fs,no;function Pt(s){let t=Object.create(null);for(let e of s.split(","))t[e]=1;return e=>e in t}let ge={},ui=[],Ye=()=>{},Yi=()=>!1,Fs=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&(s.charCodeAt(2)>122||97>s.charCodeAt(2)),ao=s=>s.startsWith("onUpdate:"),fe=Object.assign,oo=(s,t)=>{let e=s.indexOf(t);e>-1&&s.splice(e,1)},wm=Object.prototype.hasOwnProperty,Se=(s,t)=>wm.call(s,t),W=Array.isArray,pi=s=>di(s)==="[object Map]",Rs=s=>di(s)==="[object Set]",Dh=s=>di(s)==="[object Date]",Em=s=>di(s)==="[object RegExp]",ie=s=>typeof s=="function",ae=s=>typeof s=="string",dt=s=>typeof s=="symbol",Ce=s=>s!==null&&typeof s=="object",lo=s=>(Ce(s)||ie(s))&&ie(s.then)&&ie(s.catch),Oh=Object.prototype.toString,di=s=>Oh.call(s),Im=s=>di(s).slice(8,-1),Yr=s=>di(s)==="[object Object]",co=s=>ae(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,ms=Pt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nm=Pt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Qr=s=>{let t=Object.create(null);return e=>t[e]||(t[e]=s(e))},km=/-(\w)/g,Ne=Qr(s=>s.replace(km,(t,e)=>e?e.toUpperCase():"")),Lm=/\B([A-Z])/g,ft=Qr(s=>s.replace(Lm,"-$1").toLowerCase()),Gt=Qr(s=>s.charAt(0).toUpperCase()+s.slice(1)),ys=Qr(s=>s?`on${Gt(s)}`:""),lt=(s,t)=>!Object.is(s,t),fi=(s,...t)=>{for(let e=0;e<s.length;e++)s[e](...t)},Fh=(s,t,e,i=!1)=>{Object.defineProperty(s,t,{configurable:!0,enumerable:!1,writable:i,value:e})},Zr=s=>{let t=parseFloat(s);return isNaN(t)?s:t},mi=s=>{let t=ae(s)?Number(s):NaN;return isNaN(t)?s:t},en=()=>Mh||(Mh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),_m=Pt("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function Bs(s){if(W(s)){let t={};for(let e=0;e<s.length;e++){let i=s[e],r=ae(i)?Rh(i):Bs(i);if(r)for(let n in r)t[n]=r[n]}return t}if(ae(s)||Ce(s))return s}let Mm=/;(?![^(]*\))/g,Dm=/:([^]+)/,Om=/\/\*[^]*?\*\//g;function Rh(s){let t={};return s.replace(Om,"").split(Mm).forEach(e=>{if(e){let i=e.split(Dm);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Us(s){let t="";if(ae(s))t=s;else if(W(s))for(let e=0;e<s.length;e++){let i=Us(s[e]);i&&(t+=i+" ")}else if(Ce(s))for(let e in s)s[e]&&(t+=e+" ");return t.trim()}function ho(s){if(!s)return null;let{class:t,style:e}=s;return t&&!ae(t)&&(s.class=Us(t)),e&&(s.style=Bs(e)),s}let Fm=Pt("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),Rm=Pt("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),Bm=Pt("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),Um=Pt("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),jm=Pt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function gs(s,t){if(s===t)return!0;let e=Dh(s),i=Dh(t);if(e||i)return!!e&&!!i&&s.getTime()===t.getTime();if(e=dt(s),i=dt(t),e||i)return s===t;if(e=W(s),i=W(t),e||i)return!!e&&!!i&&function(r,n){if(r.length!==n.length)return!1;let a=!0;for(let o=0;a&&o<r.length;o++)a=gs(r[o],n[o]);return a}(s,t);if(e=Ce(s),i=Ce(t),e||i){if(!e||!i||Object.keys(s).length!==Object.keys(t).length)return!1;for(let r in s){let n=s.hasOwnProperty(r),a=t.hasOwnProperty(r);if(n&&!a||!n&&a||!gs(s[r],t[r]))return!1}}return String(s)===String(t)}function tn(s,t){return s.findIndex(e=>gs(e,t))}let Bh=s=>!!(s&&s.__v_isRef===!0),sn=s=>ae(s)?s:s==null?"":W(s)||Ce(s)&&(s.toString===Oh||!ie(s.toString))?Bh(s)?sn(s.value):JSON.stringify(s,Uh,2):String(s),Uh=(s,t)=>Bh(t)?Uh(s,t.value):pi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[i,r],n)=>(e[uo(i,n)+" =>"]=r,e),{})}:Rs(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>uo(e))}:dt(t)?uo(t):!Ce(t)||W(t)||Yr(t)?t:String(t),uo=(s,t="")=>{var e;return dt(s)?`Symbol(${(e=s.description)!=null?e:t})`:s};class Qi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ot,!t&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){let e=ot;try{return ot=this,t()}finally{ot=e}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this._active){let e,i;for(e=0,i=this.effects.length;e<i;e++)this.effects[e].stop();for(e=0,i=this.cleanups.length;e<i;e++)this.cleanups[e]();if(this.scopes)for(e=0,i=this.scopes.length;e<i;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){let r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function po(s){return new Qi(s)}function rn(){return ot}function fo(s,t=!1){ot&&ot.cleanups.push(s)}let mo=new WeakSet;class js{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ot&&ot.active&&ot.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,mo.has(this)&&(mo.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||jh(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,zh(this),Vh(this);let t=Me,e=Dt;Me=this,Dt=!0;try{return this.fn()}finally{$h(this),Me=t,Dt=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)xo(t);this.deps=this.depsTail=void 0,zh(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?mo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){go(this)&&this.run()}get dirty(){return go(this)}}let nn=0;function jh(s,t=!1){if(s.flags|=8,t){s.next=Gi,Gi=s;return}s.next=Xi,Xi=s}function yo(){let s;if(!(--nn>0)){if(Gi){let t=Gi;for(Gi=void 0;t;){let e=t.next;t.next=void 0,t.flags&=-9,t=e}}for(;Xi;){let t=Xi;for(Xi=void 0;t;){let e=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(i){s||(s=i)}t=e}}if(s)throw s}}function Vh(s){for(let t=s.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function $h(s){let t,e=s.depsTail,i=e;for(;i;){let r=i.prevDep;i.version===-1?(i===e&&(e=r),xo(i),function(n){let{prevDep:a,nextDep:o}=n;a&&(a.nextDep=o,n.prevDep=void 0),o&&(o.prevDep=a,n.nextDep=void 0)}(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=r}s.deps=t,s.depsTail=e}function go(s){for(let t=s.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!s._dirty}function Hh(s){if(4&s.flags&&!(16&s.flags)||(s.flags&=-17,s.globalVersion===Zi))return;s.globalVersion=Zi;let t=s.dep;if(s.flags|=2,t.version>0&&!s.isSSR&&s.deps&&!go(s)){s.flags&=-3;return}let e=Me,i=Dt;Me=s,Dt=!0;try{Vh(s);let r=s.fn(s._value);(t.version===0||lt(r,s._value))&&(s._value=r,t.version++)}catch(r){throw t.version++,r}finally{Me=e,Dt=i,$h(s),s.flags&=-3}}function xo(s,t=!1){let{dep:e,prevSub:i,nextSub:r}=s;if(i&&(i.nextSub=r,s.prevSub=void 0),r&&(r.prevSub=i,s.nextSub=void 0),e.subs===s&&(e.subs=i,!i&&e.computed)){e.computed.flags&=-5;for(let n=e.computed.deps;n;n=n.nextDep)xo(n,!0)}t||--e.sc||!e.map||e.map.delete(e.key)}function bo(s,t){s.effect instanceof js&&(s=s.effect.fn);let e=new js(s);t&&fe(e,t);try{e.run()}catch(r){throw e.stop(),r}let i=e.run.bind(e);return i.effect=e,i}function Po(s){s.effect.stop()}let Dt=!0,qh=[];function xs(){qh.push(Dt),Dt=!1}function bs(){let s=qh.pop();Dt=s===void 0||s}function zh(s){let{cleanup:t}=s;if(s.cleanup=void 0,t){let e=Me;Me=void 0;try{t()}finally{Me=e}}}let Zi=0;class Vm{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class an{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Me||!Dt||Me===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Me)e=this.activeLink=new Vm(Me,this),Me.deps?(e.prevDep=Me.depsTail,Me.depsTail.nextDep=e,Me.depsTail=e):Me.deps=Me.depsTail=e,function i(r){if(r.dep.sc++,4&r.sub.flags){let n=r.dep.computed;if(n&&!r.dep.subs){n.flags|=20;for(let o=n.deps;o;o=o.nextDep)i(o)}let a=r.dep.subs;a!==r&&(r.prevSub=a,a&&(a.nextSub=r)),r.dep.subs=r}}(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){let i=e.nextDep;i.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=i),e.prevDep=Me.depsTail,e.nextDep=void 0,Me.depsTail.nextDep=e,Me.depsTail=e,Me.deps===e&&(Me.deps=i)}return e}trigger(t){this.version++,Zi++,this.notify(t)}notify(t){nn++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{yo()}}}let on=new WeakMap,Vs=Symbol(""),To=Symbol(""),er=Symbol("");function Qe(s,t,e){if(Dt&&Me){let i=on.get(s);i||on.set(s,i=new Map);let r=i.get(e);r||(i.set(e,r=new an),r.map=i,r.key=e),r.track()}}function Yt(s,t,e,i,r,n){let a=on.get(s);if(!a){Zi++;return}let o=l=>{l&&l.trigger()};if(nn++,t==="clear")a.forEach(o);else{let l=W(s),c=l&&co(e);if(l&&e==="length"){let h=Number(i);a.forEach((u,d)=>{(d==="length"||d===er||!dt(d)&&d>=h)&&o(u)})}else switch((e!==void 0||a.has(void 0))&&o(a.get(e)),c&&o(a.get(er)),t){case"add":l?c&&o(a.get("length")):(o(a.get(Vs)),pi(s)&&o(a.get(To)));break;case"delete":!l&&(o(a.get(Vs)),pi(s)&&o(a.get(To)));break;case"set":pi(s)&&o(a.get(Vs))}}yo()}function yi(s){let t=me(s);return t===s?t:(Qe(t,"iterate",er),ct(s)?t:t.map(Ze))}function ln(s){return Qe(s=me(s),"iterate",er),s}let $m={__proto__:null,[Symbol.iterator](){return So(this,Symbol.iterator,Ze)},concat(...s){return yi(this).concat(...s.map(t=>W(t)?yi(t):t))},entries(){return So(this,"entries",s=>(s[1]=Ze(s[1]),s))},every(s,t){return Qt(this,"every",s,t,void 0,arguments)},filter(s,t){return Qt(this,"filter",s,t,e=>e.map(Ze),arguments)},find(s,t){return Qt(this,"find",s,t,Ze,arguments)},findIndex(s,t){return Qt(this,"findIndex",s,t,void 0,arguments)},findLast(s,t){return Qt(this,"findLast",s,t,Ze,arguments)},findLastIndex(s,t){return Qt(this,"findLastIndex",s,t,void 0,arguments)},forEach(s,t){return Qt(this,"forEach",s,t,void 0,arguments)},includes(...s){return vo(this,"includes",s)},indexOf(...s){return vo(this,"indexOf",s)},join(s){return yi(this).join(s)},lastIndexOf(...s){return vo(this,"lastIndexOf",s)},map(s,t){return Qt(this,"map",s,t,void 0,arguments)},pop(){return tr(this,"pop")},push(...s){return tr(this,"push",s)},reduce(s,...t){return Kh(this,"reduce",s,t)},reduceRight(s,...t){return Kh(this,"reduceRight",s,t)},shift(){return tr(this,"shift")},some(s,t){return Qt(this,"some",s,t,void 0,arguments)},splice(...s){return tr(this,"splice",s)},toReversed(){return yi(this).toReversed()},toSorted(s){return yi(this).toSorted(s)},toSpliced(...s){return yi(this).toSpliced(...s)},unshift(...s){return tr(this,"unshift",s)},values(){return So(this,"values",Ze)}};function So(s,t,e){let i=ln(s),r=i[t]();return i===s||ct(s)||(r._next=r.next,r.next=()=>{let n=r._next();return n.value&&(n.value=e(n.value)),n}),r}let Hm=Array.prototype;function Qt(s,t,e,i,r,n){let a=ln(s),o=a!==s&&!ct(s),l=a[t];if(l!==Hm[t]){let u=l.apply(s,n);return o?Ze(u):u}let c=e;a!==s&&(o?c=function(u,d){return e.call(this,Ze(u),d,s)}:e.length>2&&(c=function(u,d){return e.call(this,u,d,s)}));let h=l.call(a,c,i);return o&&r?r(h):h}function Kh(s,t,e,i){let r=ln(s),n=e;return r!==s&&(ct(s)?e.length>3&&(n=function(a,o,l){return e.call(this,a,o,l,s)}):n=function(a,o,l){return e.call(this,a,Ze(o),l,s)}),r[t](n,...i)}function vo(s,t,e){let i=me(s);Qe(i,"iterate",er);let r=i[t](...e);return(r===-1||r===!1)&&xi(e[0])?(e[0]=me(e[0]),i[t](...e)):r}function tr(s,t,e=[]){xs(),nn++;let i=me(s)[t].apply(s,e);return yo(),bs(),i}let qm=Pt("__proto__,__v_isRef,__isVue"),Wh=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(dt));function zm(s){dt(s)||(s=String(s));let t=me(this);return Qe(t,"has",s),t.hasOwnProperty(s)}class Jh{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,i){let r=this._isReadonly,n=this._isShallow;if(e==="__v_isReactive")return!r;if(e==="__v_isReadonly")return r;if(e==="__v_isShallow")return n;if(e==="__v_raw")return i===(r?n?eu:Zh:n?Qh:Yh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;let a=W(t);if(!r){let l;if(a&&(l=$m[e]))return l;if(e==="hasOwnProperty")return zm}let o=Reflect.get(t,e,je(t)?t:i);return(dt(e)?Wh.has(e):qm(e))?o:(r||Qe(t,"get",e),n?o:je(o)?a&&co(e)?o:o.value:Ce(o)?r?sr(o):gi(o):o)}}class Xh extends Jh{constructor(t=!1){super(!1,t)}set(t,e,i,r){let n=t[e];if(!this._isShallow){let l=Vt(n);if(ct(i)||Vt(i)||(n=me(n),i=me(i)),!W(t)&&je(n)&&!je(i))return!l&&(n.value=i,!0)}let a=W(t)&&co(e)?Number(e)<t.length:Se(t,e),o=Reflect.set(t,e,i,je(t)?t:r);return t===me(r)&&(a?lt(i,n)&&Yt(t,"set",e,i):Yt(t,"add",e,i)),o}deleteProperty(t,e){let i=Se(t,e);t[e];let r=Reflect.deleteProperty(t,e);return r&&i&&Yt(t,"delete",e,void 0),r}has(t,e){let i=Reflect.has(t,e);return dt(e)&&Wh.has(e)||Qe(t,"has",e),i}ownKeys(t){return Qe(t,"iterate",W(t)?"length":Vs),Reflect.ownKeys(t)}}class Gh extends Jh{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}let Km=new Xh,Wm=new Gh,Jm=new Xh(!0),Xm=new Gh(!0),Ao=s=>s,cn=s=>Reflect.getPrototypeOf(s);function hn(s){return function(...t){return s!=="delete"&&(s==="clear"?void 0:this)}}function un(s,t){let e=function(i,r){let n={get(a){let o=this.__v_raw,l=me(o),c=me(a);i||(lt(a,c)&&Qe(l,"get",a),Qe(l,"get",c));let{has:h}=cn(l),u=r?Ao:i?wo:Ze;return h.call(l,a)?u(o.get(a)):h.call(l,c)?u(o.get(c)):void(o!==l&&o.get(a))},get size(){let a=this.__v_raw;return i||Qe(me(a),"iterate",Vs),Reflect.get(a,"size",a)},has(a){let o=this.__v_raw,l=me(o),c=me(a);return i||(lt(a,c)&&Qe(l,"has",a),Qe(l,"has",c)),a===c?o.has(a):o.has(a)||o.has(c)},forEach(a,o){let l=this,c=l.__v_raw,h=me(c),u=r?Ao:i?wo:Ze;return i||Qe(h,"iterate",Vs),c.forEach((d,p)=>a.call(o,u(d),u(p),l))}};return fe(n,i?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(a){r||ct(a)||Vt(a)||(a=me(a));let o=me(this);return cn(o).has.call(o,a)||(o.add(a),Yt(o,"add",a,a)),this},set(a,o){r||ct(o)||Vt(o)||(o=me(o));let l=me(this),{has:c,get:h}=cn(l),u=c.call(l,a);u||(a=me(a),u=c.call(l,a));let d=h.call(l,a);return l.set(a,o),u?lt(o,d)&&Yt(l,"set",a,o):Yt(l,"add",a,o),this},delete(a){let o=me(this),{has:l,get:c}=cn(o),h=l.call(o,a);h||(a=me(a),h=l.call(o,a)),c&&c.call(o,a);let u=o.delete(a);return h&&Yt(o,"delete",a,void 0),u},clear(){let a=me(this),o=a.size!==0,l=a.clear();return o&&Yt(a,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=function(...o){let l=this.__v_raw,c=me(l),h=pi(c),u=a==="entries"||a===Symbol.iterator&&h,d=l[a](...o),p=r?Ao:i?wo:Ze;return i||Qe(c,"iterate",a==="keys"&&h?To:Vs),{next(){let{value:f,done:P}=d.next();return P?{value:f,done:P}:{value:u?[p(f[0]),p(f[1])]:p(f),done:P}},[Symbol.iterator](){return this}}}}),n}(s,t);return(i,r,n)=>r==="__v_isReactive"?!s:r==="__v_isReadonly"?s:r==="__v_raw"?i:Reflect.get(Se(e,r)&&r in i?e:i,r,n)}let Gm={get:un(!1,!1)},Ym={get:un(!1,!0)},Qm={get:un(!0,!1)},Zm={get:un(!0,!0)},Yh=new WeakMap,Qh=new WeakMap,Zh=new WeakMap,eu=new WeakMap;function gi(s){return Vt(s)?s:dn(s,!1,Km,Gm,Yh)}function pn(s){return dn(s,!1,Jm,Ym,Qh)}function sr(s){return dn(s,!0,Wm,Qm,Zh)}function Co(s){return dn(s,!0,Xm,Zm,eu)}function dn(s,t,e,i,r){if(!Ce(s)||s.__v_raw&&!(t&&s.__v_isReactive))return s;let n=r.get(s);if(n)return n;let a=s.__v_skip||!Object.isExtensible(s)?0:function(l){switch(l){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Im(s));if(a===0)return s;let o=new Proxy(s,a===2?i:e);return r.set(s,o),o}function jt(s){return Vt(s)?jt(s.__v_raw):!!(s&&s.__v_isReactive)}function Vt(s){return!!(s&&s.__v_isReadonly)}function ct(s){return!!(s&&s.__v_isShallow)}function xi(s){return!!s&&!!s.__v_raw}function me(s){let t=s&&s.__v_raw;return t?me(t):s}function fn(s){return!Se(s,"__v_skip")&&Object.isExtensible(s)&&Fh(s,"__v_skip",!0),s}let Ze=s=>Ce(s)?gi(s):s,wo=s=>Ce(s)?sr(s):s;function je(s){return!!s&&s.__v_isRef===!0}function $s(s){return tu(s,!1)}function mn(s){return tu(s,!0)}function tu(s,t){return je(s)?s:new ey(s,t)}class ey{constructor(t,e){this.dep=new an,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:me(t),this._value=e?t:Ze(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){let e=this._rawValue,i=this.__v_isShallow||ct(t)||Vt(t);lt(t=i?t:me(t),e)&&(this._rawValue=t,this._value=i?t:Ze(t),this.dep.trigger())}}function Eo(s){s.dep&&s.dep.trigger()}function bi(s){return je(s)?s.value:s}function Io(s){return ie(s)?s():bi(s)}let ty={get:(s,t,e)=>t==="__v_raw"?s:bi(Reflect.get(s,t,e)),set:(s,t,e,i)=>{let r=s[t];return je(r)&&!je(e)?(r.value=e,!0):Reflect.set(s,t,e,i)}};function ir(s){return jt(s)?s:new Proxy(s,ty)}class sy{constructor(t){this.__v_isRef=!0,this._value=void 0;let e=this.dep=new an,{get:i,set:r}=t(e.track.bind(e),e.trigger.bind(e));this._get=i,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function yn(s){return new sy(s)}function No(s){let t=W(s)?Array(s.length):{};for(let e in s)t[e]=su(s,e);return t}class iy{constructor(t,e,i){this._object=t,this._key=e,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){let t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return function(t,e){let i=on.get(t);return i&&i.get(e)}(me(this._object),this._key)}}class ry{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ko(s,t,e){return je(s)?s:ie(s)?new ry(s):Ce(s)&&arguments.length>1?su(s,t,e):$s(s)}function su(s,t,e){let i=s[t];return je(i)?i:new iy(s,t,e)}class ny{constructor(t,e,i){this.fn=t,this.setter=e,this._value=void 0,this.dep=new an(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Zi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=i}notify(){if(this.flags|=16,!(8&this.flags)&&Me!==this)return jh(this,!0),!0}get value(){let t=this.dep.track();return Hh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}let Lo={GET:"get",HAS:"has",ITERATE:"iterate"},_o={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},gn={},xn=new WeakMap;function Mo(){return fs}function bn(s,t=!1,e=fs){if(e){let i=xn.get(e);i||xn.set(e,i=[]),i.push(s)}}function Zt(s,t=1/0,e){if(t<=0||!Ce(s)||s.__v_skip||(e=e||new Set).has(s))return s;if(e.add(s),t--,je(s))Zt(s.value,t,e);else if(W(s))for(let i=0;i<s.length;i++)Zt(s[i],t,e);else if(Rs(s)||pi(s))s.forEach(i=>{Zt(i,t,e)});else if(Yr(s)){for(let i in s)Zt(s[i],t,e);for(let i of Object.getOwnPropertySymbols(s))Object.prototype.propertyIsEnumerable.call(s,i)&&Zt(s[i],t,e)}return s}function Do(s,t){}let Oo={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"};function Ps(s,t,e,i){try{return i?s(...i):s()}catch(r){es(r,t,e)}}function mt(s,t,e,i){if(ie(s)){let r=Ps(s,t,e,i);return r&&lo(r)&&r.catch(n=>{es(n,t,e)}),r}if(W(s)){let r=[];for(let n=0;n<s.length;n++)r.push(mt(s[n],t,e,i));return r}}function es(s,t,e,i=!0){t&&t.vnode;let{errorHandler:r,throwUnhandledErrorInProduction:n}=t&&t.appContext.config||ge;if(t){let a=t.parent,o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${e}`;for(;a;){let c=a.ec;if(c){for(let h=0;h<c.length;h++)if(c[h](s,o,l)===!1)return}a=a.parent}if(r){xs(),Ps(r,null,10,[s,o,l]),bs();return}}(function(a,o,l,c=!0,h=!1){if(h)throw a;console.error(a)})(s,0,0,i,n)}let ht=[],$t=-1,Pi=[],Ts=null,Ti=0,iu=Promise.resolve(),Pn=null;function Si(s){let t=Pn||iu;return s?t.then(this?s.bind(this):s):t}function Fo(s){if(!(1&s.flags)){let t=rr(s),e=ht[ht.length-1];!e||!(2&s.flags)&&t>=rr(e)?ht.push(s):ht.splice(function(i){let r=$t+1,n=ht.length;for(;r<n;){let a=r+n>>>1,o=ht[a],l=rr(o);l<i||l===i&&2&o.flags?r=a+1:n=a}return r}(t),0,s),s.flags|=1,ru()}}function ru(){Pn||(Pn=iu.then(function s(t){try{for($t=0;$t<ht.length;$t++){let e=ht[$t];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Ps(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;$t<ht.length;$t++){let e=ht[$t];e&&(e.flags&=-2)}$t=-1,ht.length=0,Tn(),Pn=null,(ht.length||Pi.length)&&s()}}))}function vi(s){W(s)?Pi.push(...s):Ts&&s.id===-1?Ts.splice(Ti+1,0,s):1&s.flags||(Pi.push(s),s.flags|=1),ru()}function nu(s,t,e=$t+1){for(;e<ht.length;e++){let i=ht[e];if(i&&2&i.flags){if(s&&i.id!==s.uid)continue;ht.splice(e,1),e--,4&i.flags&&(i.flags&=-2),i(),4&i.flags||(i.flags&=-2)}}}function Tn(s){if(Pi.length){let t=[...new Set(Pi)].sort((e,i)=>rr(e)-rr(i));if(Pi.length=0,Ts){Ts.push(...t);return}for(Ti=0,Ts=t;Ti<Ts.length;Ti++){let e=Ts[Ti];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Ts=null,Ti=0}}let rr=s=>s.id==null?2&s.flags?-1:1/0:s.id,ze=null,Sn=null;function nr(s){let t=ze;return ze=s,Sn=s&&s.type.__scopeId||null,t}function Ro(s){Sn=s}function Bo(){Sn=null}let Uo=s=>ar;function ar(s,t=ze,e){if(!t||s._n)return s;let i=(...r)=>{let n;i._d&&Tr(-1);let a=nr(t);try{n=s(...r)}finally{nr(a),i._d&&Tr(1)}return n};return i._n=!0,i._c=!0,i._d=!0,i}function jo(s,t){if(ze===null)return s;let e=Ar(ze),i=s.dirs||(s.dirs=[]);for(let r=0;r<t.length;r++){let[n,a,o,l=ge]=t[r];n&&(ie(n)&&(n={mounted:n,updated:n}),n.deep&&Zt(a),i.push({dir:n,instance:e,value:a,oldValue:void 0,arg:o,modifiers:l}))}return s}function Ht(s,t,e,i){let r=s.dirs,n=t&&t.dirs;for(let a=0;a<r.length;a++){let o=r[a];n&&(o.oldValue=n[a].value);let l=o.dir[i];l&&(xs(),mt(l,e,8,[s.el,o,s,t]),bs())}}let au=Symbol("_vte"),ou=s=>s.__isTeleport,or=s=>s&&(s.disabled||s.disabled===""),ay=s=>s&&(s.defer||s.defer===""),lu=s=>typeof SVGElement<"u"&&s instanceof SVGElement,cu=s=>typeof MathMLElement=="function"&&s instanceof MathMLElement,Vo=(s,t)=>{let e=s&&s.to;return ae(e)?t?t(e):null:e};function vn(s,t,e,{o:{insert:i},m:r},n=2){n===0&&i(s.targetAnchor,t,e);let{el:a,anchor:o,shapeFlag:l,children:c,props:h}=s,u=n===2;if(u&&i(a,t,e),(!u||or(h))&&16&l)for(let d=0;d<c.length;d++)r(c[d],t,e,2);u&&i(o,t,e)}let $o={name:"Teleport",__isTeleport:!0,process(s,t,e,i,r,n,a,o,l,c){let{mc:h,pc:u,pbc:d,o:{insert:p,querySelector:f,createText:P,createComment:I}}=c,T=or(t.props),{shapeFlag:m,children:g,dynamicChildren:A}=t;if(s==null){let x=t.el=P(""),C=t.anchor=P("");p(x,e,i),p(C,e,i);let k=(w,O)=>{16&m&&(r&&r.isCE&&(r.ce._teleportTarget=w),h(g,w,O,r,n,a,o,l))},B=()=>{let w=t.target=Vo(t.props,f),O=hu(w,t,P,p);w&&(a!=="svg"&&lu(w)?a="svg":a!=="mathml"&&cu(w)&&(a="mathml"),T||(k(w,O),An(t,!1)))};T&&(k(e,C),An(t,!0)),ay(t.props)?Xe(B,n):B()}else{t.el=s.el,t.targetStart=s.targetStart;let x=t.anchor=s.anchor,C=t.target=s.target,k=t.targetAnchor=s.targetAnchor,B=or(s.props),w=B?e:C;if(a==="svg"||lu(C)?a="svg":(a==="mathml"||cu(C))&&(a="mathml"),A?(d(s.dynamicChildren,A,w,r,n,a,o),Dl(s,t,!0)):l||u(s,t,w,B?x:k,r,n,a,o,!1),T)B?t.props&&s.props&&t.props.to!==s.props.to&&(t.props.to=s.props.to):vn(t,e,x,c,1);else if((t.props&&t.props.to)!==(s.props&&s.props.to)){let O=t.target=Vo(t.props,f);O&&vn(t,O,null,c,0)}else B&&vn(t,C,k,c,1);An(t,T)}},remove(s,t,e,{um:i,o:{remove:r}},n){let{shapeFlag:a,children:o,anchor:l,targetStart:c,targetAnchor:h,target:u,props:d}=s;if(u&&(r(c),r(h)),n&&r(l),16&a){let p=n||!or(d);for(let f=0;f<o.length;f++){let P=o[f];i(P,t,e,p,!!P.dynamicChildren)}}},move:vn,hydrate:function(s,t,e,i,r,n,{o:{nextSibling:a,parentNode:o,querySelector:l,insert:c,createText:h}},u){let d=t.target=Vo(t.props,l);if(d){let p=or(t.props),f=d._lpa||d.firstChild;if(16&t.shapeFlag)if(p)t.anchor=u(a(s),t,o(s),e,i,r,n),t.targetStart=f,t.targetAnchor=f&&a(f);else{t.anchor=a(s);let P=f;for(;P;){if(P&&P.nodeType===8){if(P.data==="teleport start anchor")t.targetStart=P;else if(P.data==="teleport anchor"){t.targetAnchor=P,d._lpa=t.targetAnchor&&a(t.targetAnchor);break}}P=a(P)}t.targetAnchor||hu(d,t,h,c),u(f&&a(f),t,d,e,i,r,n)}An(t,p)}return t.anchor&&a(t.anchor)}};function An(s,t){let e=s.ctx;if(e&&e.ut){let i,r;for(t?(i=s.el,r=s.anchor):(i=s.targetStart,r=s.targetAnchor);i&&i!==r;)i.nodeType===1&&i.setAttribute("data-v-owner",e.uid),i=i.nextSibling;e.ut()}}function hu(s,t,e,i){let r=t.targetStart=e(""),n=t.targetAnchor=e("");return r[au]=n,s&&(i(r,s),i(n,s)),n}let Ss=Symbol("_leaveCb"),Cn=Symbol("_enterCb");function lr(){let s={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hs(()=>{s.isMounted=!0}),Ii(()=>{s.isUnmounting=!0}),s}let wt=[Function,Array],cr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wt,onEnter:wt,onAfterEnter:wt,onEnterCancelled:wt,onBeforeLeave:wt,onLeave:wt,onAfterLeave:wt,onLeaveCancelled:wt,onBeforeAppear:wt,onAppear:wt,onAfterAppear:wt,onAppearCancelled:wt},uu=s=>{let t=s.subTree;return t.component?uu(t.component):t};function pu(s){let t=s[0];if(s.length>1){for(let e of s)if(e.type!==Ue){t=e;break}}return t}let wn={name:"BaseTransition",props:cr,setup(s,{slots:t}){let e=xt(),i=lr();return()=>{let r=t.default&&Ai(t.default(),!0);if(!r||!r.length)return;let n=pu(r),a=me(s),{mode:o}=a;if(i.isLeaving)return Ho(n);let l=fu(n);if(!l)return Ho(n);let c=vs(l,a,i,e,d=>c=d);l.type!==Ue&&Ot(l,c);let h=e.subTree,u=h&&fu(h);if(u&&u.type!==Ue&&!Rt(l,u)&&uu(e).type!==Ue){let d=vs(u,a,i,e);if(Ot(u,d),o==="out-in"&&l.type!==Ue)return i.isLeaving=!0,d.afterLeave=()=>{i.isLeaving=!1,8&e.job.flags||e.update(),delete d.afterLeave},Ho(n);o==="in-out"&&l.type!==Ue&&(d.delayLeave=(p,f,P)=>{du(i,u)[String(u.key)]=u,p[Ss]=()=>{f(),p[Ss]=void 0,delete c.delayedLeave},c.delayedLeave=P})}return n}}};function du(s,t){let{leavingVNodes:e}=s,i=e.get(t.type);return i||(i=Object.create(null),e.set(t.type,i)),i}function vs(s,t,e,i,r){let{appear:n,mode:a,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:h,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:P,onBeforeAppear:I,onAppear:T,onAfterAppear:m,onAppearCancelled:g}=t,A=String(s.key),x=du(e,s),C=(w,O)=>{w&&mt(w,i,9,O)},k=(w,O)=>{let V=O[1];C(w,O),W(w)?w.every(E=>E.length<=1)&&V():w.length<=1&&V()},B={mode:a,persisted:o,beforeEnter(w){let O=l;if(!e.isMounted){if(!n)return;O=I||l}w[Ss]&&w[Ss](!0);let V=x[A];V&&Rt(s,V)&&V.el[Ss]&&V.el[Ss](),C(O,[w])},enter(w){let O=c,V=h,E=u;if(!e.isMounted){if(!n)return;O=T||c,V=m||h,E=g||u}let q=!1,X=w[Cn]=j=>{q||(q=!0,j?C(E,[w]):C(V,[w]),B.delayedLeave&&B.delayedLeave(),w[Cn]=void 0)};O?k(O,[w,X]):X()},leave(w,O){let V=String(s.key);if(w[Cn]&&w[Cn](!0),e.isUnmounting)return O();C(d,[w]);let E=!1,q=w[Ss]=X=>{E||(E=!0,O(),X?C(P,[w]):C(f,[w]),w[Ss]=void 0,x[V]!==s||delete x[V])};x[V]=s,p?k(p,[w,q]):q()},clone(w){let O=vs(w,t,e,i,r);return r&&r(O),O}};return B}function Ho(s){if(ur(s))return(s=Et(s)).children=null,s}function fu(s){if(!ur(s))return ou(s.type)&&s.children?pu(s.children):s;let{shapeFlag:t,children:e}=s;if(e){if(16&t)return e[0];if(32&t&&ie(e.default))return e.default()}}function Ot(s,t){6&s.shapeFlag&&s.component?(s.transition=t,Ot(s.component.subTree,t)):128&s.shapeFlag?(s.ssContent.transition=t.clone(s.ssContent),s.ssFallback.transition=t.clone(s.ssFallback)):s.transition=t}function Ai(s,t=!1,e){let i=[],r=0;for(let n=0;n<s.length;n++){let a=s[n],o=e==null?a.key:String(e)+String(a.key!=null?a.key:n);a.type===qe?(128&a.patchFlag&&r++,i=i.concat(Ai(a.children,t,o))):(t||a.type!==Ue)&&i.push(o!=null?Et(a,{key:o}):a)}if(r>1)for(let n=0;n<i.length;n++)i[n].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function hr(s,t){return ie(s)?fe({name:s.name},t,{setup:s}):s}function qo(){let s=xt();return s?(s.appContext.config.idPrefix||"v")+"-"+s.ids[0]+s.ids[1]++:""}function zo(s){s.ids=[s.ids[0]+s.ids[2]+++"-",0,0]}function Ko(s){let t=xt(),e=mn(null);return t&&Object.defineProperty(t.refs===ge?t.refs={}:t.refs,s,{enumerable:!0,get:()=>e.value,set:i=>e.value=i}),e}function En(s,t,e,i,r=!1){if(W(s)){s.forEach((f,P)=>En(f,t&&(W(t)?t[P]:t),e,i,r));return}if(As(i)&&!r)return;let n=4&i.shapeFlag?Ar(i.component):i.el,a=r?null:n,{i:o,r:l}=s,c=t&&t.r,h=o.refs===ge?o.refs={}:o.refs,u=o.setupState,d=me(u),p=u===ge?()=>!1:f=>Se(d,f);if(c!=null&&c!==l&&(ae(c)?(h[c]=null,p(c)&&(u[c]=null)):je(c)&&(c.value=null)),ie(l))Ps(l,o,12,[a,h]);else{let f=ae(l),P=je(l);if(f||P){let I=()=>{if(s.f){let T=f?p(l)?u[l]:h[l]:l.value;r?W(T)&&oo(T,n):W(T)?T.includes(n)||T.push(n):f?(h[l]=[n],p(l)&&(u[l]=h[l])):(l.value=[n],s.k&&(h[s.k]=l.value))}else f?(h[l]=a,p(l)&&(u[l]=a)):P&&(l.value=a,s.k&&(h[s.k]=a))};a?(I.id=-1,Xe(I,e)):I()}}}let mu=!1,Ci=()=>{mu||(console.error("Hydration completed but contains mismatches."),mu=!0)},oy=s=>s.namespaceURI.includes("svg")&&s.tagName!=="foreignObject",ly=s=>s.namespaceURI.includes("MathML"),In=s=>{if(s.nodeType===1){if(oy(s))return"svg";if(ly(s))return"mathml"}},wi=s=>s.nodeType===8;function cy(s){let{mt:t,p:e,o:{patchProp:i,createText:r,nextSibling:n,parentNode:a,remove:o,insert:l,createComment:c}}=s,h=(m,g,A,x,C,k=!1)=>{k=k||!!g.dynamicChildren;let B=wi(m)&&m.data==="[",w=()=>f(m,g,A,x,C,B),{type:O,ref:V,shapeFlag:E,patchFlag:q}=g,X=m.nodeType;g.el=m,q===-2&&(k=!1,g.dynamicChildren=null);let j=null;switch(O){case qt:X!==3?g.children===""?(l(g.el=r(""),a(m),m),j=m):j=w():(m.data!==g.children&&(Ci(),m.data=g.children),j=n(m));break;case Ue:T(m)?(j=n(m),I(g.el=m.content.firstChild,m,A)):j=X!==8||B?w():n(m);break;case ss:if(B&&(X=(m=n(m)).nodeType),X===1||X===3){j=m;let U=!g.children.length;for(let F=0;F<g.staticCount;F++)U&&(g.children+=j.nodeType===1?j.outerHTML:j.data),F===g.staticCount-1&&(g.anchor=j),j=n(j);return B?n(j):j}w();break;case qe:j=B?p(m,g,A,x,C,k):w();break;default:if(1&E)j=X===1&&g.type.toLowerCase()===m.tagName.toLowerCase()||T(m)?u(m,g,A,x,C,k):w();else if(6&E){g.slotScopeIds=C;let U=a(m);if(j=B?P(m):wi(m)&&m.data==="teleport start"?P(m,m.data,"teleport end"):n(m),t(g,U,null,A,x,In(U),k),As(g)){let F;B?(F=ke(qe)).anchor=j?j.previousSibling:U.lastChild:F=m.nodeType===3?vr(""):ke("div"),F.el=m,g.component.subTree=F}}else 64&E?j=X!==8?w():g.type.hydrate(m,g,A,x,C,k,s,d):128&E&&(j=g.type.hydrate(m,g,A,x,In(a(m)),C,k,s,h))}return V!=null&&En(V,null,x,g),j},u=(m,g,A,x,C,k)=>{k=k||!!g.dynamicChildren;let{type:B,props:w,patchFlag:O,shapeFlag:V,dirs:E,transition:q}=g,X=B==="input"||B==="option";if(X||O!==-1){let j;E&&Ht(g,null,A,"created");let U=!1;if(T(m)){U=Ou(null,q)&&A&&A.vnode.props&&A.vnode.props.appear;let F=m.content.firstChild;U&&q.beforeEnter(F),I(F,m,A),g.el=m=F}if(16&V&&!(w&&(w.innerHTML||w.textContent))){let F=d(m.firstChild,g,m,A,x,C,k);for(;F;){Nn(m,1)||Ci();let Z=F;F=F.nextSibling,o(Z)}}else if(8&V){let F=g.children;F[0]===`
|
|
16
|
-
`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(F=F.slice(1)),m.textContent!==F&&(Nn(m,0)||Ci(),m.textContent=g.children)}if(w){if(X||!k||48&O){let F=m.tagName.includes("-");for(let Z in w)(X&&(Z.endsWith("value")||Z==="indeterminate")||Fs(Z)&&!ms(Z)||Z[0]==="."||F)&&i(m,Z,null,w[Z],void 0,A)}else if(w.onClick)i(m,"onClick",null,w.onClick,void 0,A);else if(4&O&&jt(w.style))for(let F in w.style)w.style[F]}(j=w&&w.onVnodeBeforeMount)&>(j,A,g),E&&Ht(g,null,A,"beforeMount"),((j=w&&w.onVnodeMounted)||E||U)&&Vu(()=>{j&>(j,A,g),U&&q.enter(m),E&&Ht(g,null,A,"mounted")},x)}return m.nextSibling},d=(m,g,A,x,C,k,B)=>{B=B||!!g.dynamicChildren;let w=g.children,O=w.length;for(let V=0;V<O;V++){let E=B?w[V]:w[V]=yt(w[V]),q=E.type===qt;m?(q&&!B&&V+1<O&&yt(w[V+1]).type===qt&&(l(r(m.data.slice(E.children.length)),A,n(m)),m.data=E.children),m=h(m,E,x,C,k,B)):q&&!E.children?l(E.el=r(""),A):(Nn(A,1)||Ci(),e(null,E,A,null,x,C,In(A),k))}return m},p=(m,g,A,x,C,k)=>{let{slotScopeIds:B}=g;B&&(C=C?C.concat(B):B);let w=a(m),O=d(n(m),g,w,A,x,C,k);return O&&wi(O)&&O.data==="]"?n(g.anchor=O):(Ci(),l(g.anchor=c("]"),w,O),O)},f=(m,g,A,x,C,k)=>{if(Nn(m.parentElement,1)||Ci(),g.el=null,k){let O=P(m);for(;;){let V=n(m);if(V&&V!==O)o(V);else break}}let B=n(m),w=a(m);return o(m),e(null,g,w,B,A,x,In(w),C),B},P=(m,g="[",A="]")=>{let x=0;for(;m;)if((m=n(m))&&wi(m)&&(m.data===g&&x++,m.data===A)){if(x===0)return n(m);x--}return m},I=(m,g,A)=>{let x=g.parentNode;x&&x.replaceChild(m,g);let C=A;for(;C;)C.vnode.el===g&&(C.vnode.el=C.subTree.el=m),C=C.parent},T=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[(m,g)=>{if(!g.hasChildNodes()){e(null,m,g),Tn(),g._vnode=m;return}h(g.firstChild,m,null,null,null),Tn(),g._vnode=m},h]}let yu="data-allow-mismatch",hy={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Nn(s,t){if(t===0||t===1)for(;s&&!s.hasAttribute(yu);)s=s.parentElement;let e=s&&s.getAttribute(yu);if(e==null)return!1;if(e==="")return!0;{let i=e.split(",");return!!(t===0&&i.includes("children"))||e.split(",").includes(hy[t])}}let uy=en().requestIdleCallback||(s=>setTimeout(s,1)),py=en().cancelIdleCallback||(s=>clearTimeout(s)),Wo=(s=1e4)=>t=>{let e=uy(t,{timeout:s});return()=>py(e)},Jo=s=>(t,e)=>{let i=new IntersectionObserver(r=>{for(let n of r)if(n.isIntersecting){i.disconnect(),t();break}},s);return e(r=>{if(r instanceof Element){if(function(n){let{top:a,left:o,bottom:l,right:c}=n.getBoundingClientRect(),{innerHeight:h,innerWidth:u}=window;return(a>0&&a<h||l>0&&l<h)&&(o>0&&o<u||c>0&&c<u)}(r))return t(),i.disconnect(),!1;i.observe(r)}}),()=>i.disconnect()},Xo=s=>t=>{if(s){let e=matchMedia(s);if(!e.matches)return e.addEventListener("change",t,{once:!0}),()=>e.removeEventListener("change",t);t()}},Go=(s=[])=>(t,e)=>{ae(s)&&(s=[s]);let i=!1,r=a=>{i||(i=!0,n(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},n=()=>{e(a=>{for(let o of s)a.removeEventListener(o,r)})};return e(a=>{for(let o of s)a.addEventListener(o,r,{once:!0})}),n},As=s=>!!s.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Yo(s){let t;ie(s)&&(s={loader:s});let{loader:e,loadingComponent:i,errorComponent:r,delay:n=200,hydrate:a,timeout:o,suspensible:l=!0,onError:c}=s,h=null,u=0,d=()=>(u++,h=null,p()),p=()=>{let f;return h||(f=h=e().catch(P=>{if(P=P instanceof Error?P:Error(String(P)),c)return new Promise((I,T)=>{c(P,()=>I(d()),()=>T(P),u+1)});throw P}).then(P=>f!==h&&h?h:(P&&(P.__esModule||P[Symbol.toStringTag]==="Module")&&(P=P.default),t=P,P)))};return hr({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(f,P,I){let T=a?()=>{let m=a(I,g=>function(A,x){if(wi(A)&&A.data==="["){let C=1,k=A.nextSibling;for(;k;){if(k.nodeType===1){if(x(k)===!1)break}else if(wi(k))if(k.data==="]"){if(--C==0)break}else k.data==="["&&C++;k=k.nextSibling}}else x(A)}(f,g));m&&(P.bum||(P.bum=[])).push(m)}:I;t?T():p().then(()=>!P.isUnmounted&&T())},get __asyncResolved(){return t},setup(){let f=Ke;if(zo(f),t)return()=>Qo(t,f);let P=g=>{h=null,es(g,f,13,!r)};if(l&&f.suspense||_i)return p().then(g=>()=>Qo(g,f)).catch(g=>(P(g),()=>r?ke(r,{error:g}):null));let I=$s(!1),T=$s(),m=$s(!!n);return n&&setTimeout(()=>{m.value=!1},n),o!=null&&setTimeout(()=>{if(!I.value&&!T.value){let g=Error(`Async component timed out after ${o}ms.`);P(g),T.value=g}},o),p().then(()=>{I.value=!0,f.parent&&ur(f.parent.vnode)&&f.parent.update()}).catch(g=>{P(g),T.value=g}),()=>I.value&&t?Qo(t,f):T.value&&r?ke(r,{error:T.value}):i&&!m.value?ke(i):void 0}})}function Qo(s,t){let{ref:e,props:i,children:r,ce:n}=t.vnode,a=ke(s,i,r);return a.ref=e,a.ce=n,delete t.vnode.ce,a}let ur=s=>s.type.__isKeepAlive,Zo={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(s,{slots:t}){let e=xt(),i=e.ctx;if(!i.renderer)return()=>{let m=t.default&&t.default();return m&&m.length===1?m[0]:m};let r=new Map,n=new Set,a=null,o=e.suspense,{renderer:{p:l,m:c,um:h,o:{createElement:u}}}=i,d=u("div");function p(m){el(m),h(m,e,o,!0)}function f(m){r.forEach((g,A)=>{let x=Jl(g.type);x&&!m(x)&&P(A)})}function P(m){let g=r.get(m);!g||a&&Rt(g,a)?a&&el(a):p(g),r.delete(m),n.delete(m)}i.activate=(m,g,A,x,C)=>{let k=m.component;c(m,g,A,0,o),l(k.vnode,m,g,A,k,o,x,m.slotScopeIds,C),Xe(()=>{k.isDeactivated=!1,k.a&&fi(k.a);let B=m.props&&m.props.onVnodeMounted;B&>(B,k.parent,m)},o)},i.deactivate=m=>{let g=m.component;$n(g.m),$n(g.a),c(m,d,null,1,o),Xe(()=>{g.da&&fi(g.da);let A=m.props&&m.props.onVnodeUnmounted;A&>(A,g.parent,m),g.isDeactivated=!0},o)},Ws(()=>[s.include,s.exclude],([m,g])=>{m&&f(A=>pr(m,A)),g&&f(A=>!pr(g,A))},{flush:"post",deep:!0});let I=null,T=()=>{I!=null&&(Xn(e.subTree.type)?Xe(()=>{r.set(I,_n(e.subTree))},e.subTree.suspense):r.set(I,_n(e.subTree)))};return Hs(T),Ei(T),Ii(()=>{r.forEach(m=>{let{subTree:g,suspense:A}=e,x=_n(g);if(m.type===x.type&&m.key===x.key){el(x);let C=x.component.da;C&&Xe(C,A);return}p(m)})}),()=>{if(I=null,!t.default)return a=null;let m=t.default(),g=m[0];if(m.length>1)return a=null,m;if(!Ft(g)||!(4&g.shapeFlag)&&!(128&g.shapeFlag))return a=null,g;let A=_n(g);if(A.type===Ue)return a=null,A;let x=A.type,C=Jl(As(A)?A.type.__asyncResolved||{}:x),{include:k,exclude:B,max:w}=s;if(k&&(!C||!pr(k,C))||B&&C&&pr(B,C))return A.shapeFlag&=-257,a=A,g;let O=A.key==null?x:A.key,V=r.get(O);return A.el&&(A=Et(A),128&g.shapeFlag&&(g.ssContent=A)),I=O,V?(A.el=V.el,A.component=V.component,A.transition&&Ot(A,A.transition),A.shapeFlag|=512,n.delete(O),n.add(O)):(n.add(O),w&&n.size>parseInt(w,10)&&P(n.values().next().value)),A.shapeFlag|=256,a=A,Xn(g.type)?g:A}}};function pr(s,t){return W(s)?s.some(e=>pr(e,t)):ae(s)?s.split(",").includes(t):!!Em(s)&&(s.lastIndex=0,s.test(t))}function kn(s,t){gu(s,"a",t)}function Ln(s,t){gu(s,"da",t)}function gu(s,t,e=Ke){let i=s.__wdc||(s.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return s()});if(Mn(t,i,e),e){let r=e.parent;for(;r&&r.parent;)ur(r.parent.vnode)&&function(n,a,o,l){let c=Mn(a,n,l,!0);Ni(()=>{oo(l[a],c)},o)}(i,t,e,r),r=r.parent}}function el(s){s.shapeFlag&=-257,s.shapeFlag&=-513}function _n(s){return 128&s.shapeFlag?s.ssContent:s}function Mn(s,t,e=Ke,i=!1){if(e){let r=e[s]||(e[s]=[]),n=t.__weh||(t.__weh=(...a)=>{xs();let o=Gs(e),l=mt(t,e,s,a);return o(),bs(),l});return i?r.unshift(n):r.push(n),n}}let ts=s=>(t,e=Ke)=>{_i&&s!=="sp"||Mn(s,(...i)=>t(...i),e)},dr=ts("bm"),Hs=ts("m"),Dn=ts("bu"),Ei=ts("u"),Ii=ts("bum"),Ni=ts("um"),On=ts("sp"),Fn=ts("rtg"),Rn=ts("rtc");function Bn(s,t=Ke){Mn("ec",s,t)}let tl="components";function sl(s,t){return nl(tl,s,!0,t)||s}let xu=Symbol.for("v-ndc");function il(s){return ae(s)?nl(tl,s,!1)||s:s||xu}function rl(s){return nl("directives",s)}function nl(s,t,e=!0,i=!1){let r=ze||Ke;if(r){let n=r.type;if(s===tl){let o=Jl(n,!1);if(o&&(o===t||o===Ne(t)||o===Gt(Ne(t))))return n}let a=bu(r[s]||n[s],t)||bu(r.appContext[s],t);return!a&&i?n:a}}function bu(s,t){return s&&(s[t]||s[Ne(t)]||s[Gt(Ne(t))])}function al(s,t,e,i){let r,n=e&&e[i],a=W(s);if(a||ae(s)){let o=a&&jt(s),l=!1;o&&(l=!ct(s),s=ln(s)),r=Array(s.length);for(let c=0,h=s.length;c<h;c++)r[c]=t(l?Ze(s[c]):s[c],c,void 0,n&&n[c])}else if(typeof s=="number"){r=Array(s);for(let o=0;o<s;o++)r[o]=t(o+1,o,void 0,n&&n[o])}else if(Ce(s))if(s[Symbol.iterator])r=Array.from(s,(o,l)=>t(o,l,void 0,n&&n[l]));else{let o=Object.keys(s);r=Array(o.length);for(let l=0,c=o.length;l<c;l++){let h=o[l];r[l]=t(s[h],h,l,n&&n[l])}}else r=[];return e&&(e[i]=r),r}function ol(s,t){for(let e=0;e<t.length;e++){let i=t[e];if(W(i))for(let r=0;r<i.length;r++)s[i[r].name]=i[r].fn;else i&&(s[i.name]=i.key?(...r)=>{let n=i.fn(...r);return n&&(n.key=i.key),n}:i.fn)}return s}function ll(s,t,e={},i,r){if(ze.ce||ze.parent&&As(ze.parent)&&ze.parent.ce)return t!=="default"&&(e.name=t),Js(),Li(qe,null,[ke("slot",e,i&&i())],64);let n=s[t];n&&n._c&&(n._d=!1),Js();let a=n&&cl(n(e)),o=e.key||a&&a.key,l=Li(qe,{key:(o&&!dt(o)?o:`_${t}`)+(!a&&i?"_fb":"")},a||(i?i():[]),a&&s._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),n&&n._c&&(n._d=!0),l}function cl(s){return s.some(t=>!Ft(t)||!!(t.type!==Ue&&(t.type!==qe||cl(t.children))))?s:null}function hl(s,t){let e={};for(let i in s)e[t&&/[A-Z]/.test(i)?`on:${i}`:ys(i)]=s[i];return e}let ul=s=>s?Ku(s)?Ar(s):ul(s.parent):null,fr=fe(Object.create(null),{$:s=>s,$el:s=>s.vnode.el,$data:s=>s.data,$props:s=>s.props,$attrs:s=>s.attrs,$slots:s=>s.slots,$refs:s=>s.refs,$parent:s=>ul(s.parent),$root:s=>ul(s.root),$host:s=>s.ce,$emit:s=>s.emit,$options:s=>Il(s),$forceUpdate:s=>s.f||(s.f=()=>{Fo(s.update)}),$nextTick:s=>s.n||(s.n=Si.bind(s.proxy)),$watch:s=>Py.bind(s)}),pl=(s,t)=>s!==ge&&!s.__isScriptSetup&&Se(s,t),dl={get({_:s},t){let e,i,r;if(t==="__v_skip")return!0;let{ctx:n,setupState:a,data:o,props:l,accessCache:c,type:h,appContext:u}=s;if(t[0]!=="$"){let p=c[t];if(p!==void 0)switch(p){case 1:return a[t];case 2:return o[t];case 4:return n[t];case 3:return l[t]}else{if(pl(a,t))return c[t]=1,a[t];if(o!==ge&&Se(o,t))return c[t]=2,o[t];if((e=s.propsOptions[0])&&Se(e,t))return c[t]=3,l[t];if(n!==ge&&Se(n,t))return c[t]=4,n[t];El&&(c[t]=0)}}let d=fr[t];return d?(t==="$attrs"&&Qe(s.attrs,"get",""),d(s)):(i=h.__cssModules)&&(i=i[t])?i:n!==ge&&Se(n,t)?(c[t]=4,n[t]):Se(r=u.config.globalProperties,t)?r[t]:void 0},set({_:s},t,e){let{data:i,setupState:r,ctx:n}=s;return pl(r,t)?(r[t]=e,!0):i!==ge&&Se(i,t)?(i[t]=e,!0):!Se(s.props,t)&&!(t[0]==="$"&&t.slice(1)in s)&&(n[t]=e,!0)},has({_:{data:s,setupState:t,accessCache:e,ctx:i,appContext:r,propsOptions:n}},a){let o;return!!e[a]||s!==ge&&Se(s,a)||pl(t,a)||(o=n[0])&&Se(o,a)||Se(i,a)||Se(fr,a)||Se(r.config.globalProperties,a)},defineProperty(s,t,e){return e.get!=null?s._.accessCache[t]=0:Se(e,"value")&&this.set(s,t,e.value,null),Reflect.defineProperty(s,t,e)}},dy=fe({},dl,{get(s,t){if(t!==Symbol.unscopables)return dl.get(s,t,s)},has:(s,t)=>t[0]!=="_"&&!_m(t)});function fl(){return null}function ml(){return null}function yl(s){}function gl(s){}function xl(){return null}function bl(){}function Pl(s,t){return null}function Tl(){return Pu().slots}function Sl(){return Pu().attrs}function Pu(){let s=xt();return s.setupContext||(s.setupContext=Xu(s))}function mr(s){return W(s)?s.reduce((t,e)=>(t[e]=null,t),{}):s}function vl(s,t){let e=mr(s);for(let i in t){if(i.startsWith("__skip"))continue;let r=e[i];r?W(r)||ie(r)?r=e[i]={type:r,default:t[i]}:r.default=t[i]:r===null&&(r=e[i]={default:t[i]}),r&&t[`__skip_${i}`]&&(r.skipFactory=!0)}return e}function Al(s,t){return s&&t?W(s)&&W(t)?s.concat(t):fe({},mr(s),mr(t)):s||t}function Cl(s,t){let e={};for(let i in s)t.includes(i)||Object.defineProperty(e,i,{enumerable:!0,get:()=>s[i]});return e}function wl(s){let t=xt(),e=s();return zl(),lo(e)&&(e=e.catch(i=>{throw Gs(t),i})),[e,()=>Gs(t)]}let El=!0;function Tu(s,t,e){mt(W(s)?s.map(i=>i.bind(t.proxy)):s.bind(t.proxy),t,e)}function Il(s){let t,e=s.type,{mixins:i,extends:r}=e,{mixins:n,optionsCache:a,config:{optionMergeStrategies:o}}=s.appContext,l=a.get(e);return l?t=l:n.length||i||r?(t={},n.length&&n.forEach(c=>Un(t,c,o,!0)),Un(t,e,o)):t=e,Ce(e)&&a.set(e,t),t}function Un(s,t,e,i=!1){let{mixins:r,extends:n}=t;for(let a in n&&Un(s,n,e,!0),r&&r.forEach(o=>Un(s,o,e,!0)),t)if(!(i&&a==="expose")){let o=fy[a]||e&&e[a];s[a]=o?o(s[a],t[a]):t[a]}return s}let fy={data:Su,props:vu,emits:vu,methods:yr,computed:yr,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:yr,directives:yr,watch:function(s,t){if(!s)return t;if(!t)return s;let e=fe(Object.create(null),s);for(let i in t)e[i]=ut(s[i],t[i]);return e},provide:Su,inject:function(s,t){return yr(Nl(s),Nl(t))}};function Su(s,t){return t?s?function(){return fe(ie(s)?s.call(this,this):s,ie(t)?t.call(this,this):t)}:t:s}function Nl(s){if(W(s)){let t={};for(let e=0;e<s.length;e++)t[s[e]]=s[e];return t}return s}function ut(s,t){return s?[...new Set([].concat(s,t))]:t}function yr(s,t){return s?fe(Object.create(null),s,t):t}function vu(s,t){return s?W(s)&&W(t)?[...new Set([...s,...t])]:fe(Object.create(null),mr(s),mr(t??{})):t}function Au(){return{app:null,config:{isNativeTag:Yi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let my=0,qs=null;function jn(s,t){if(Ke){let e=Ke.provides,i=Ke.parent&&Ke.parent.provides;i===e&&(e=Ke.provides=Object.create(i)),e[s]=t}}function zs(s,t,e=!1){let i=Ke||ze;if(i||qs){let r=qs?qs._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&s in r)return r[s];if(arguments.length>1)return e&&ie(t)?t.call(i&&i.proxy):t}}function kl(){return!!(Ke||ze||qs)}let Cu={},wu=()=>Object.create(Cu),Eu=s=>Object.getPrototypeOf(s)===Cu;function Iu(s,t,e,i){let r,[n,a]=s.propsOptions,o=!1;if(t)for(let l in t){let c;if(ms(l))continue;let h=t[l];n&&Se(n,c=Ne(l))?a&&a.includes(c)?(r||(r={}))[c]=h:e[c]=h:Wn(s.emitsOptions,l)||l in i&&h===i[l]||(i[l]=h,o=!0)}if(a){let l=me(e),c=r||ge;for(let h=0;h<a.length;h++){let u=a[h];e[u]=Ll(n,l,u,c[u],s,!Se(c,u))}}return o}function Ll(s,t,e,i,r,n){let a=s[e];if(a!=null){let o=Se(a,"default");if(o&&i===void 0){let l=a.default;if(a.type!==Function&&!a.skipFactory&&ie(l)){let{propsDefaults:c}=r;if(e in c)i=c[e];else{let h=Gs(r);i=c[e]=l.call(null,t),h()}}else i=l;r.ce&&r.ce._setProp(e,i)}a[0]&&(n&&!o?i=!1:a[1]&&(i===""||i===ft(e))&&(i=!0))}return i}let yy=new WeakMap;function Nu(s){return!(s[0]==="$"||ms(s))}let ku=s=>s[0]==="_"||s==="$stable",_l=s=>W(s)?s.map(yt):[yt(s)],gy=(s,t,e)=>{if(t._n)return t;let i=ar((...r)=>_l(t(...r)),e);return i._c=!1,i},Lu=(s,t,e)=>{let i=s._ctx;for(let r in s){if(ku(r))continue;let n=s[r];if(ie(n))t[r]=gy(r,n,i);else if(n!=null){let a=_l(n);t[r]=()=>a}}},_u=(s,t)=>{let e=_l(t);s.slots.default=()=>e},Mu=(s,t,e)=>{for(let i in t)(e||i!=="_")&&(s[i]=t[i])},xy=(s,t,e)=>{let i=s.slots=wu();if(32&s.vnode.shapeFlag){let r=t._;r?(Mu(i,t,e),e&&Fh(i,"_",r,!0)):Lu(t,i)}else t&&_u(s,t)},by=(s,t,e)=>{let{vnode:i,slots:r}=s,n=!0,a=ge;if(32&i.shapeFlag){let o=t._;o?e&&o===1?n=!1:Mu(r,t,e):(n=!t.$stable,Lu(t,r)),a=t}else t&&(_u(s,t),a={default:1});if(n)for(let o in r)ku(o)||a[o]!=null||delete r[o]},Xe=Vu;function gr(s){return Du(s)}function Vn(s){return Du(s,cy)}function Du(s,t){var e;let i,r;en().__VUE__=!0;let{insert:n,remove:a,patchProp:o,createElement:l,createText:c,createComment:h,setText:u,setElementText:d,parentNode:p,nextSibling:f,setScopeId:P=Ye,insertStaticContent:I}=s,T=(y,S,N,$=null,M=null,D=null,H,_=null,R=!!S.dynamicChildren)=>{if(y===S)return;y&&!Rt(y,S)&&($=se(y),be(y,M,D,!0),y=null),S.patchFlag===-2&&(R=!1,S.dynamicChildren=null);let{type:L,ref:G,shapeFlag:Q}=S;switch(L){case qt:m(y,S,N,$);break;case Ue:g(y,S,N,$);break;case ss:y==null&&A(S,N,$,H);break;case qe:X(y,S,N,$,M,D,H,_,R);break;default:1&Q?k(y,S,N,$,M,D,H,_,R):6&Q?j(y,S,N,$,M,D,H,_,R):(64&Q||128&Q)&&L.process(y,S,N,$,M,D,H,_,R,ls)}G!=null&&M&&En(G,y&&y.ref,D,S||y,!S)},m=(y,S,N,$)=>{if(y==null)n(S.el=c(S.children),N,$);else{let M=S.el=y.el;S.children!==y.children&&u(M,S.children)}},g=(y,S,N,$)=>{y==null?n(S.el=h(S.children||""),N,$):S.el=y.el},A=(y,S,N,$)=>{[y.el,y.anchor]=I(y.children,S,N,$,y.el,y.anchor)},x=({el:y,anchor:S},N,$)=>{let M;for(;y&&y!==S;)M=f(y),n(y,N,$),y=M;n(S,N,$)},C=({el:y,anchor:S})=>{let N;for(;y&&y!==S;)N=f(y),a(y),y=N;a(S)},k=(y,S,N,$,M,D,H,_,R)=>{S.type==="svg"?H="svg":S.type==="math"&&(H="mathml"),y==null?B(S,N,$,M,D,H,_,R):V(y,S,M,D,H,_,R)},B=(y,S,N,$,M,D,H,_)=>{let R,L,{props:G,shapeFlag:Q,transition:K,dirs:J}=y;if(R=y.el=l(y.type,D,G&&G.is,G),8&Q?d(R,y.children):16&Q&&O(y.children,R,null,$,M,Ml(y,D),H,_),J&&Ht(y,null,$,"created"),w(R,y,y.scopeId,H,$),G){for(let oe in G)oe==="value"||ms(oe)||o(R,oe,null,G[oe],D,$);"value"in G&&o(R,"value",null,G.value,D),(L=G.onVnodeBeforeMount)&>(L,$,y)}J&&Ht(y,null,$,"beforeMount");let pe=Ou(M,K);pe&&K.beforeEnter(R),n(R,S,N),((L=G&&G.onVnodeMounted)||pe||J)&&Xe(()=>{L&>(L,$,y),pe&&K.enter(R),J&&Ht(y,null,$,"mounted")},M)},w=(y,S,N,$,M)=>{if(N&&P(y,N),$)for(let D=0;D<$.length;D++)P(y,$[D]);if(M){let D=M.subTree;if(S===D||Xn(D.type)&&(D.ssContent===S||D.ssFallback===S)){let H=M.vnode;w(y,H,H.scopeId,H.slotScopeIds,M.parent)}}},O=(y,S,N,$,M,D,H,_,R=0)=>{for(let L=R;L<y.length;L++)T(null,y[L]=_?Cs(y[L]):yt(y[L]),S,N,$,M,D,H,_)},V=(y,S,N,$,M,D,H)=>{let _,R=S.el=y.el,{patchFlag:L,dynamicChildren:G,dirs:Q}=S;L|=16&y.patchFlag;let K=y.props||ge,J=S.props||ge;if(N&&Ks(N,!1),(_=J.onVnodeBeforeUpdate)&>(_,N,S,y),Q&&Ht(S,y,N,"beforeUpdate"),N&&Ks(N,!0),(K.innerHTML&&J.innerHTML==null||K.textContent&&J.textContent==null)&&d(R,""),G?E(y.dynamicChildren,G,R,N,$,Ml(S,M),D):H||le(y,S,R,null,N,$,Ml(S,M),D,!1),L>0){if(16&L)q(R,K,J,N,M);else if(2&L&&K.class!==J.class&&o(R,"class",null,J.class,M),4&L&&o(R,"style",K.style,J.style,M),8&L){let pe=S.dynamicProps;for(let oe=0;oe<pe.length;oe++){let Pe=pe[oe],rt=K[Pe],Je=J[Pe];(Je!==rt||Pe==="value")&&o(R,Pe,rt,Je,M,N)}}1&L&&y.children!==S.children&&d(R,S.children)}else H||G!=null||q(R,K,J,N,M);((_=J.onVnodeUpdated)||Q)&&Xe(()=>{_&>(_,N,S,y),Q&&Ht(S,y,N,"updated")},$)},E=(y,S,N,$,M,D,H)=>{for(let _=0;_<S.length;_++){let R=y[_],L=S[_],G=R.el&&(R.type===qe||!Rt(R,L)||70&R.shapeFlag)?p(R.el):N;T(R,L,G,null,$,M,D,H,!0)}},q=(y,S,N,$,M)=>{if(S!==N){if(S!==ge)for(let D in S)ms(D)||D in N||o(y,D,S[D],null,M,$);for(let D in N){if(ms(D))continue;let H=N[D],_=S[D];H!==_&&D!=="value"&&o(y,D,_,H,M,$)}"value"in N&&o(y,"value",S.value,N.value,M)}},X=(y,S,N,$,M,D,H,_,R)=>{let L=S.el=y?y.el:c(""),G=S.anchor=y?y.anchor:c(""),{patchFlag:Q,dynamicChildren:K,slotScopeIds:J}=S;J&&(_=_?_.concat(J):J),y==null?(n(L,N,$),n(G,N,$),O(S.children||[],N,G,M,D,H,_,R)):Q>0&&64&Q&&K&&y.dynamicChildren?(E(y.dynamicChildren,K,N,M,D,H,_),(S.key!=null||M&&S===M.subTree)&&Dl(y,S,!0)):le(y,S,N,G,M,D,H,_,R)},j=(y,S,N,$,M,D,H,_,R)=>{S.slotScopeIds=_,y==null?512&S.shapeFlag?M.ctx.activate(S,N,$,H,R):U(S,N,$,M,D,H,R):F(y,S,R)},U=(y,S,N,$,M,D,H)=>{let _=y.component=zu(y,$,M);ur(y)&&(_.ctx.renderer=ls),Wu(_,!1,H),_.asyncDep?(M&&M.registerDep(_,Z,H),y.el||g(null,_.subTree=ke(Ue),S,N)):Z(_,y,S,N,M,D,H)},F=(y,S,N)=>{let $=S.component=y.component;if(function(M,D,H){let{props:_,children:R,component:L}=M,{props:G,children:Q,patchFlag:K}=D,J=L.emitsOptions;if(D.dirs||D.transition)return!0;if(!H||!(K>=0))return(!!R||!!Q)&&(!Q||!Q.$stable)||_!==G&&(_?!G||Bu(_,G,J):!!G);if(1024&K)return!0;if(16&K)return _?Bu(_,G,J):!!G;if(8&K){let pe=D.dynamicProps;for(let oe=0;oe<pe.length;oe++){let Pe=pe[oe];if(G[Pe]!==_[Pe]&&!Wn(J,Pe))return!0}}return!1}(y,S,N)){if($.asyncDep&&!$.asyncResolved){xe($,S,N);return}$.next=S,$.update()}else S.el=y.el,$.vnode=S},Z=(y,S,N,$,M,D,H)=>{let _=()=>{if(y.isMounted){let Q,{next:K,bu:J,u:pe,parent:oe,vnode:Pe}=y;{let Ct=function ni(Ma){let _e=Ma.subTree.component;if(_e)return _e.asyncDep&&!_e.asyncResolved?_e:ni(_e)}(y);if(Ct){K&&(K.el=Pe.el,xe(y,K,H)),Ct.asyncDep.then(()=>{y.isUnmounted||_()});return}}let rt=K;Ks(y,!1),K?(K.el=Pe.el,xe(y,K,H)):K=Pe,J&&fi(J),(Q=K.props&&K.props.onVnodeBeforeUpdate)&>(Q,oe,K,Pe),Ks(y,!0);let Je=Jn(y),Ut=y.subTree;y.subTree=Je,T(Ut,Je,p(Ut.el),se(Ut),y,M,D),K.el=Je.el,rt===null&&Rl(y,Je.el),pe&&Xe(pe,M),(Q=K.props&&K.props.onVnodeUpdated)&&Xe(()=>gt(Q,oe,K,Pe),M)}else{let Q,{el:K,props:J}=S,{bm:pe,m:oe,parent:Pe,root:rt,type:Je}=y,Ut=As(S);if(Ks(y,!1),pe&&fi(pe),!Ut&&(Q=J&&J.onVnodeBeforeMount)&>(Q,Pe,S),Ks(y,!0),K&&r){let Ct=()=>{y.subTree=Jn(y),r(K,y.subTree,y,M,null)};Ut&&Je.__asyncHydrate?Je.__asyncHydrate(K,y,Ct):Ct()}else{rt.ce&&rt.ce._injectChildStyle(Je);let Ct=y.subTree=Jn(y);T(null,Ct,N,$,y,M,D),S.el=Ct.el}if(oe&&Xe(oe,M),!Ut&&(Q=J&&J.onVnodeMounted)){let Ct=S;Xe(()=>gt(Q,Pe,Ct),M)}(256&S.shapeFlag||Pe&&As(Pe.vnode)&&256&Pe.vnode.shapeFlag)&&y.a&&Xe(y.a,M),y.isMounted=!0,S=N=$=null}};y.scope.on();let R=y.effect=new js(_);y.scope.off();let L=y.update=R.run.bind(R),G=y.job=R.runIfDirty.bind(R);G.i=y,G.id=y.uid,R.scheduler=()=>Fo(G),Ks(y,!0),L()},xe=(y,S,N)=>{S.component=y;let $=y.vnode.props;y.vnode=S,y.next=null,function(M,D,H,_){let{props:R,attrs:L,vnode:{patchFlag:G}}=M,Q=me(R),[K]=M.propsOptions,J=!1;if((_||G>0)&&!(16&G)){if(8&G){let pe=M.vnode.dynamicProps;for(let oe=0;oe<pe.length;oe++){let Pe=pe[oe];if(Wn(M.emitsOptions,Pe))continue;let rt=D[Pe];if(K)if(Se(L,Pe))rt!==L[Pe]&&(L[Pe]=rt,J=!0);else{let Je=Ne(Pe);R[Je]=Ll(K,Q,Je,rt,M,!1)}else rt!==L[Pe]&&(L[Pe]=rt,J=!0)}}}else{let pe;for(let oe in Iu(M,D,R,L)&&(J=!0),Q)D&&(Se(D,oe)||(pe=ft(oe))!==oe&&Se(D,pe))||(K?H&&(H[oe]!==void 0||H[pe]!==void 0)&&(R[oe]=Ll(K,Q,oe,void 0,M,!0)):delete R[oe]);if(L!==Q)for(let oe in L)D&&Se(D,oe)||(delete L[oe],J=!0)}J&&Yt(M.attrs,"set","")}(y,S.props,$,N),by(y,S.children,N),xs(),nu(y),bs()},le=(y,S,N,$,M,D,H,_,R=!1)=>{let L=y&&y.children,G=y?y.shapeFlag:0,Q=S.children,{patchFlag:K,shapeFlag:J}=S;if(K>0){if(128&K){de(L,Q,N,$,M,D,H,_,R);return}if(256&K){ne(L,Q,N,$,M,D,H,_,R);return}}8&J?(16&G&&re(L,M,D),Q!==L&&d(N,Q)):16&G?16&J?de(L,Q,N,$,M,D,H,_,R):re(L,M,D,!0):(8&G&&d(N,""),16&J&&O(Q,N,$,M,D,H,_,R))},ne=(y,S,N,$,M,D,H,_,R)=>{let L;y=y||ui,S=S||ui;let G=y.length,Q=S.length,K=Math.min(G,Q);for(L=0;L<K;L++){let J=S[L]=R?Cs(S[L]):yt(S[L]);T(y[L],J,N,null,M,D,H,_,R)}G>Q?re(y,M,D,!0,!1,K):O(S,N,$,M,D,H,_,R,K)},de=(y,S,N,$,M,D,H,_,R)=>{let L=0,G=S.length,Q=y.length-1,K=G-1;for(;L<=Q&&L<=K;){let J=y[L],pe=S[L]=R?Cs(S[L]):yt(S[L]);if(Rt(J,pe))T(J,pe,N,null,M,D,H,_,R);else break;L++}for(;L<=Q&&L<=K;){let J=y[Q],pe=S[K]=R?Cs(S[K]):yt(S[K]);if(Rt(J,pe))T(J,pe,N,null,M,D,H,_,R);else break;Q--,K--}if(L>Q){if(L<=K){let J=K+1,pe=J<G?S[J].el:$;for(;L<=K;)T(null,S[L]=R?Cs(S[L]):yt(S[L]),N,pe,M,D,H,_,R),L++}}else if(L>K)for(;L<=Q;)be(y[L],M,D,!0),L++;else{let J,pe=L,oe=L,Pe=new Map;for(L=oe;L<=K;L++){let _e=S[L]=R?Cs(S[L]):yt(S[L]);_e.key!=null&&Pe.set(_e.key,L)}let rt=0,Je=K-oe+1,Ut=!1,Ct=0,ni=Array(Je);for(L=0;L<Je;L++)ni[L]=0;for(L=pe;L<=Q;L++){let _e,Ge=y[L];if(rt>=Je){be(Ge,M,D,!0);continue}if(Ge.key!=null)_e=Pe.get(Ge.key);else for(J=oe;J<=K;J++)if(ni[J-oe]===0&&Rt(Ge,S[J])){_e=J;break}_e===void 0?be(Ge,M,D,!0):(ni[_e-oe]=L+1,_e>=Ct?Ct=_e:Ut=!0,T(Ge,S[_e],N,null,M,D,H,_,R),rt++)}let Ma=Ut?function(_e){let Ge,Rr,Lt,_s,Jc,Xc=_e.slice(),_t=[0],Eg=_e.length;for(Ge=0;Ge<Eg;Ge++){let Da=_e[Ge];if(Da!==0){if(_e[Rr=_t[_t.length-1]]<Da){Xc[Ge]=Rr,_t.push(Ge);continue}for(Lt=0,_s=_t.length-1;Lt<_s;)_e[_t[Jc=Lt+_s>>1]]<Da?Lt=Jc+1:_s=Jc;Da<_e[_t[Lt]]&&(Lt>0&&(Xc[Ge]=_t[Lt-1]),_t[Lt]=Ge)}}for(Lt=_t.length,_s=_t[Lt-1];Lt-- >0;)_t[Lt]=_s,_s=Xc[_s];return _t}(ni):ui;for(J=Ma.length-1,L=Je-1;L>=0;L--){let _e=oe+L,Ge=S[_e],Rr=_e+1<G?S[_e+1].el:$;ni[L]===0?T(null,Ge,N,Rr,M,D,H,_,R):Ut&&(J<0||L!==Ma[J]?ve(Ge,N,Rr,2):J--)}}},ve=(y,S,N,$,M=null)=>{let{el:D,type:H,transition:_,children:R,shapeFlag:L}=y;if(6&L){ve(y.component.subTree,S,N,$);return}if(128&L){y.suspense.move(S,N,$);return}if(64&L){H.move(y,S,N,ls);return}if(H===qe){n(D,S,N);for(let G=0;G<R.length;G++)ve(R[G],S,N,$);n(y.anchor,S,N);return}if(H===ss){x(y,S,N);return}if($!==2&&1&L&&_)if($===0)_.beforeEnter(D),n(D,S,N),Xe(()=>_.enter(D),M);else{let{leave:G,delayLeave:Q,afterLeave:K}=_,J=()=>n(D,S,N),pe=()=>{G(D,()=>{J(),K&&K()})};Q?Q(D,J,pe):pe()}else n(D,S,N)},be=(y,S,N,$=!1,M=!1)=>{let D,{type:H,props:_,ref:R,children:L,dynamicChildren:G,shapeFlag:Q,patchFlag:K,dirs:J,cacheIndex:pe}=y;if(K===-2&&(M=!1),R!=null&&En(R,null,N,y,!0),pe!=null&&(S.renderCache[pe]=void 0),256&Q){S.ctx.deactivate(y);return}let oe=1&Q&&J,Pe=!As(y);if(Pe&&(D=_&&_.onVnodeBeforeUnmount)&>(D,S,y),6&Q)Re(y.component,N,$);else{if(128&Q){y.suspense.unmount(N,$);return}oe&&Ht(y,null,S,"beforeUnmount"),64&Q?y.type.remove(y,S,N,ls,$):G&&!G.hasOnce&&(H!==qe||K>0&&64&K)?re(G,S,N,!1,!0):(H===qe&&384&K||!M&&16&Q)&&re(L,S,N),$&&Fe(y)}(Pe&&(D=_&&_.onVnodeUnmounted)||oe)&&Xe(()=>{D&>(D,S,y),oe&&Ht(y,null,S,"unmounted")},N)},Fe=y=>{let{type:S,el:N,anchor:$,transition:M}=y;if(S===qe){Oe(N,$);return}if(S===ss){C(y);return}let D=()=>{a(N),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(1&y.shapeFlag&&M&&!M.persisted){let{leave:H,delayLeave:_}=M,R=()=>H(N,D);_?_(y.el,D,R):R()}else D()},Oe=(y,S)=>{let N;for(;y!==S;)N=f(y),a(y),y=N;a(S)},Re=(y,S,N)=>{let{bum:$,scope:M,job:D,subTree:H,um:_,m:R,a:L}=y;$n(R),$n(L),$&&fi($),M.stop(),D&&(D.flags|=8,be(H,y,S,N)),_&&Xe(_,S),Xe(()=>{y.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},re=(y,S,N,$=!1,M=!1,D=0)=>{for(let H=D;H<y.length;H++)be(y[H],S,N,$,M)},se=y=>{if(6&y.shapeFlag)return se(y.component.subTree);if(128&y.shapeFlag)return y.suspense.next();let S=f(y.anchor||y.el),N=S&&S[au];return N?f(N):S},Le=!1,Ie=(y,S,N)=>{y==null?S._vnode&&be(S._vnode,null,null,!0):T(S._vnode||null,y,S,null,null,null,N),S._vnode=y,Le||(Le=!0,nu(),Tn(),Le=!1)},ls={p:T,um:be,m:ve,r:Fe,mt:U,mc:O,pc:le,pbc:E,n:se,o:s};return t&&([i,r]=t(ls)),{render:Ie,hydrate:i,createApp:(e=i,function(y,S=null){ie(y)||(y=fe({},y)),S==null||Ce(S)||(S=null);let N=Au(),$=new WeakSet,M=[],D=!1,H=N.app={_uid:my++,_component:y,_props:S,_container:null,_context:N,_instance:null,version:ia,get config(){return N.config},set config(_){},use:(_,...R)=>($.has(_)||(_&&ie(_.install)?($.add(_),_.install(H,...R)):ie(_)&&($.add(_),_(H,...R))),H),mixin:_=>(N.mixins.includes(_)||N.mixins.push(_),H),component:(_,R)=>R?(N.components[_]=R,H):N.components[_],directive:(_,R)=>R?(N.directives[_]=R,H):N.directives[_],mount(_,R,L){if(!D){let G=H._ceVNode||ke(y,S);return G.appContext=N,L===!0?L="svg":L===!1&&(L=void 0),R&&e?e(G,_):Ie(G,_,L),D=!0,H._container=_,_.__vue_app__=H,Ar(G.component)}},onUnmount(_){M.push(_)},unmount(){D&&(mt(M,H._instance,16),Ie(null,H._container),delete H._container.__vue_app__)},provide:(_,R)=>(N.provides[_]=R,H),runWithContext(_){let R=qs;qs=H;try{return _()}finally{qs=R}}};return H})}}function Ml({type:s,props:t},e){return e==="svg"&&s==="foreignObject"||e==="mathml"&&s==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function Ks({effect:s,job:t},e){e?(s.flags|=32,t.flags|=4):(s.flags&=-33,t.flags&=-5)}function Ou(s,t){return(!s||s&&!s.pendingBranch)&&t&&!t.persisted}function Dl(s,t,e=!1){let i=s.children,r=t.children;if(W(i)&&W(r))for(let n=0;n<i.length;n++){let a=i[n],o=r[n];!(1&o.shapeFlag)||o.dynamicChildren||((o.patchFlag<=0||o.patchFlag===32)&&((o=r[n]=Cs(r[n])).el=a.el),e||o.patchFlag===-2||Dl(a,o)),o.type===qt&&(o.el=a.el)}}function $n(s){if(s)for(let t=0;t<s.length;t++)s[t].flags|=8}let Hn=Symbol.for("v-scx"),qn=()=>zs(Hn);function Ol(s,t){return xr(s,null,t)}function zn(s,t){return xr(s,null,{flush:"post"})}function Kn(s,t){return xr(s,null,{flush:"sync"})}function Ws(s,t,e){return xr(s,t,e)}function xr(s,t,e=ge){let i,{immediate:r,deep:n,flush:a,once:o}=e,l=fe({},e),c=t&&r||!t&&a!=="post";if(_i){if(a==="sync"){let p=qn();i=p.__watcherHandles||(p.__watcherHandles=[])}else if(!c){let p=()=>{};return p.stop=Ye,p.resume=Ye,p.pause=Ye,p}}let h=Ke;l.call=(p,f,P)=>mt(p,h,f,P);let u=!1;a==="post"?l.scheduler=p=>{Xe(p,h&&h.suspense)}:a!=="sync"&&(u=!0,l.scheduler=(p,f)=>{f?p():Fo(p)}),l.augmentJob=p=>{t&&(p.flags|=4),u&&(p.flags|=2,h&&(p.id=h.uid,p.i=h))};let d=function(p,f,P=ge){let I,T,m,g,{immediate:A,deep:x,once:C,scheduler:k,augmentJob:B,call:w}=P,O=F=>x?F:ct(F)||x===!1||x===0?Zt(F,1):Zt(F),V=!1,E=!1;if(je(p)?(T=()=>p.value,V=ct(p)):jt(p)?(T=()=>O(p),V=!0):W(p)?(E=!0,V=p.some(F=>jt(F)||ct(F)),T=()=>p.map(F=>je(F)?F.value:jt(F)?O(F):ie(F)?w?w(F,2):F():void 0)):T=ie(p)?f?w?()=>w(p,2):p:()=>{if(m){xs();try{m()}finally{bs()}}let F=fs;fs=I;try{return w?w(p,3,[g]):p(g)}finally{fs=F}}:Ye,f&&x){let F=T,Z=x===!0?1/0:x;T=()=>Zt(F(),Z)}let q=rn(),X=()=>{I.stop(),q&&oo(q.effects,I)};if(C&&f){let F=f;f=(...Z)=>{F(...Z),X()}}let j=E?Array(p.length).fill(gn):gn,U=F=>{if(1&I.flags&&(I.dirty||F))if(f){let Z=I.run();if(x||V||(E?Z.some((xe,le)=>lt(xe,j[le])):lt(Z,j))){m&&m();let xe=fs;fs=I;try{let le=[Z,j===gn?void 0:E&&j[0]===gn?[]:j,g];w?w(f,3,le):f(...le),j=Z}finally{fs=xe}}}else I.run()};return B&&B(U),(I=new js(T)).scheduler=k?()=>k(U,!1):U,g=F=>bn(F,!1,I),m=I.onStop=()=>{let F=xn.get(I);if(F){if(w)w(F,4);else for(let Z of F)Z();xn.delete(I)}},f?A?U(!0):j=I.run():k?k(U.bind(null,!0),!0):I.run(),X.pause=I.pause.bind(I),X.resume=I.resume.bind(I),X.stop=X,X}(s,t,l);return _i&&(i?i.push(d):c&&d()),d}function Py(s,t,e){let i,r=this.proxy,n=ae(s)?s.includes(".")?Fu(r,s):()=>r[s]:s.bind(r,r);ie(t)?i=t:(i=t.handler,e=t);let a=Gs(this),o=xr(n,i.bind(r),e);return a(),o}function Fu(s,t){let e=t.split(".");return()=>{let i=s;for(let r=0;r<e.length&&i;r++)i=i[e[r]];return i}}function Fl(s,t,e=ge){let i=xt(),r=Ne(t),n=ft(t),a=Ru(s,r),o=yn((l,c)=>{let h,u,d=ge;return Kn(()=>{let p=s[r];lt(h,p)&&(h=p,c())}),{get:()=>(l(),e.get?e.get(h):h),set(p){let f=e.set?e.set(p):p;if(!lt(f,h)&&!(d!==ge&<(p,d)))return;let P=i.vnode.props;P&&(t in P||r in P||n in P)&&(`onUpdate:${t}`in P||`onUpdate:${r}`in P||`onUpdate:${n}`in P)||(h=p,c()),i.emit(`update:${t}`,f),lt(p,f)&<(p,d)&&!lt(f,u)&&c(),d=p,u=f}}});return o[Symbol.iterator]=()=>{let l=0;return{next:()=>l<2?{value:l++?a||ge:o,done:!1}:{done:!0}}},o}let Ru=(s,t)=>t==="modelValue"||t==="model-value"?s.modelModifiers:s[`${t}Modifiers`]||s[`${Ne(t)}Modifiers`]||s[`${ft(t)}Modifiers`];function Ty(s,t,...e){let i;if(s.isUnmounted)return;let r=s.vnode.props||ge,n=e,a=t.startsWith("update:"),o=a&&Ru(r,t.slice(7));o&&(o.trim&&(n=e.map(h=>ae(h)?h.trim():h)),o.number&&(n=e.map(Zr)));let l=r[i=ys(t)]||r[i=ys(Ne(t))];!l&&a&&(l=r[i=ys(ft(t))]),l&&mt(l,s,6,n);let c=r[i+"Once"];if(c){if(s.emitted){if(s.emitted[i])return}else s.emitted={};s.emitted[i]=!0,mt(c,s,6,n)}}function Wn(s,t){return!!(s&&Fs(t))&&(Se(s,(t=t.slice(2).replace(/Once$/,""))[0].toLowerCase()+t.slice(1))||Se(s,ft(t))||Se(s,t))}function Jn(s){let t,e,{type:i,vnode:r,proxy:n,withProxy:a,propsOptions:[o],slots:l,attrs:c,emit:h,render:u,renderCache:d,props:p,data:f,setupState:P,ctx:I,inheritAttrs:T}=s,m=nr(s);try{if(4&r.shapeFlag){let A=a||n;t=yt(u.call(A,A,d,p,P,f,I)),e=c}else t=yt(i.length>1?i(p,{attrs:c,slots:l,emit:h}):i(p,null)),e=i.props?c:Sy(c)}catch(A){Pr.length=0,es(A,s,1),t=ke(Ue)}let g=t;if(e&&T!==!1){let A=Object.keys(e),{shapeFlag:x}=g;A.length&&7&x&&(o&&A.some(ao)&&(e=vy(e,o)),g=Et(g,e,!1,!0))}return r.dirs&&((g=Et(g,null,!1,!0)).dirs=g.dirs?g.dirs.concat(r.dirs):r.dirs),r.transition&&Ot(g,r.transition),t=g,nr(m),t}let Sy=s=>{let t;for(let e in s)(e==="class"||e==="style"||Fs(e))&&((t||(t={}))[e]=s[e]);return t},vy=(s,t)=>{let e={};for(let i in s)ao(i)&&i.slice(9)in t||(e[i]=s[i]);return e};function Bu(s,t,e){let i=Object.keys(t);if(i.length!==Object.keys(s).length)return!0;for(let r=0;r<i.length;r++){let n=i[r];if(t[n]!==s[n]&&!Wn(e,n))return!0}return!1}function Rl({vnode:s,parent:t},e){for(;t;){let i=t.subTree;if(i.suspense&&i.suspense.activeBranch===s&&(i.el=s.el),i===s)(s=t.vnode).el=e,t=t.parent;else break}}let Xn=s=>s.__isSuspense,Bl=0,Ul={name:"Suspense",__isSuspense:!0,process(s,t,e,i,r,n,a,o,l,c){if(s==null)(function(h,u,d,p,f,P,I,T,m){let{p:g,o:{createElement:A}}=m,x=A("div"),C=h.suspense=Uu(h,f,p,u,x,d,P,I,T,m);g(null,C.pendingBranch=h.ssContent,x,null,p,C,P,I),C.deps>0?(br(h,"onPending"),br(h,"onFallback"),g(null,h.ssFallback,u,d,p,null,P,I),ki(C,h.ssFallback)):C.resolve(!1,!0)})(t,e,i,r,n,a,o,l,c);else{if(n&&n.deps>0&&!s.suspense.isInFallback){t.suspense=s.suspense,t.suspense.vnode=t,t.el=s.el;return}(function(h,u,d,p,f,P,I,T,{p:m,um:g,o:{createElement:A}}){let x=u.suspense=h.suspense;x.vnode=u,u.el=h.el;let C=u.ssContent,k=u.ssFallback,{activeBranch:B,pendingBranch:w,isInFallback:O,isHydrating:V}=x;if(w)x.pendingBranch=C,Rt(C,w)?(m(w,C,x.hiddenContainer,null,f,x,P,I,T),x.deps<=0?x.resolve():O&&!V&&(m(B,k,d,p,f,null,P,I,T),ki(x,k))):(x.pendingId=Bl++,V?(x.isHydrating=!1,x.activeBranch=w):g(w,f,x),x.deps=0,x.effects.length=0,x.hiddenContainer=A("div"),O?(m(null,C,x.hiddenContainer,null,f,x,P,I,T),x.deps<=0?x.resolve():(m(B,k,d,p,f,null,P,I,T),ki(x,k))):B&&Rt(C,B)?(m(B,C,d,p,f,x,P,I,T),x.resolve(!0)):(m(null,C,x.hiddenContainer,null,f,x,P,I,T),x.deps<=0&&x.resolve()));else if(B&&Rt(C,B))m(B,C,d,p,f,x,P,I,T),ki(x,C);else if(br(u,"onPending"),x.pendingBranch=C,512&C.shapeFlag?x.pendingId=C.component.suspenseId:x.pendingId=Bl++,m(null,C,x.hiddenContainer,null,f,x,P,I,T),x.deps<=0)x.resolve();else{let{timeout:E,pendingId:q}=x;E>0?setTimeout(()=>{x.pendingId===q&&x.fallback(k)},E):E===0&&x.fallback(k)}})(s,t,e,i,r,a,o,l,c)}},hydrate:function(s,t,e,i,r,n,a,o,l){let c=t.suspense=Uu(t,i,e,s.parentNode,document.createElement("div"),null,r,n,a,o,!0),h=l(s,c.pendingBranch=t.ssContent,e,c,n,a);return c.deps===0&&c.resolve(!1,!0),h},normalize:function(s){let{shapeFlag:t,children:e}=s,i=32&t;s.ssContent=ju(i?e.default:e),s.ssFallback=i?ju(e.fallback):ke(Ue)}};function br(s,t){let e=s.props&&s.props[t];ie(e)&&e()}function Uu(s,t,e,i,r,n,a,o,l,c,h=!1){let u,{p:d,m:p,um:f,n:P,o:{parentNode:I,remove:T}}=c,m=function(C){let k=C.props&&C.props.suspensible;return k!=null&&k!==!1}(s);m&&t&&t.pendingBranch&&(u=t.pendingId,t.deps++);let g=s.props?mi(s.props.timeout):void 0,A=n,x={vnode:s,parent:t,parentComponent:e,namespace:a,container:i,hiddenContainer:r,deps:0,pendingId:Bl++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!h,isHydrating:h,isUnmounted:!1,effects:[],resolve(C=!1,k=!1){let{vnode:B,activeBranch:w,pendingBranch:O,pendingId:V,effects:E,parentComponent:q,container:X}=x,j=!1;x.isHydrating?x.isHydrating=!1:C||((j=w&&O.transition&&O.transition.mode==="out-in")&&(w.transition.afterLeave=()=>{V===x.pendingId&&(p(O,X,n===A?P(w):n,0),vi(E))}),w&&(I(w.el)===X&&(n=P(w)),f(w,q,x,!0)),j||p(O,X,n,0)),ki(x,O),x.pendingBranch=null,x.isInFallback=!1;let U=x.parent,F=!1;for(;U;){if(U.pendingBranch){U.effects.push(...E),F=!0;break}U=U.parent}F||j||vi(E),x.effects=[],m&&t&&t.pendingBranch&&u===t.pendingId&&(t.deps--,t.deps!==0||k||t.resolve()),br(B,"onResolve")},fallback(C){if(!x.pendingBranch)return;let{vnode:k,activeBranch:B,parentComponent:w,container:O,namespace:V}=x;br(k,"onFallback");let E=P(B),q=()=>{x.isInFallback&&(d(null,C,O,E,w,null,V,o,l),ki(x,C))},X=C.transition&&C.transition.mode==="out-in";X&&(B.transition.afterLeave=q),x.isInFallback=!0,f(B,w,null,!0),X||q()},move(C,k,B){x.activeBranch&&p(x.activeBranch,C,k,B),x.container=C},next:()=>x.activeBranch&&P(x.activeBranch),registerDep(C,k,B){let w=!!x.pendingBranch;w&&x.deps++;let O=C.vnode.el;C.asyncDep.catch(V=>{es(V,C,0)}).then(V=>{if(C.isUnmounted||x.isUnmounted||x.pendingId!==C.suspenseId)return;C.asyncResolved=!0;let{vnode:E}=C;Kl(C,V,!1),O&&(E.el=O);let q=!O&&C.subTree.el;k(C,E,I(O||C.subTree.el),O?null:P(C.subTree),x,a,B),q&&T(q),Rl(C,E.el),w&&--x.deps==0&&x.resolve()})},unmount(C,k){x.isUnmounted=!0,x.activeBranch&&f(x.activeBranch,e,C,k),x.pendingBranch&&f(x.pendingBranch,e,C,k)}};return x}function ju(s){let t;if(ie(s)){let e=Xs&&s._c;e&&(s._d=!1,Js()),s=s(),e&&(s._d=!0,t=et,$u())}return W(s)&&(s=function(e,i=!0){let r;for(let n=0;n<e.length;n++){let a=e[n];if(!Ft(a))return;if(a.type!==Ue||a.children==="v-if"){if(r)return;r=a}}return r}(s)),s=yt(s),t&&!s.dynamicChildren&&(s.dynamicChildren=t.filter(e=>e!==s)),s}function Vu(s,t){t&&t.pendingBranch?W(s)?t.effects.push(...s):t.effects.push(s):vi(s)}function ki(s,t){s.activeBranch=t;let{vnode:e,parentComponent:i}=s,r=t.el;for(;!r&&t.component;)r=(t=t.component.subTree).el;e.el=r,i&&i.subTree===e&&(i.vnode.el=r,Rl(i,r))}let qe=Symbol.for("v-fgt"),qt=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),ss=Symbol.for("v-stc"),Pr=[],et=null;function Js(s=!1){Pr.push(et=s?null:[])}function $u(){Pr.pop(),et=Pr[Pr.length-1]||null}let Xs=1;function Tr(s){Xs+=s,s<0&&et&&(et.hasOnce=!0)}function Hu(s){return s.dynamicChildren=Xs>0?et||ui:null,$u(),Xs>0&&et&&et.push(s),s}function jl(s,t,e,i,r,n){return Hu(Sr(s,t,e,i,r,n,!0))}function Li(s,t,e,i,r){return Hu(ke(s,t,e,i,r,!0))}function Ft(s){return!!s&&s.__v_isVNode===!0}function Rt(s,t){return s.type===t.type&&s.key===t.key}function Vl(s){}let qu=({key:s})=>s??null,Gn=({ref:s,ref_key:t,ref_for:e})=>(typeof s=="number"&&(s=""+s),s!=null?ae(s)||je(s)||ie(s)?{i:ze,r:s,k:t,f:!!e}:s:null);function Sr(s,t=null,e=null,i=0,r=null,n=s===qe?0:1,a=!1,o=!1){let l={__v_isVNode:!0,__v_skip:!0,type:s,props:t,key:t&&qu(t),ref:t&&Gn(t),scopeId:Sn,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ze};return o?(ql(l,e),128&n&&s.normalize(l)):e&&(l.shapeFlag|=ae(e)?8:16),Xs>0&&!a&&et&&(l.patchFlag>0||6&n)&&l.patchFlag!==32&&et.push(l),l}let ke=function(s,t=null,e=null,i=0,r=null,n=!1){var a;if(s&&s!==xu||(s=Ue),Ft(s)){let l=Et(s,t,!0);return e&&ql(l,e),Xs>0&&!n&&et&&(6&l.shapeFlag?et[et.indexOf(s)]=l:et.push(l)),l.patchFlag=-2,l}if(ie(a=s)&&"__vccOpts"in a&&(s=s.__vccOpts),t){let{class:l,style:c}=t=Yn(t);l&&!ae(l)&&(t.class=Us(l)),Ce(c)&&(xi(c)&&!W(c)&&(c=fe({},c)),t.style=Bs(c))}let o=ae(s)?1:Xn(s)?128:ou(s)?64:Ce(s)?4:ie(s)?2:0;return Sr(s,t,e,i,r,o,n,!0)};function Yn(s){return s?xi(s)||Eu(s)?fe({},s):s:null}function Et(s,t,e=!1,i=!1){let{props:r,ref:n,patchFlag:a,children:o,transition:l}=s,c=t?Qn(r||{},t):r,h={__v_isVNode:!0,__v_skip:!0,type:s.type,props:c,key:c&&qu(c),ref:t&&t.ref?e&&n?W(n)?n.concat(Gn(t)):[n,Gn(t)]:Gn(t):n,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:o,target:s.target,targetStart:s.targetStart,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:t&&s.type!==qe?a===-1?16:16|a:a,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:l,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&Et(s.ssContent),ssFallback:s.ssFallback&&Et(s.ssFallback),el:s.el,anchor:s.anchor,ctx:s.ctx,ce:s.ce};return l&&i&&Ot(h,l.clone(h)),h}function vr(s=" ",t=0){return ke(qt,null,s,t)}function $l(s,t){let e=ke(ss,null,s);return e.staticCount=t,e}function Hl(s="",t=!1){return t?(Js(),Li(Ue,null,s)):ke(Ue,null,s)}function yt(s){return s==null||typeof s=="boolean"?ke(Ue):W(s)?ke(qe,null,s.slice()):Ft(s)?Cs(s):ke(qt,null,String(s))}function Cs(s){return s.el===null&&s.patchFlag!==-1||s.memo?s:Et(s)}function ql(s,t){let e=0,{shapeFlag:i}=s;if(t==null)t=null;else if(W(t))e=16;else if(typeof t=="object"){if(65&i){let r=t.default;r&&(r._c&&(r._d=!1),ql(s,r()),r._c&&(r._d=!0));return}{e=32;let r=t._;r||Eu(t)?r===3&&ze&&(ze.slots._===1?t._=1:(t._=2,s.patchFlag|=1024)):t._ctx=ze}}else ie(t)?(t={default:t,_ctx:ze},e=32):(t=String(t),64&i?(e=16,t=[vr(t)]):e=8);s.children=t,s.shapeFlag|=e}function Qn(...s){let t={};for(let e=0;e<s.length;e++){let i=s[e];for(let r in i)if(r==="class")t.class!==i.class&&(t.class=Us([t.class,i.class]));else if(r==="style")t.style=Bs([t.style,i.style]);else if(Fs(r)){let n=t[r],a=i[r];a&&n!==a&&!(W(n)&&n.includes(a))&&(t[r]=n?[].concat(n,a):a)}else r!==""&&(t[r]=i[r])}return t}function gt(s,t,e,i=null){mt(s,t,7,[e,i])}let Ay=Au(),Cy=0;function zu(s,t,e){let i=s.type,r=(t?t.appContext:s.appContext)||Ay,n={uid:Cy++,vnode:s,type:i,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Qi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:function a(o,l,c=!1){let h=c?yy:l.propsCache,u=h.get(o);if(u)return u;let d=o.props,p={},f=[],P=!1;if(!ie(o)){let T=m=>{P=!0;let[g,A]=a(m,l,!0);fe(p,g),A&&f.push(...A)};!c&&l.mixins.length&&l.mixins.forEach(T),o.extends&&T(o.extends),o.mixins&&o.mixins.forEach(T)}if(!d&&!P)return Ce(o)&&h.set(o,ui),ui;if(W(d))for(let T=0;T<d.length;T++){let m=Ne(d[T]);Nu(m)&&(p[m]=ge)}else if(d)for(let T in d){let m=Ne(T);if(Nu(m)){let g=d[T],A=p[m]=W(g)||ie(g)?{type:g}:fe({},g),x=A.type,C=!1,k=!0;if(W(x))for(let B=0;B<x.length;++B){let w=x[B],O=ie(w)&&w.name;if(O==="Boolean"){C=!0;break}O==="String"&&(k=!1)}else C=ie(x)&&x.name==="Boolean";A[0]=C,A[1]=k,(C||Se(A,"default"))&&f.push(m)}}let I=[p,f];return Ce(o)&&h.set(o,I),I}(i,r),emitsOptions:function a(o,l,c=!1){let h=l.emitsCache,u=h.get(o);if(u!==void 0)return u;let d=o.emits,p={},f=!1;if(!ie(o)){let P=I=>{let T=a(I,l,!0);T&&(f=!0,fe(p,T))};!c&&l.mixins.length&&l.mixins.forEach(P),o.extends&&P(o.extends),o.mixins&&o.mixins.forEach(P)}return d||f?(W(d)?d.forEach(P=>p[P]=null):fe(p,d),Ce(o)&&h.set(o,p),p):(Ce(o)&&h.set(o,null),null)}(i,r),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:i.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:e,suspenseId:e?e.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=Ty.bind(null,n),s.ce&&s.ce(n),n}let Ke=null,xt=()=>Ke||ze;{let s=en(),t=(e,i)=>{let r;return(r=s[e])||(r=s[e]=[]),r.push(i),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};Xr=t("__VUE_INSTANCE_SETTERS__",e=>Ke=e),io=t("__VUE_SSR_SETTERS__",e=>_i=e)}let Gs=s=>{let t=Ke;return Xr(s),s.scope.on(),()=>{s.scope.off(),Xr(t)}},zl=()=>{Ke&&Ke.scope.off(),Xr(null)};function Ku(s){return 4&s.vnode.shapeFlag}let _i=!1;function Wu(s,t=!1,e=!1){t&&io(t);let{props:i,children:r}=s.vnode,n=Ku(s);(function(o,l,c,h=!1){let u={},d=wu();for(let p in o.propsDefaults=Object.create(null),Iu(o,l,u,d),o.propsOptions[0])p in u||(u[p]=void 0);c?o.props=h?u:pn(u):o.type.props?o.props=u:o.props=d,o.attrs=d})(s,i,n,t),xy(s,r,e);let a=n?function(o,l){let c=o.type;o.accessCache=Object.create(null),o.proxy=new Proxy(o.ctx,dl);let{setup:h}=c;if(h){xs();let u=o.setupContext=h.length>1?Xu(o):null,d=Gs(o),p=Ps(h,o,0,[o.props,u]),f=lo(p);if(bs(),d(),(f||o.sp)&&!As(o)&&zo(o),f){if(p.then(zl,zl),l)return p.then(P=>{Kl(o,P,l)}).catch(P=>{es(P,o,0)});o.asyncDep=p}else Kl(o,p,l)}else Ju(o,l)}(s,t):void 0;return t&&io(!1),a}function Kl(s,t,e){ie(t)?s.type.__ssrInlineRender?s.ssrRender=t:s.render=t:Ce(t)&&(s.setupState=ir(t)),Ju(s,e)}function Zn(s){Gr=s,ro=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,dy))}}let Wl=()=>!Gr;function Ju(s,t,e){let i=s.type;if(!s.render){if(!t&&Gr&&!i.render){let r=i.template||Il(s).template;if(r){let{isCustomElement:n,compilerOptions:a}=s.appContext.config,{delimiters:o,compilerOptions:l}=i,c=fe(fe({isCustomElement:n,delimiters:o},a),l);i.render=Gr(r,c)}}s.render=i.render||Ye,ro&&ro(s)}{let r=Gs(s);xs();try{(function(n){let a=Il(n),o=n.proxy,l=n.ctx;El=!1,a.beforeCreate&&Tu(a.beforeCreate,n,"bc");let{data:c,computed:h,methods:u,watch:d,provide:p,inject:f,created:P,beforeMount:I,mounted:T,beforeUpdate:m,updated:g,activated:A,deactivated:x,beforeDestroy:C,beforeUnmount:k,destroyed:B,unmounted:w,render:O,renderTracked:V,renderTriggered:E,errorCaptured:q,serverPrefetch:X,expose:j,inheritAttrs:U,components:F,directives:Z,filters:xe}=a;if(f&&function(ne,de,ve=Ye){for(let be in W(ne)&&(ne=Nl(ne)),ne){let Fe,Oe=ne[be];je(Fe=Ce(Oe)?"default"in Oe?zs(Oe.from||be,Oe.default,!0):zs(Oe.from||be):zs(Oe))?Object.defineProperty(de,be,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Re=>Fe.value=Re}):de[be]=Fe}}(f,l,null),u)for(let ne in u){let de=u[ne];ie(de)&&(l[ne]=de.bind(o))}if(c){let ne=c.call(o,o);Ce(ne)&&(n.data=gi(ne))}if(El=!0,h)for(let ne in h){let de=h[ne],ve=ie(de)?de.bind(o,o):ie(de.get)?de.get.bind(o,o):Ye,be=ea({get:ve,set:!ie(de)&&ie(de.set)?de.set.bind(o):Ye});Object.defineProperty(l,ne,{enumerable:!0,configurable:!0,get:()=>be.value,set:Fe=>be.value=Fe})}if(d)for(let ne in d)(function de(ve,be,Fe,Oe){let Re=Oe.includes(".")?Fu(Fe,Oe):()=>Fe[Oe];if(ae(ve)){let re=be[ve];ie(re)&&Ws(Re,re)}else if(ie(ve))Ws(Re,ve.bind(Fe));else if(Ce(ve))if(W(ve))ve.forEach(re=>de(re,be,Fe,Oe));else{let re=ie(ve.handler)?ve.handler.bind(Fe):be[ve.handler];ie(re)&&Ws(Re,re,ve)}})(d[ne],l,o,ne);if(p){let ne=ie(p)?p.call(o):p;Reflect.ownKeys(ne).forEach(de=>{jn(de,ne[de])})}function le(ne,de){W(de)?de.forEach(ve=>ne(ve.bind(o))):de&&ne(de.bind(o))}if(P&&Tu(P,n,"c"),le(dr,I),le(Hs,T),le(Dn,m),le(Ei,g),le(kn,A),le(Ln,x),le(Bn,q),le(Rn,V),le(Fn,E),le(Ii,k),le(Ni,w),le(On,X),W(j))if(j.length){let ne=n.exposed||(n.exposed={});j.forEach(de=>{Object.defineProperty(ne,de,{get:()=>o[de],set:ve=>o[de]=ve})})}else n.exposed||(n.exposed={});O&&n.render===Ye&&(n.render=O),U!=null&&(n.inheritAttrs=U),F&&(n.components=F),Z&&(n.directives=Z),X&&zo(n)})(s)}finally{bs(),r()}}}let wy={get:(s,t)=>(Qe(s,"get",""),s[t])};function Xu(s){return{attrs:new Proxy(s.attrs,wy),slots:s.slots,emit:s.emit,expose:t=>{s.exposed=t||{}}}}function Ar(s){return s.exposed?s.exposeProxy||(s.exposeProxy=new Proxy(ir(fn(s.exposed)),{get:(t,e)=>e in t?t[e]:e in fr?fr[e](s):void 0,has:(t,e)=>e in t||e in fr})):s.proxy}function Jl(s,t=!0){return ie(s)?s.displayName||s.name:s.name||t&&s.__name}let ea=(s,t)=>function(e,i,r=!1){let n,a;return ie(e)?n=e:(n=e.get,a=e.set),new ny(n,a,r)}(s,0,_i);function ta(s,t,e){let i=arguments.length;return i!==2?(i>3?e=Array.prototype.slice.call(arguments,2):i===3&&Ft(e)&&(e=[e]),ke(s,t,e)):!Ce(t)||W(t)?ke(s,null,t):Ft(t)?ke(s,null,[t]):ke(s,t)}function Xl(){}function Gl(s,t,e,i){let r=e[i];if(r&&sa(r,s))return r;let n=t();return n.memo=s.slice(),n.cacheIndex=i,e[i]=n}function sa(s,t){let e=s.memo;if(e.length!=t.length)return!1;for(let i=0;i<e.length;i++)if(lt(e[i],t[i]))return!1;return Xs>0&&et&&et.push(s),!0}let ia="3.5.12",Yl=Ye,Ql=null,Zl,ec=Ye,tc={createComponentInstance:zu,setupComponent:Wu,renderComponentRoot:Jn,setCurrentRenderingInstance:nr,isVNode:Ft,normalizeVNode:yt,getComponentPublicInstance:Ar,ensureValidVNode:cl,pushWarningContext:function(s){},popWarningContext:function(){}},sc=null,ic=null,rc=null,Gu=typeof window<"u"&&window.trustedTypes;if(Gu)try{no=Gu.createPolicy("vue",{createHTML:s=>s})}catch{}let Yu=no?s=>no.createHTML(s):s=>s,is=typeof document<"u"?document:null,Qu=is&&is.createElement("template"),ws="transition",Cr="animation",Mi=Symbol("_vtc"),Zu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ep=fe({},cr,Zu),nc=((xc=(s,{slots:t})=>ta(wn,sp(s),t)).displayName="Transition",xc.props=ep,xc),Ys=(s,t=[])=>{W(s)?s.forEach(e=>e(...t)):s&&s(...t)},tp=s=>!!s&&(W(s)?s.some(t=>t.length>1):s.length>1);function sp(s){let t={};for(let E in s)E in Zu||(t[E]=s[E]);if(s.css===!1)return t;let{name:e="v",type:i,duration:r,enterFromClass:n=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:o=`${e}-enter-to`,appearFromClass:l=n,appearActiveClass:c=a,appearToClass:h=o,leaveFromClass:u=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:p=`${e}-leave-to`}=s,f=function(E){if(E==null)return null;if(Ce(E))return[mi(E.enter),mi(E.leave)];{let q=mi(E);return[q,q]}}(r),P=f&&f[0],I=f&&f[1],{onBeforeEnter:T,onEnter:m,onEnterCancelled:g,onLeave:A,onLeaveCancelled:x,onBeforeAppear:C=T,onAppear:k=m,onAppearCancelled:B=g}=t,w=(E,q,X)=>{Es(E,q?h:o),Es(E,q?c:a),X&&X()},O=(E,q)=>{E._isLeaving=!1,Es(E,u),Es(E,p),Es(E,d),q&&q()},V=E=>(q,X)=>{let j=E?k:m,U=()=>w(q,E,X);Ys(j,[q,U]),ip(()=>{Es(q,E?l:n),rs(q,E?h:o),tp(j)||rp(q,i,P,U)})};return fe(t,{onBeforeEnter(E){Ys(T,[E]),rs(E,n),rs(E,a)},onBeforeAppear(E){Ys(C,[E]),rs(E,l),rs(E,c)},onEnter:V(!1),onAppear:V(!0),onLeave(E,q){E._isLeaving=!0;let X=()=>O(E,q);rs(E,u),rs(E,d),lp(),ip(()=>{E._isLeaving&&(Es(E,u),rs(E,p),tp(A)||rp(E,i,I,X))}),Ys(A,[E,X])},onEnterCancelled(E){w(E,!1),Ys(g,[E])},onAppearCancelled(E){w(E,!0),Ys(B,[E])},onLeaveCancelled(E){O(E),Ys(x,[E])}})}function rs(s,t){t.split(/\s+/).forEach(e=>e&&s.classList.add(e)),(s[Mi]||(s[Mi]=new Set)).add(t)}function Es(s,t){t.split(/\s+/).forEach(i=>i&&s.classList.remove(i));let e=s[Mi];e&&(e.delete(t),e.size||(s[Mi]=void 0))}function ip(s){requestAnimationFrame(()=>{requestAnimationFrame(s)})}let Ey=0;function rp(s,t,e,i){let r=s._endId=++Ey,n=()=>{r===s._endId&&i()};if(e!=null)return setTimeout(n,e);let{type:a,timeout:o,propCount:l}=np(s,t);if(!a)return i();let c=a+"end",h=0,u=()=>{s.removeEventListener(c,d),n()},d=p=>{p.target===s&&++h>=l&&u()};setTimeout(()=>{h<l&&u()},o+1),s.addEventListener(c,d)}function np(s,t){let e=window.getComputedStyle(s),i=f=>(e[f]||"").split(", "),r=i(`${ws}Delay`),n=i(`${ws}Duration`),a=ap(r,n),o=i(`${Cr}Delay`),l=i(`${Cr}Duration`),c=ap(o,l),h=null,u=0,d=0;t===ws?a>0&&(h=ws,u=a,d=n.length):t===Cr?c>0&&(h=Cr,u=c,d=l.length):d=(h=(u=Math.max(a,c))>0?a>c?ws:Cr:null)?h===ws?n.length:l.length:0;let p=h===ws&&/\b(transform|all)(,|$)/.test(i(`${ws}Property`).toString());return{type:h,timeout:u,propCount:d,hasTransform:p}}function ap(s,t){for(;s.length<t.length;)s=s.concat(s);return Math.max(...t.map((e,i)=>op(e)+op(s[i])))}function op(s){return s==="auto"?0:1e3*Number(s.slice(0,-1).replace(",","."))}function lp(){return document.body.offsetHeight}let ra=Symbol("_vod"),cp=Symbol("_vsh"),na={beforeMount(s,{value:t},{transition:e}){s[ra]=s.style.display==="none"?"":s.style.display,e&&t?e.beforeEnter(s):wr(s,t)},mounted(s,{value:t},{transition:e}){e&&t&&e.enter(s)},updated(s,{value:t,oldValue:e},{transition:i}){!t!=!e&&(i?t?(i.beforeEnter(s),wr(s,!0),i.enter(s)):i.leave(s,()=>{wr(s,!1)}):wr(s,t))},beforeUnmount(s,{value:t}){wr(s,t)}};function wr(s,t){s.style.display=t?s[ra]:"none",s[cp]=!t}let hp=Symbol("");function ac(s){let t=xt();if(!t)return;let e=t.ut=(r=s(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(n=>aa(n,r))},i=()=>{let r=s(t.proxy);t.ce?aa(t.ce,r):function n(a,o){if(128&a.shapeFlag){let l=a.suspense;a=l.activeBranch,l.pendingBranch&&!l.isHydrating&&l.effects.push(()=>{n(l.activeBranch,o)})}for(;a.component;)a=a.component.subTree;if(1&a.shapeFlag&&a.el)aa(a.el,o);else if(a.type===qe)a.children.forEach(l=>n(l,o));else if(a.type===ss){let{el:l,anchor:c}=a;for(;l&&(aa(l,o),l!==c);)l=l.nextSibling}}(t.subTree,r),e(r)};dr(()=>{zn(i)}),Hs(()=>{let r=new MutationObserver(i);r.observe(t.subTree.el.parentNode,{childList:!0}),Ni(()=>r.disconnect())})}function aa(s,t){if(s.nodeType===1){let e=s.style,i="";for(let r in t)e.setProperty(`--${r}`,t[r]),i+=`--${r}: ${t[r]};`;e[hp]=i}}let Iy=/(^|;)\s*display\s*:/,up=/\s*!important$/;function oa(s,t,e){if(W(e))e.forEach(i=>oa(s,t,i));else if(e==null&&(e=""),t.startsWith("--"))s.setProperty(t,e);else{let i=function(r,n){let a=oc[n];if(a)return a;let o=Ne(n);if(o!=="filter"&&o in r)return oc[n]=o;o=Gt(o);for(let l=0;l<pp.length;l++){let c=pp[l]+o;if(c in r)return oc[n]=c}return n}(s,t);up.test(e)?s.setProperty(ft(i),e.replace(up,""),"important"):s[i]=e}}let pp=["Webkit","Moz","ms"],oc={},dp="http://www.w3.org/1999/xlink";function fp(s,t,e,i,r,n=jm(t)){i&&t.startsWith("xlink:")?e==null?s.removeAttributeNS(dp,t.slice(6,t.length)):s.setAttributeNS(dp,t,e):e==null||n&&!(e||e==="")?s.removeAttribute(t):s.setAttribute(t,n?"":dt(e)?String(e):e)}function mp(s,t,e,i,r){if(t==="innerHTML"||t==="textContent"){e!=null&&(s[t]=t==="innerHTML"?Yu(e):e);return}let n=s.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){let l=n==="OPTION"?s.getAttribute("value")||"":s.value,c=e==null?s.type==="checkbox"?"on":"":String(e);l===c&&"_value"in s||(s.value=c),e==null&&s.removeAttribute(t),s._value=e;return}let a=!1;if(e===""||e==null){let l=typeof s[t];if(l==="boolean"){var o;e=!!(o=e)||o===""}else e==null&&l==="string"?(e="",a=!0):l==="number"&&(e=0,a=!0)}try{s[t]=e}catch{}a&&s.removeAttribute(r||t)}function ns(s,t,e,i){s.addEventListener(t,e,i)}let yp=Symbol("_vei"),gp=/(?:Once|Passive|Capture)$/,lc=0,Ny=Promise.resolve(),ky=()=>lc||(Ny.then(()=>lc=0),lc=Date.now()),xp=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&s.charCodeAt(2)>96&&123>s.charCodeAt(2),bp={};/*! #__NO_SIDE_EFFECTS__ */function la(s,t,e){let i=hr(s,t);Yr(i)&&fe(i,t);class r extends Di{constructor(a){super(i,a,e)}}return r.def=i,r}let cc=(s,t)=>la(s,t,ma),Ly=typeof HTMLElement<"u"?HTMLElement:class{};class Di extends Ly{constructor(t,e={},i=Nr){super(),this._def=t,this._props=e,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==Nr?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Di){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Si(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(i=>{for(let r of i)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});let t=(i,r=!1)=>{let n;this._resolved=!0,this._pendingResolve=void 0;let{props:a,styles:o}=i;if(a&&!W(a))for(let l in a){let c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=mi(this._props[l])),(n||(n=Object.create(null)))[Ne(l)]=!0)}this._numberProps=n,r&&this._resolveProps(i),this.shadowRoot&&this._applyStyles(o),this._mount(i)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(i=>t(this._def=i,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let e=this._instance&&this._instance.exposed;if(e)for(let i in e)Se(this,i)||Object.defineProperty(this,i,{get:()=>bi(e[i])})}_resolveProps(t){let{props:e}=t,i=W(e)?e:Object.keys(e||{});for(let r of Object.keys(this))r[0]!=="_"&&i.includes(r)&&this._setProp(r,this[r]);for(let r of i.map(Ne))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(n){this._setProp(r,n,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;let e=this.hasAttribute(t),i=e?this.getAttribute(t):bp,r=Ne(t);e&&this._numberProps&&this._numberProps[r]&&(i=mi(i)),this._setProp(r,i,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,e,i=!0,r=!1){e!==this._props[t]&&(e===bp?delete this._props[t]:(this._props[t]=e,t==="key"&&this._app&&(this._app._ceVNode.key=e)),r&&this._instance&&this._update(),i&&(e===!0?this.setAttribute(ft(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(ft(t),e+""):e||this.removeAttribute(ft(t))))}_update(){fa(this._createVNode(),this._root)}_createVNode(){let t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));let e=ke(this._def,fe(t,this._props));return this._instance||(e.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;let r=(n,a)=>{this.dispatchEvent(new CustomEvent(n,Yr(a[0])?fe({detail:a},a[0]):{detail:a}))};i.emit=(n,...a)=>{r(n,a),ft(n)!==n&&r(ft(n),a)},this._setParent()}),e}_applyStyles(t,e){if(!t)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}let i=this._nonce;for(let r=t.length-1;r>=0;r--){let n=document.createElement("style");i&&n.setAttribute("nonce",i),n.textContent=t[r],this.shadowRoot.prepend(n)}}_parseSlots(){let t,e=this._slots={};for(;t=this.firstChild;){let i=t.nodeType===1&&t.getAttribute("slot")||"default";(e[i]||(e[i]=[])).push(t),this.removeChild(t)}}_renderSlots(){let t=(this._teleportTarget||this).querySelectorAll("slot"),e=this._instance.type.__scopeId;for(let i=0;i<t.length;i++){let r=t[i],n=r.getAttribute("name")||"default",a=this._slots[n],o=r.parentNode;if(a)for(let l of a){if(e&&l.nodeType===1){let c,h=e+"-s",u=document.createTreeWalker(l,1);for(l.setAttribute(h,"");c=u.nextNode();)c.setAttribute(h,"")}o.insertBefore(l,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function ca(s){let t=xt();return t&&t.ce||null}function hc(){let s=ca();return s&&s.shadowRoot}function uc(s="$style"){{let t=xt();if(!t)return ge;let e=t.type.__cssModules;return e&&e[s]||ge}}let Pp=new WeakMap,Tp=new WeakMap,ha=Symbol("_moveCb"),Sp=Symbol("_enterCb"),pc=(bc={name:"TransitionGroup",props:fe({},ep,{tag:String,moveClass:String}),setup(s,{slots:t}){let e,i,r=xt(),n=lr();return Ei(()=>{if(!e.length)return;let a=s.moveClass||`${s.name||"v"}-move`;if(!function(l,c,h){let u=l.cloneNode(),d=l[Mi];d&&d.forEach(P=>{P.split(/\s+/).forEach(I=>I&&u.classList.remove(I))}),h.split(/\s+/).forEach(P=>P&&u.classList.add(P)),u.style.display="none";let p=c.nodeType===1?c:c.parentNode;p.appendChild(u);let{hasTransform:f}=np(u);return p.removeChild(u),f}(e[0].el,r.vnode.el,a))return;e.forEach(_y),e.forEach(My);let o=e.filter(Dy);lp(),o.forEach(l=>{let c=l.el,h=c.style;rs(c,a),h.transform=h.webkitTransform=h.transitionDuration="";let u=c[ha]=d=>{(!d||d.target===c)&&(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",u),c[ha]=null,Es(c,a))};c.addEventListener("transitionend",u)})}),()=>{let a=me(s),o=sp(a),l=a.tag||qe;if(e=[],i)for(let c=0;c<i.length;c++){let h=i[c];h.el&&h.el instanceof Element&&(e.push(h),Ot(h,vs(h,o,n,r)),Pp.set(h,h.el.getBoundingClientRect()))}i=t.default?Ai(t.default()):[];for(let c=0;c<i.length;c++){let h=i[c];h.key!=null&&Ot(h,vs(h,o,n,r))}return ke(l,null,i)}}},delete bc.props.mode,bc);function _y(s){let t=s.el;t[ha]&&t[ha](),t[Sp]&&t[Sp]()}function My(s){Tp.set(s,s.el.getBoundingClientRect())}function Dy(s){let t=Pp.get(s),e=Tp.get(s),i=t.left-e.left,r=t.top-e.top;if(i||r){let n=s.el.style;return n.transform=n.webkitTransform=`translate(${i}px,${r}px)`,n.transitionDuration="0s",s}}let Is=s=>{let t=s.props["onUpdate:modelValue"]||!1;return W(t)?e=>fi(t,e):t};function Oy(s){s.target.composing=!0}function vp(s){let t=s.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}let It=Symbol("_assign"),Oi={created(s,{modifiers:{lazy:t,trim:e,number:i}},r){s[It]=Is(r);let n=i||r.props&&r.props.type==="number";ns(s,t?"change":"input",a=>{if(a.target.composing)return;let o=s.value;e&&(o=o.trim()),n&&(o=Zr(o)),s[It](o)}),e&&ns(s,"change",()=>{s.value=s.value.trim()}),t||(ns(s,"compositionstart",Oy),ns(s,"compositionend",vp),ns(s,"change",vp))},mounted(s,{value:t}){s.value=t??""},beforeUpdate(s,{value:t,oldValue:e,modifiers:{lazy:i,trim:r,number:n}},a){if(s[It]=Is(a),s.composing)return;let o=(n||s.type==="number")&&!/^0\d/.test(s.value)?Zr(s.value):s.value,l=t??"";o===l||document.activeElement===s&&s.type!=="range"&&(i&&t===e||r&&s.value.trim()===l)||(s.value=l)}},Er={deep:!0,created(s,t,e){s[It]=Is(e),ns(s,"change",()=>{let i=s._modelValue,r=Fi(s),n=s.checked,a=s[It];if(W(i)){let o=tn(i,r),l=o!==-1;if(n&&!l)a(i.concat(r));else if(!n&&l){let c=[...i];c.splice(o,1),a(c)}}else if(Rs(i)){let o=new Set(i);n?o.add(r):o.delete(r),a(o)}else a(wp(s,n))})},mounted:Ap,beforeUpdate(s,t,e){s[It]=Is(e),Ap(s,t,e)}};function Ap(s,{value:t,oldValue:e},i){let r;if(s._modelValue=t,W(t))r=tn(t,i.props.value)>-1;else if(Rs(t))r=t.has(i.props.value);else{if(t===e)return;r=gs(t,wp(s,!0))}s.checked!==r&&(s.checked=r)}let Ir={created(s,{value:t},e){s.checked=gs(t,e.props.value),s[It]=Is(e),ns(s,"change",()=>{s[It](Fi(s))})},beforeUpdate(s,{value:t,oldValue:e},i){s[It]=Is(i),t!==e&&(s.checked=gs(t,i.props.value))}},ua={deep:!0,created(s,{value:t,modifiers:{number:e}},i){let r=Rs(t);ns(s,"change",()=>{let n=Array.prototype.filter.call(s.options,a=>a.selected).map(a=>e?Zr(Fi(a)):Fi(a));s[It](s.multiple?r?new Set(n):n:n[0]),s._assigning=!0,Si(()=>{s._assigning=!1})}),s[It]=Is(i)},mounted(s,{value:t}){Cp(s,t)},beforeUpdate(s,t,e){s[It]=Is(e)},updated(s,{value:t}){s._assigning||Cp(s,t)}};function Cp(s,t){let e=s.multiple,i=W(t);if(!e||i||Rs(t)){for(let r=0,n=s.options.length;r<n;r++){let a=s.options[r],o=Fi(a);if(e)if(i){let l=typeof o;l==="string"||l==="number"?a.selected=t.some(c=>String(c)===String(o)):a.selected=tn(t,o)>-1}else a.selected=t.has(o);else if(gs(Fi(a),t)){s.selectedIndex!==r&&(s.selectedIndex=r);return}}e||s.selectedIndex===-1||(s.selectedIndex=-1)}}function Fi(s){return"_value"in s?s._value:s.value}function wp(s,t){let e=t?"_trueValue":"_falseValue";return e in s?s[e]:t}let pa={created(s,t,e){da(s,t,e,null,"created")},mounted(s,t,e){da(s,t,e,null,"mounted")},beforeUpdate(s,t,e,i){da(s,t,e,i,"beforeUpdate")},updated(s,t,e,i){da(s,t,e,i,"updated")}};function Ep(s,t){switch(s){case"SELECT":return ua;case"TEXTAREA":return Oi;default:switch(t){case"checkbox":return Er;case"radio":return Ir;default:return Oi}}}function da(s,t,e,i,r){let n=Ep(s.tagName,e.props&&e.props.type)[r];n&&n(s,t,e,i)}let Fy=["ctrl","shift","alt","meta"],Ry={stop:s=>s.stopPropagation(),prevent:s=>s.preventDefault(),self:s=>s.target!==s.currentTarget,ctrl:s=>!s.ctrlKey,shift:s=>!s.shiftKey,alt:s=>!s.altKey,meta:s=>!s.metaKey,left:s=>"button"in s&&s.button!==0,middle:s=>"button"in s&&s.button!==1,right:s=>"button"in s&&s.button!==2,exact:(s,t)=>Fy.some(e=>s[`${e}Key`]&&!t.includes(e))},dc=(s,t)=>{let e=s._withMods||(s._withMods={}),i=t.join(".");return e[i]||(e[i]=(r,...n)=>{for(let a=0;a<t.length;a++){let o=Ry[t[a]];if(o&&o(r,t))return}return s(r,...n)})},By={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},fc=(s,t)=>{let e=s._withKeys||(s._withKeys={}),i=t.join(".");return e[i]||(e[i]=r=>{if(!("key"in r))return;let n=ft(r.key);if(t.some(a=>a===n||By[a]===n))return s(r)})},mc=fe({patchProp:(s,t,e,i,r,n)=>{let a=r==="svg";t==="class"?function(o,l,c){let h=o[Mi];h&&(l=(l?[l,...h]:[...h]).join(" ")),l==null?o.removeAttribute("class"):c?o.setAttribute("class",l):o.className=l}(s,i,a):t==="style"?function(o,l,c){let h=o.style,u=ae(c),d=!1;if(c&&!u){if(l)if(ae(l))for(let p of l.split(";")){let f=p.slice(0,p.indexOf(":")).trim();c[f]==null&&oa(h,f,"")}else for(let p in l)c[p]==null&&oa(h,p,"");for(let p in c)p==="display"&&(d=!0),oa(h,p,c[p])}else if(u){if(l!==c){let p=h[hp];p&&(c+=";"+p),h.cssText=c,d=Iy.test(c)}}else l&&o.removeAttribute("style");ra in o&&(o[ra]=d?h.display:"",o[cp]&&(h.display="none"))}(s,e,i):Fs(t)?ao(t)||function(o,l,c,h,u=null){let d=o[yp]||(o[yp]={}),p=d[l];if(h&&p)p.value=h;else{let[f,P]=function(I){let T;if(gp.test(I)){let m;for(T={};m=I.match(gp);)I=I.slice(0,I.length-m[0].length),T[m[0].toLowerCase()]=!0}return[I[2]===":"?I.slice(3):ft(I.slice(2)),T]}(l);h?ns(o,f,d[l]=function(I,T){let m=g=>{if(g._vts){if(g._vts<=m.attached)return}else g._vts=Date.now();mt(function(A,x){if(!W(x))return x;{let C=A.stopImmediatePropagation;return A.stopImmediatePropagation=()=>{C.call(A),A._stopped=!0},x.map(k=>B=>!B._stopped&&k&&k(B))}}(g,m.value),T,5,[g])};return m.value=I,m.attached=ky(),m}(h,u),P):p&&(function(I,T,m,g){I.removeEventListener(T,m,g)}(o,f,p,P),d[l]=void 0)}}(s,t,0,i,n):(t[0]==="."?(t=t.slice(1),0):t[0]==="^"?(t=t.slice(1),1):!function(o,l,c,h){if(h)return!!(l==="innerHTML"||l==="textContent"||l in o&&xp(l)&&ie(c));if(l==="spellcheck"||l==="draggable"||l==="translate"||l==="form"||l==="list"&&o.tagName==="INPUT"||l==="type"&&o.tagName==="TEXTAREA")return!1;if(l==="width"||l==="height"){let u=o.tagName;if(u==="IMG"||u==="VIDEO"||u==="CANVAS"||u==="SOURCE")return!1}return!(xp(l)&&ae(c))&&l in o}(s,t,i,a))?s._isVueCE&&(/[A-Z]/.test(t)||!ae(i))?mp(s,Ne(t),i,n,t):(t==="true-value"?s._trueValue=i:t==="false-value"&&(s._falseValue=i),fp(s,t,i,a)):(mp(s,t,i),s.tagName.includes("-")||t!=="value"&&t!=="checked"&&t!=="selected"||fp(s,t,i,a,n,t!=="value"))}},{insert:(s,t,e)=>{t.insertBefore(s,e||null)},remove:s=>{let t=s.parentNode;t&&t.removeChild(s)},createElement:(s,t,e,i)=>{let r=t==="svg"?is.createElementNS("http://www.w3.org/2000/svg",s):t==="mathml"?is.createElementNS("http://www.w3.org/1998/Math/MathML",s):e?is.createElement(s,{is:e}):is.createElement(s);return s==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:s=>is.createTextNode(s),createComment:s=>is.createComment(s),setText:(s,t)=>{s.nodeValue=t},setElementText:(s,t)=>{s.textContent=t},parentNode:s=>s.parentNode,nextSibling:s=>s.nextSibling,querySelector:s=>is.querySelector(s),setScopeId(s,t){s.setAttribute(t,"")},insertStaticContent(s,t,e,i,r,n){let a=e?e.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),r!==n&&(r=r.nextSibling););else{Qu.innerHTML=Yu(i==="svg"?`<svg>${s}</svg>`:i==="mathml"?`<math>${s}</math>`:s);let o=Qu.content;if(i==="svg"||i==="mathml"){let l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}t.insertBefore(o,e)}return[a?a.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}}),Ip=!1;function Np(){return Os=Ip?Os:Vn(mc),Ip=!0,Os}let fa=(...s)=>{(Os||(Os=gr(mc))).render(...s)},yc=(...s)=>{Np().hydrate(...s)},Nr=(...s)=>{let t=(Os||(Os=gr(mc))).createApp(...s),{mount:e}=t;return t.mount=i=>{let r=Lp(i);if(!r)return;let n=t._component;ie(n)||n.render||n.template||(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");let a=e(r,!1,kp(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t},ma=(...s)=>{let t=Np().createApp(...s),{mount:e}=t;return t.mount=i=>{let r=Lp(i);if(r)return e(r,!0,kp(r))},t};function kp(s){return s instanceof SVGElement?"svg":typeof MathMLElement=="function"&&s instanceof MathMLElement?"mathml":void 0}function Lp(s){return ae(s)?document.querySelector(s):s}let _p=!1,gc=()=>{_p||(_p=!0,Oi.getSSRProps=({value:s})=>({value:s}),Ir.getSSRProps=({value:s},t)=>{if(t.props&&gs(t.props.value,s))return{checked:!0}},Er.getSSRProps=({value:s},t)=>{if(W(s)){if(t.props&&tn(s,t.props.value)>-1)return{checked:!0}}else if(Rs(s)){if(t.props&&s.has(t.props.value))return{checked:!0}}else if(s)return{checked:!0}},pa.getSSRProps=(s,t)=>{if(typeof t.type!="string")return;let e=Ep(t.type.toUpperCase(),t.props&&t.props.type);if(e.getSSRProps)return e.getSSRProps(s,t)},na.getSSRProps=({value:s})=>{if(!s)return{style:{display:"none"}}})};var xc,bc,Uy=Object.freeze({__proto__:null,BaseTransition:wn,BaseTransitionPropsValidators:cr,Comment:Ue,DeprecationTypes:rc,EffectScope:Qi,ErrorCodes:Oo,ErrorTypeStrings:Ql,Fragment:qe,KeepAlive:Zo,ReactiveEffect:js,Static:ss,Suspense:Ul,Teleport:$o,Text:qt,TrackOpTypes:Lo,Transition:nc,TransitionGroup:pc,TriggerOpTypes:_o,VueElement:Di,assertNumber:Do,callWithAsyncErrorHandling:mt,callWithErrorHandling:Ps,camelize:Ne,capitalize:Gt,cloneVNode:Et,compatUtils:ic,computed:ea,createApp:Nr,createBlock:Li,createCommentVNode:Hl,createElementBlock:jl,createElementVNode:Sr,createHydrationRenderer:Vn,createPropsRestProxy:Cl,createRenderer:gr,createSSRApp:ma,createSlots:ol,createStaticVNode:$l,createTextVNode:vr,createVNode:ke,customRef:yn,defineAsyncComponent:Yo,defineComponent:hr,defineCustomElement:la,defineEmits:ml,defineExpose:yl,defineModel:bl,defineOptions:gl,defineProps:fl,defineSSRCustomElement:cc,defineSlots:xl,devtools:Zl,effect:bo,effectScope:po,getCurrentInstance:xt,getCurrentScope:rn,getCurrentWatcher:Mo,getTransitionRawChildren:Ai,guardReactiveProps:Yn,h:ta,handleError:es,hasInjectionContext:kl,hydrate:yc,hydrateOnIdle:Wo,hydrateOnInteraction:Go,hydrateOnMediaQuery:Xo,hydrateOnVisible:Jo,initCustomFormatter:Xl,initDirectivesForSSR:gc,inject:zs,isMemoSame:sa,isProxy:xi,isReactive:jt,isReadonly:Vt,isRef:je,isRuntimeOnly:Wl,isShallow:ct,isVNode:Ft,markRaw:fn,mergeDefaults:vl,mergeModels:Al,mergeProps:Qn,nextTick:Si,normalizeClass:Us,normalizeProps:ho,normalizeStyle:Bs,onActivated:kn,onBeforeMount:dr,onBeforeUnmount:Ii,onBeforeUpdate:Dn,onDeactivated:Ln,onErrorCaptured:Bn,onMounted:Hs,onRenderTracked:Rn,onRenderTriggered:Fn,onScopeDispose:fo,onServerPrefetch:On,onUnmounted:Ni,onUpdated:Ei,onWatcherCleanup:bn,openBlock:Js,popScopeId:Bo,provide:jn,proxyRefs:ir,pushScopeId:Ro,queuePostFlushCb:vi,reactive:gi,readonly:sr,ref:$s,registerRuntimeCompiler:Zn,render:fa,renderList:al,renderSlot:ll,resolveComponent:sl,resolveDirective:rl,resolveDynamicComponent:il,resolveFilter:sc,resolveTransitionHooks:vs,setBlockTracking:Tr,setDevtoolsHook:ec,setTransitionHooks:Ot,shallowReactive:pn,shallowReadonly:Co,shallowRef:mn,ssrContextKey:Hn,ssrUtils:tc,stop:Po,toDisplayString:sn,toHandlerKey:ys,toHandlers:hl,toRaw:me,toRef:ko,toRefs:No,toValue:Io,transformVNodeArgs:Vl,triggerRef:Eo,unref:bi,useAttrs:Sl,useCssModule:uc,useCssVars:ac,useHost:ca,useId:qo,useModel:Fl,useSSRContext:qn,useShadowRoot:hc,useSlots:Tl,useTemplateRef:Ko,useTransitionState:lr,vModelCheckbox:Er,vModelDynamic:pa,vModelRadio:Ir,vModelSelect:ua,vModelText:Oi,vShow:na,version:ia,warn:Yl,watch:Ws,watchEffect:Ol,watchPostEffect:zn,watchSyncEffect:Kn,withAsyncContext:wl,withCtx:ar,withDefaults:Pl,withDirectives:jo,withKeys:fc,withMemo:Gl,withModifiers:dc,withScopeId:Uo});let kr=Symbol(""),Lr=Symbol(""),Pc=Symbol(""),ya=Symbol(""),Mp=Symbol(""),Qs=Symbol(""),Zs=Symbol(""),ei=Symbol(""),Ns=Symbol(""),ks=Symbol(""),_r=Symbol(""),Tc=Symbol(""),Dp=Symbol(""),Sc=Symbol(""),vc=Symbol(""),Ac=Symbol(""),jy=Symbol(""),Cc=Symbol(""),wc=Symbol(""),Op=Symbol(""),Fp=Symbol(""),ga=Symbol(""),xa=Symbol(""),Ec=Symbol(""),Ic=Symbol(""),Mr=Symbol(""),Dr=Symbol(""),Nc=Symbol(""),kc=Symbol(""),Vy=Symbol(""),Lc=Symbol(""),ba=Symbol(""),$y=Symbol(""),Hy=Symbol(""),_c=Symbol(""),qy=Symbol(""),zy=Symbol(""),Mc=Symbol(""),Rp=Symbol(""),Ri={[kr]:"Fragment",[Lr]:"Teleport",[Pc]:"Suspense",[ya]:"KeepAlive",[Mp]:"BaseTransition",[Qs]:"openBlock",[Zs]:"createBlock",[ei]:"createElementBlock",[Ns]:"createVNode",[ks]:"createElementVNode",[_r]:"createCommentVNode",[Tc]:"createTextVNode",[Dp]:"createStaticVNode",[Sc]:"resolveComponent",[vc]:"resolveDynamicComponent",[Ac]:"resolveDirective",[jy]:"resolveFilter",[Cc]:"withDirectives",[wc]:"renderList",[Op]:"renderSlot",[Fp]:"createSlots",[ga]:"toDisplayString",[xa]:"mergeProps",[Ec]:"normalizeClass",[Ic]:"normalizeStyle",[Mr]:"normalizeProps",[Dr]:"guardReactiveProps",[Nc]:"toHandlers",[kc]:"camelize",[Vy]:"capitalize",[Lc]:"toHandlerKey",[ba]:"setBlockTracking",[$y]:"pushScopeId",[Hy]:"popScopeId",[_c]:"withCtx",[qy]:"unref",[zy]:"isRef",[Mc]:"withMemo",[Rp]:"isMemoSame"},Tt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Or(s,t,e,i,r,n,a,o=!1,l=!1,c=!1,h=Tt){return s&&(o?(s.helper(Qs),s.helper(s.inSSR||c?Zs:ei)):s.helper(s.inSSR||c?Ns:ks),a&&s.helper(Cc)),{type:13,tag:t,props:e,children:i,patchFlag:r,dynamicProps:n,directives:a,isBlock:o,disableTracking:l,isComponent:c,loc:h}}function ti(s,t=Tt){return{type:17,loc:t,elements:s}}function Nt(s,t=Tt){return{type:15,loc:t,properties:s}}function Ve(s,t){return{type:16,loc:Tt,key:ae(s)?ce(s,!0):s,value:t}}function ce(s,t=!1,e=Tt,i=0){return{type:4,loc:e,content:s,isStatic:t,constType:t?3:i}}function Bt(s,t=Tt){return{type:8,loc:t,children:s}}function We(s,t=[],e=Tt){return{type:14,loc:e,callee:s,arguments:t}}function Bi(s,t,e=!1,i=!1,r=Tt){return{type:18,params:s,returns:t,newline:e,isSlot:i,loc:r}}function Dc(s,t,e,i=!0){return{type:19,test:s,consequent:t,alternate:e,newline:i,loc:Tt}}function Oc(s,{helper:t,removeHelper:e,inSSR:i}){if(!s.isBlock){var r,n;s.isBlock=!0,e((r=s.isComponent,i||r?Ns:ks)),t(Qs),t((n=s.isComponent,i||n?Zs:ei))}}let Bp=new Uint8Array([123,123]),Up=new Uint8Array([125,125]);function jp(s){return s>=97&&s<=122||s>=65&&s<=90}function St(s){return s===32||s===10||s===9||s===12||s===13}function Ls(s){return s===47||s===62||St(s)}function Pa(s){let t=new Uint8Array(s.length);for(let e=0;e<s.length;e++)t[e]=s.charCodeAt(e);return t}let tt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};function Fc(s){throw s}function Vp(s){}function we(s,t,e,i){let r=SyntaxError(`https://vuejs.org/error-reference/#compiler-${s}`);return r.code=s,r.loc=t,r}let bt=s=>s.type===4&&s.isStatic;function $p(s){switch(s){case"Teleport":case"teleport":return Lr;case"Suspense":case"suspense":return Pc;case"KeepAlive":case"keep-alive":return ya;case"BaseTransition":case"base-transition":return Mp}}let Ky=/^\d|[^\$\w\xA0-\uFFFF]/,Rc=s=>!Ky.test(s),Wy=/[A-Za-z_$\xA0-\uFFFF]/,Jy=/[\.\?\w$\xA0-\uFFFF]/,Xy=/\s+[.[]\s*|\s*[.[]\s+/g,Hp=s=>s.type===4?s.content:s.loc.source,qp=s=>{let t=Hp(s).trim().replace(Xy,o=>o.trim()),e=0,i=[],r=0,n=0,a=null;for(let o=0;o<t.length;o++){let l=t.charAt(o);switch(e){case 0:if(l==="[")i.push(e),e=1,r++;else if(l==="(")i.push(e),e=2,n++;else if(!(o===0?Wy:Jy).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(i.push(e),e=3,a=l):l==="["?r++:l!=="]"||--r||(e=i.pop());break;case 2:if(l==="'"||l==='"'||l==="`")i.push(e),e=3,a=l;else if(l==="(")n++;else if(l===")"){if(o===t.length-1)return!1;--n||(e=i.pop())}break;case 3:l===a&&(e=i.pop(),a=null)}}return!r&&!n},Gy=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Yy=s=>Gy.test(Hp(s));function kt(s,t,e=!1){for(let i=0;i<s.props.length;i++){let r=s.props[i];if(r.type===7&&(e||r.exp)&&(ae(t)?r.name===t:t.test(r.name)))return r}}function Ta(s,t,e=!1,i=!1){for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6){if(e)continue;if(n.name===t&&(n.value||i))return n}else if(n.name==="bind"&&(n.exp||i)&&Ui(n.arg,t))return n}}function Ui(s,t){return!!(s&&bt(s)&&s.content===t)}function Bc(s){return s.type===5||s.type===2}function Qy(s){return s.type===7&&s.name==="slot"}function Sa(s){return s.type===1&&s.tagType===3}function va(s){return s.type===1&&s.tagType===2}let Zy=new Set([Mr,Dr]);function Aa(s,t,e){let i,r,n=s.type===13?s.props:s.arguments[2],a=[];if(n&&!ae(n)&&n.type===14){let o=function l(c,h=[]){if(c&&!ae(c)&&c.type===14){let u=c.callee;if(!ae(u)&&Zy.has(u))return l(c.arguments[0],h.concat(c))}return[c,h]}(n);n=o[0],r=(a=o[1])[a.length-1]}if(n==null||ae(n))i=Nt([t]);else if(n.type===14){let o=n.arguments[0];ae(o)||o.type!==15?n.callee===Nc?i=We(e.helper(xa),[Nt([t]),n]):n.arguments.unshift(Nt([t])):zp(t,o)||o.properties.unshift(t),i||(i=n)}else n.type===15?(zp(t,n)||n.properties.unshift(t),i=n):(i=We(e.helper(xa),[Nt([t]),n]),r&&r.callee===Dr&&(r=a[a.length-2]));s.type===13?r?r.arguments[0]=i:s.props=i:r?r.arguments[0]=i:s.arguments[2]=i}function zp(s,t){let e=!1;if(s.key.type===4){let i=s.key.content;e=t.properties.some(r=>r.key.type===4&&r.key.content===i)}return e}function Uc(s,t){return`_${t}_${s.replace(/[^\w]/g,(e,i)=>e==="-"?"_":s.charCodeAt(i).toString())}`}let eg=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Kp={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Yi,isPreTag:Yi,isIgnoreNewlineTag:Yi,isCustomElement:Yi,onError:Fc,onWarn:Vp,comments:!1,prefixIdentifiers:!1},De=Kp,Ca=null,as="",st=null,Ee=null,vt="",os=-1,si=-1,jc=0,ii=!1,Vc=null,Be=[],$e=new class{constructor(s,t){this.stack=s,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Bp,this.delimiterClose=Up,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Bp,this.delimiterClose=Up}getPos(s){let t=1,e=s+1;for(let i=this.newlines.length-1;i>=0;i--){let r=this.newlines[i];if(s>r){t=i+2,e=s-r;break}}return{column:e,line:t,offset:s}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(s){s===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||s!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(s))}stateInterpolationOpen(s){if(s===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let t=this.index+1-this.delimiterOpen.length;t>this.sectionStart&&this.cbs.ontext(this.sectionStart,t),this.state=3,this.sectionStart=t}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(s)):(this.state=1,this.stateText(s))}stateInterpolation(s){s===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(s))}stateInterpolationClose(s){s===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(s))}stateSpecialStartSequence(s){let t=this.sequenceIndex===this.currentSequence.length;if(t?Ls(s):(32|s)===this.currentSequence[this.sequenceIndex]){if(!t){this.sequenceIndex++;return}}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(s)}stateInRCDATA(s){if(this.sequenceIndex===this.currentSequence.length){if(s===62||St(s)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(s),this.inRCDATA=!1;return}this.sequenceIndex=0}(32|s)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence!==tt.TitleEnd&&(this.currentSequence!==tt.TextareaEnd||this.inSFCRoot)?this.fastForwardTo(60)&&(this.sequenceIndex=1):this.inVPre||s!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(s)):this.sequenceIndex=+(s===60)}stateCDATASequence(s){s===tt.Cdata[this.sequenceIndex]?++this.sequenceIndex===tt.Cdata.length&&(this.state=28,this.currentSequence=tt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(s))}fastForwardTo(s){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===s)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(s){s===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===tt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):s!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(s,t){this.enterRCDATA(s,t),this.state=31}enterRCDATA(s,t){this.inRCDATA=!0,this.currentSequence=s,this.sequenceIndex=t}stateBeforeTagName(s){s===33?(this.state=22,this.sectionStart=this.index+1):s===63?(this.state=24,this.sectionStart=this.index+1):jp(s)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:s===116?this.state=30:this.state=s===115?29:6):s===47?this.state=8:(this.state=1,this.stateText(s))}stateInTagName(s){Ls(s)&&this.handleTagName(s)}stateInSFCRootTagName(s){if(Ls(s)){let t=this.buffer.slice(this.sectionStart,this.index);t!=="template"&&this.enterRCDATA(Pa("</"+t),0),this.handleTagName(s)}}handleTagName(s){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(s)}stateBeforeClosingTagName(s){St(s)||(s===62?(this.state=1,this.sectionStart=this.index+1):(this.state=jp(s)?9:27,this.sectionStart=this.index))}stateInClosingTagName(s){(s===62||St(s))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(s))}stateAfterClosingTagName(s){s===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(s){s===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):s===47?this.state=7:s===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):St(s)||this.handleAttrStart(s)}handleAttrStart(s){s===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):s===46||s===58||s===64||s===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(s){s===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):St(s)||(this.state=11,this.stateBeforeAttrName(s))}stateInAttrName(s){(s===61||Ls(s))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(s))}stateInDirName(s){s===61||Ls(s)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(s)):s===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):s===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(s){s===61||Ls(s)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(s)):s===91?this.state=15:s===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(s){s===93?this.state=14:(s===61||Ls(s))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(s))}stateInDirModifier(s){s===61||Ls(s)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(s)):s===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(s){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(s)}stateAfterAttrName(s){s===61?this.state=18:s===47||s===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(s)):St(s)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(s))}stateBeforeAttrValue(s){s===34?(this.state=19,this.sectionStart=this.index+1):s===39?(this.state=20,this.sectionStart=this.index+1):St(s)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(s))}handleInAttrValue(s,t){(s===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(s){this.handleInAttrValue(s,34)}stateInAttrValueSingleQuotes(s){this.handleInAttrValue(s,39)}stateInAttrValueNoQuotes(s){St(s)||s===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(s)):(s===39||s===60||s===61||s===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(s){s===91?(this.state=26,this.sequenceIndex=0):this.state=s===45?25:23}stateInDeclaration(s){(s===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(s){(s===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(s){s===45?(this.state=28,this.currentSequence=tt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(s){(s===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(s){s===tt.ScriptEnd[3]?this.startSpecial(tt.ScriptEnd,4):s===tt.StyleEnd[3]?this.startSpecial(tt.StyleEnd,4):(this.state=6,this.stateInTagName(s))}stateBeforeSpecialT(s){s===tt.TitleEnd[3]?this.startSpecial(tt.TitleEnd,4):s===tt.TextareaEnd[3]?this.startSpecial(tt.TextareaEnd,4):(this.state=6,this.stateInTagName(s))}startEntity(){}stateInEntity(){}parse(s){for(this.buffer=s;this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);switch(t===10&&this.newlines.push(this.index),this.state){case 1:this.stateText(t);break;case 2:this.stateInterpolationOpen(t);break;case 3:this.stateInterpolation(t);break;case 4:this.stateInterpolationClose(t);break;case 31:this.stateSpecialStartSequence(t);break;case 32:this.stateInRCDATA(t);break;case 26:this.stateCDATASequence(t);break;case 19:this.stateInAttrValueDoubleQuotes(t);break;case 12:this.stateInAttrName(t);break;case 13:this.stateInDirName(t);break;case 14:this.stateInDirArg(t);break;case 15:this.stateInDynamicDirArg(t);break;case 16:this.stateInDirModifier(t);break;case 28:this.stateInCommentLike(t);break;case 27:this.stateInSpecialComment(t);break;case 11:this.stateBeforeAttrName(t);break;case 6:this.stateInTagName(t);break;case 34:this.stateInSFCRootTagName(t);break;case 9:this.stateInClosingTagName(t);break;case 5:this.stateBeforeTagName(t);break;case 17:this.stateAfterAttrName(t);break;case 20:this.stateInAttrValueSingleQuotes(t);break;case 18:this.stateBeforeAttrValue(t);break;case 8:this.stateBeforeClosingTagName(t);break;case 10:this.stateAfterClosingTagName(t);break;case 29:this.stateBeforeSpecialS(t);break;case 30:this.stateBeforeSpecialT(t);break;case 21:this.stateInAttrValueNoQuotes(t);break;case 7:this.stateInSelfClosingTag(t);break;case 23:this.stateInDeclaration(t);break;case 22:this.stateBeforeDeclaration(t);break;case 25:this.stateBeforeComment(t);break;case 24:this.stateInProcessingInstruction(t);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let s=this.buffer.length;this.sectionStart>=s||(this.state===28?this.currentSequence===tt.CdataEnd?this.cbs.oncdata(this.sectionStart,s):this.cbs.oncomment(this.sectionStart,s):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,s))}emitCodePoint(s,t){}}(Be,{onerr:Yp,ontext(s,t){wa(it(s,t),s,t)},ontextentity(s,t,e){wa(s,t,e)},oninterpolation(s,t){if(ii)return wa(it(s,t),s,t);let e=s+$e.delimiterOpen.length,i=t-$e.delimiterClose.length;for(;St(as.charCodeAt(e));)e++;for(;St(as.charCodeAt(i-1));)i--;let r=it(e,i);r.includes("&")&&(r=De.decodeEntities(r,!1)),$c({type:5,content:Ia(r,!1,He(e,i)),loc:He(s,t)})},onopentagname(s,t){let e=it(s,t);st={type:1,tag:e,ns:De.getNamespace(e,Be[0],De.ns),tagType:0,props:[],children:[],loc:He(s-1,t),codegenNode:void 0}},onopentagend(s){Jp(s)},onclosetag(s,t){let e=it(s,t);if(!De.isVoidTag(e)){for(let i=0;i<Be.length;i++)if(Be[i].tag.toLowerCase()===e.toLowerCase()){i>0&&Be[0].loc.start.offset;for(let r=0;r<=i;r++)Ea(Be.shift(),t,r<i);break}}},onselfclosingtag(s){let t=st.tag;st.isSelfClosing=!0,Jp(s),Be[0]&&Be[0].tag===t&&Ea(Be.shift(),s)},onattribname(s,t){Ee={type:6,name:it(s,t),nameLoc:He(s,t),value:void 0,loc:He(s)}},ondirname(s,t){let e=it(s,t),i=e==="."||e===":"?"bind":e==="@"?"on":e==="#"?"slot":e.slice(2);if(ii||i==="")Ee={type:6,name:e,nameLoc:He(s,t),value:void 0,loc:He(s)};else if(Ee={type:7,name:i,rawName:e,exp:void 0,arg:void 0,modifiers:e==="."?[ce("prop")]:[],loc:He(s)},i==="pre"){ii=$e.inVPre=!0,Vc=st;let r=st.props;for(let n=0;n<r.length;n++)r[n].type===7&&(r[n]=function(a){let o={type:6,name:a.rawName,nameLoc:He(a.loc.start.offset,a.loc.start.offset+a.rawName.length),value:void 0,loc:a.loc};if(a.exp){let l=a.exp.loc;l.end.offset<a.loc.end.offset&&(l.start.offset--,l.start.column--,l.end.offset++,l.end.column++),o.value={type:2,content:a.exp.content,loc:l}}return o}(r[n]))}},ondirarg(s,t){if(s===t)return;let e=it(s,t);if(ii)Ee.name+=e,ri(Ee.nameLoc,t);else{let i=e[0]!=="[";Ee.arg=Ia(i?e:e.slice(1,-1),i,He(s,t),i?3:0)}},ondirmodifier(s,t){let e=it(s,t);if(ii)Ee.name+="."+e,ri(Ee.nameLoc,t);else if(Ee.name==="slot"){let i=Ee.arg;i&&(i.content+="."+e,ri(i.loc,t))}else{let i=ce(e,!0,He(s,t));Ee.modifiers.push(i)}},onattribdata(s,t){vt+=it(s,t),os<0&&(os=s),si=t},onattribentity(s,t,e){vt+=s,os<0&&(os=t),si=e},onattribnameend(s){let t=it(Ee.loc.start.offset,s);Ee.type===7&&(Ee.rawName=t),st.props.some(e=>(e.type===7?e.rawName:e.name)===t)},onattribend(s,t){st&&Ee&&(ri(Ee.loc,t),s!==0&&(vt.includes("&")&&(vt=De.decodeEntities(vt,!0)),Ee.type===6?(Ee.name==="class"&&(vt=Gp(vt).trim()),Ee.value={type:2,content:vt,loc:s===1?He(os,si):He(os-1,si+1)},$e.inSFCRoot&&st.tag==="template"&&Ee.name==="lang"&&vt&&vt!=="html"&&$e.enterRCDATA(Pa("</template"),0)):(Ee.exp=Ia(vt,!1,He(os,si),0,0),Ee.name==="for"&&(Ee.forParseResult=function(e){let i=e.loc,r=e.content,n=r.match(eg);if(!n)return;let[,a,o]=n,l=(p,f,P=!1)=>{let I=i.start.offset+f,T=I+p.length;return Ia(p,!1,He(I,T),0,P?1:0)},c={source:l(o.trim(),r.indexOf(o,a.length)),value:void 0,key:void 0,index:void 0,finalized:!1},h=a.trim().replace(tg,"").trim(),u=a.indexOf(h),d=h.match(Wp);if(d){let p;h=h.replace(Wp,"").trim();let f=d[1].trim();if(f&&(p=r.indexOf(f,u+h.length),c.key=l(f,p,!0)),d[2]){let P=d[2].trim();P&&(c.index=l(P,r.indexOf(P,c.key?p+f.length:u+h.length),!0))}}return h&&(c.value=l(h,u,!0)),c}(Ee.exp)))),(Ee.type!==7||Ee.name!=="pre")&&st.props.push(Ee)),vt="",os=si=-1},oncomment(s,t){De.comments&&$c({type:3,content:it(s,t),loc:He(s-4,t+3)})},onend(){let s=as.length;for(let t=0;t<Be.length;t++)Ea(Be[t],s-1),Be[t].loc.start.offset},oncdata(s,t){Be[0].ns!==0&&wa(it(s,t),s,t)},onprocessinginstruction(s){(Be[0]?Be[0].ns:De.ns)===0&&Yp(21,s-1)}}),Wp=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,tg=/^\(|\)$/g;function it(s,t){return as.slice(s,t)}function Jp(s){$e.inSFCRoot&&(st.innerLoc=He(s+1,s+1)),$c(st);let{tag:t,ns:e}=st;e===0&&De.isPreTag(t)&&jc++,De.isVoidTag(t)?Ea(st,s):(Be.unshift(st),(e===1||e===2)&&($e.inXML=!0)),st=null}function wa(s,t,e){{let n=Be[0]&&Be[0].tag;n!=="script"&&n!=="style"&&s.includes("&")&&(s=De.decodeEntities(s,!1))}let i=Be[0]||Ca,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=s,ri(r.loc,e)):i.children.push({type:2,content:s,loc:He(t,e)})}function Ea(s,t,e=!1){e?ri(s.loc,sg(t,60)):ri(s.loc,function(a,o){let l=a;for(;as.charCodeAt(l)!==62&&l<as.length-1;)l++;return l}(t)+1),$e.inSFCRoot&&(s.children.length?s.innerLoc.end=fe({},s.children[s.children.length-1].loc.end):s.innerLoc.end=fe({},s.innerLoc.start),s.innerLoc.source=it(s.innerLoc.start.offset,s.innerLoc.end.offset));let{tag:i,ns:r,children:n}=s;if(!ii&&(i==="slot"?s.tagType=2:function({tag:a,props:o}){if(a==="template"){for(let l=0;l<o.length;l++)if(o[l].type===7&&ig.has(o[l].name))return!0}return!1}(s)?s.tagType=3:function({tag:a,props:o}){var l;if(De.isCustomElement(a))return!1;if(a==="component"||(l=a.charCodeAt(0))>64&&l<91||$p(a)||De.isBuiltInComponent&&De.isBuiltInComponent(a)||De.isNativeTag&&!De.isNativeTag(a))return!0;for(let c=0;c<o.length;c++){let h=o[c];if(h.type===6&&h.name==="is"&&h.value&&h.value.content.startsWith("vue:"))return!0}return!1}(s)&&(s.tagType=1)),$e.inRCDATA||(s.children=Xp(n)),r===0&&De.isIgnoreNewlineTag(i)){let a=n[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}r===0&&De.isPreTag(i)&&jc--,Vc===s&&(ii=$e.inVPre=!1,Vc=null),$e.inXML&&(Be[0]?Be[0].ns:De.ns)===0&&($e.inXML=!1)}function sg(s,t){let e=s;for(;as.charCodeAt(e)!==t&&e>=0;)e--;return e}let ig=new Set(["if","else","else-if","for","slot"]),rg=/\r\n/g;function Xp(s,t){let e=De.whitespace!=="preserve",i=!1;for(let r=0;r<s.length;r++){let n=s[r];if(n.type===2)if(jc)n.content=n.content.replace(rg,`
|
|
17
|
-
`);else if(function(a){for(let o=0;o<a.length;o++)if(!St(a.charCodeAt(o)))return!1;return!0}(n.content)){let a=s[r-1]&&s[r-1].type,o=s[r+1]&&s[r+1].type;!a||!o||e&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&function(l){for(let c=0;c<l.length;c++){let h=l.charCodeAt(c);if(h===10||h===13)return!0}return!1}(n.content)))?(i=!0,s[r]=null):n.content=" "}else e&&(n.content=Gp(n.content))}return i?s.filter(Boolean):s}function Gp(s){let t="",e=!1;for(let i=0;i<s.length;i++)St(s.charCodeAt(i))?e||(t+=" ",e=!0):(t+=s[i],e=!1);return t}function $c(s){(Be[0]||Ca).children.push(s)}function He(s,t){return{start:$e.getPos(s),end:t==null?t:$e.getPos(t),source:t==null?t:it(s,t)}}function ri(s,t){s.end=$e.getPos(t),s.source=it(s.start.offset,t)}function Ia(s,t=!1,e,i=0,r=0){return ce(s,t,e,i)}function Yp(s,t,e){De.onError(we(s,He(t,t)))}function Qp(s,t){let{children:e}=s;return e.length===1&&t.type===1&&!va(t)}function At(s,t){let{constantCache:e}=t;switch(s.type){case 1:if(s.tagType!==0)return 0;let o=e.get(s);if(o!==void 0)return o;let l=s.codegenNode;if(l.type!==13||l.isBlock&&s.tag!=="svg"&&s.tag!=="foreignObject"&&s.tag!=="math")return 0;if(l.patchFlag!==void 0)return e.set(s,0),0;{let h=3,u=Zp(s,t);if(u===0)return e.set(s,0),0;u<h&&(h=u);for(let d=0;d<s.children.length;d++){let p=At(s.children[d],t);if(p===0)return e.set(s,0),0;p<h&&(h=p)}if(h>1)for(let d=0;d<s.props.length;d++){let p=s.props[d];if(p.type===7&&p.name==="bind"&&p.exp){let f=At(p.exp,t);if(f===0)return e.set(s,0),0;f<h&&(h=f)}}if(l.isBlock){var i,r,n,a;for(let d=0;d<s.props.length;d++)if(s.props[d].type===7)return e.set(s,0),0;t.removeHelper(Qs),t.removeHelper((i=t.inSSR,r=l.isComponent,i||r?Zs:ei)),l.isBlock=!1,t.helper((n=t.inSSR,a=l.isComponent,n||a?Ns:ks))}return e.set(s,h),h}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return At(s.content,t);case 4:return s.constType;case 8:let c=3;for(let h=0;h<s.children.length;h++){let u=s.children[h];if(ae(u)||dt(u))continue;let d=At(u,t);if(d===0)return 0;d<c&&(c=d)}return c;case 20:return 2}}let ng=new Set([Ec,Ic,Mr,Dr]);function Zp(s,t){let e=3,i=ed(s);if(i&&i.type===15){let{properties:r}=i;for(let n=0;n<r.length;n++){let a,{key:o,value:l}=r[n],c=At(o,t);if(c===0)return c;if(c<e&&(e=c),(a=l.type===4?At(l,t):l.type===14?function h(u,d){if(u.type===14&&!ae(u.callee)&&ng.has(u.callee)){let p=u.arguments[0];if(p.type===4)return At(p,d);if(p.type===14)return h(p,d)}return 0}(l,t):0)===0)return a;a<e&&(e=a)}}return e}function ed(s){let t=s.codegenNode;if(t.type===13)return t.props}function Na(s,t){t.currentNode=s;let{nodeTransforms:e}=t,i=[];for(let n=0;n<e.length;n++){let a=e[n](s,t);if(a&&(W(a)?i.push(...a):i.push(a)),!t.currentNode)return;s=t.currentNode}switch(s.type){case 3:t.ssr||t.helper(_r);break;case 5:t.ssr||t.helper(ga);break;case 9:for(let n=0;n<s.branches.length;n++)Na(s.branches[n],t);break;case 10:case 11:case 1:case 0:(function(n,a){let o=0,l=()=>{o--};for(;o<n.children.length;o++){let c=n.children[o];ae(c)||(a.grandParent=a.parent,a.parent=n,a.childIndex=o,a.onNodeRemoved=l,Na(c,a))}})(s,t)}t.currentNode=s;let r=i.length;for(;r--;)i[r]()}function td(s,t){let e=ae(s)?i=>i===s:i=>s.test(i);return(i,r)=>{if(i.type===1){let{props:n}=i;if(i.tagType===3&&n.some(Qy))return;let a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===7&&e(l.name)){n.splice(o,1),o--;let c=t(i,l,r);c&&a.push(c)}}return a}}}let ka="/*@__PURE__*/",sd=s=>`${Ri[s]}: _${Ri[s]}`;function id(s,t,{helper:e,push:i,newline:r,isTS:n}){let a=e(t==="component"?Sc:Ac);for(let o=0;o<s.length;o++){let l=s[o],c=l.endsWith("__self");c&&(l=l.slice(0,-6)),i(`const ${Uc(l,t)} = ${a}(${JSON.stringify(l)}${c?", true":""})${n?"!":""}`),o<s.length-1&&r()}}function Hc(s,t){let e=s.length>3;t.push("["),e&&t.indent(),Fr(s,t,e),e&&t.deindent(),t.push("]")}function Fr(s,t,e=!1,i=!0){let{push:r,newline:n}=t;for(let a=0;a<s.length;a++){let o=s[a];ae(o)?r(o,-3):W(o)?Hc(o,t):pt(o,t),a<s.length-1&&(e?(i&&r(","),n()):i&&r(", "))}}function pt(s,t){if(ae(s)){t.push(s,-3);return}if(dt(s)){t.push(t.helper(s));return}switch(s.type){case 1:case 9:case 11:case 12:pt(s.codegenNode,t);break;case 2:(function(e,i){i.push(JSON.stringify(e.content),-3,e)})(s,t);break;case 4:rd(s,t);break;case 5:(function(e,i){let{push:r,helper:n,pure:a}=i;a&&r(ka),r(`${n(ga)}(`),pt(e.content,i),r(")")})(s,t);break;case 8:nd(s,t);break;case 3:(function(e,i){let{push:r,helper:n,pure:a}=i;a&&r(ka),r(`${n(_r)}(${JSON.stringify(e.content)})`,-3,e)})(s,t);break;case 13:(function(e,i){let r,{push:n,helper:a,pure:o}=i,{tag:l,props:c,children:h,patchFlag:u,dynamicProps:d,directives:p,isBlock:f,disableTracking:P,isComponent:I}=e;u&&(r=String(u)),p&&n(a(Cc)+"("),f&&n(`(${a(Qs)}(${P?"true":""}), `),o&&n(ka),n(a(f?i.inSSR||I?Zs:ei:i.inSSR||I?Ns:ks)+"(",-2,e),Fr(function(T){let m=T.length;for(;m--&&T[m]==null;);return T.slice(0,m+1).map(g=>g||"null")}([l,c,h,r,d]),i),n(")"),f&&n(")"),p&&(n(", "),pt(p,i),n(")"))})(s,t);break;case 14:(function(e,i){let{push:r,helper:n,pure:a}=i,o=ae(e.callee)?e.callee:n(e.callee);a&&r(ka),r(o+"(",-2,e),Fr(e.arguments,i),r(")")})(s,t);break;case 15:(function(e,i){let{push:r,indent:n,deindent:a,newline:o}=i,{properties:l}=e;if(!l.length){r("{}",-2,e);return}let c=l.length>1;r(c?"{":"{ "),c&&n();for(let h=0;h<l.length;h++){let{key:u,value:d}=l[h];(function(p,f){let{push:P}=f;p.type===8?(P("["),nd(p,f),P("]")):p.isStatic?P(Rc(p.content)?p.content:JSON.stringify(p.content),-2,p):P(`[${p.content}]`,-3,p)})(u,i),r(": "),pt(d,i),h<l.length-1&&(r(","),o())}c&&a(),r(c?"}":" }")})(s,t);break;case 17:Hc(s.elements,t);break;case 18:(function(e,i){let{push:r,indent:n,deindent:a}=i,{params:o,returns:l,body:c,newline:h,isSlot:u}=e;u&&r(`_${Ri[_c]}(`),r("(",-2,e),W(o)?Fr(o,i):o&&pt(o,i),r(") => "),(h||c)&&(r("{"),n()),l?(h&&r("return "),W(l)?Hc(l,i):pt(l,i)):c&&pt(c,i),(h||c)&&(a(),r("}")),u&&r(")")})(s,t);break;case 19:(function(e,i){let{test:r,consequent:n,alternate:a,newline:o}=e,{push:l,indent:c,deindent:h,newline:u}=i;if(r.type===4){let p=!Rc(r.content);p&&l("("),rd(r,i),p&&l(")")}else l("("),pt(r,i),l(")");o&&c(),i.indentLevel++,o||l(" "),l("? "),pt(n,i),i.indentLevel--,o&&u(),o||l(" "),l(": ");let d=a.type===19;!d&&i.indentLevel++,pt(a,i),!d&&i.indentLevel--,o&&h(!0)})(s,t);break;case 20:(function(e,i){let{push:r,helper:n,indent:a,deindent:o,newline:l}=i,{needPauseTracking:c,needArraySpread:h}=e;h&&r("[...("),r(`_cache[${e.index}] || (`),c&&(a(),r(`${n(ba)}(-1),`),l(),r("(")),r(`_cache[${e.index}] = `),pt(e.value,i),c&&(r(`).cacheIndex = ${e.index},`),l(),r(`${n(ba)}(1),`),l(),r(`_cache[${e.index}]`),o()),r(")"),h&&r(")]")})(s,t);break;case 21:Fr(s.body,t,!0,!1)}}function rd(s,t){let{content:e,isStatic:i}=s;t.push(i?JSON.stringify(e):e,-3,s)}function nd(s,t){for(let e=0;e<s.children.length;e++){let i=s.children[e];ae(i)?t.push(i,-3):pt(i,t)}}let ag=td(/^(if|else|else-if)$/,(s,t,e)=>function(i,r,n,a){if(r.name!=="else"&&(!r.exp||!r.exp.content.trim())){let l=r.exp?r.exp.loc:i.loc;n.onError(we(28,r.loc)),r.exp=ce("true",!1,l)}if(r.name==="if"){var o;let l=ad(i,r),c={type:9,loc:He((o=i.loc).start.offset,o.end.offset),branches:[l]};if(n.replaceNode(c),a)return a(c,l,!0)}else{let l=n.parent.children,c=l.indexOf(i);for(;c-->=-1;){let h=l[c];if(h&&h.type===3||h&&h.type===2&&!h.content.trim().length){n.removeNode(h);continue}if(h&&h.type===9){r.name==="else-if"&&h.branches[h.branches.length-1].condition===void 0&&n.onError(we(30,i.loc)),n.removeNode();let u=ad(i,r);h.branches.push(u);let d=a&&a(h,u,!1);Na(u,n),d&&d(),n.currentNode=null}else n.onError(we(30,i.loc));break}}}(s,t,e,(i,r,n)=>{let a=e.parent.children,o=a.indexOf(i),l=0;for(;o-->=0;){let c=a[o];c&&c.type===9&&(l+=c.branches.length)}return()=>{n?i.codegenNode=od(r,l,e):function(c){for(;;)if(c.type===19){if(c.alternate.type!==19)return c;c=c.alternate}else c.type===20&&(c=c.value)}(i.codegenNode).alternate=od(r,l+i.branches.length-1,e)}}));function ad(s,t){let e=s.tagType===3;return{type:10,loc:s.loc,condition:t.name==="else"?void 0:t.exp,children:e&&!kt(s,"for")?s.children:[s],userKey:Ta(s,"key"),isTemplateIf:e}}function od(s,t,e){return s.condition?Dc(s.condition,ld(s,t,e),We(e.helper(_r),['""',"true"])):ld(s,t,e)}function ld(s,t,e){let{helper:i}=e,r=Ve("key",ce(`${t}`,!1,Tt,2)),{children:n}=s,a=n[0];if(n.length!==1||a.type!==1){if(n.length!==1||a.type!==11)return Or(e,i(kr),Nt([r]),n,64,void 0,void 0,!0,!1,!1,s.loc);{let o=a.codegenNode;return Aa(o,r,e),o}}{let o=a.codegenNode,l=o.type===14&&o.callee===Mc?o.arguments[1].returns:o;return l.type===13&&Oc(l,e),Aa(l,r,e),o}}let og=(s,t,e)=>{let{modifiers:i,loc:r}=s,n=s.arg,{exp:a}=s;if(a&&a.type===4&&!a.content.trim()&&(a=void 0),!a){if(n.type!==4||!n.isStatic)return e.onError(we(52,n.loc)),{props:[Ve(n,ce("",!0,r))]};cd(s),a=s.exp}return n.type!==4?(n.children.unshift("("),n.children.push(') || ""')):n.isStatic||(n.content=`${n.content} || ""`),i.some(o=>o.content==="camel")&&(n.type===4?n.isStatic?n.content=Ne(n.content):n.content=`${e.helperString(kc)}(${n.content})`:(n.children.unshift(`${e.helperString(kc)}(`),n.children.push(")"))),!e.inSSR&&(i.some(o=>o.content==="prop")&&hd(n,"."),i.some(o=>o.content==="attr")&&hd(n,"^")),{props:[Ve(n,a)]}},cd=(s,t)=>{let e=s.arg,i=Ne(e.content);s.exp=ce(i,!1,e.loc)},hd=(s,t)=>{s.type===4?s.isStatic?s.content=t+s.content:s.content=`\`${t}\${${s.content}}\``:(s.children.unshift(`'${t}' + (`),s.children.push(")"))},lg=td("for",(s,t,e)=>{let{helper:i,removeHelper:r}=e;return function(n,a,o,l){if(!a.exp){o.onError(we(31,a.loc));return}let c=a.forParseResult;if(!c){o.onError(we(32,a.loc));return}ud(c);let{addIdentifiers:h,removeIdentifiers:u,scopes:d}=o,{source:p,value:f,key:P,index:I}=c,T={type:11,loc:a.loc,source:p,valueAlias:f,keyAlias:P,objectIndexAlias:I,parseResult:c,children:Sa(n)?n.children:[n]};o.replaceNode(T),d.vFor++;let m=l&&l(T);return()=>{d.vFor--,m&&m()}}(s,t,e,n=>{let a=We(i(wc),[n.source]),o=Sa(s),l=kt(s,"memo"),c=Ta(s,"key",!1,!0);c&&c.type===7&&!c.exp&&cd(c);let h=c&&(c.type===6?c.value?ce(c.value.content,!0):void 0:c.exp),u=c&&h?Ve("key",h):null,d=n.source.type===4&&n.source.constType>0,p=d?64:c?128:256;return n.codegenNode=Or(e,i(kr),void 0,a,p,void 0,void 0,!0,!d,!1,s.loc),()=>{let f,{children:P}=n,I=P.length!==1||P[0].type!==1,T=va(s)?s:o&&s.children.length===1&&va(s.children[0])?s.children[0]:null;if(T)f=T.codegenNode,o&&u&&Aa(f,u,e);else if(I)f=Or(e,i(kr),u?Nt([u]):void 0,s.children,64,void 0,void 0,!0,void 0,!1);else{var m,g,A,x,C,k,B,w;f=P[0].codegenNode,o&&u&&Aa(f,u,e),!d!==f.isBlock&&(f.isBlock?(r(Qs),r((m=e.inSSR,g=f.isComponent,m||g?Zs:ei))):r((A=e.inSSR,x=f.isComponent,A||x?Ns:ks))),f.isBlock=!d,f.isBlock?(i(Qs),i((C=e.inSSR,k=f.isComponent,C||k?Zs:ei))):i((B=e.inSSR,w=f.isComponent,B||w?Ns:ks))}if(l){let O=Bi(qc(n.parseResult,[ce("_cached")]));O.body={type:21,body:[Bt(["const _memo = (",l.exp,")"]),Bt(["if (_cached",...h?[" && _cached.key === ",h]:[],` && ${e.helperString(Rp)}(_cached, _memo)) return _cached`]),Bt(["const _item = ",f]),ce("_item.memo = _memo"),ce("return _item")],loc:Tt},a.arguments.push(O,ce("_cache"),ce(String(e.cached.length))),e.cached.push(null)}else a.arguments.push(Bi(qc(n.parseResult),f,!0))}})});function ud(s,t){s.finalized||(s.finalized=!0)}function qc({value:s,key:t,index:e},i=[]){return function(r){let n=r.length;for(;n--&&!r[n];);return r.slice(0,n+1).map((a,o)=>a||ce("_".repeat(o+1),!1))}([s,t,e,...i])}let pd=ce("undefined",!1),cg=(s,t)=>{if(s.type===1&&(s.tagType===1||s.tagType===3)){let e=kt(s,"slot");if(e)return e.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},hg=(s,t,e,i)=>Bi(s,e,!1,!0,e.length?e[0].loc:i);function La(s,t,e){let i=[Ve("name",s),Ve("fn",t)];return e!=null&&i.push(Ve("key",ce(String(e),!0))),Nt(i)}let dd=new WeakMap,ug=(s,t)=>function(){let e,i,r,n,a;if(!((s=t.currentNode).type===1&&(s.tagType===0||s.tagType===1)))return;let{tag:o,props:l}=s,c=s.tagType===1,h=c?function(f,P,I=!1){let{tag:T}=f,m=zc(T),g=Ta(f,"is",!1,!0);if(g)if(m){let x;if(g.type===6?x=g.value&&ce(g.value.content,!0):(x=g.exp)||(x=ce("is",!1,g.arg.loc)),x)return We(P.helper(vc),[x])}else g.type===6&&g.value.content.startsWith("vue:")&&(T=g.value.content.slice(4));let A=$p(T)||P.isBuiltInComponent(T);return A?(I||P.helper(A),A):(P.helper(Sc),P.components.add(T),Uc(T,"component"))}(s,t):`"${o}"`,u=Ce(h)&&h.callee===vc,d=0,p=u||h===Lr||h===Pc||!c&&(o==="svg"||o==="foreignObject"||o==="math");if(l.length>0){let f=fd(s,t,void 0,c,u);e=f.props,d=f.patchFlag,n=f.dynamicPropNames;let P=f.directives;a=P&&P.length?ti(P.map(I=>function(T,m){let g=[],A=dd.get(T);A?g.push(m.helperString(A)):(m.helper(Ac),m.directives.add(T.name),g.push(Uc(T.name,"directive")));let{loc:x}=T;if(T.exp&&g.push(T.exp),T.arg&&(T.exp||g.push("void 0"),g.push(T.arg)),Object.keys(T.modifiers).length){T.arg||(T.exp||g.push("void 0"),g.push("void 0"));let C=ce("true",!1,x);g.push(Nt(T.modifiers.map(k=>Ve(k,C)),x))}return ti(g,T.loc)}(I,t))):void 0,f.shouldUseBlock&&(p=!0)}if(s.children.length>0)if(h===ya&&(p=!0,d|=1024),c&&h!==Lr&&h!==ya){let{slots:f,hasDynamicSlots:P}=function(I,T,m=hg){T.helper(_c);let{children:g,loc:A}=I,x=[],C=[],k=T.scopes.vSlot>0||T.scopes.vFor>0,B=kt(I,"slot",!0);if(B){let{arg:U,exp:F}=B;U&&!bt(U)&&(k=!0),x.push(Ve(U||ce("default",!0),m(F,void 0,g,A)))}let w=!1,O=!1,V=[],E=new Set,q=0;for(let U=0;U<g.length;U++){let F,Z,xe,le,ne=g[U];if(!Sa(ne)||!(F=kt(ne,"slot",!0))){ne.type!==3&&V.push(ne);continue}if(B){T.onError(we(37,F.loc));break}w=!0;let{children:de,loc:ve}=ne,{arg:be=ce("default",!0),exp:Fe,loc:Oe}=F;bt(be)?Z=be?be.content:"default":k=!0;let Re=kt(ne,"for"),re=m(Fe,Re,de,ve);if(xe=kt(ne,"if"))k=!0,C.push(Dc(xe.exp,La(be,re,q++),pd));else if(le=kt(ne,/^else(-if)?$/,!0)){let se,Le=U;for(;Le--&&(se=g[Le]).type===3;);if(se&&Sa(se)&&kt(se,/^(else-)?if$/)){let Ie=C[C.length-1];for(;Ie.alternate.type===19;)Ie=Ie.alternate;Ie.alternate=le.exp?Dc(le.exp,La(be,re,q++),pd):La(be,re,q++)}else T.onError(we(30,le.loc))}else if(Re){k=!0;let se=Re.forParseResult;se?(ud(se),C.push(We(T.helper(wc),[se.source,Bi(qc(se),La(be,re),!0)]))):T.onError(we(32,Re.loc))}else{if(Z){if(E.has(Z)){T.onError(we(38,Oe));continue}E.add(Z),Z==="default"&&(O=!0)}x.push(Ve(be,re))}}if(!B){let U=(F,Z)=>Ve("default",m(F,void 0,Z,A));w?V.length&&V.some(F=>function Z(xe){return xe.type!==2&&xe.type!==12||(xe.type===2?!!xe.content.trim():Z(xe.content))}(F))&&(O?T.onError(we(39,V[0].loc)):x.push(U(void 0,V))):x.push(U(void 0,g))}let X=k?2:function U(F){for(let Z=0;Z<F.length;Z++){let xe=F[Z];switch(xe.type){case 1:if(xe.tagType===2||U(xe.children))return!0;break;case 9:if(U(xe.branches))return!0;break;case 10:case 11:if(U(xe.children))return!0}}return!1}(I.children)?3:1,j=Nt(x.concat(Ve("_",ce(X+"",!1))),A);return C.length&&(j=We(T.helper(Fp),[j,ti(C)])),{slots:j,hasDynamicSlots:k}}(s,t);i=f,P&&(d|=1024)}else if(s.children.length===1&&h!==Lr){let f=s.children[0],P=f.type,I=P===5||P===8;I&&At(f,t)===0&&(d|=1),i=I||P===2?f:s.children}else i=s.children;n&&n.length&&(r=function(f){let P="[";for(let I=0,T=f.length;I<T;I++)P+=JSON.stringify(f[I]),I<T-1&&(P+=", ");return P+"]"}(n)),s.codegenNode=Or(t,h,e,i,d===0?void 0:d,r,a,!!p,!1,c,s.loc)};function fd(s,t,e=s.props,i,r,n=!1){let a,{tag:o,loc:l,children:c}=s,h=[],u=[],d=[],p=c.length>0,f=!1,P=0,I=!1,T=!1,m=!1,g=!1,A=!1,x=!1,C=[],k=O=>{h.length&&(u.push(Nt(md(h),l)),h=[]),O&&u.push(O)},B=()=>{t.scopes.vFor>0&&h.push(Ve(ce("ref_for",!0),ce("true")))},w=({key:O,value:V})=>{if(bt(O)){let E=O.content,q=Fs(E);q&&(!i||r)&&E.toLowerCase()!=="onclick"&&E!=="onUpdate:modelValue"&&!ms(E)&&(g=!0),q&&ms(E)&&(x=!0),q&&V.type===14&&(V=V.arguments[0]),V.type===20||(V.type===4||V.type===8)&&At(V,t)>0||(E==="ref"?I=!0:E==="class"?T=!0:E==="style"?m=!0:E==="key"||C.includes(E)||C.push(E),i&&(E==="class"||E==="style")&&!C.includes(E)&&C.push(E))}else A=!0};for(let O=0;O<e.length;O++){let V=e[O];if(V.type===6){let{loc:E,name:q,nameLoc:X,value:j}=V;if(q==="ref"&&(I=!0,B()),q==="is"&&(zc(o)||j&&j.content.startsWith("vue:")))continue;h.push(Ve(ce(q,!0,X),ce(j?j.content:"",!0,j?j.loc:E)))}else{let{name:E,arg:q,exp:X,loc:j,modifiers:U}=V,F=E==="bind",Z=E==="on";if(E==="slot"){i||t.onError(we(40,j));continue}if(E==="once"||E==="memo"||E==="is"||F&&Ui(q,"is")&&zc(o)||Z&&n)continue;if((F&&Ui(q,"key")||Z&&p&&Ui(q,"vue:before-update"))&&(f=!0),F&&Ui(q,"ref")&&B(),!q&&(F||Z)){A=!0,X?F?(B(),k(),u.push(X)):k({type:14,loc:j,callee:t.helper(Nc),arguments:i?[X]:[X,"true"]}):t.onError(we(F?34:35,j));continue}F&&U.some(le=>le.content==="prop")&&(P|=32);let xe=t.directiveTransforms[E];if(xe){let{props:le,needRuntime:ne}=xe(V,s,t);n||le.forEach(w),Z&&q&&!bt(q)?k(Nt(le,l)):h.push(...le),ne&&(d.push(V),dt(ne)&&dd.set(V,ne))}else!Nm(E)&&(d.push(V),p&&(f=!0))}}if(u.length?(k(),a=u.length>1?We(t.helper(xa),u,l):u[0]):h.length&&(a=Nt(md(h),l)),A?P|=16:(T&&!i&&(P|=2),m&&!i&&(P|=4),C.length&&(P|=8),g&&(P|=32)),!f&&(P===0||P===32)&&(I||x||d.length>0)&&(P|=512),!t.inSSR&&a)switch(a.type){case 15:let O=-1,V=-1,E=!1;for(let j=0;j<a.properties.length;j++){let U=a.properties[j].key;bt(U)?U.content==="class"?O=j:U.content==="style"&&(V=j):U.isHandlerKey||(E=!0)}let q=a.properties[O],X=a.properties[V];E?a=We(t.helper(Mr),[a]):(q&&!bt(q.value)&&(q.value=We(t.helper(Ec),[q.value])),X&&(m||X.value.type===4&&X.value.content.trim()[0]==="["||X.value.type===17)&&(X.value=We(t.helper(Ic),[X.value])));break;case 14:break;default:a=We(t.helper(Mr),[We(t.helper(Dr),[a])])}return{props:a,directives:d,patchFlag:P,dynamicPropNames:C,shouldUseBlock:f}}function md(s){let t=new Map,e=[];for(let i=0;i<s.length;i++){let r=s[i];if(r.key.type===8||!r.key.isStatic){e.push(r);continue}let n=r.key.content,a=t.get(n);a?(n==="style"||n==="class"||Fs(n))&&(a.value.type===17?a.value.elements.push(r.value):a.value=ti([a.value,r.value],a.loc)):(t.set(n,r),e.push(r))}return e}function zc(s){return s==="component"||s==="Component"}let pg=(s,t)=>{if(va(s)){let{children:e,loc:i}=s,{slotName:r,slotProps:n}=function(l,c){let h,u='"default"',d=[];for(let p=0;p<l.props.length;p++){let f=l.props[p];if(f.type===6)f.value&&(f.name==="name"?u=JSON.stringify(f.value.content):(f.name=Ne(f.name),d.push(f)));else if(f.name==="bind"&&Ui(f.arg,"name")){if(f.exp)u=f.exp;else if(f.arg&&f.arg.type===4){let P=Ne(f.arg.content);u=f.exp=ce(P,!1,f.arg.loc)}}else f.name==="bind"&&f.arg&&bt(f.arg)&&(f.arg.content=Ne(f.arg.content)),d.push(f)}if(d.length>0){let{props:p,directives:f}=fd(l,c,d,!1,!1);h=p,f.length&&c.onError(we(36,f[0].loc))}return{slotName:u,slotProps:h}}(s,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),e.length&&(a[3]=Bi([],e,!1,!1,i),o=4),t.scopeId&&!t.slotted&&(o=5),a.splice(o),s.codegenNode=We(t.helper(Op),a,i)}},yd=(s,t,e,i)=>{let r,{loc:n,modifiers:a,arg:o}=s;if(s.exp||a.length,o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`),r=ce(t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?ys(Ne(u)):`on:${u}`,!0,o.loc)}else r=Bt([`${e.helperString(Lc)}(`,o,")"]);else(r=o).children.unshift(`${e.helperString(Lc)}(`),r.children.push(")");let l=s.exp;l&&!l.content.trim()&&(l=void 0);let c=e.cacheHandlers&&!l&&!e.inVOnce;if(l){let u=qp(l),d=!(u||Yy(l)),p=l.content.includes(";");(d||c&&u)&&(l=Bt([`${d?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let h={props:[Ve(r,l||ce("() => {}",!1,n))]};return i&&(h=i(h)),c&&(h.props[0].value=e.cache(h.props[0].value)),h.props.forEach(u=>u.key.isHandlerKey=!0),h},dg=(s,t)=>{if(s.type===0||s.type===1||s.type===11||s.type===10)return()=>{let e,i=s.children,r=!1;for(let n=0;n<i.length;n++){let a=i[n];if(Bc(a)){r=!0;for(let o=n+1;o<i.length;o++){let l=i[o];if(Bc(l))e||(e=i[n]=Bt([a],a.loc)),e.children.push(" + ",l),i.splice(o,1),o--;else{e=void 0;break}}}}if(r&&(i.length!==1||s.type!==0&&(s.type!==1||s.tagType!==0||s.props.find(n=>n.type===7&&!t.directiveTransforms[n.name]))))for(let n=0;n<i.length;n++){let a=i[n];if(Bc(a)||a.type===8){let o=[];(a.type!==2||a.content!==" ")&&o.push(a),t.ssr||At(a,t)!==0||o.push("1"),i[n]={type:12,content:a,loc:a.loc,codegenNode:We(t.helper(Tc),o)}}}}},gd=new WeakSet,fg=(s,t)=>{if(s.type===1&&kt(s,"once",!0)&&!gd.has(s)&&!t.inVOnce&&!t.inSSR)return gd.add(s),t.inVOnce=!0,t.helper(ba),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},xd=(s,t,e)=>{let i,{exp:r,arg:n}=s;if(!r)return e.onError(we(41,s.loc)),_a();let a=r.loc.source.trim(),o=r.type===4?r.content:a,l=e.bindingMetadata[a];if(l==="props"||l==="props-aliased")return r.loc,_a();if(!o.trim()||!qp(r))return e.onError(we(42,r.loc)),_a();let c=n||ce("modelValue",!0),h=n?bt(n)?`onUpdate:${Ne(n.content)}`:Bt(['"onUpdate:" + ',n]):"onUpdate:modelValue",u=e.isTS?"($event: any)":"$event";i=Bt([`${u} => ((`,r,") = $event)"]);let d=[Ve(c,s.exp),Ve(h,i)];if(s.modifiers.length&&t.tagType===1){let p=s.modifiers.map(P=>P.content).map(P=>(Rc(P)?P:JSON.stringify(P))+": true").join(", "),f=n?bt(n)?`${n.content}Modifiers`:Bt([n,' + "Modifiers"']):"modelModifiers";d.push(Ve(f,ce(`{ ${p} }`,!1,s.loc,2)))}return _a(d)};function _a(s=[]){return{props:s}}let bd=new WeakSet,mg=(s,t)=>{if(s.type===1){let e=kt(s,"memo");if(!(!e||bd.has(s)))return bd.add(s),()=>{let i=s.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(s.tagType!==1&&Oc(i,t),s.codegenNode=We(t.helper(Mc),[e.exp,Bi(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))}}},Pd=Symbol(""),Td=Symbol(""),Sd=Symbol(""),vd=Symbol(""),Kc=Symbol(""),Ad=Symbol(""),Cd=Symbol(""),wd=Symbol(""),Ed=Symbol(""),Id=Symbol("");(function(s){Object.getOwnPropertySymbols(s).forEach(t=>{Ri[t]=s[t]})})({[Pd]:"vModelRadio",[Td]:"vModelCheckbox",[Sd]:"vModelText",[vd]:"vModelSelect",[Kc]:"vModelDynamic",[Ad]:"withModifiers",[Cd]:"withKeys",[wd]:"vShow",[Ed]:"Transition",[Id]:"TransitionGroup"});let yg={parseMode:"html",isVoidTag:Um,isNativeTag:s=>Fm(s)||Rm(s)||Bm(s),isPreTag:s=>s==="pre",isIgnoreNewlineTag:s=>s==="pre"||s==="textarea",decodeEntities:function(s,t=!1){return hi||(hi=document.createElement("div")),t?(hi.innerHTML=`<div foo="${s.replace(/"/g,""")}">`,hi.children[0].getAttribute("foo")):(hi.innerHTML=s,hi.textContent)},isBuiltInComponent:s=>s==="Transition"||s==="transition"?Ed:s==="TransitionGroup"||s==="transition-group"?Id:void 0,getNamespace(s,t,e){let i=t?t.ns:e;if(t&&i===2)if(t.tag==="annotation-xml"){if(s==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&s!=="mglyph"&&s!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(s==="svg")return 1;if(s==="math")return 2}return i}},gg=(s,t)=>ce(JSON.stringify(Rh(s)),!1,t,3),xg=Pt("passive,once,capture"),bg=Pt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Pg=Pt("left,right"),Nd=Pt("onkeyup,onkeydown,onkeypress"),Tg=(s,t,e,i)=>{let r=[],n=[],a=[];for(let o=0;o<t.length;o++){let l=t[o].content;xg(l)?a.push(l):Pg(l)?bt(s)?Nd(s.content.toLowerCase())?r.push(l):n.push(l):(r.push(l),n.push(l)):bg(l)?n.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:n,eventOptionModifiers:a}},kd=(s,t)=>bt(s)&&s.content.toLowerCase()==="onclick"?ce(t,!0):s.type!==4?Bt(["(",s,`) === "onClick" ? "${t}" : (`,s,")"]):s,Sg=(s,t)=>{s.type===1&&s.tagType===0&&(s.tag==="script"||s.tag==="style")&&t.removeNode()},vg=[s=>{s.type===1&&s.props.forEach((t,e)=>{t.type===6&&t.name==="style"&&t.value&&(s.props[e]={type:7,name:"bind",arg:ce("style",!0,t.loc),exp:gg(t.value.content,t.loc),modifiers:[],loc:t.loc})})}],Ag={cloak:()=>({props:[]}),html:(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(we(53,r)),t.children.length&&(e.onError(we(54,r)),t.children.length=0),{props:[Ve(ce("innerHTML",!0,r),i||ce("",!0))]}},text:(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(we(55,r)),t.children.length&&(e.onError(we(56,r)),t.children.length=0),{props:[Ve(ce("textContent",!0),i?At(i,e)>0?i:We(e.helperString(ga),[i],r):ce("",!0))]}},model:(s,t,e)=>{let i=xd(s,t,e);if(!i.props.length||t.tagType===1)return i;s.arg&&e.onError(we(58,s.arg.loc));let{tag:r}=t,n=e.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||n){let a=Sd,o=!1;if(r==="input"||n){let l=Ta(t,"type");if(l){if(l.type===7)a=Kc;else if(l.value)switch(l.value.content){case"radio":a=Pd;break;case"checkbox":a=Td;break;case"file":o=!0,e.onError(we(59,s.loc))}}else t.props.some(c=>c.type===7&&c.name==="bind"&&(!c.arg||c.arg.type!==4||!c.arg.isStatic))&&(a=Kc)}else r==="select"&&(a=vd);o||(i.needRuntime=e.helper(a))}else e.onError(we(57,s.loc));return i.props=i.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),i},on:(s,t,e)=>yd(s,t,e,i=>{let{modifiers:r}=s;if(!r.length)return i;let{key:n,value:a}=i.props[0],{keyModifiers:o,nonKeyModifiers:l,eventOptionModifiers:c}=Tg(n,r,e,s.loc);if(l.includes("right")&&(n=kd(n,"onContextmenu")),l.includes("middle")&&(n=kd(n,"onMouseup")),l.length&&(a=We(e.helper(Ad),[a,JSON.stringify(l)])),o.length&&(!bt(n)||Nd(n.content.toLowerCase()))&&(a=We(e.helper(Cd),[a,JSON.stringify(o)])),c.length){let h=c.map(Gt).join("");n=bt(n)?ce(`${n.content}${h}`,!0):Bt(["(",n,`) + "${h}"`])}return{props:[Ve(n,a)]}}),show:(s,t,e)=>{let{exp:i,loc:r}=s;return!i&&e.onError(we(61,r)),{props:[],needRuntime:e.helper(wd)}}},Ld=Object.create(null);function Wc(s,t){if(!ae(s)){if(!s.nodeType)return Ye;s=s.innerHTML}let e=s+JSON.stringify(t,(o,l)=>typeof l=="function"?l.toString():l),i=Ld[e];if(i)return i;if(s[0]==="#"){let o=document.querySelector(s);s=o?o.innerHTML:""}let r=fe({hoistStatic:!0,onError:void 0,onWarn:Ye},t);r.isCustomElement||typeof customElements>"u"||(r.isCustomElement=o=>!!customElements.get(o));let{code:n}=function(o,l={}){return function(c,h={}){let u=h.onError||Fc,d=h.mode==="module";h.prefixIdentifiers===!0?u(we(47)):d&&u(we(48)),h.cacheHandlers&&u(we(49)),h.scopeId&&!d&&u(we(50));let p=fe({},h,{prefixIdentifiers:!1}),f=ae(c)?function(T,m){if($e.reset(),st=null,Ee=null,vt="",os=-1,si=-1,Be.length=0,as=T,De=fe({},Kp),m){let x;for(x in m)m[x]!=null&&(De[x]=m[x])}$e.mode=De.parseMode==="html"?1:De.parseMode==="sfc"?2:0,$e.inXML=De.ns===1||De.ns===2;let g=m&&m.delimiters;g&&($e.delimiterOpen=Pa(g[0]),$e.delimiterClose=Pa(g[1]));let A=Ca=function(x,C=""){return{type:0,source:C,children:x,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Tt}}([],T);return $e.parse(as),A.loc=He(0,T.length),A.children=Xp(A.children),Ca=null,A}(c,p):c,[P,I]=[[fg,ag,mg,lg,pg,ug,cg,dg],{on:yd,bind:og,model:xd}];return function(T,m){let g=function(A,{filename:x="",prefixIdentifiers:C=!1,hoistStatic:k=!1,hmr:B=!1,cacheHandlers:w=!1,nodeTransforms:O=[],directiveTransforms:V={},transformHoist:E=null,isBuiltInComponent:q=Ye,isCustomElement:X=Ye,expressionPlugins:j=[],scopeId:U=null,slotted:F=!0,ssr:Z=!1,inSSR:xe=!1,ssrCssVars:le="",bindingMetadata:ne=ge,inline:de=!1,isTS:ve=!1,onError:be=Fc,onWarn:Fe=Vp,compatConfig:Oe}){let Re=x.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),re={filename:x,selfName:Re&&Gt(Ne(Re[1])),prefixIdentifiers:C,hoistStatic:k,hmr:B,cacheHandlers:w,nodeTransforms:O,directiveTransforms:V,transformHoist:E,isBuiltInComponent:q,isCustomElement:X,expressionPlugins:j,scopeId:U,slotted:F,ssr:Z,inSSR:xe,ssrCssVars:le,bindingMetadata:ne,inline:de,isTS:ve,onError:be,onWarn:Fe,compatConfig:Oe,root:A,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:A,childIndex:0,inVOnce:!1,helper(se){let Le=re.helpers.get(se)||0;return re.helpers.set(se,Le+1),se},removeHelper(se){let Le=re.helpers.get(se);if(Le){let Ie=Le-1;Ie?re.helpers.set(se,Ie):re.helpers.delete(se)}},helperString:se=>`_${Ri[re.helper(se)]}`,replaceNode(se){re.parent.children[re.childIndex]=re.currentNode=se},removeNode(se){let Le=re.parent.children,Ie=se?Le.indexOf(se):re.currentNode?re.childIndex:-1;se&&se!==re.currentNode?re.childIndex>Ie&&(re.childIndex--,re.onNodeRemoved()):(re.currentNode=null,re.onNodeRemoved()),re.parent.children.splice(Ie,1)},onNodeRemoved:Ye,addIdentifiers(se){},removeIdentifiers(se){},hoist(se){ae(se)&&(se=ce(se)),re.hoists.push(se);let Le=ce(`_hoisted_${re.hoists.length}`,!1,se.loc,2);return Le.hoisted=se,Le},cache(se,Le=!1){let Ie=function(ls,y,S=!1){return{type:20,index:ls,value:y,needPauseTracking:S,needArraySpread:!1,loc:Tt}}(re.cached.length,se,Le);return re.cached.push(Ie),Ie}};return re}(T,m);Na(T,g),m.hoistStatic&&function A(x,C,k,B=!1,w=!1){let{children:O}=x,V=[];for(let j=0;j<O.length;j++){let U=O[j];if(U.type===1&&U.tagType===0){let F=B?0:At(U,k);if(F>0){if(F>=2){U.codegenNode.patchFlag=-1,V.push(U);continue}}else{let Z=U.codegenNode;if(Z.type===13){let xe=Z.patchFlag;if((xe===void 0||xe===512||xe===1)&&Zp(U,k)>=2){let le=ed(U);le&&(Z.props=k.hoist(le))}Z.dynamicProps&&(Z.dynamicProps=k.hoist(Z.dynamicProps))}}}else if(U.type===12&&(B?0:At(U,k))>=2){V.push(U);continue}if(U.type===1){let F=U.tagType===1;F&&k.scopes.vSlot++,A(U,x,k,!1,w),F&&k.scopes.vSlot--}else if(U.type===11)A(U,x,k,U.children.length===1,!0);else if(U.type===9)for(let F=0;F<U.branches.length;F++)A(U.branches[F],x,k,U.branches[F].children.length===1,w)}let E=!1;if(V.length===O.length&&x.type===1){if(x.tagType===0&&x.codegenNode&&x.codegenNode.type===13&&W(x.codegenNode.children))x.codegenNode.children=q(ti(x.codegenNode.children)),E=!0;else if(x.tagType===1&&x.codegenNode&&x.codegenNode.type===13&&x.codegenNode.children&&!W(x.codegenNode.children)&&x.codegenNode.children.type===15){let j=X(x.codegenNode,"default");j&&(j.returns=q(ti(j.returns)),E=!0)}else if(x.tagType===3&&C&&C.type===1&&C.tagType===1&&C.codegenNode&&C.codegenNode.type===13&&C.codegenNode.children&&!W(C.codegenNode.children)&&C.codegenNode.children.type===15){let j=kt(x,"slot",!0),U=j&&j.arg&&X(C.codegenNode,j.arg);U&&(U.returns=q(ti(U.returns)),E=!0)}}if(!E)for(let j of V)j.codegenNode=k.cache(j.codegenNode);function q(j){let U=k.cache(j);return w&&k.hmr&&(U.needArraySpread=!0),U}function X(j,U){if(j.children&&!W(j.children)&&j.children.type===15){let F=j.children.properties.find(Z=>Z.key===U||Z.key.content===U);return F&&F.value}}V.length&&k.transformHoist&&k.transformHoist(O,k,x)}(T,void 0,g,Qp(T,T.children[0])),m.ssr||function(A,x){let{helper:C}=x,{children:k}=A;if(k.length===1){let B=k[0];if(Qp(A,B)&&B.codegenNode){let w=B.codegenNode;w.type===13&&Oc(w,x),A.codegenNode=w}else A.codegenNode=B}else k.length>1&&(A.codegenNode=Or(x,C(kr),void 0,A.children,64,void 0,void 0,!0,void 0,!1))}(T,g),T.helpers=new Set([...g.helpers.keys()]),T.components=[...g.components],T.directives=[...g.directives],T.imports=g.imports,T.hoists=g.hoists,T.temps=g.temps,T.cached=g.cached,T.transformed=!0}(f,fe({},p,{nodeTransforms:[...P,...h.nodeTransforms||[]],directiveTransforms:fe({},I,h.directiveTransforms||{})})),function(T,m={}){let g=function(U,{mode:F="function",prefixIdentifiers:Z=F==="module",sourceMap:xe=!1,filename:le="template.vue.html",scopeId:ne=null,optimizeImports:de=!1,runtimeGlobalName:ve="Vue",runtimeModuleName:be="vue",ssrRuntimeModuleName:Fe="vue/server-renderer",ssr:Oe=!1,isTS:Re=!1,inSSR:re=!1}){let se={mode:F,prefixIdentifiers:Z,sourceMap:xe,filename:le,scopeId:ne,optimizeImports:de,runtimeGlobalName:ve,runtimeModuleName:be,ssrRuntimeModuleName:Fe,ssr:Oe,isTS:Re,inSSR:re,source:U.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:Ie=>`_${Ri[Ie]}`,push(Ie,ls=-2,y){se.code+=Ie},indent(){Le(++se.indentLevel)},deindent(Ie=!1){Ie?--se.indentLevel:Le(--se.indentLevel)},newline(){Le(se.indentLevel)}};function Le(Ie){se.push(`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
`,-1)}(function(Oe,Re){if(!Oe.length)return;Re.pure=!0;let{push:re,newline:se}=Re;se();for(let Le=0;Le<Oe.length;Le++){let Ie=Oe[Le];Ie&&(re(`const _hoisted_${Le+1} = `),pt(Ie,Re),se())}Re.pure=!1})(U.hoists,F),ne(),le("return ")})(T,g);let j=(V?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(x(`function ${V?"ssrRender":"render"}(${j}) {`),k(),X&&(x("with (_ctx) {"),k(),q&&(x(`const { ${E.map(sd).join(", ")} } = _Vue
|
|
21
|
-
|
|
22
|
-
`,0),w()),V||x("return "),T.codegenNode?pt(T.codegenNode,g):x("null"),X&&(B(),x("}")),B(),x("}"),{ast:T,code:g.code,preamble:"",map:g.map?g.map.toJSON():void 0}}(f,p)}(o,fe({},yg,l,{nodeTransforms:[Sg,...vg,...l.nodeTransforms||[]],directiveTransforms:fe({},Ag,l.directiveTransforms||{}),transformHoist:null}))}(s,r),a=Function("Vue",n)(Uy);return a._rc=!0,Ld[e]=a}Zn(Wc);const Cg={__proto__:null,BaseTransition:wn,BaseTransitionPropsValidators:cr,Comment:Ue,DeprecationTypes:rc,EffectScope:Qi,ErrorCodes:Oo,ErrorTypeStrings:Ql,Fragment:qe,KeepAlive:Zo,ReactiveEffect:js,Static:ss,Suspense:Ul,Teleport:$o,Text:qt,TrackOpTypes:Lo,Transition:nc,TransitionGroup:pc,TriggerOpTypes:_o,VueElement:Di,assertNumber:Do,callWithAsyncErrorHandling:mt,callWithErrorHandling:Ps,camelize:Ne,capitalize:Gt,cloneVNode:Et,compatUtils:ic,compile:Wc,computed:ea,createApp:Nr,createBlock:Li,createCommentVNode:Hl,createElementBlock:jl,createElementVNode:Sr,createHydrationRenderer:Vn,createPropsRestProxy:Cl,createRenderer:gr,createSSRApp:ma,createSlots:ol,createStaticVNode:$l,createTextVNode:vr,createVNode:ke,customRef:yn,defineAsyncComponent:Yo,defineComponent:hr,defineCustomElement:la,defineEmits:ml,defineExpose:yl,defineModel:bl,defineOptions:gl,defineProps:fl,defineSSRCustomElement:cc,defineSlots:xl,devtools:Zl,effect:bo,effectScope:po,getCurrentInstance:xt,getCurrentScope:rn,getCurrentWatcher:Mo,getTransitionRawChildren:Ai,guardReactiveProps:Yn,h:ta,handleError:es,hasInjectionContext:kl,hydrate:yc,hydrateOnIdle:Wo,hydrateOnInteraction:Go,hydrateOnMediaQuery:Xo,hydrateOnVisible:Jo,initCustomFormatter:Xl,initDirectivesForSSR:gc,inject:zs,isMemoSame:sa,isProxy:xi,isReactive:jt,isReadonly:Vt,isRef:je,isRuntimeOnly:Wl,isShallow:ct,isVNode:Ft,markRaw:fn,mergeDefaults:vl,mergeModels:Al,mergeProps:Qn,nextTick:Si,normalizeClass:Us,normalizeProps:ho,normalizeStyle:Bs,onActivated:kn,onBeforeMount:dr,onBeforeUnmount:Ii,onBeforeUpdate:Dn,onDeactivated:Ln,onErrorCaptured:Bn,onMounted:Hs,onRenderTracked:Rn,onRenderTriggered:Fn,onScopeDispose:fo,onServerPrefetch:On,onUnmounted:Ni,onUpdated:Ei,onWatcherCleanup:bn,openBlock:Js,popScopeId:Bo,provide:jn,proxyRefs:ir,pushScopeId:Ro,queuePostFlushCb:vi,reactive:gi,readonly:sr,ref:$s,registerRuntimeCompiler:Zn,render:fa,renderList:al,renderSlot:ll,resolveComponent:sl,resolveDirective:rl,resolveDynamicComponent:il,resolveFilter:sc,resolveTransitionHooks:vs,setBlockTracking:Tr,setDevtoolsHook:ec,setTransitionHooks:Ot,shallowReactive:pn,shallowReadonly:Co,shallowRef:mn,ssrContextKey:Hn,ssrUtils:tc,stop:Po,toDisplayString:sn,toHandlerKey:ys,toHandlers:hl,toRaw:me,toRef:ko,toRefs:No,toValue:Io,transformVNodeArgs:Vl,triggerRef:Eo,unref:bi,useAttrs:Sl,useCssModule:uc,useCssVars:ac,useHost:ca,useId:qo,useModel:Fl,useSSRContext:qn,useShadowRoot:hc,useSlots:Tl,useTemplateRef:Ko,useTransitionState:lr,vModelCheckbox:Er,vModelDynamic:pa,vModelRadio:Ir,vModelSelect:ua,vModelText:Oi,vShow:na,version:ia,warn:Yl,watch:Ws,watchEffect:Ol,watchPostEffect:zn,watchSyncEffect:Kn,withAsyncContext:wl,withCtx:ar,withDefaults:Pl,withDirectives:jo,withKeys:fc,withMemo:Gl,withModifiers:dc,withScopeId:Uo};function wg(s){const t=new RegExp(`\\b${Object.keys(Cg).join("\\b|\\b")}\\b`,"g"),{importsCode:e,setupCode:i,retNames:r,isAsync:n}=s,a=`{template:document.body.innerHTML,${n?"async":""} setup(){${i}return{${r}}}}`,o=`{components:{c:${a}},template:'<Suspense><c/></Suspense>'}`,l=`createApp(${n?o:a}).mount(document.body);`,c=`const {createApp,${[...new Set(i.match(t))]}}=Vue;`;return""+e+c+l}return(async()=>{const s=await ym(Cm,vm);document.body.innerHTML=s[Ji.str].parsed;const{scriptEl:t,...e}=s[Ds.str].parsed;t.innerHTML=wg(e)})(),v.BaseTransition=wn,v.BaseTransitionPropsValidators=cr,v.Comment=Ue,v.DeprecationTypes=rc,v.EffectScope=Qi,v.ErrorCodes=Oo,v.ErrorTypeStrings=Ql,v.Fragment=qe,v.KeepAlive=Zo,v.ReactiveEffect=js,v.Static=ss,v.Suspense=Ul,v.Teleport=$o,v.Text=qt,v.TrackOpTypes=Lo,v.Transition=nc,v.TransitionGroup=pc,v.TriggerOpTypes=_o,v.VueElement=Di,v.assertNumber=Do,v.callWithAsyncErrorHandling=mt,v.callWithErrorHandling=Ps,v.camelize=Ne,v.capitalize=Gt,v.cloneVNode=Et,v.compatUtils=ic,v.compile=Wc,v.computed=ea,v.createApp=Nr,v.createBlock=Li,v.createCommentVNode=Hl,v.createElementBlock=jl,v.createElementVNode=Sr,v.createHydrationRenderer=Vn,v.createPropsRestProxy=Cl,v.createRenderer=gr,v.createSSRApp=ma,v.createSlots=ol,v.createStaticVNode=$l,v.createTextVNode=vr,v.createVNode=ke,v.customRef=yn,v.defineAsyncComponent=Yo,v.defineComponent=hr,v.defineCustomElement=la,v.defineEmits=ml,v.defineExpose=yl,v.defineModel=bl,v.defineOptions=gl,v.defineProps=fl,v.defineSSRCustomElement=cc,v.defineSlots=xl,v.devtools=Zl,v.effect=bo,v.effectScope=po,v.getCurrentInstance=xt,v.getCurrentScope=rn,v.getCurrentWatcher=Mo,v.getTransitionRawChildren=Ai,v.guardReactiveProps=Yn,v.h=ta,v.handleError=es,v.hasInjectionContext=kl,v.hydrate=yc,v.hydrateOnIdle=Wo,v.hydrateOnInteraction=Go,v.hydrateOnMediaQuery=Xo,v.hydrateOnVisible=Jo,v.initCustomFormatter=Xl,v.initDirectivesForSSR=gc,v.inject=zs,v.isMemoSame=sa,v.isProxy=xi,v.isReactive=jt,v.isReadonly=Vt,v.isRef=je,v.isRuntimeOnly=Wl,v.isShallow=ct,v.isVNode=Ft,v.markRaw=fn,v.mergeDefaults=vl,v.mergeModels=Al,v.mergeProps=Qn,v.nextTick=Si,v.normalizeClass=Us,v.normalizeProps=ho,v.normalizeStyle=Bs,v.onActivated=kn,v.onBeforeMount=dr,v.onBeforeUnmount=Ii,v.onBeforeUpdate=Dn,v.onDeactivated=Ln,v.onErrorCaptured=Bn,v.onMounted=Hs,v.onRenderTracked=Rn,v.onRenderTriggered=Fn,v.onScopeDispose=fo,v.onServerPrefetch=On,v.onUnmounted=Ni,v.onUpdated=Ei,v.onWatcherCleanup=bn,v.openBlock=Js,v.popScopeId=Bo,v.provide=jn,v.proxyRefs=ir,v.pushScopeId=Ro,v.queuePostFlushCb=vi,v.reactive=gi,v.readonly=sr,v.ref=$s,v.registerRuntimeCompiler=Zn,v.render=fa,v.renderList=al,v.renderSlot=ll,v.resolveComponent=sl,v.resolveDirective=rl,v.resolveDynamicComponent=il,v.resolveFilter=sc,v.resolveTransitionHooks=vs,v.setBlockTracking=Tr,v.setDevtoolsHook=ec,v.setTransitionHooks=Ot,v.shallowReactive=pn,v.shallowReadonly=Co,v.shallowRef=mn,v.ssrContextKey=Hn,v.ssrUtils=tc,v.stop=Po,v.toDisplayString=sn,v.toHandlerKey=ys,v.toHandlers=hl,v.toRaw=me,v.toRef=ko,v.toRefs=No,v.toValue=Io,v.transformVNodeArgs=Vl,v.triggerRef=Eo,v.unref=bi,v.useAttrs=Sl,v.useCssModule=uc,v.useCssVars=ac,v.useHost=ca,v.useId=qo,v.useModel=Fl,v.useSSRContext=qn,v.useShadowRoot=hc,v.useSlots=Tl,v.useTemplateRef=Ko,v.useTransitionState=lr,v.vModelCheckbox=Er,v.vModelDynamic=pa,v.vModelRadio=Ir,v.vModelSelect=ua,v.vModelText=Oi,v.vShow=na,v.version=ia,v.warn=Yl,v.watch=Ws,v.watchEffect=Ol,v.watchPostEffect=zn,v.watchSyncEffect=Kn,v.withAsyncContext=wl,v.withCtx=ar,v.withDefaults=Pl,v.withDirectives=jo,v.withKeys=fc,v.withMemo=Gl,v.withModifiers=dc,v.withScopeId=Uo,v}({});
|
|
19
|
+
**//*! #__NO_SIDE_EFFECTS__ */function $e(t){const e=Object.create(null);for(const r of t.split(","))e[r]=1;return r=>r in e}const ws=Object.freeze({}),At=()=>{},Xt=()=>!1,Bc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Lt=Object.assign,gg=Object.prototype.hasOwnProperty,ja=(t,e)=>gg.call(t,e),qe=Array.isArray,yg=t=>Va(t)==="[object Map]",bg=t=>Va(t)==="[object Set]",$c=t=>typeof t=="function",ge=t=>typeof t=="string",ur=t=>typeof t=="symbol",lr=t=>t!==null&&typeof t=="object",Uc=Object.prototype.toString,Va=t=>Uc.call(t),qc=t=>Va(t)==="[object Object]",jc=$e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ga=$e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),xi=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},vg=/-(\w)/g,ot=xi(t=>t.replace(vg,(e,r)=>r?r.toUpperCase():"")),Sg=/\B([A-Z])/g,xg=xi(t=>t.replace(Sg,"-$1").toLowerCase()),cr=xi(t=>t.charAt(0).toUpperCase()+t.slice(1)),Eg=xi(t=>t?`on${cr(t)}`:""),wg=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Ei(t){return wg.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}function Tg(t,e){return t+JSON.stringify(e,(r,i)=>typeof i=="function"?i.toString():i)}const wi={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},_g={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Vc=$e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol"),Gc=2;function Ts(t,e=0,r=t.length){if(e=Math.max(0,Math.min(e,t.length)),r=Math.max(0,Math.min(r,t.length)),e>r)return"";let i=t.split(/(\r?\n)/);const n=i.filter((h,c)=>c%2===1);i=i.filter((h,c)=>c%2===0);let a=0;const o=[];for(let h=0;h<i.length;h++)if(a+=i[h].length+(n[h]&&n[h].length||0),a>=e){for(let c=h-Gc;c<=h+Gc||r>a;c++){if(c<0||c>=i.length)continue;const d=c+1;o.push(`${d}${" ".repeat(Math.max(3-String(d).length,0))}| ${i[c]}`);const f=i[c].length,m=n[c]&&n[c].length||0;if(c===h){const y=e-(a-(f+m)),b=Math.max(1,r>a?f-y:r-e);o.push(" | "+" ".repeat(y)+"^".repeat(b))}else if(c>h){if(r>a){const y=Math.max(Math.min(r-a,f),1);o.push(" | "+"^".repeat(y))}a+=f+m}}break}return o.join(`
|
|
20
|
+
`)}function zc(t){if(qe(t)){const e={};for(let r=0;r<t.length;r++){const i=t[r],n=ge(i)?Wc(i):zc(i);if(n)for(const a in n)e[a]=n[a]}return e}else if(ge(t)||lr(t))return t}const Pg=/;(?![^(]*\))/g,Ag=/:([^]+)/,Cg=/\/\*[^]*?\*\//g;function Wc(t){const e={};return t.replace(Cg,"").split(Pg).forEach(r=>{if(r){const i=r.split(Ag);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Ig(t){let e="";if(!t||ge(t))return e;for(const r in t){const i=t[r];if(ge(i)||typeof i=="number"){const n=r.startsWith("--")?r:xg(r);e+=`${n}:${i};`}}return e}function Hc(t){let e="";if(ge(t))e=t;else if(qe(t))for(let r=0;r<t.length;r++){const i=Hc(t[r]);i&&(e+=i+" ")}else if(lr(t))for(const r in t)t[r]&&(e+=r+" ");return e.trim()}const Ng="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Og="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",kg="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Lg="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Mg=$e(Ng),Rg=$e(Og),Dg=$e(kg),Xc=$e(Lg),Kc=$e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Fg=/[>/="'\u0009\u000a\u000c\u0020]/,za={};function Bg(t){if(za.hasOwnProperty(t))return za[t];const e=Fg.test(t);return e&&console.error(`unsafe attribute name: ${t}`),za[t]=!e}const $g={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Ug=$e("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),qg=$e("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),jg=$e("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns"),Vg=/["'&<>]/;function Mt(t){const e=""+t,r=Vg.exec(e);if(!r)return e;let i="",n,a,o=0;for(a=r.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}o!==a&&(i+=e.slice(o,a)),o=a+1,i+=n}return o!==a?i+e.slice(o,a):i}const Gg=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function zg(t,e){return t.replace(Gg,r=>e?r==='"'?'\\\\\\"':`\\\\${r}`:`\\${r}`)}const Jc=t=>!!(t&&t.__v_isRef===!0),Ti=t=>ge(t)?t:t==null?"":qe(t)||lr(t)&&(t.toString===Uc||!$c(t.toString))?Jc(t)?Ti(t.value):JSON.stringify(t,Yc,2):String(t),Yc=(t,e)=>Jc(e)?Yc(t,e.value):yg(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[i,n],a)=>(r[Wa(i,a)+" =>"]=n,r),{})}:bg(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>Wa(r))}:ur(e)?Wa(e):lr(e)&&!qe(e)&&!qc(e)?String(e):e,Wa=(t,e="")=>{var r;return ur(t)?`Symbol(${(r=t.description)!=null?r:e})`:t},Gr=Symbol("Fragment"),wr=Symbol("Teleport"),zr=Symbol("Suspense"),_s=Symbol("KeepAlive"),Ha=Symbol("BaseTransition"),hr=Symbol("openBlock"),Xa=Symbol("createBlock"),Ka=Symbol("createElementBlock"),Ps=Symbol("createVNode"),_i=Symbol("createElementVNode"),Wr=Symbol("createCommentVNode"),Pi=Symbol("createTextVNode"),Ai=Symbol("createStaticVNode"),As=Symbol("resolveComponent"),Cs=Symbol("resolveDynamicComponent"),Ci=Symbol("resolveDirective"),Qc=Symbol("resolveFilter"),Ii=Symbol("withDirectives"),Ni=Symbol("renderList"),Ja=Symbol("renderSlot"),Ya=Symbol("createSlots"),Is=Symbol("toDisplayString"),Tr=Symbol("mergeProps"),Oi=Symbol("normalizeClass"),ki=Symbol("normalizeStyle"),Hr=Symbol("normalizeProps"),Xr=Symbol("guardReactiveProps"),Li=Symbol("toHandlers"),Mi=Symbol("camelize"),Zc=Symbol("capitalize"),Ri=Symbol("toHandlerKey"),Ns=Symbol("setBlockTracking"),eh=Symbol("pushScopeId"),th=Symbol("popScopeId"),Di=Symbol("withCtx"),Kr=Symbol("unref"),Os=Symbol("isRef"),Fi=Symbol("withMemo"),Qa=Symbol("isMemoSame"),ut={[Gr]:"Fragment",[wr]:"Teleport",[zr]:"Suspense",[_s]:"KeepAlive",[Ha]:"BaseTransition",[hr]:"openBlock",[Xa]:"createBlock",[Ka]:"createElementBlock",[Ps]:"createVNode",[_i]:"createElementVNode",[Wr]:"createCommentVNode",[Pi]:"createTextVNode",[Ai]:"createStaticVNode",[As]:"resolveComponent",[Cs]:"resolveDynamicComponent",[Ci]:"resolveDirective",[Qc]:"resolveFilter",[Ii]:"withDirectives",[Ni]:"renderList",[Ja]:"renderSlot",[Ya]:"createSlots",[Is]:"toDisplayString",[Tr]:"mergeProps",[Oi]:"normalizeClass",[ki]:"normalizeStyle",[Hr]:"normalizeProps",[Xr]:"guardReactiveProps",[Li]:"toHandlers",[Mi]:"camelize",[Zc]:"capitalize",[Ri]:"toHandlerKey",[Ns]:"setBlockTracking",[eh]:"pushScopeId",[th]:"popScopeId",[Di]:"withCtx",[Kr]:"unref",[Os]:"isRef",[Fi]:"withMemo",[Qa]:"isMemoSame"};function Za(t){Object.getOwnPropertySymbols(t).forEach(e=>{ut[e]=t[e]})}const Wg={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},Hg={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},Xg={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},Kg={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Ne={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function _r(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Ne}}function Jr(t,e,r,i,n,a,o,h=!1,c=!1,d=!1,f=Ne){return t&&(h?(t.helper(hr),t.helper(Ar(t.inSSR,d))):t.helper(Pr(t.inSSR,d)),o&&t.helper(Ii)),{type:13,tag:e,props:r,children:i,patchFlag:n,dynamicProps:a,directives:o,isBlock:h,disableTracking:c,isComponent:d,loc:f}}function Kt(t,e=Ne){return{type:17,loc:e,elements:t}}function lt(t,e=Ne){return{type:15,loc:e,properties:t}}function Ee(t,e){return{type:16,loc:Ne,key:ge(t)?Y(t,!0):t,value:e}}function Y(t,e=!1,r=Ne,i=0){return{type:4,loc:r,content:t,isStatic:e,constType:e?3:i}}function Bi(t,e){return{type:5,loc:e,content:ge(t)?Y(t,!1,e):t}}function je(t,e=Ne){return{type:8,loc:e,children:t}}function ce(t,e=[],r=Ne){return{type:14,loc:r,callee:t,arguments:e}}function yt(t,e=void 0,r=!1,i=!1,n=Ne){return{type:18,params:t,returns:e,newline:r,isSlot:i,loc:n}}function Ct(t,e,r,i=!0){return{type:19,test:t,consequent:e,alternate:r,newline:i,loc:Ne}}function rh(t,e,r=!1){return{type:20,index:t,value:e,needPauseTracking:r,needArraySpread:!1,loc:Ne}}function ks(t){return{type:21,body:t,loc:Ne}}function eo(t){return{type:22,elements:t,loc:Ne}}function $i(t,e,r){return{type:23,test:t,consequent:e,alternate:r,loc:Ne}}function Ui(t,e){return{type:24,left:t,right:e,loc:Ne}}function sh(t){return{type:25,expressions:t,loc:Ne}}function ih(t){return{type:26,returns:t,loc:Ne}}function Pr(t,e){return t||e?Ps:_i}function Ar(t,e){return t||e?Xa:Ka}function qi(t,{helper:e,removeHelper:r,inSSR:i}){t.isBlock||(t.isBlock=!0,r(Pr(i,t.isComponent)),e(hr),e(Ar(i,t.isComponent)))}var nh=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(t=>t.charCodeAt(0))),Jg=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0))),to;const Yg=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ro=(to=String.fromCodePoint)!==null&&to!==void 0?to:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function Qg(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=Yg.get(t))!==null&&e!==void 0?e:t}var Ve;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ve||(Ve={}));const Zg=32;var fr;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(fr||(fr={}));function so(t){return t>=Ve.ZERO&&t<=Ve.NINE}function ey(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_F||t>=Ve.LOWER_A&&t<=Ve.LOWER_F}function ty(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_Z||t>=Ve.LOWER_A&&t<=Ve.LOWER_Z||so(t)}function ry(t){return t===Ve.EQUALS||ty(t)}var Ge;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Ge||(Ge={}));var Rt;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Rt||(Rt={}));class ah{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=Ge.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Rt.Strict}startEntity(e){this.decodeMode=e,this.state=Ge.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case Ge.EntityStart:return e.charCodeAt(r)===Ve.NUM?(this.state=Ge.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=Ge.NamedEntity,this.stateNamedEntity(e,r));case Ge.NumericStart:return this.stateNumericStart(e,r);case Ge.NumericDecimal:return this.stateNumericDecimal(e,r);case Ge.NumericHex:return this.stateNumericHex(e,r);case Ge.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|Zg)===Ve.LOWER_X?(this.state=Ge.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=Ge.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,i,n){if(r!==i){const a=i-r;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(r,a),n),this.consumed+=a}}stateNumericHex(e,r){const i=r;for(;r<e.length;){const n=e.charCodeAt(r);if(so(n)||ey(n))r+=1;else return this.addToNumericResult(e,i,r,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,i,r,16),-1}stateNumericDecimal(e,r){const i=r;for(;r<e.length;){const n=e.charCodeAt(r);if(so(n))r+=1;else return this.addToNumericResult(e,i,r,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,i,r,10),-1}emitNumericEntity(e,r){var i;if(this.consumed<=r)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Ve.SEMI)this.consumed+=1;else if(this.decodeMode===Rt.Strict)return 0;return this.emitCodePoint(Qg(this.result),this.consumed),this.errors&&(e!==Ve.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){const{decodeTree:i}=this;let n=i[this.treeIndex],a=(n&fr.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){const o=e.charCodeAt(r);if(this.treeIndex=sy(i,n,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return this.result===0||this.decodeMode===Rt.Attribute&&(a===0||ry(o))?0:this.emitNotTerminatedNamedEntity();if(n=i[this.treeIndex],a=(n&fr.VALUE_LENGTH)>>14,a!==0){if(o===Ve.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Rt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:r,decodeTree:i}=this,n=(i[r]&fr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,i){const{decodeTree:n}=this;return this.emitCodePoint(r===1?n[e]&~fr.VALUE_LENGTH:n[e+1],i),r===3&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case Ge.NamedEntity:return this.result!==0&&(this.decodeMode!==Rt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ge.NumericDecimal:return this.emitNumericEntity(0,2);case Ge.NumericHex:return this.emitNumericEntity(0,3);case Ge.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ge.EntityStart:return 0}}}function oh(t){let e="";const r=new ah(t,i=>e+=ro(i));return function(n,a){let o=0,h=0;for(;(h=n.indexOf("&",h))>=0;){e+=n.slice(o,h),r.startEntity(a);const d=r.write(n,h+1);if(d<0){o=h+r.end();break}o=h+d,h=d===0?o+1:o}const c=e+n.slice(o);return e="",c}}function sy(t,e,r,i){const n=(e&fr.BRANCH_LENGTH)>>7,a=e&fr.JUMP_TABLE;if(n===0)return a!==0&&i===a?r:-1;if(a){const c=i-a;return c<0||c>=n?-1:t[r+c]-1}let o=r,h=o+n-1;for(;o<=h;){const c=o+h>>>1,d=t[c];if(d<i)o=c+1;else if(d>i)h=c-1;else return t[c+n]}return-1}const iy=oh(nh);oh(Jg);function ny(t,e=Rt.Legacy){return iy(t,e)}const uh=new Uint8Array([123,123]),lh=new Uint8Array([125,125]);function ch(t){return t>=97&&t<=122||t>=65&&t<=90}function bt(t){return t===32||t===10||t===9||t===12||t===13}function pr(t){return t===47||t===62||bt(t)}function ji(t){const e=new Uint8Array(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}const Xe={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ay{constructor(e,r){this.stack=e,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=uh,this.delimiterClose=lh,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new ah(nh,(i,n)=>this.emitCodePoint(i,n))}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=uh,this.delimiterClose=lh}getPos(e){let r=1,i=e+1;for(let n=this.newlines.length-1;n>=0;n--){const a=this.newlines[n];if(e>a){r=n+2,i=e-a;break}}return{column:i,line:r,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?pr(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||bt(e)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const i=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=i}this.sectionStart=r+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Xe.TitleEnd||this.currentSequence===Xe.TextareaEnd&&!this.inSFCRoot?e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===Xe.Cdata[this.sequenceIndex]?++this.sequenceIndex===Xe.Cdata.length&&(this.state=28,this.currentSequence=Xe.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Xe.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,r){this.enterRCDATA(e,r),this.state=31}enterRCDATA(e,r){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=r}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):ch(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){pr(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(pr(e)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(ji("</"+r),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){bt(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=ch(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||bt(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):bt(e)||(e===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):bt(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||pr(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):(e===34||e===39||e===60)&&this.cbs.onerr(17,this.index)}stateInDirName(e){e===61||pr(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||pr(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||pr(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||pr(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):bt(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):bt(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,r){e===r?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11):e===38&&this.startEntity()}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){bt(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):e===34||e===39||e===60||e===61||e===96?this.cbs.onerr(18,this.index):e===38&&this.startEntity()}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=Xe.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Xe.ScriptEnd[3]?this.startSpecial(Xe.ScriptEnd,4):e===Xe.StyleEnd[3]?this.startSpecial(Xe.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Xe.TitleEnd[3]?this.startSpecial(Xe.TitleEnd,4):e===Xe.TextareaEnd[3]?this.startSpecial(Xe.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?Rt.Legacy:Rt.Attribute)}stateInEntity(){{const e=this.entityDecoder.write(this.buffer,this.index);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.state===33&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Xe.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,r){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.onattribentity(ro(e),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.ontextentity(ro(e),this.entityStart,this.sectionStart))}}const oy={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},uy={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:t=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function io(t,{compatConfig:e}){const r=e&&e[t];return t==="MODE"?r||3:r}function ly(t,e){const r=io("MODE",e),i=io(t,e);return r===3?i===!0:i!==!1}function cy(t,e,r,...i){const n=ly(t,e);return n&&hh(t,e,r,...i),n}function hh(t,e,r,...i){if(io(t,e)==="suppress-warning")return;const{message:a,link:o}=uy[t],h=`(deprecation ${t}) ${typeof a=="function"?a(...i):a}${o?`
|
|
21
|
+
Details: ${o}`:""}`,c=new SyntaxError(h);c.code=t,r&&(c.loc=r),e.onWarn(c)}function no(t){throw t}function fh(t){console.warn(`[Vue warn] ${t.message}`)}function be(t,e,r,i){const n=(r||ao)[t]+(i||""),a=new SyntaxError(String(n));return a.code=t,a.loc=e,a}const hy={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},ao={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
22
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function Vi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ls(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}),r}var Yr={},ph;function fy(){if(ph)return Yr;ph=1,Object.defineProperty(Yr,"__esModule",{value:!0});function t(_,u){if(_==null)return{};var s={};for(var l in _)if({}.hasOwnProperty.call(_,l)){if(u.includes(l))continue;s[l]=_[l]}return s}class e{constructor(u,s,l){this.line=void 0,this.column=void 0,this.index=void 0,this.line=u,this.column=s,this.index=l}}class r{constructor(u,s){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=u,this.end=s}}function i(_,u){const{line:s,column:l,index:p}=_;return new e(s,l+u,p+u)}const n="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var a={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:n},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:n}};const o={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"},h=_=>_.type==="UpdateExpression"?o.UpdateExpression[`${_.prefix}`]:o[_.type];var c={AccessorIsGenerator:({kind:_})=>`A ${_}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:_})=>`Missing initializer in ${_} 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:_})=>`\`${_}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:_})=>`'import.${_}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:_,exportName:u})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
23
|
+
- Did you mean \`export { '${_}' as '${u}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:_})=>`'${_==="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:_})=>`Unsyntactic ${_==="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:_})=>`A string literal cannot be used as an imported binding.
|
|
24
|
+
- Did you mean \`import { "${_}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:_})=>`\`import()\` requires exactly ${_===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:_})=>`Expected number in radix ${_}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:_})=>`Escape sequence in keyword ${_}.`,InvalidIdentifier:({identifierName:_})=>`Invalid identifier ${_}.`,InvalidLhs:({ancestor:_})=>`Invalid left-hand side in ${h(_)}.`,InvalidLhsBinding:({ancestor:_})=>`Binding invalid left-hand side in ${h(_)}.`,InvalidLhsOptionalChaining:({ancestor:_})=>`Invalid optional chaining in the left-hand side of ${h(_)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:_})=>`Unexpected character '${_}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:_})=>`Private name #${_} 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:_})=>`Label '${_}' 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:_})=>`This experimental syntax requires enabling the parser plugin: ${_.map(u=>JSON.stringify(u)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:_})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${_.map(u=>JSON.stringify(u)).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:_})=>`Duplicate key "${_}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:_})=>`An export name cannot include a lone surrogate, found '\\u${_.toString(16)}'.`,ModuleExportUndefined:({localName:_})=>`Export '${_}' 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:_})=>`Private names are only allowed in property accesses (\`obj.#${_}\`) or in \`in\` expressions (\`#${_} in obj\`).`,PrivateNameRedeclaration:({identifierName:_})=>`Duplicate private name #${_}.`,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:_})=>`Unexpected keyword '${_}'.`,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:_})=>`Unexpected reserved word '${_}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:_,unexpected:u})=>`Unexpected token${u?` '${u}'.`:""}${_?`, expected "${_}"`:""}`,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:_,onlyValidPropertyName:u})=>`The only valid meta property for ${_} is ${_}.${u}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:_})=>`Identifier '${_}' 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."},d={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:_})=>`Assigning to '${_}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:_})=>`Binding '${_}' 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."};const f=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var m={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:_})=>`Invalid topic token ${_}. In order to use ${_} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${_}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:_})=>`Hack-style pipe body cannot be an unparenthesized ${h({type:_})}; 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.'};const y=["message"];function b(_,u,s){Object.defineProperty(_,u,{enumerable:!1,configurable:!0,value:s})}function x({toMessage:_,code:u,reasonCode:s,syntaxPlugin:l}){const p=s==="MissingPlugin"||s==="MissingOneOfPlugins";return function S(P,O){const D=new SyntaxError;return D.code=u,D.reasonCode=s,D.loc=P,D.pos=P.index,D.syntaxPlugin=l,p&&(D.missingPlugin=O.missingPlugin),b(D,"clone",function(F={}){var W;const{line:K,column:J,index:ae}=(W=F.loc)!=null?W:P;return S(new e(K,J,ae),Object.assign({},O,F.details))}),b(D,"details",O),Object.defineProperty(D,"message",{configurable:!0,get(){const $=`${_(O)} (${P.line}:${P.column})`;return this.message=$,$},set($){Object.defineProperty(this,"message",{value:$,writable:!0})}}),D}}function v(_,u){if(Array.isArray(_))return l=>v(l,_[0]);const s={};for(const l of Object.keys(_)){const p=_[l],S=typeof p=="string"?{message:()=>p}:typeof p=="function"?{message:p}:p,{message:P}=S,O=t(S,y),D=typeof P=="string"?()=>P:P;s[l]=x(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:l,toMessage:D},u?{syntaxPlugin:u}:{},O))}return s}const g=Object.assign({},v(a),v(c),v(d),v`pipelineOperator`(m)),{defineProperty:T}=Object,E=(_,u)=>{_&&T(_,u,{enumerable:!1,value:_[u]})};function C(_){return E(_.loc.start,"index"),E(_.loc.end,"index"),_}var N=_=>class extends _{parse(){const s=C(super.parse());return this.options.tokens&&(s.tokens=s.tokens.map(C)),s}parseRegExpLiteral({pattern:s,flags:l}){let p=null;try{p=new RegExp(s,l)}catch(P){}const S=this.estreeParseLiteral(p);return S.regex={pattern:s,flags:l},S}parseBigIntLiteral(s){let l;try{l=BigInt(s)}catch(S){l=null}const p=this.estreeParseLiteral(l);return p.bigint=String(p.value||s),p}parseDecimalLiteral(s){const p=this.estreeParseLiteral(null);return p.decimal=String(p.value||s),p}estreeParseLiteral(s){return this.parseLiteral(s,"Literal")}parseStringLiteral(s){return this.estreeParseLiteral(s)}parseNumericLiteral(s){return this.estreeParseLiteral(s)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(s){return this.estreeParseLiteral(s)}directiveToStmt(s){const l=s.value;delete s.value,l.type="Literal",l.raw=l.extra.raw,l.value=l.extra.expressionValue;const p=s;return p.type="ExpressionStatement",p.expression=l,p.directive=l.extra.rawValue,delete l.extra,p}initFunction(s,l){super.initFunction(s,l),s.expression=!1}checkDeclaration(s){s!=null&&this.isObjectProperty(s)?this.checkDeclaration(s.value):super.checkDeclaration(s)}getObjectOrClassMethodParams(s){return s.value.params}isValidDirective(s){var l;return s.type==="ExpressionStatement"&&s.expression.type==="Literal"&&typeof s.expression.value=="string"&&!((l=s.expression.extra)!=null&&l.parenthesized)}parseBlockBody(s,l,p,S,P){super.parseBlockBody(s,l,p,S,P);const O=s.directives.map(D=>this.directiveToStmt(D));s.body=O.concat(s.body),delete s.directives}pushClassMethod(s,l,p,S,P,O){this.parseMethod(l,p,S,P,O,"ClassMethod",!0),l.typeParameters&&(l.value.typeParameters=l.typeParameters,delete l.typeParameters),s.body.push(l)}parsePrivateName(){const s=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(s):s}convertPrivateNameToPrivateIdentifier(s){const l=super.getPrivateNameSV(s);return s=s,delete s.id,s.name=l,s.type="PrivateIdentifier",s}isPrivateName(s){return this.getPluginOption("estree","classFeatures")?s.type==="PrivateIdentifier":super.isPrivateName(s)}getPrivateNameSV(s){return this.getPluginOption("estree","classFeatures")?s.name:super.getPrivateNameSV(s)}parseLiteral(s,l){const p=super.parseLiteral(s,l);return p.raw=p.extra.raw,delete p.extra,p}parseFunctionBody(s,l,p=!1){super.parseFunctionBody(s,l,p),s.expression=s.body.type!=="BlockStatement"}parseMethod(s,l,p,S,P,O,D=!1){let $=this.startNode();return $.kind=s.kind,$=super.parseMethod($,l,p,S,P,O,D),$.type="FunctionExpression",delete $.kind,s.value=$,O==="ClassPrivateMethod"&&(s.computed=!1),this.finishNode(s,"MethodDefinition")}nameIsConstructor(s){return s.type==="Literal"?s.value==="constructor":super.nameIsConstructor(s)}parseClassProperty(...s){const l=super.parseClassProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition"),l}parseClassPrivateProperty(...s){const l=super.parseClassPrivateProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition",l.computed=!1),l}parseObjectMethod(s,l,p,S,P){const O=super.parseObjectMethod(s,l,p,S,P);return O&&(O.type="Property",O.kind==="method"&&(O.kind="init"),O.shorthand=!1),O}parseObjectProperty(s,l,p,S){const P=super.parseObjectProperty(s,l,p,S);return P&&(P.kind="init",P.type="Property"),P}isValidLVal(s,l,p){return s==="Property"?"value":super.isValidLVal(s,l,p)}isAssignable(s,l){return s!=null&&this.isObjectProperty(s)?this.isAssignable(s.value,l):super.isAssignable(s,l)}toAssignable(s,l=!1){if(s!=null&&this.isObjectProperty(s)){const{key:p,value:S}=s;this.isPrivateName(p)&&this.classScope.usePrivateName(this.getPrivateNameSV(p),p.loc.start),this.toAssignable(S,l)}else super.toAssignable(s,l)}toAssignableObjectExpressionProp(s,l,p){s.type==="Property"&&(s.kind==="get"||s.kind==="set")?this.raise(g.PatternHasAccessor,s.key):s.type==="Property"&&s.method?this.raise(g.PatternHasMethod,s.key):super.toAssignableObjectExpressionProp(s,l,p)}finishCallExpression(s,l){const p=super.finishCallExpression(s,l);if(p.callee.type==="Import"){if(p.type="ImportExpression",p.source=p.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var S,P;p.options=(S=p.arguments[1])!=null?S:null,p.attributes=(P=p.arguments[1])!=null?P:null}delete p.arguments,delete p.callee}return p}toReferencedArguments(s){s.type!=="ImportExpression"&&super.toReferencedArguments(s)}parseExport(s,l){const p=this.state.lastTokStartLoc,S=super.parseExport(s,l);switch(S.type){case"ExportAllDeclaration":S.exported=null;break;case"ExportNamedDeclaration":S.specifiers.length===1&&S.specifiers[0].type==="ExportNamespaceSpecifier"&&(S.type="ExportAllDeclaration",S.exported=S.specifiers[0].exported,delete S.specifiers);case"ExportDefaultDeclaration":{var P;const{declaration:O}=S;(O==null?void 0:O.type)==="ClassDeclaration"&&((P=O.decorators)==null?void 0:P.length)>0&&O.start===S.start&&this.resetStartLocation(S,p)}break}return S}parseSubscript(s,l,p,S){const P=super.parseSubscript(s,l,p,S);if(S.optionalChainMember){if((P.type==="OptionalMemberExpression"||P.type==="OptionalCallExpression")&&(P.type=P.type.substring(8)),S.stop){const O=this.startNodeAtNode(P);return O.expression=P,this.finishNode(O,"ChainExpression")}}else(P.type==="MemberExpression"||P.type==="CallExpression")&&(P.optional=!1);return P}isOptionalMemberExpression(s){return s.type==="ChainExpression"?s.expression.type==="MemberExpression":super.isOptionalMemberExpression(s)}hasPropertyAsPrivateName(s){return s.type==="ChainExpression"&&(s=s.expression),super.hasPropertyAsPrivateName(s)}isObjectProperty(s){return s.type==="Property"&&s.kind==="init"&&!s.method}isObjectMethod(s){return s.type==="Property"&&(s.method||s.kind==="get"||s.kind==="set")}finishNodeAt(s,l,p){return C(super.finishNodeAt(s,l,p))}resetStartLocation(s,l){super.resetStartLocation(s,l),C(s)}resetEndLocation(s,l=this.state.lastTokEndLoc){super.resetEndLocation(s,l),C(s)}};class A{constructor(u,s){this.token=void 0,this.preserveSpace=void 0,this.token=u,this.preserveSpace=!!s}}const L={brace:new A("{"),j_oTag:new A("<tag"),j_cTag:new A("</tag"),j_expr:new A("<tag>...</tag>",!0)};L.template=new A("`",!0);const R=!0,w=!0,I=!0,k=!0,M=!0,z=!0;class X{constructor(u,s={}){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=u,this.keyword=s.keyword,this.beforeExpr=!!s.beforeExpr,this.startsExpr=!!s.startsExpr,this.rightAssociative=!!s.rightAssociative,this.isLoop=!!s.isLoop,this.isAssign=!!s.isAssign,this.prefix=!!s.prefix,this.postfix=!!s.postfix,this.binop=s.binop!=null?s.binop:null,this.updateContext=null}}const Z=new Map;function U(_,u={}){u.keyword=_;const s=B(_,u);return Z.set(_,s),s}function Q(_,u){return B(_,{beforeExpr:R,binop:u})}let re=-1;const pe=[],Re=[],me=[],ee=[],q=[],V=[];function B(_,u={}){var s,l,p,S;return++re,Re.push(_),me.push((s=u.binop)!=null?s:-1),ee.push((l=u.beforeExpr)!=null?l:!1),q.push((p=u.startsExpr)!=null?p:!1),V.push((S=u.prefix)!=null?S:!1),pe.push(new X(_,u)),re}function G(_,u={}){var s,l,p,S;return++re,Z.set(_,re),Re.push(_),me.push((s=u.binop)!=null?s:-1),ee.push((l=u.beforeExpr)!=null?l:!1),q.push((p=u.startsExpr)!=null?p:!1),V.push((S=u.prefix)!=null?S:!1),pe.push(new X("name",u)),re}const te={bracketL:B("[",{beforeExpr:R,startsExpr:w}),bracketHashL:B("#[",{beforeExpr:R,startsExpr:w}),bracketBarL:B("[|",{beforeExpr:R,startsExpr:w}),bracketR:B("]"),bracketBarR:B("|]"),braceL:B("{",{beforeExpr:R,startsExpr:w}),braceBarL:B("{|",{beforeExpr:R,startsExpr:w}),braceHashL:B("#{",{beforeExpr:R,startsExpr:w}),braceR:B("}"),braceBarR:B("|}"),parenL:B("(",{beforeExpr:R,startsExpr:w}),parenR:B(")"),comma:B(",",{beforeExpr:R}),semi:B(";",{beforeExpr:R}),colon:B(":",{beforeExpr:R}),doubleColon:B("::",{beforeExpr:R}),dot:B("."),question:B("?",{beforeExpr:R}),questionDot:B("?."),arrow:B("=>",{beforeExpr:R}),template:B("template"),ellipsis:B("...",{beforeExpr:R}),backQuote:B("`",{startsExpr:w}),dollarBraceL:B("${",{beforeExpr:R,startsExpr:w}),templateTail:B("...`",{startsExpr:w}),templateNonTail:B("...${",{beforeExpr:R,startsExpr:w}),at:B("@"),hash:B("#",{startsExpr:w}),interpreterDirective:B("#!..."),eq:B("=",{beforeExpr:R,isAssign:k}),assign:B("_=",{beforeExpr:R,isAssign:k}),slashAssign:B("_=",{beforeExpr:R,isAssign:k}),xorAssign:B("_=",{beforeExpr:R,isAssign:k}),moduloAssign:B("_=",{beforeExpr:R,isAssign:k}),incDec:B("++/--",{prefix:M,postfix:z,startsExpr:w}),bang:B("!",{beforeExpr:R,prefix:M,startsExpr:w}),tilde:B("~",{beforeExpr:R,prefix:M,startsExpr:w}),doubleCaret:B("^^",{startsExpr:w}),doubleAt:B("@@",{startsExpr:w}),pipeline:Q("|>",0),nullishCoalescing:Q("??",1),logicalOR:Q("||",1),logicalAND:Q("&&",2),bitwiseOR:Q("|",3),bitwiseXOR:Q("^",4),bitwiseAND:Q("&",5),equality:Q("==/!=/===/!==",6),lt:Q("</>/<=/>=",7),gt:Q("</>/<=/>=",7),relational:Q("</>/<=/>=",7),bitShift:Q("<</>>/>>>",8),bitShiftL:Q("<</>>/>>>",8),bitShiftR:Q("<</>>/>>>",8),plusMin:B("+/-",{beforeExpr:R,binop:9,prefix:M,startsExpr:w}),modulo:B("%",{binop:10,startsExpr:w}),star:B("*",{binop:10}),slash:Q("/",10),exponent:B("**",{beforeExpr:R,binop:11,rightAssociative:!0}),_in:U("in",{beforeExpr:R,binop:7}),_instanceof:U("instanceof",{beforeExpr:R,binop:7}),_break:U("break"),_case:U("case",{beforeExpr:R}),_catch:U("catch"),_continue:U("continue"),_debugger:U("debugger"),_default:U("default",{beforeExpr:R}),_else:U("else",{beforeExpr:R}),_finally:U("finally"),_function:U("function",{startsExpr:w}),_if:U("if"),_return:U("return",{beforeExpr:R}),_switch:U("switch"),_throw:U("throw",{beforeExpr:R,prefix:M,startsExpr:w}),_try:U("try"),_var:U("var"),_const:U("const"),_with:U("with"),_new:U("new",{beforeExpr:R,startsExpr:w}),_this:U("this",{startsExpr:w}),_super:U("super",{startsExpr:w}),_class:U("class",{startsExpr:w}),_extends:U("extends",{beforeExpr:R}),_export:U("export"),_import:U("import",{startsExpr:w}),_null:U("null",{startsExpr:w}),_true:U("true",{startsExpr:w}),_false:U("false",{startsExpr:w}),_typeof:U("typeof",{beforeExpr:R,prefix:M,startsExpr:w}),_void:U("void",{beforeExpr:R,prefix:M,startsExpr:w}),_delete:U("delete",{beforeExpr:R,prefix:M,startsExpr:w}),_do:U("do",{isLoop:I,beforeExpr:R}),_for:U("for",{isLoop:I}),_while:U("while",{isLoop:I}),_as:G("as",{startsExpr:w}),_assert:G("assert",{startsExpr:w}),_async:G("async",{startsExpr:w}),_await:G("await",{startsExpr:w}),_defer:G("defer",{startsExpr:w}),_from:G("from",{startsExpr:w}),_get:G("get",{startsExpr:w}),_let:G("let",{startsExpr:w}),_meta:G("meta",{startsExpr:w}),_of:G("of",{startsExpr:w}),_sent:G("sent",{startsExpr:w}),_set:G("set",{startsExpr:w}),_source:G("source",{startsExpr:w}),_static:G("static",{startsExpr:w}),_using:G("using",{startsExpr:w}),_yield:G("yield",{startsExpr:w}),_asserts:G("asserts",{startsExpr:w}),_checks:G("checks",{startsExpr:w}),_exports:G("exports",{startsExpr:w}),_global:G("global",{startsExpr:w}),_implements:G("implements",{startsExpr:w}),_intrinsic:G("intrinsic",{startsExpr:w}),_infer:G("infer",{startsExpr:w}),_is:G("is",{startsExpr:w}),_mixins:G("mixins",{startsExpr:w}),_proto:G("proto",{startsExpr:w}),_require:G("require",{startsExpr:w}),_satisfies:G("satisfies",{startsExpr:w}),_keyof:G("keyof",{startsExpr:w}),_readonly:G("readonly",{startsExpr:w}),_unique:G("unique",{startsExpr:w}),_abstract:G("abstract",{startsExpr:w}),_declare:G("declare",{startsExpr:w}),_enum:G("enum",{startsExpr:w}),_module:G("module",{startsExpr:w}),_namespace:G("namespace",{startsExpr:w}),_interface:G("interface",{startsExpr:w}),_type:G("type",{startsExpr:w}),_opaque:G("opaque",{startsExpr:w}),name:B("name",{startsExpr:w}),string:B("string",{startsExpr:w}),num:B("num",{startsExpr:w}),bigint:B("bigint",{startsExpr:w}),decimal:B("decimal",{startsExpr:w}),regexp:B("regexp",{startsExpr:w}),privateName:B("#name",{startsExpr:w}),eof:B("eof"),jsxName:B("jsxName"),jsxText:B("jsxText",{beforeExpr:!0}),jsxTagStart:B("jsxTagStart",{startsExpr:!0}),jsxTagEnd:B("jsxTagEnd"),placeholder:B("%%",{startsExpr:!0})};function j(_){return _>=93&&_<=132}function se(_){return _<=92}function oe(_){return _>=58&&_<=132}function he(_){return _>=58&&_<=136}function ue(_){return ee[_]}function de(_){return q[_]}function Ae(_){return _>=29&&_<=33}function fe(_){return _>=129&&_<=131}function ke(_){return _>=90&&_<=92}function xt(_){return _>=58&&_<=92}function Pt(_){return _>=39&&_<=59}function at(_){return _===34}function He(_){return V[_]}function Et(_){return _>=121&&_<=123}function wt(_){return _>=124&&_<=130}function Ye(_){return Re[_]}function nr(_){return me[_]}function bs(_){return _===57}function Wt(_){return _>=24&&_<=25}function kt(_){return pe[_]}pe[8].updateContext=_=>{_.pop()},pe[5].updateContext=pe[7].updateContext=pe[23].updateContext=_=>{_.push(L.brace)},pe[22].updateContext=_=>{_[_.length-1]===L.template?_.pop():_.push(L.template)},pe[142].updateContext=_=>{_.push(L.j_expr,L.j_oTag)};let di="\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",Oa="\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";const Ec=new RegExp("["+di+"]"),wc=new RegExp("["+di+Oa+"]");di=Oa=null;const ka=[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],uT=[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 Tc(_,u){let s=65536;for(let l=0,p=u.length;l<p;l+=2){if(s+=u[l],s>_)return!1;if(s+=u[l+1],s>=_)return!0}return!1}function ar(_){return _<65?_===36:_<=90?!0:_<97?_===95:_<=122?!0:_<=65535?_>=170&&Ec.test(String.fromCharCode(_)):Tc(_,ka)}function vs(_){return _<48?_===36:_<58?!0:_<65?!1:_<=90?!0:_<97?_===95:_<=122?!0:_<=65535?_>=170&&wc.test(String.fromCharCode(_)):Tc(_,ka)||Tc(_,uT)}const _c={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"]},lT=new Set(_c.keyword),cT=new Set(_c.strict),hT=new Set(_c.strictBind);function V1(_,u){return u&&_==="await"||_==="enum"}function G1(_,u){return V1(_,u)||cT.has(_)}function z1(_){return hT.has(_)}function W1(_,u){return G1(_,u)||z1(_)}function fT(_){return lT.has(_)}function pT(_,u,s){return _===64&&u===64&&ar(s)}const dT=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 mT(_){return dT.has(_)}class Pc{constructor(u){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=u}}class Ac{constructor(u,s){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=u,this.inModule=s}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const u=this.currentThisScopeFlags();return(u&64)>0&&(u&2)===0}get inStaticBlock(){for(let u=this.scopeStack.length-1;;u--){const{flags:s}=this.scopeStack[u];if(s&128)return!0;if(s&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(u){return new Pc(u)}enter(u){this.scopeStack.push(this.createScope(u))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(u){return!!(u.flags&130||!this.parser.inModule&&u.flags&1)}declareName(u,s,l){let p=this.currentScope();if(s&8||s&16){this.checkRedeclarationInScope(p,u,s,l);let S=p.names.get(u)||0;s&16?S=S|4:(p.firstLexicalName||(p.firstLexicalName=u),S=S|2),p.names.set(u,S),s&8&&this.maybeExportDefined(p,u)}else if(s&4)for(let S=this.scopeStack.length-1;S>=0&&(p=this.scopeStack[S],this.checkRedeclarationInScope(p,u,s,l),p.names.set(u,(p.names.get(u)||0)|1),this.maybeExportDefined(p,u),!(p.flags&387));--S);this.parser.inModule&&p.flags&1&&this.undefinedExports.delete(u)}maybeExportDefined(u,s){this.parser.inModule&&u.flags&1&&this.undefinedExports.delete(s)}checkRedeclarationInScope(u,s,l,p){this.isRedeclaredInScope(u,s,l)&&this.parser.raise(g.VarRedeclaration,p,{identifierName:s})}isRedeclaredInScope(u,s,l){if(!(l&1))return!1;if(l&8)return u.names.has(s);const p=u.names.get(s);return l&16?(p&2)>0||!this.treatFunctionsAsVarInScope(u)&&(p&1)>0:(p&2)>0&&!(u.flags&8&&u.firstLexicalName===s)||!this.treatFunctionsAsVarInScope(u)&&(p&4)>0}checkLocalExport(u){const{name:s}=u;this.scopeStack[0].names.has(s)||this.undefinedExports.set(s,u.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let u=this.scopeStack.length-1;;u--){const{flags:s}=this.scopeStack[u];if(s&387)return s}}currentThisScopeFlags(){for(let u=this.scopeStack.length-1;;u--){const{flags:s}=this.scopeStack[u];if(s&451&&!(s&4))return s}}}class gT extends Pc{constructor(...u){super(...u),this.declareFunctions=new Set}}class yT extends Ac{createScope(u){return new gT(u)}declareName(u,s,l){const p=this.currentScope();if(s&2048){this.checkRedeclarationInScope(p,u,s,l),this.maybeExportDefined(p,u),p.declareFunctions.add(u);return}super.declareName(u,s,l)}isRedeclaredInScope(u,s,l){if(super.isRedeclaredInScope(u,s,l))return!0;if(l&2048&&!u.declareFunctions.has(s)){const p=u.names.get(s);return(p&4)>0||(p&2)>0}return!1}checkLocalExport(u){this.scopeStack[0].declareFunctions.has(u.name)||super.checkLocalExport(u)}}class bT{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(u){if(typeof u=="string")return this.plugins.has(u);{const[s,l]=u;if(!this.hasPlugin(s))return!1;const p=this.plugins.get(s);for(const S of Object.keys(l))if((p==null?void 0:p[S])!==l[S])return!1;return!0}}getPluginOption(u,s){var l;return(l=this.plugins.get(u))==null?void 0:l[s]}}function H1(_,u){_.trailingComments===void 0?_.trailingComments=u:_.trailingComments.unshift(...u)}function vT(_,u){_.leadingComments===void 0?_.leadingComments=u:_.leadingComments.unshift(...u)}function mi(_,u){_.innerComments===void 0?_.innerComments=u:_.innerComments.unshift(...u)}function gi(_,u,s){let l=null,p=u.length;for(;l===null&&p>0;)l=u[--p];l===null||l.start>s.start?mi(_,s.comments):H1(l,s.comments)}class ST extends bT{addComment(u){this.filename&&(u.loc.filename=this.filename);const{commentsLen:s}=this.state;this.comments.length!==s&&(this.comments.length=s),this.comments.push(u),this.state.commentsLen++}processComment(u){const{commentStack:s}=this.state,l=s.length;if(l===0)return;let p=l-1;const S=s[p];S.start===u.end&&(S.leadingNode=u,p--);const{start:P}=u;for(;p>=0;p--){const O=s[p],D=O.end;if(D>P)O.containingNode=u,this.finalizeComment(O),s.splice(p,1);else{D===P&&(O.trailingNode=u);break}}}finalizeComment(u){const{comments:s}=u;if(u.leadingNode!==null||u.trailingNode!==null)u.leadingNode!==null&&H1(u.leadingNode,s),u.trailingNode!==null&&vT(u.trailingNode,s);else{const{containingNode:l,start:p}=u;if(this.input.charCodeAt(p-1)===44)switch(l.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":gi(l,l.properties,u);break;case"CallExpression":case"OptionalCallExpression":gi(l,l.arguments,u);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":gi(l,l.params,u);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":gi(l,l.elements,u);break;case"ExportNamedDeclaration":case"ImportDeclaration":gi(l,l.specifiers,u);break;default:mi(l,s)}else mi(l,s)}}finalizeRemainingComments(){const{commentStack:u}=this.state;for(let s=u.length-1;s>=0;s--)this.finalizeComment(u[s]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(u){const{commentStack:s}=this.state,{length:l}=s;if(l===0)return;const p=s[l-1];p.leadingNode===u&&(p.leadingNode=null)}resetPreviousIdentifierLeadingComments(u){const{commentStack:s}=this.state,{length:l}=s;l!==0&&(s[l-1].trailingNode===u?s[l-1].trailingNode=null:l>=2&&s[l-2].trailingNode===u&&(s[l-2].trailingNode=null))}takeSurroundingComments(u,s,l){const{commentStack:p}=this.state,S=p.length;if(S===0)return;let P=S-1;for(;P>=0;P--){const O=p[P],D=O.end;if(O.start===l)O.leadingNode=u;else if(D===s)O.trailingNode=u;else if(D<s)break}}}const xT=/\r\n|[\r\n\u2028\u2029]/,La=new RegExp(xT.source,"g");function Ss(_){switch(_){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function X1(_,u,s){for(let l=u;l<s;l++)if(Ss(_.charCodeAt(l)))return!0;return!1}const Cc=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ic=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function ET(_){switch(_){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}}class Nc{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[L.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(u){u?this.flags|=1:this.flags&=-2}init({strictMode:u,sourceType:s,startLine:l,startColumn:p}){this.strict=u===!1?!1:u===!0?!0:s==="module",this.curLine=l,this.lineStart=-p,this.startLoc=this.endLoc=new e(l,p,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(u){u?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(u){u?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(u){u?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(u){u?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(u){u?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(u){u?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(u){u?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(u){u?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(u){u?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(u){u?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(u){u?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(u){u?this.flags|=4096:this.flags&=-4097}curPosition(){return new e(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const u=new Nc;return u.flags=this.flags,u.curLine=this.curLine,u.lineStart=this.lineStart,u.startLoc=this.startLoc,u.endLoc=this.endLoc,u.errors=this.errors.slice(),u.potentialArrowAt=this.potentialArrowAt,u.noArrowAt=this.noArrowAt.slice(),u.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),u.topicContext=this.topicContext,u.labels=this.labels.slice(),u.commentsLen=this.commentsLen,u.commentStack=this.commentStack.slice(),u.pos=this.pos,u.type=this.type,u.value=this.value,u.start=this.start,u.end=this.end,u.lastTokEndLoc=this.lastTokEndLoc,u.lastTokStartLoc=this.lastTokStartLoc,u.context=this.context.slice(),u.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,u.strictErrors=this.strictErrors,u.tokensLength=this.tokensLength,u}}var wT=function(u){return u>=48&&u<=57};const K1={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ma={bin:_=>_===48||_===49,oct:_=>_>=48&&_<=55,dec:_=>_>=48&&_<=57,hex:_=>_>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102};function J1(_,u,s,l,p,S){const P=s,O=l,D=p;let $="",F=null,W=s;const{length:K}=u;for(;;){if(s>=K){S.unterminated(P,O,D),$+=u.slice(W,s);break}const J=u.charCodeAt(s);if(TT(_,J,u,s)){$+=u.slice(W,s);break}if(J===92){$+=u.slice(W,s);const ae=_T(u,s,l,p,_==="template",S);ae.ch===null&&!F?F={pos:s,lineStart:l,curLine:p}:$+=ae.ch,{pos:s,lineStart:l,curLine:p}=ae,W=s}else J===8232||J===8233?(++s,++p,l=s):J===10||J===13?_==="template"?($+=u.slice(W,s)+`
|
|
25
|
+
`,++s,J===13&&u.charCodeAt(s)===10&&++s,++p,W=l=s):S.unterminated(P,O,D):++s}return{pos:s,str:$,firstInvalidLoc:F,lineStart:l,curLine:p,containsInvalid:!!F}}function TT(_,u,s,l){return _==="template"?u===96||u===36&&s.charCodeAt(l+1)===123:u===(_==="double"?34:39)}function _T(_,u,s,l,p,S){const P=!p;u++;const O=$=>({pos:u,ch:$,lineStart:s,curLine:l}),D=_.charCodeAt(u++);switch(D){case 110:return O(`
|
|
26
|
+
`);case 114:return O("\r");case 120:{let $;return{code:$,pos:u}=Oc(_,u,s,l,2,!1,P,S),O($===null?null:String.fromCharCode($))}case 117:{let $;return{code:$,pos:u}=Q1(_,u,s,l,P,S),O($===null?null:String.fromCodePoint($))}case 116:return O(" ");case 98:return O("\b");case 118:return O("\v");case 102:return O("\f");case 13:_.charCodeAt(u)===10&&++u;case 10:s=u,++l;case 8232:case 8233:return O("");case 56:case 57:if(p)return O(null);S.strictNumericEscape(u-1,s,l);default:if(D>=48&&D<=55){const $=u-1;let W=/^[0-7]+/.exec(_.slice($,u+2))[0],K=parseInt(W,8);K>255&&(W=W.slice(0,-1),K=parseInt(W,8)),u+=W.length-1;const J=_.charCodeAt(u);if(W!=="0"||J===56||J===57){if(p)return O(null);S.strictNumericEscape($,s,l)}return O(String.fromCharCode(K))}return O(String.fromCharCode(D))}}function Oc(_,u,s,l,p,S,P,O){const D=u;let $;return{n:$,pos:u}=Y1(_,u,s,l,16,p,S,!1,O,!P),$===null&&(P?O.invalidEscapeSequence(D,s,l):u=D-1),{code:$,pos:u}}function Y1(_,u,s,l,p,S,P,O,D,$){const F=u,W=p===16?K1.hex:K1.decBinOct,K=p===16?Ma.hex:p===10?Ma.dec:p===8?Ma.oct:Ma.bin;let J=!1,ae=0;for(let Se=0,mt=S==null?1/0:S;Se<mt;++Se){const ye=_.charCodeAt(u);let Le;if(ye===95&&O!=="bail"){const $a=_.charCodeAt(u-1),vi=_.charCodeAt(u+1);if(O){if(Number.isNaN(vi)||!K(vi)||W.has($a)||W.has(vi)){if($)return{n:null,pos:u};D.unexpectedNumericSeparator(u,s,l)}}else{if($)return{n:null,pos:u};D.numericSeparatorInEscapeSequence(u,s,l)}++u;continue}if(ye>=97?Le=ye-97+10:ye>=65?Le=ye-65+10:wT(ye)?Le=ye-48:Le=1/0,Le>=p){if(Le<=9&&$)return{n:null,pos:u};if(Le<=9&&D.invalidDigit(u,s,l,p))Le=0;else if(P)Le=0,J=!0;else break}++u,ae=ae*p+Le}return u===F||S!=null&&u-F!==S||J?{n:null,pos:u}:{n:ae,pos:u}}function Q1(_,u,s,l,p,S){const P=_.charCodeAt(u);let O;if(P===123){if(++u,{code:O,pos:u}=Oc(_,u,s,l,_.indexOf("}",u)-u,!0,p,S),++u,O!==null&&O>1114111)if(p)S.invalidCodePoint(u,s,l);else return{code:null,pos:u}}else({code:O,pos:u}=Oc(_,u,s,l,4,!1,p,S));return{code:O,pos:u}}function yi(_,u,s){return new e(s,_-u,_)}const PT=new Set([103,109,115,105,121,117,100,118]);class xr{constructor(u){this.type=u.type,this.value=u.value,this.start=u.start,this.end=u.end,this.loc=new r(u.startLoc,u.endLoc)}}class AT extends ST{constructor(u,s){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(l,p,S,P)=>this.options.errorRecovery?(this.raise(g.InvalidDigit,yi(l,p,S),{radix:P}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(g.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(g.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(g.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(g.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(l,p,S)=>{this.recordStrictModeErrors(g.StrictNumericEscape,yi(l,p,S))},unterminated:(l,p,S)=>{throw this.raise(g.UnterminatedString,yi(l-1,p,S))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(g.StrictNumericEscape),unterminated:(l,p,S)=>{throw this.raise(g.UnterminatedTemplate,yi(l,p,S))}}),this.state=new Nc,this.state.init(u),this.input=s,this.length=s.length,this.comments=[],this.isLookahead=!1}pushToken(u){this.tokens.length=this.state.tokensLength,this.tokens.push(u),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new xr(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(u){return this.match(u)?(this.next(),!0):!1}match(u){return this.state.type===u}createLookaheadState(u){return{pos:u.pos,value:null,type:u.type,start:u.start,end:u.end,context:[this.curContext()],inType:u.inType,startLoc:u.startLoc,lastTokEndLoc:u.lastTokEndLoc,curLine:u.curLine,lineStart:u.lineStart,curPosition:u.curPosition}}lookahead(){const u=this.state;this.state=this.createLookaheadState(u),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const s=this.state;return this.state=u,s}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(u){return Cc.lastIndex=u,Cc.test(this.input)?Cc.lastIndex:u}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(u){return Ic.lastIndex=u,Ic.test(this.input)?Ic.lastIndex:u}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(u){let s=this.input.charCodeAt(u);if((s&64512)===55296&&++u<this.input.length){const l=this.input.charCodeAt(u);(l&64512)===56320&&(s=65536+((s&1023)<<10)+(l&1023))}return s}setStrict(u){this.state.strict=u,u&&(this.state.strictErrors.forEach(([s,l])=>this.raise(s,l)),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(u){let s;this.isLookahead||(s=this.state.curPosition());const l=this.state.pos,p=this.input.indexOf(u,l+2);if(p===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition());for(this.state.pos=p+u.length,La.lastIndex=l+2;La.test(this.input)&&La.lastIndex<=p;)++this.state.curLine,this.state.lineStart=La.lastIndex;if(this.isLookahead)return;const S={type:"CommentBlock",value:this.input.slice(l+2,p),start:l,end:p+u.length,loc:new r(s,this.state.curPosition())};return this.options.tokens&&this.pushToken(S),S}skipLineComment(u){const s=this.state.pos;let l;this.isLookahead||(l=this.state.curPosition());let p=this.input.charCodeAt(this.state.pos+=u);if(this.state.pos<this.length)for(;!Ss(p)&&++this.state.pos<this.length;)p=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const S=this.state.pos,O={type:"CommentLine",value:this.input.slice(s+u,S),start:s,end:S,loc:new r(l,this.state.curPosition())};return this.options.tokens&&this.pushToken(O),O}skipSpace(){const u=this.state.pos,s=[];e:for(;this.state.pos<this.length;){const l=this.input.charCodeAt(this.state.pos);switch(l){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:{const p=this.skipBlockComment("*/");p!==void 0&&(this.addComment(p),this.options.attachComment&&s.push(p));break}case 47:{const p=this.skipLineComment(2);p!==void 0&&(this.addComment(p),this.options.attachComment&&s.push(p));break}default:break e}break;default:if(ET(l))++this.state.pos;else if(l===45&&!this.inModule&&this.options.annexB){const p=this.state.pos;if(this.input.charCodeAt(p+1)===45&&this.input.charCodeAt(p+2)===62&&(u===0||this.state.lineStart>u)){const S=this.skipLineComment(3);S!==void 0&&(this.addComment(S),this.options.attachComment&&s.push(S))}else break e}else if(l===60&&!this.inModule&&this.options.annexB){const p=this.state.pos;if(this.input.charCodeAt(p+1)===33&&this.input.charCodeAt(p+2)===45&&this.input.charCodeAt(p+3)===45){const S=this.skipLineComment(4);S!==void 0&&(this.addComment(S),this.options.attachComment&&s.push(S))}else break e}else break e}}if(s.length>0){const l=this.state.pos,p={start:u,end:l,comments:s,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(p)}}finishToken(u,s){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const l=this.state.type;this.state.type=u,this.state.value=s,this.isLookahead||this.updateContext(l)}replaceToken(u){this.state.type=u,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const u=this.state.pos+1,s=this.codePointAtPos(u);if(s>=48&&s<=57)throw this.raise(g.UnexpectedDigitAfterHash,this.state.curPosition());if(s===123||s===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(s===123?g.RecordExpressionHashIncorrectStartSyntaxType:g.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,s===123?this.finishToken(7):this.finishToken(1)}else ar(s)?(++this.state.pos,this.finishToken(138,this.readWord1(s))):s===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const u=this.input.charCodeAt(this.state.pos+1);if(u>=48&&u<=57){this.readNumber(!0);return}u===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 u=this.input.charCodeAt(this.state.pos+1);if(u!==33)return!1;const s=this.state.pos;for(this.state.pos+=1;!Ss(u)&&++this.state.pos<this.length;)u=this.input.charCodeAt(this.state.pos);const l=this.input.slice(s+2,this.state.pos);return this.finishToken(28,l),!0}readToken_mult_modulo(u){let s=u===42?55:54,l=1,p=this.input.charCodeAt(this.state.pos+1);u===42&&p===42&&(l++,p=this.input.charCodeAt(this.state.pos+2),s=57),p===61&&!this.state.inType&&(l++,s=u===37?33:30),this.finishOp(s,l)}readToken_pipe_amp(u){const s=this.input.charCodeAt(this.state.pos+1);if(s===u){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(u===124?41:42,2);return}if(u===124){if(s===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&s===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(g.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&s===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(g.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(s===61){this.finishOp(30,2);return}this.finishOp(u===124?43:45,1)}readToken_caret(){const u=this.input.charCodeAt(this.state.pos+1);u===61&&!this.state.inType?this.finishOp(32,2):u===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(u){const s=this.input.charCodeAt(this.state.pos+1);if(s===u){this.finishOp(34,2);return}s===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:u}=this.state,s=this.input.charCodeAt(u+1);if(s===60){if(this.input.charCodeAt(u+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(s===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:u}=this.state,s=this.input.charCodeAt(u+1);if(s===62){const l=this.input.charCodeAt(u+2)===62?3:2;if(this.input.charCodeAt(u+l)===61){this.finishOp(30,l+1);return}this.finishOp(52,l);return}if(s===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(u){const s=this.input.charCodeAt(this.state.pos+1);if(s===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(u===61&&s===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(u===61?29:35,1)}readToken_question(){const u=this.input.charCodeAt(this.state.pos+1),s=this.input.charCodeAt(this.state.pos+2);u===63?s===61?this.finishOp(30,3):this.finishOp(40,2):u===46&&!(s>=48&&s<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(u){switch(u){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(g.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(g.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const s=this.input.charCodeAt(this.state.pos+1);if(s===120||s===88){this.readRadixNumber(16);return}if(s===111||s===79){this.readRadixNumber(8);return}if(s===98||s===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(u);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(u);return;case 124:case 38:this.readToken_pipe_amp(u);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(u);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(u);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(ar(u)){this.readWord(u);return}}throw this.raise(g.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(u)})}finishOp(u,s){const l=this.input.slice(this.state.pos,this.state.pos+s);this.state.pos+=s,this.finishToken(u,l)}readRegexp(){const u=this.state.startLoc,s=this.state.start+1;let l,p,{pos:S}=this.state;for(;;++S){if(S>=this.length)throw this.raise(g.UnterminatedRegExp,i(u,1));const $=this.input.charCodeAt(S);if(Ss($))throw this.raise(g.UnterminatedRegExp,i(u,1));if(l)l=!1;else{if($===91)p=!0;else if($===93&&p)p=!1;else if($===47&&!p)break;l=$===92}}const P=this.input.slice(s,S);++S;let O="";const D=()=>i(u,S+2-s);for(;S<this.length;){const $=this.codePointAtPos(S),F=String.fromCharCode($);if(PT.has($))$===118?O.includes("u")&&this.raise(g.IncompatibleRegExpUVFlags,D()):$===117&&O.includes("v")&&this.raise(g.IncompatibleRegExpUVFlags,D()),O.includes(F)&&this.raise(g.DuplicateRegExpFlags,D());else if(vs($)||$===92)this.raise(g.MalformedRegExpFlags,D());else break;++S,O+=F}this.state.pos=S,this.finishToken(137,{pattern:P,flags:O})}readInt(u,s,l=!1,p=!0){const{n:S,pos:P}=Y1(this.input,this.state.pos,this.state.lineStart,this.state.curLine,u,s,l,p,this.errorHandlers_readInt,!1);return this.state.pos=P,S}readRadixNumber(u){const s=this.state.curPosition();let l=!1;this.state.pos+=2;const p=this.readInt(u);p==null&&this.raise(g.InvalidDigit,i(s,2),{radix:u});const S=this.input.charCodeAt(this.state.pos);if(S===110)++this.state.pos,l=!0;else if(S===109)throw this.raise(g.InvalidDecimal,s);if(ar(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());if(l){const P=this.input.slice(s.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,P);return}this.finishToken(134,p)}readNumber(u){const s=this.state.pos,l=this.state.curPosition();let p=!1,S=!1,P=!1,O=!1,D=!1;!u&&this.readInt(10)===null&&this.raise(g.InvalidNumber,this.state.curPosition());const $=this.state.pos-s>=2&&this.input.charCodeAt(s)===48;if($){const J=this.input.slice(s,this.state.pos);if(this.recordStrictModeErrors(g.StrictOctalLiteral,l),!this.state.strict){const ae=J.indexOf("_");ae>0&&this.raise(g.ZeroDigitNumericSeparator,i(l,ae))}D=$&&!/[89]/.test(J)}let F=this.input.charCodeAt(this.state.pos);if(F===46&&!D&&(++this.state.pos,this.readInt(10),p=!0,F=this.input.charCodeAt(this.state.pos)),(F===69||F===101)&&!D&&(F=this.input.charCodeAt(++this.state.pos),(F===43||F===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(g.InvalidOrMissingExponent,l),p=!0,O=!0,F=this.input.charCodeAt(this.state.pos)),F===110&&((p||$)&&this.raise(g.InvalidBigIntLiteral,l),++this.state.pos,S=!0),F===109&&(this.expectPlugin("decimal",this.state.curPosition()),(O||$)&&this.raise(g.InvalidDecimal,l),++this.state.pos,P=!0),ar(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());const W=this.input.slice(s,this.state.pos).replace(/[_mn]/g,"");if(S){this.finishToken(135,W);return}if(P){this.finishToken(136,W);return}const K=D?parseInt(W,8):parseFloat(W);this.finishToken(134,K)}readCodePoint(u){const{code:s,pos:l}=Q1(this.input,this.state.pos,this.state.lineStart,this.state.curLine,u,this.errorHandlers_readCodePoint);return this.state.pos=l,s}readString(u){const{str:s,pos:l,curLine:p,lineStart:S}=J1(u===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=l+1,this.state.lineStart=S,this.state.curLine=p,this.finishToken(133,s)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const u=this.input[this.state.pos],{str:s,firstInvalidLoc:l,pos:p,curLine:S,lineStart:P}=J1("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=p+1,this.state.lineStart=P,this.state.curLine=S,l&&(this.state.firstInvalidTemplateEscapePos=new e(l.curLine,l.pos-l.lineStart,l.pos)),this.input.codePointAt(p)===96?this.finishToken(24,l?null:u+s+"`"):(this.state.pos++,this.finishToken(25,l?null:u+s+"${"))}recordStrictModeErrors(u,s){const l=s.index;this.state.strict&&!this.state.strictErrors.has(l)?this.raise(u,s):this.state.strictErrors.set(l,[u,s])}readWord1(u){this.state.containsEsc=!1;let s="";const l=this.state.pos;let p=this.state.pos;for(u!==void 0&&(this.state.pos+=u<=65535?1:2);this.state.pos<this.length;){const S=this.codePointAtPos(this.state.pos);if(vs(S))this.state.pos+=S<=65535?1:2;else if(S===92){this.state.containsEsc=!0,s+=this.input.slice(p,this.state.pos);const P=this.state.curPosition(),O=this.state.pos===l?ar:vs;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(g.MissingUnicodeEscape,this.state.curPosition()),p=this.state.pos-1;continue}++this.state.pos;const D=this.readCodePoint(!0);D!==null&&(O(D)||this.raise(g.EscapedCharNotAnIdentifier,P),s+=String.fromCodePoint(D)),p=this.state.pos}else break}return s+this.input.slice(p,this.state.pos)}readWord(u){const s=this.readWord1(u),l=Z.get(s);l!==void 0?this.finishToken(l,Ye(l)):this.finishToken(132,s)}checkKeywordEscapes(){const{type:u}=this.state;xt(u)&&this.state.containsEsc&&this.raise(g.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Ye(u)})}raise(u,s,l={}){const p=s instanceof e?s:s.loc.start,S=u(p,l);if(!this.options.errorRecovery)throw S;return this.isLookahead||this.state.errors.push(S),S}raiseOverwrite(u,s,l={}){const p=s instanceof e?s:s.loc.start,S=p.index,P=this.state.errors;for(let O=P.length-1;O>=0;O--){const D=P[O];if(D.loc.index===S)return P[O]=u(p,l);if(D.loc.index<S)break}return this.raise(u,s,l)}updateContext(u){}unexpected(u,s){throw this.raise(g.UnexpectedToken,u!=null?u:this.state.startLoc,{expected:s?Ye(s):null})}expectPlugin(u,s){if(this.hasPlugin(u))return!0;throw this.raise(g.MissingPlugin,s!=null?s:this.state.startLoc,{missingPlugin:[u]})}expectOnePlugin(u){if(!u.some(s=>this.hasPlugin(s)))throw this.raise(g.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:u})}errorBuilder(u){return(s,l,p)=>{this.raise(u,yi(s,l,p))}}}class CT{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class IT{constructor(u){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=u}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new CT)}exit(){const u=this.stack.pop(),s=this.current();for(const[l,p]of Array.from(u.undefinedPrivateNames))s?s.undefinedPrivateNames.has(l)||s.undefinedPrivateNames.set(l,p):this.parser.raise(g.InvalidPrivateFieldResolution,p,{identifierName:l})}declarePrivateName(u,s,l){const{privateNames:p,loneAccessors:S,undefinedPrivateNames:P}=this.current();let O=p.has(u);if(s&3){const D=O&&S.get(u);if(D){const $=D&4,F=s&4,W=D&3,K=s&3;O=W===K||$!==F,O||S.delete(u)}else O||S.set(u,s)}O&&this.parser.raise(g.PrivateNameRedeclaration,l,{identifierName:u}),p.add(u),P.delete(u)}usePrivateName(u,s){let l;for(l of this.stack)if(l.privateNames.has(u))return;l?l.undefinedPrivateNames.set(u,s):this.parser.raise(g.InvalidPrivateFieldResolution,s,{identifierName:u})}}class Ra{constructor(u=0){this.type=u}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Z1 extends Ra{constructor(u){super(u),this.declarationErrors=new Map}recordDeclarationError(u,s){const l=s.index;this.declarationErrors.set(l,[u,s])}clearDeclarationError(u){this.declarationErrors.delete(u)}iterateErrors(u){this.declarationErrors.forEach(u)}}class NT{constructor(u){this.parser=void 0,this.stack=[new Ra],this.parser=u}enter(u){this.stack.push(u)}exit(){this.stack.pop()}recordParameterInitializerError(u,s){const l=s.loc.start,{stack:p}=this;let S=p.length-1,P=p[S];for(;!P.isCertainlyParameterDeclaration();){if(P.canBeArrowParameterDeclaration())P.recordDeclarationError(u,l);else return;P=p[--S]}this.parser.raise(u,l)}recordArrowParameterBindingError(u,s){const{stack:l}=this,p=l[l.length-1],S=s.loc.start;if(p.isCertainlyParameterDeclaration())this.parser.raise(u,S);else if(p.canBeArrowParameterDeclaration())p.recordDeclarationError(u,S);else return}recordAsyncArrowParametersError(u){const{stack:s}=this;let l=s.length-1,p=s[l];for(;p.canBeArrowParameterDeclaration();)p.type===2&&p.recordDeclarationError(g.AwaitBindingIdentifier,u),p=s[--l]}validateAsPattern(){const{stack:u}=this,s=u[u.length-1];s.canBeArrowParameterDeclaration()&&s.iterateErrors(([l,p])=>{this.parser.raise(l,p);let S=u.length-2,P=u[S];for(;P.canBeArrowParameterDeclaration();)P.clearDeclarationError(p.index),P=u[--S]})}}function OT(){return new Ra(3)}function kT(){return new Z1(1)}function LT(){return new Z1(2)}function eg(){return new Ra}class MT{constructor(){this.stacks=[]}enter(u){this.stacks.push(u)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function Da(_,u){return(_?2:0)|(u?1:0)}class RT extends AT{addExtra(u,s,l,p=!0){if(!u)return;let{extra:S}=u;S==null&&(S={},u.extra=S),p?S[s]=l:Object.defineProperty(S,s,{enumerable:p,value:l})}isContextual(u){return this.state.type===u&&!this.state.containsEsc}isUnparsedContextual(u,s){const l=u+s.length;if(this.input.slice(u,l)===s){const p=this.input.charCodeAt(l);return!(vs(p)||(p&64512)===55296)}return!1}isLookaheadContextual(u){const s=this.nextTokenStart();return this.isUnparsedContextual(s,u)}eatContextual(u){return this.isContextual(u)?(this.next(),!0):!1}expectContextual(u,s){if(!this.eatContextual(u)){if(s!=null)throw this.raise(s,this.state.startLoc);this.unexpected(null,u)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return X1(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return X1(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(u=!0){(u?this.isLineTerminator():this.eat(13))||this.raise(g.MissingSemicolon,this.state.lastTokEndLoc)}expect(u,s){this.eat(u)||this.unexpected(s,u)}tryParse(u,s=this.state.clone()){const l={node:null};try{const p=u((S=null)=>{throw l.node=S,l});if(this.state.errors.length>s.errors.length){const S=this.state;return this.state=s,this.state.tokensLength=S.tokensLength,{node:p,error:S.errors[s.errors.length],thrown:!1,aborted:!1,failState:S}}return{node:p,error:null,thrown:!1,aborted:!1,failState:null}}catch(p){const S=this.state;if(this.state=s,p instanceof SyntaxError)return{node:null,error:p,thrown:!0,aborted:!1,failState:S};if(p===l)return{node:l.node,error:null,thrown:!1,aborted:!0,failState:S};throw p}}checkExpressionErrors(u,s){if(!u)return!1;const{shorthandAssignLoc:l,doubleProtoLoc:p,privateKeyLoc:S,optionalParametersLoc:P}=u,O=!!l||!!p||!!P||!!S;if(!s)return O;l!=null&&this.raise(g.InvalidCoverInitializedName,l),p!=null&&this.raise(g.DuplicateProto,p),S!=null&&this.raise(g.UnexpectedPrivateField,S),P!=null&&this.unexpected(P)}isLiteralPropertyName(){return he(this.state.type)}isPrivateName(u){return u.type==="PrivateName"}getPrivateNameSV(u){return u.id.name}hasPropertyAsPrivateName(u){return(u.type==="MemberExpression"||u.type==="OptionalMemberExpression")&&this.isPrivateName(u.property)}isObjectProperty(u){return u.type==="ObjectProperty"}isObjectMethod(u){return u.type==="ObjectMethod"}initializeScopes(u=this.options.sourceType==="module"){const s=this.state.labels;this.state.labels=[];const l=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const p=this.inModule;this.inModule=u;const S=this.scope,P=this.getScopeHandler();this.scope=new P(this,u);const O=this.prodParam;this.prodParam=new MT;const D=this.classScope;this.classScope=new IT(this);const $=this.expressionScope;return this.expressionScope=new NT(this),()=>{this.state.labels=s,this.exportedIdentifiers=l,this.inModule=p,this.scope=S,this.prodParam=O,this.classScope=D,this.expressionScope=$}}enterInitialScopes(){let u=0;this.inModule&&(u|=2),this.scope.enter(1),this.prodParam.enter(u)}checkDestructuringPrivate(u){const{privateKeyLoc:s}=u;s!==null&&this.expectPlugin("destructuringPrivate",s)}}class Fa{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Ba{constructor(u,s,l){this.type="",this.start=s,this.end=0,this.loc=new r(l),u!=null&&u.options.ranges&&(this.range=[s,0]),u!=null&&u.filename&&(this.loc.filename=u.filename)}}const kc=Ba.prototype;kc.__clone=function(){const _=new Ba(void 0,this.start,this.loc.start),u=Object.keys(this);for(let s=0,l=u.length;s<l;s++){const p=u[s];p!=="leadingComments"&&p!=="trailingComments"&&p!=="innerComments"&&(_[p]=this[p])}return _};function DT(_){return or(_)}function or(_){const{type:u,start:s,end:l,loc:p,range:S,extra:P,name:O}=_,D=Object.create(kc);return D.type=u,D.start=s,D.end=l,D.loc=p,D.range=S,D.extra=P,D.name=O,u==="Placeholder"&&(D.expectedNode=_.expectedNode),D}function FT(_){const{type:u,start:s,end:l,loc:p,range:S,extra:P}=_;if(u==="Placeholder")return DT(_);const O=Object.create(kc);return O.type=u,O.start=s,O.end=l,O.loc=p,O.range=S,_.raw!==void 0?O.raw=_.raw:O.extra=P,O.value=_.value,O}class BT extends RT{startNode(){const u=this.state.startLoc;return new Ba(this,u.index,u)}startNodeAt(u){return new Ba(this,u.index,u)}startNodeAtNode(u){return this.startNodeAt(u.loc.start)}finishNode(u,s){return this.finishNodeAt(u,s,this.state.lastTokEndLoc)}finishNodeAt(u,s,l){return u.type=s,u.end=l.index,u.loc.end=l,this.options.ranges&&(u.range[1]=l.index),this.options.attachComment&&this.processComment(u),u}resetStartLocation(u,s){u.start=s.index,u.loc.start=s,this.options.ranges&&(u.range[0]=s.index)}resetEndLocation(u,s=this.state.lastTokEndLoc){u.end=s.index,u.loc.end=s,this.options.ranges&&(u.range[1]=s.index)}resetStartLocationFromNode(u,s){this.resetStartLocation(u,s.loc.start)}}const $T=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),le=v`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:_})=>`Cannot overwrite reserved type ${_}.`,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:_,enumName:u})=>`Boolean enum members need to be initialized. Use either \`${_} = true,\` or \`${_} = false,\` in enum \`${u}\`.`,EnumDuplicateMemberName:({memberName:_,enumName:u})=>`Enum member names need to be unique, but the name \`${_}\` has already been used before in enum \`${u}\`.`,EnumInconsistentMemberValues:({enumName:_})=>`Enum \`${_}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:_,enumName:u})=>`Enum type \`${_}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${u}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:_})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${_}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:_,memberName:u,explicitType:s})=>`Enum \`${_}\` has type \`${s}\`, so the initializer of \`${u}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:_,memberName:u})=>`Symbol enum members cannot be initialized. Use \`${u},\` in enum \`${_}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:_,memberName:u})=>`The enum member initializer for \`${u}\` needs to be a literal (either a boolean, number, or string) in enum \`${_}\`.`,EnumInvalidMemberName:({enumName:_,memberName:u,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${u}\`, consider using \`${s}\`, in enum \`${_}\`.`,EnumNumberMemberNotInitialized:({enumName:_,memberName:u})=>`Number enum members need to be initialized, e.g. \`${u} = 1\` in enum \`${_}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:_})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${_}\`.`,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:_})=>`Unexpected reserved type ${_}.`,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:_,suggestion:u})=>`\`declare export ${_}\` is not supported. Use \`${u}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function UT(_){return _.type==="DeclareExportAllDeclaration"||_.type==="DeclareExportDeclaration"&&(!_.declaration||_.declaration.type!=="TypeAlias"&&_.declaration.type!=="InterfaceDeclaration")}function tg(_){return _.importKind==="type"||_.importKind==="typeof"}const qT={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function jT(_,u){const s=[],l=[];for(let p=0;p<_.length;p++)(u(_[p],p,_)?s:l).push(_[p]);return[s,l]}const VT=/\*?\s*@((?:no)?flow)\b/;var GT=_=>class extends _{constructor(...s){super(...s),this.flowPragma=void 0}getScopeHandler(){return yT}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(s,l){s!==133&&s!==13&&s!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(s,l)}addComment(s){if(this.flowPragma===void 0){const l=VT.exec(s.value);if(l)if(l[1]==="flow")this.flowPragma="flow";else if(l[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(s)}flowParseTypeInitialiser(s){const l=this.state.inType;this.state.inType=!0,this.expect(s||14);const p=this.flowParseType();return this.state.inType=l,p}flowParsePredicate(){const s=this.startNode(),l=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>l.index+1&&this.raise(le.UnexpectedSpaceBetweenModuloChecks,l),this.eat(10)?(s.value=super.parseExpression(),this.expect(11),this.finishNode(s,"DeclaredPredicate")):this.finishNode(s,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const s=this.state.inType;this.state.inType=!0,this.expect(14);let l=null,p=null;return this.match(54)?(this.state.inType=s,p=this.flowParsePredicate()):(l=this.flowParseType(),this.state.inType=s,this.match(54)&&(p=this.flowParsePredicate())),[l,p]}flowParseDeclareClass(s){return this.next(),this.flowParseInterfaceish(s,!0),this.finishNode(s,"DeclareClass")}flowParseDeclareFunction(s){this.next();const l=s.id=this.parseIdentifier(),p=this.startNode(),S=this.startNode();this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,this.expect(10);const P=this.flowParseFunctionTypeParams();return p.params=P.params,p.rest=P.rest,p.this=P._this,this.expect(11),[p.returnType,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),S.typeAnnotation=this.finishNode(p,"FunctionTypeAnnotation"),l.typeAnnotation=this.finishNode(S,"TypeAnnotation"),this.resetEndLocation(l),this.semicolon(),this.scope.declareName(s.id.name,2048,s.id.loc.start),this.finishNode(s,"DeclareFunction")}flowParseDeclare(s,l){if(this.match(80))return this.flowParseDeclareClass(s);if(this.match(68))return this.flowParseDeclareFunction(s);if(this.match(74))return this.flowParseDeclareVariable(s);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(s):(l&&this.raise(le.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(s));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(s);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(s);if(this.isContextual(129))return this.flowParseDeclareInterface(s);if(this.match(82))return this.flowParseDeclareExportDeclaration(s,l);this.unexpected()}flowParseDeclareVariable(s){return this.next(),s.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(s.id.name,5,s.id.loc.start),this.semicolon(),this.finishNode(s,"DeclareVariable")}flowParseDeclareModule(s){this.scope.enter(0),this.match(133)?s.id=super.parseExprAtom():s.id=this.parseIdentifier();const l=s.body=this.startNode(),p=l.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(le.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(O)):(this.expectContextual(125,le.UnsupportedStatementInDeclareModule),O=this.flowParseDeclare(O,!0)),p.push(O)}this.scope.exit(),this.expect(8),this.finishNode(l,"BlockStatement");let S=null,P=!1;return p.forEach(O=>{UT(O)?(S==="CommonJS"&&this.raise(le.AmbiguousDeclareModuleKind,O),S="ES"):O.type==="DeclareModuleExports"&&(P&&this.raise(le.DuplicateDeclareModuleExports,O),S==="ES"&&this.raise(le.AmbiguousDeclareModuleKind,O),S="CommonJS",P=!0)}),s.kind=S||"CommonJS",this.finishNode(s,"DeclareModule")}flowParseDeclareExportDeclaration(s,l){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?s.declaration=this.flowParseDeclare(this.startNode()):(s.declaration=this.flowParseType(),this.semicolon()),s.default=!0,this.finishNode(s,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!l){const p=this.state.value;throw this.raise(le.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:p,suggestion:qT[p]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return s.declaration=this.flowParseDeclare(this.startNode()),s.default=!1,this.finishNode(s,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return s=this.parseExport(s,null),s.type==="ExportNamedDeclaration"&&(s.type="ExportDeclaration",s.default=!1,delete s.exportKind),s.type="Declare"+s.type,s;this.unexpected()}flowParseDeclareModuleExports(s){return this.next(),this.expectContextual(111),s.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(s,"DeclareModuleExports")}flowParseDeclareTypeAlias(s){this.next();const l=this.flowParseTypeAlias(s);return l.type="DeclareTypeAlias",l}flowParseDeclareOpaqueType(s){this.next();const l=this.flowParseOpaqueType(s,!0);return l.type="DeclareOpaqueType",l}flowParseDeclareInterface(s){return this.next(),this.flowParseInterfaceish(s,!1),this.finishNode(s,"DeclareInterface")}flowParseInterfaceish(s,l){if(s.id=this.flowParseRestrictedIdentifier(!l,!0),this.scope.declareName(s.id.name,l?17:8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.extends=[],this.eat(81))do s.extends.push(this.flowParseInterfaceExtends());while(!l&&this.eat(12));if(l){if(s.implements=[],s.mixins=[],this.eatContextual(117))do s.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do s.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}s.body=this.flowParseObjectType({allowStatic:l,allowExact:!1,allowSpread:!1,allowProto:l,allowInexact:!1})}flowParseInterfaceExtends(){const s=this.startNode();return s.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,this.finishNode(s,"InterfaceExtends")}flowParseInterface(s){return this.flowParseInterfaceish(s,!1),this.finishNode(s,"InterfaceDeclaration")}checkNotUnderscore(s){s==="_"&&this.raise(le.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(s,l,p){$T.has(s)&&this.raise(p?le.AssignReservedType:le.UnexpectedReservedType,l,{reservedType:s})}flowParseRestrictedIdentifier(s,l){return this.checkReservedType(this.state.value,this.state.startLoc,l),this.parseIdentifier(s)}flowParseTypeAlias(s){return s.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(s.id.name,8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(s,"TypeAlias")}flowParseOpaqueType(s,l){return this.expectContextual(130),s.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(s.id.name,8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.supertype=null,this.match(14)&&(s.supertype=this.flowParseTypeInitialiser(14)),s.impltype=null,l||(s.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(s,"OpaqueType")}flowParseTypeParameter(s=!1){const l=this.state.startLoc,p=this.startNode(),S=this.flowParseVariance(),P=this.flowParseTypeAnnotatableIdentifier();return p.name=P.name,p.variance=S,p.bound=P.typeAnnotation,this.match(29)?(this.eat(29),p.default=this.flowParseType()):s&&this.raise(le.MissingTypeParamDefault,l),this.finishNode(p,"TypeParameter")}flowParseTypeParameterDeclaration(){const s=this.state.inType,l=this.startNode();l.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let p=!1;do{const S=this.flowParseTypeParameter(p);l.params.push(S),S.default&&(p=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=s,this.finishNode(l,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const s=this.startNode(),l=this.state.inType;s.params=[],this.state.inType=!0,this.expect(47);const p=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)s.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=p,this.expect(48),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const s=this.startNode(),l=this.state.inType;for(s.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)s.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseInterfaceType(){const s=this.startNode();if(this.expectContextual(129),s.extends=[],this.eat(81))do s.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return s.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(s,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(s,l,p){return s.static=l,this.lookahead().type===14?(s.id=this.flowParseObjectPropertyKey(),s.key=this.flowParseTypeInitialiser()):(s.id=null,s.key=this.flowParseType()),this.expect(3),s.value=this.flowParseTypeInitialiser(),s.variance=p,this.finishNode(s,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(s,l){return s.static=l,s.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(s.method=!0,s.optional=!1,s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.loc.start))):(s.method=!1,this.eat(17)&&(s.optional=!0),s.value=this.flowParseTypeInitialiser()),this.finishNode(s,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(s){for(s.params=[],s.rest=null,s.typeParameters=null,s.this=null,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(s.this=this.flowParseFunctionTypeParam(!0),s.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(s.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),s.returnType=this.flowParseTypeInitialiser(),this.finishNode(s,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(s,l){const p=this.startNode();return s.static=l,s.value=this.flowParseObjectTypeMethodish(p),this.finishNode(s,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:s,allowExact:l,allowSpread:p,allowProto:S,allowInexact:P}){const O=this.state.inType;this.state.inType=!0;const D=this.startNode();D.callProperties=[],D.properties=[],D.indexers=[],D.internalSlots=[];let $,F,W=!1;for(l&&this.match(6)?(this.expect(6),$=9,F=!0):(this.expect(5),$=8,F=!1),D.exact=F;!this.match($);){let J=!1,ae=null,Se=null;const mt=this.startNode();if(S&&this.isContextual(118)){const Le=this.lookahead();Le.type!==14&&Le.type!==17&&(this.next(),ae=this.state.startLoc,s=!1)}if(s&&this.isContextual(106)){const Le=this.lookahead();Le.type!==14&&Le.type!==17&&(this.next(),J=!0)}const ye=this.flowParseVariance();if(this.eat(0))ae!=null&&this.unexpected(ae),this.eat(0)?(ye&&this.unexpected(ye.loc.start),D.internalSlots.push(this.flowParseObjectTypeInternalSlot(mt,J))):D.indexers.push(this.flowParseObjectTypeIndexer(mt,J,ye));else if(this.match(10)||this.match(47))ae!=null&&this.unexpected(ae),ye&&this.unexpected(ye.loc.start),D.callProperties.push(this.flowParseObjectTypeCallProperty(mt,J));else{let Le="init";if(this.isContextual(99)||this.isContextual(104)){const vi=this.lookahead();he(vi.type)&&(Le=this.state.value,this.next())}const $a=this.flowParseObjectTypeProperty(mt,J,ae,ye,Le,p,P!=null?P:!F);$a===null?(W=!0,Se=this.state.lastTokStartLoc):D.properties.push($a)}this.flowObjectTypeSemicolon(),Se&&!this.match(8)&&!this.match(9)&&this.raise(le.UnexpectedExplicitInexactInObject,Se)}this.expect($),p&&(D.inexact=W);const K=this.finishNode(D,"ObjectTypeAnnotation");return this.state.inType=O,K}flowParseObjectTypeProperty(s,l,p,S,P,O,D){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(O?D||this.raise(le.InexactInsideExact,this.state.lastTokStartLoc):this.raise(le.InexactInsideNonObject,this.state.lastTokStartLoc),S&&this.raise(le.InexactVariance,S),null):(O||this.raise(le.UnexpectedSpreadType,this.state.lastTokStartLoc),p!=null&&this.unexpected(p),S&&this.raise(le.SpreadVariance,S),s.argument=this.flowParseType(),this.finishNode(s,"ObjectTypeSpreadProperty"));{s.key=this.flowParseObjectPropertyKey(),s.static=l,s.proto=p!=null,s.kind=P;let $=!1;return this.match(47)||this.match(10)?(s.method=!0,p!=null&&this.unexpected(p),S&&this.unexpected(S.loc.start),s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.loc.start)),(P==="get"||P==="set")&&this.flowCheckGetterSetterParams(s),!O&&s.key.name==="constructor"&&s.value.this&&this.raise(le.ThisParamBannedInConstructor,s.value.this)):(P!=="init"&&this.unexpected(),s.method=!1,this.eat(17)&&($=!0),s.value=this.flowParseTypeInitialiser(),s.variance=S),s.optional=$,this.finishNode(s,"ObjectTypeProperty")}}flowCheckGetterSetterParams(s){const l=s.kind==="get"?0:1,p=s.value.params.length+(s.value.rest?1:0);s.value.this&&this.raise(s.kind==="get"?le.GetterMayNotHaveThisParam:le.SetterMayNotHaveThisParam,s.value.this),p!==l&&this.raise(s.kind==="get"?g.BadGetterArity:g.BadSetterArity,s),s.kind==="set"&&s.value.rest&&this.raise(g.BadSetterRestParameter,s)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(s,l){var p;(p=s)!=null||(s=this.state.startLoc);let S=l||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const P=this.startNodeAt(s);P.qualification=S,P.id=this.flowParseRestrictedIdentifier(!0),S=this.finishNode(P,"QualifiedTypeIdentifier")}return S}flowParseGenericType(s,l){const p=this.startNodeAt(s);return p.typeParameters=null,p.id=this.flowParseQualifiedTypeIdentifier(s,l),this.match(47)&&(p.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(p,"GenericTypeAnnotation")}flowParseTypeofType(){const s=this.startNode();return this.expect(87),s.argument=this.flowParsePrimaryType(),this.finishNode(s,"TypeofTypeAnnotation")}flowParseTupleType(){const s=this.startNode();for(s.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(s.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(s,"TupleTypeAnnotation")}flowParseFunctionTypeParam(s){let l=null,p=!1,S=null;const P=this.startNode(),O=this.lookahead(),D=this.state.type===78;return O.type===14||O.type===17?(D&&!s&&this.raise(le.ThisParamMustBeFirst,P),l=this.parseIdentifier(D),this.eat(17)&&(p=!0,D&&this.raise(le.ThisParamMayNotBeOptional,P)),S=this.flowParseTypeInitialiser()):S=this.flowParseType(),P.name=l,P.optional=p,P.typeAnnotation=S,this.finishNode(P,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(s){const l=this.startNodeAt(s.loc.start);return l.name=null,l.optional=!1,l.typeAnnotation=s,this.finishNode(l,"FunctionTypeParam")}flowParseFunctionTypeParams(s=[]){let l=null,p=null;for(this.match(78)&&(p=this.flowParseFunctionTypeParam(!0),p.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(l=this.flowParseFunctionTypeParam(!1)),{params:s,rest:l,_this:p}}flowIdentToTypeAnnotation(s,l,p){switch(p.name){case"any":return this.finishNode(l,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(l,"BooleanTypeAnnotation");case"mixed":return this.finishNode(l,"MixedTypeAnnotation");case"empty":return this.finishNode(l,"EmptyTypeAnnotation");case"number":return this.finishNode(l,"NumberTypeAnnotation");case"string":return this.finishNode(l,"StringTypeAnnotation");case"symbol":return this.finishNode(l,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(p.name),this.flowParseGenericType(s,p)}}flowParsePrimaryType(){const s=this.state.startLoc,l=this.startNode();let p,S,P=!1;const O=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,S=this.flowParseTupleType(),this.state.noAnonFunctionType=O,S;case 47:{const D=this.startNode();return D.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),p=this.flowParseFunctionTypeParams(),D.params=p.params,D.rest=p.rest,D.this=p._this,this.expect(11),this.expect(19),D.returnType=this.flowParseType(),this.finishNode(D,"FunctionTypeAnnotation")}case 10:{const D=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(j(this.state.type)||this.match(78)){const $=this.lookahead().type;P=$!==17&&$!==14}else P=!0;if(P){if(this.state.noAnonFunctionType=!1,S=this.flowParseType(),this.state.noAnonFunctionType=O,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),S;this.eat(12)}return S?p=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(S)]):p=this.flowParseFunctionTypeParams(),D.params=p.params,D.rest=p.rest,D.this=p._this,this.expect(11),this.expect(19),D.returnType=this.flowParseType(),D.typeParameters=null,this.finishNode(D,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return l.value=this.match(85),this.next(),this.finishNode(l,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",l);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",l);throw this.raise(le.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(l,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(l,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(l,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(l,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(xt(this.state.type)){const D=Ye(this.state.type);return this.next(),super.createIdentifier(l,D)}else if(j(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(s,l,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const s=this.state.startLoc;let l=this.flowParsePrimaryType(),p=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const S=this.startNodeAt(s),P=this.eat(18);p=p||P,this.expect(0),!P&&this.match(3)?(S.elementType=l,this.next(),l=this.finishNode(S,"ArrayTypeAnnotation")):(S.objectType=l,S.indexType=this.flowParseType(),this.expect(3),p?(S.optional=P,l=this.finishNode(S,"OptionalIndexedAccessType")):l=this.finishNode(S,"IndexedAccessType"))}return l}flowParsePrefixType(){const s=this.startNode();return this.eat(17)?(s.typeAnnotation=this.flowParsePrefixType(),this.finishNode(s,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const s=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const l=this.startNodeAt(s.loc.start);return l.params=[this.reinterpretTypeAsFunctionTypeParam(s)],l.rest=null,l.this=null,l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}return s}flowParseIntersectionType(){const s=this.startNode();this.eat(45);const l=this.flowParseAnonFunctionWithoutParens();for(s.types=[l];this.eat(45);)s.types.push(this.flowParseAnonFunctionWithoutParens());return s.types.length===1?l:this.finishNode(s,"IntersectionTypeAnnotation")}flowParseUnionType(){const s=this.startNode();this.eat(43);const l=this.flowParseIntersectionType();for(s.types=[l];this.eat(43);)s.types.push(this.flowParseIntersectionType());return s.types.length===1?l:this.finishNode(s,"UnionTypeAnnotation")}flowParseType(){const s=this.state.inType;this.state.inType=!0;const l=this.flowParseUnionType();return this.state.inType=s,l}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const s=this.state.startLoc,l=this.parseIdentifier();return this.flowParseGenericType(s,l)}else return this.flowParseType()}flowParseTypeAnnotation(){const s=this.startNode();return s.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(s,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(s){const l=s?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(l.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(l)),l}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}flowParseVariance(){let s=null;return this.match(53)?(s=this.startNode(),this.state.value==="+"?s.kind="plus":s.kind="minus",this.next(),this.finishNode(s,"Variance")):s}parseFunctionBody(s,l,p=!1){if(l){this.forwardNoArrowParamsConversionAt(s,()=>super.parseFunctionBody(s,!0,p));return}super.parseFunctionBody(s,!1,p)}parseFunctionBodyAndFinish(s,l,p=!1){if(this.match(14)){const S=this.startNode();[S.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.returnType=S.typeAnnotation?this.finishNode(S,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(s,l,p)}parseStatementLike(s){if(this.state.strict&&this.isContextual(129)){const p=this.lookahead();if(oe(p.type)){const S=this.startNode();return this.next(),this.flowParseInterface(S)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const p=this.startNode();return this.next(),this.flowParseEnumDeclaration(p)}const l=super.parseStatementLike(s);return this.flowPragma===void 0&&!this.isValidDirective(l)&&(this.flowPragma=null),l}parseExpressionStatement(s,l,p){if(l.type==="Identifier"){if(l.name==="declare"){if(this.match(80)||j(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(s)}else if(j(this.state.type)){if(l.name==="interface")return this.flowParseInterface(s);if(l.name==="type")return this.flowParseTypeAlias(s);if(l.name==="opaque")return this.flowParseOpaqueType(s,!1)}}return super.parseExpressionStatement(s,l,p)}shouldParseExportDeclaration(){const{type:s}=this.state;return fe(s)||this.shouldParseEnums()&&s===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:s}=this.state;return fe(s)||this.shouldParseEnums()&&s===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return super.parseExportDefaultExpression()}parseConditional(s,l,p){if(!this.match(17))return s;if(this.state.maybeInArrowParameters){const K=this.lookaheadCharCode();if(K===44||K===61||K===58||K===41)return this.setOptionalParametersError(p),s}this.expect(17);const S=this.state.clone(),P=this.state.noArrowAt,O=this.startNodeAt(l);let{consequent:D,failed:$}=this.tryParseConditionalConsequent(),[F,W]=this.getArrowLikeExpressions(D);if($||W.length>0){const K=[...P];if(W.length>0){this.state=S,this.state.noArrowAt=K;for(let J=0;J<W.length;J++)K.push(W[J].start);({consequent:D,failed:$}=this.tryParseConditionalConsequent()),[F,W]=this.getArrowLikeExpressions(D)}$&&F.length>1&&this.raise(le.AmbiguousConditionalArrow,S.startLoc),$&&F.length===1&&(this.state=S,K.push(F[0].start),this.state.noArrowAt=K,{consequent:D,failed:$}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(D,!0),this.state.noArrowAt=P,this.expect(14),O.test=s,O.consequent=D,O.alternate=this.forwardNoArrowParamsConversionAt(O,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(O,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const s=this.parseMaybeAssignAllowIn(),l=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:s,failed:l}}getArrowLikeExpressions(s,l){const p=[s],S=[];for(;p.length!==0;){const P=p.pop();P.type==="ArrowFunctionExpression"&&P.body.type!=="BlockStatement"?(P.typeParameters||!P.returnType?this.finishArrowValidation(P):S.push(P),p.push(P.body)):P.type==="ConditionalExpression"&&(p.push(P.consequent),p.push(P.alternate))}return l?(S.forEach(P=>this.finishArrowValidation(P)),[S,[]]):jT(S,P=>P.params.every(O=>this.isAssignable(O,!0)))}finishArrowValidation(s){var l;this.toAssignableList(s.params,(l=s.extra)==null?void 0:l.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(s,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(s,l){let p;return this.state.noArrowParamsConversionAt.includes(s.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),p=l(),this.state.noArrowParamsConversionAt.pop()):p=l(),p}parseParenItem(s,l){const p=super.parseParenItem(s,l);if(this.eat(17)&&(p.optional=!0,this.resetEndLocation(s)),this.match(14)){const S=this.startNodeAt(l);return S.expression=p,S.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(S,"TypeCastExpression")}return p}assertModuleNodeAllowed(s){s.type==="ImportDeclaration"&&(s.importKind==="type"||s.importKind==="typeof")||s.type==="ExportNamedDeclaration"&&s.exportKind==="type"||s.type==="ExportAllDeclaration"&&s.exportKind==="type"||super.assertModuleNodeAllowed(s)}parseExportDeclaration(s){if(this.isContextual(130)){s.exportKind="type";const l=this.startNode();return this.next(),this.match(5)?(s.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(s),null):this.flowParseTypeAlias(l)}else if(this.isContextual(131)){s.exportKind="type";const l=this.startNode();return this.next(),this.flowParseOpaqueType(l,!1)}else if(this.isContextual(129)){s.exportKind="type";const l=this.startNode();return this.next(),this.flowParseInterface(l)}else if(this.shouldParseEnums()&&this.isContextual(126)){s.exportKind="value";const l=this.startNode();return this.next(),this.flowParseEnumDeclaration(l)}else return super.parseExportDeclaration(s)}eatExportStar(s){return super.eatExportStar(s)?!0:this.isContextual(130)&&this.lookahead().type===55?(s.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(s){const{startLoc:l}=this.state,p=super.maybeParseExportNamespaceSpecifier(s);return p&&s.exportKind==="type"&&this.unexpected(l),p}parseClassId(s,l,p){super.parseClassId(s,l,p),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(s,l,p){const{startLoc:S}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(s,l))return;l.declare=!0}super.parseClassMember(s,l,p),l.declare&&(l.type!=="ClassProperty"&&l.type!=="ClassPrivateProperty"&&l.type!=="PropertyDefinition"?this.raise(le.DeclareClassElement,S):l.value&&this.raise(le.DeclareClassFieldInitializer,l.value))}isIterator(s){return s==="iterator"||s==="asyncIterator"}readIterator(){const s=super.readWord1(),l="@@"+s;(!this.isIterator(s)||!this.state.inType)&&this.raise(g.InvalidIdentifier,this.state.curPosition(),{identifierName:l}),this.finishToken(132,l)}getTokenFromCode(s){const l=this.input.charCodeAt(this.state.pos+1);s===123&&l===124?this.finishOp(6,2):this.state.inType&&(s===62||s===60)?this.finishOp(s===62?48:47,1):this.state.inType&&s===63?l===46?this.finishOp(18,2):this.finishOp(17,1):pT(s,l,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(s)}isAssignable(s,l){return s.type==="TypeCastExpression"?this.isAssignable(s.expression,l):super.isAssignable(s,l)}toAssignable(s,l=!1){!l&&s.type==="AssignmentExpression"&&s.left.type==="TypeCastExpression"&&(s.left=this.typeCastToParameter(s.left)),super.toAssignable(s,l)}toAssignableList(s,l,p){for(let S=0;S<s.length;S++){const P=s[S];(P==null?void 0:P.type)==="TypeCastExpression"&&(s[S]=this.typeCastToParameter(P))}super.toAssignableList(s,l,p)}toReferencedList(s,l){for(let S=0;S<s.length;S++){var p;const P=s[S];P&&P.type==="TypeCastExpression"&&!((p=P.extra)!=null&&p.parenthesized)&&(s.length>1||!l)&&this.raise(le.TypeCastInPattern,P.typeAnnotation)}return s}parseArrayLike(s,l,p,S){const P=super.parseArrayLike(s,l,p,S);return l&&!this.state.maybeInArrowParameters&&this.toReferencedList(P.elements),P}isValidLVal(s,l,p){return s==="TypeCastExpression"||super.isValidLVal(s,l,p)}parseClassProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(s)}parseClassPrivateProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(s)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(s){return!this.match(14)&&super.isNonstaticConstructor(s)}pushClassMethod(s,l,p,S,P,O){if(l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(47)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(s,l,p,S,P,O),l.params&&P){const D=l.params;D.length>0&&this.isThisParam(D[0])&&this.raise(le.ThisParamBannedInConstructor,l)}else if(l.type==="MethodDefinition"&&P&&l.value.params){const D=l.value.params;D.length>0&&this.isThisParam(D[0])&&this.raise(le.ThisParamBannedInConstructor,l)}}pushClassPrivateMethod(s,l,p,S){l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(47)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(s,l,p,S)}parseClassSuper(s){if(super.parseClassSuper(s),s.superClass&&this.match(47)&&(s.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const l=s.implements=[];do{const p=this.startNode();p.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?p.typeParameters=this.flowParseTypeParameterInstantiation():p.typeParameters=null,l.push(this.finishNode(p,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(s){super.checkGetterSetterParams(s);const l=this.getObjectOrClassMethodParams(s);if(l.length>0){const p=l[0];this.isThisParam(p)&&s.kind==="get"?this.raise(le.GetterMayNotHaveThisParam,p):this.isThisParam(p)&&this.raise(le.SetterMayNotHaveThisParam,p)}}parsePropertyNamePrefixOperator(s){s.variance=this.flowParseVariance()}parseObjPropValue(s,l,p,S,P,O,D){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance;let $;this.match(47)&&!O&&($=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const F=super.parseObjPropValue(s,l,p,S,P,O,D);return $&&((F.value||F).typeParameters=$),F}parseAssignableListItemTypes(s){return this.eat(17)&&(s.type!=="Identifier"&&this.raise(le.PatternIsOptional,s),this.isThisParam(s)&&this.raise(le.ThisParamMayNotBeOptional,s),s.optional=!0),this.match(14)?s.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(s)&&this.raise(le.ThisParamAnnotationRequired,s),this.match(29)&&this.isThisParam(s)&&this.raise(le.ThisParamNoDefault,s),this.resetEndLocation(s),s}parseMaybeDefault(s,l){const p=super.parseMaybeDefault(s,l);return p.type==="AssignmentPattern"&&p.typeAnnotation&&p.right.start<p.typeAnnotation.start&&this.raise(le.TypeBeforeInitializer,p.typeAnnotation),p}checkImportReflection(s){super.checkImportReflection(s),s.module&&s.importKind!=="value"&&this.raise(le.ImportReflectionHasImportType,s.specifiers[0].loc.start)}parseImportSpecifierLocal(s,l,p){l.local=tg(s)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),s.specifiers.push(this.finishImportSpecifier(l,p))}isPotentialImportPhase(s){if(super.isPotentialImportPhase(s))return!0;if(this.isContextual(130)){if(!s)return!0;const l=this.lookaheadCharCode();return l===123||l===42}return!s&&this.isContextual(87)}applyImportPhase(s,l,p,S){if(super.applyImportPhase(s,l,p,S),l){if(!p&&this.match(65))return;s.exportKind=p==="type"?p:"value"}else p==="type"&&this.match(55)&&this.unexpected(),s.importKind=p==="type"||p==="typeof"?p:"value"}parseImportSpecifier(s,l,p,S,P){const O=s.imported;let D=null;O.type==="Identifier"&&(O.name==="type"?D="type":O.name==="typeof"&&(D="typeof"));let $=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const W=this.parseIdentifier(!0);D!==null&&!oe(this.state.type)?(s.imported=W,s.importKind=D,s.local=or(W)):(s.imported=O,s.importKind=null,s.local=this.parseIdentifier())}else{if(D!==null&&oe(this.state.type))s.imported=this.parseIdentifier(!0),s.importKind=D;else{if(l)throw this.raise(g.ImportBindingIsString,s,{importName:O.value});s.imported=O,s.importKind=null}this.eatContextual(93)?s.local=this.parseIdentifier():($=!0,s.local=or(s.imported))}const F=tg(s);return p&&F&&this.raise(le.ImportTypeShorthandOnlyInPureImport,s),(p||F)&&this.checkReservedType(s.local.name,s.local.loc.start,!0),$&&!p&&!F&&this.checkReservedWord(s.local.name,s.loc.start,!0,!0),this.finishImportSpecifier(s,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(s,l){const p=s.kind;p!=="get"&&p!=="set"&&this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),this.match(14)&&(s.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){if(this.match(14)){const p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,s.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=p}return super.parseAsyncArrowFromCallExpression(s,l)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(s,l){var p;let S=null,P;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(S=this.state.clone(),P=this.tryParse(()=>super.parseMaybeAssign(s,l),S),!P.error)return P.node;const{context:$}=this.state,F=$[$.length-1];(F===L.j_oTag||F===L.j_expr)&&$.pop()}if((p=P)!=null&&p.error||this.match(47)){var O,D;S=S||this.state.clone();let $;const F=this.tryParse(K=>{var J;$=this.flowParseTypeParameterDeclaration();const ae=this.forwardNoArrowParamsConversionAt($,()=>{const mt=super.parseMaybeAssign(s,l);return this.resetStartLocationFromNode(mt,$),mt});(J=ae.extra)!=null&&J.parenthesized&&K();const Se=this.maybeUnwrapTypeCastExpression(ae);return Se.type!=="ArrowFunctionExpression"&&K(),Se.typeParameters=$,this.resetStartLocationFromNode(Se,$),ae},S);let W=null;if(F.node&&this.maybeUnwrapTypeCastExpression(F.node).type==="ArrowFunctionExpression"){if(!F.error&&!F.aborted)return F.node.async&&this.raise(le.UnexpectedTypeParameterBeforeAsyncArrowFunction,$),F.node;W=F.node}if((O=P)!=null&&O.node)return this.state=P.failState,P.node;if(W)return this.state=F.failState,W;throw(D=P)!=null&&D.thrown?P.error:F.thrown?F.error:this.raise(le.UnexpectedTokenAfterTypeParameter,$)}return super.parseMaybeAssign(s,l)}parseArrow(s){if(this.match(14)){const l=this.tryParse(()=>{const p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const S=this.startNode();return[S.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=p,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),S});if(l.thrown)return null;l.error&&(this.state=l.failState),s.returnType=l.node.typeAnnotation?this.finishNode(l.node,"TypeAnnotation"):null}return super.parseArrow(s)}shouldParseArrow(s){return this.match(14)||super.shouldParseArrow(s)}setArrowFunctionParameters(s,l){this.state.noArrowParamsConversionAt.includes(s.start)?s.params=l:super.setArrowFunctionParameters(s,l)}checkParams(s,l,p,S=!0){if(!(p&&this.state.noArrowParamsConversionAt.includes(s.start))){for(let P=0;P<s.params.length;P++)this.isThisParam(s.params[P])&&P>0&&this.raise(le.ThisParamMustBeFirst,s.params[P]);super.checkParams(s,l,p,S)}}parseParenAndDistinguishExpression(s){return super.parseParenAndDistinguishExpression(s&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(s,l,p){if(s.type==="Identifier"&&s.name==="async"&&this.state.noArrowAt.includes(l.index)){this.next();const S=this.startNodeAt(l);S.callee=s,S.arguments=super.parseCallExpressionArguments(11,!1),s=this.finishNode(S,"CallExpression")}else if(s.type==="Identifier"&&s.name==="async"&&this.match(47)){const S=this.state.clone(),P=this.tryParse(D=>this.parseAsyncArrowWithTypeParameters(l)||D(),S);if(!P.error&&!P.aborted)return P.node;const O=this.tryParse(()=>super.parseSubscripts(s,l,p),S);if(O.node&&!O.error)return O.node;if(P.node)return this.state=P.failState,P.node;if(O.node)return this.state=O.failState,O.node;throw P.error||O.error}return super.parseSubscripts(s,l,p)}parseSubscript(s,l,p,S){if(this.match(18)&&this.isLookaheadToken_lt()){if(S.optionalChainMember=!0,p)return S.stop=!0,s;this.next();const P=this.startNodeAt(l);return P.callee=s,P.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),P.arguments=this.parseCallExpressionArguments(11,!1),P.optional=!0,this.finishCallExpression(P,!0)}else if(!p&&this.shouldParseTypes()&&this.match(47)){const P=this.startNodeAt(l);P.callee=s;const O=this.tryParse(()=>(P.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),P.arguments=super.parseCallExpressionArguments(11,!1),S.optionalChainMember&&(P.optional=!1),this.finishCallExpression(P,S.optionalChainMember)));if(O.node)return O.error&&(this.state=O.failState),O.node}return super.parseSubscript(s,l,p,S)}parseNewCallee(s){super.parseNewCallee(s);let l=null;this.shouldParseTypes()&&this.match(47)&&(l=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),s.typeArguments=l}parseAsyncArrowWithTypeParameters(s){const l=this.startNodeAt(s);if(this.parseFunctionParams(l,!1),!!this.parseArrow(l))return super.parseArrowExpression(l,void 0,!0)}readToken_mult_modulo(s){const l=this.input.charCodeAt(this.state.pos+1);if(s===42&&l===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(s)}readToken_pipe_amp(s){const l=this.input.charCodeAt(this.state.pos+1);if(s===124&&l===125){this.finishOp(9,2);return}super.readToken_pipe_amp(s)}parseTopLevel(s,l){const p=super.parseTopLevel(s,l);return this.state.hasFlowComment&&this.raise(le.UnterminatedFlowComment,this.state.curPosition()),p}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(le.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const s=this.skipFlowComment();s&&(this.state.pos+=s,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:s}=this.state;let l=2;for(;[32,9].includes(this.input.charCodeAt(s+l));)l++;const p=this.input.charCodeAt(l+s),S=this.input.charCodeAt(l+s+1);return p===58&&S===58?l+2:this.input.slice(l+s,l+s+12)==="flow-include"?l+12:p===58&&S!==58?l:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(s,{enumName:l,memberName:p}){this.raise(le.EnumBooleanMemberNotInitialized,s,{memberName:p,enumName:l})}flowEnumErrorInvalidMemberInitializer(s,l){return this.raise(l.explicitType?l.explicitType==="symbol"?le.EnumInvalidMemberInitializerSymbolType:le.EnumInvalidMemberInitializerPrimaryType:le.EnumInvalidMemberInitializerUnknownType,s,l)}flowEnumErrorNumberMemberNotInitialized(s,l){this.raise(le.EnumNumberMemberNotInitialized,s,l)}flowEnumErrorStringMemberInconsistentlyInitialized(s,l){this.raise(le.EnumStringMemberInconsistentlyInitialized,s,l)}flowEnumMemberInit(){const s=this.state.startLoc,l=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const p=this.parseNumericLiteral(this.state.value);return l()?{type:"number",loc:p.loc.start,value:p}:{type:"invalid",loc:s}}case 133:{const p=this.parseStringLiteral(this.state.value);return l()?{type:"string",loc:p.loc.start,value:p}:{type:"invalid",loc:s}}case 85:case 86:{const p=this.parseBooleanLiteral(this.match(85));return l()?{type:"boolean",loc:p.loc.start,value:p}:{type:"invalid",loc:s}}default:return{type:"invalid",loc:s}}}flowEnumMemberRaw(){const s=this.state.startLoc,l=this.parseIdentifier(!0),p=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:s};return{id:l,init:p}}flowEnumCheckExplicitTypeMismatch(s,l,p){const{explicitType:S}=l;S!==null&&S!==p&&this.flowEnumErrorInvalidMemberInitializer(s,l)}flowEnumMembers({enumName:s,explicitType:l}){const p=new Set,S={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let P=!1;for(;!this.match(8);){if(this.eat(21)){P=!0;break}const O=this.startNode(),{id:D,init:$}=this.flowEnumMemberRaw(),F=D.name;if(F==="")continue;/^[a-z]/.test(F)&&this.raise(le.EnumInvalidMemberName,D,{memberName:F,suggestion:F[0].toUpperCase()+F.slice(1),enumName:s}),p.has(F)&&this.raise(le.EnumDuplicateMemberName,D,{memberName:F,enumName:s}),p.add(F);const W={enumName:s,explicitType:l,memberName:F};switch(O.id=D,$.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch($.loc,W,"boolean"),O.init=$.value,S.booleanMembers.push(this.finishNode(O,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch($.loc,W,"number"),O.init=$.value,S.numberMembers.push(this.finishNode(O,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch($.loc,W,"string"),O.init=$.value,S.stringMembers.push(this.finishNode(O,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer($.loc,W);case"none":switch(l){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized($.loc,W);break;case"number":this.flowEnumErrorNumberMemberNotInitialized($.loc,W);break;default:S.defaultedMembers.push(this.finishNode(O,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:S,hasUnknownMembers:P}}flowEnumStringMembers(s,l,{enumName:p}){if(s.length===0)return l;if(l.length===0)return s;if(l.length>s.length){for(const S of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:p});return l}else{for(const S of l)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:p});return s}}flowEnumParseExplicitType({enumName:s}){if(!this.eatContextual(102))return null;if(!j(this.state.type))throw this.raise(le.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:s});const{value:l}=this.state;return this.next(),l!=="boolean"&&l!=="number"&&l!=="string"&&l!=="symbol"&&this.raise(le.EnumInvalidExplicitType,this.state.startLoc,{enumName:s,invalidEnumType:l}),l}flowEnumBody(s,l){const p=l.name,S=l.loc.start,P=this.flowEnumParseExplicitType({enumName:p});this.expect(5);const{members:O,hasUnknownMembers:D}=this.flowEnumMembers({enumName:p,explicitType:P});switch(s.hasUnknownMembers=D,P){case"boolean":return s.explicitType=!0,s.members=O.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody");case"number":return s.explicitType=!0,s.members=O.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody");case"string":return s.explicitType=!0,s.members=this.flowEnumStringMembers(O.stringMembers,O.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(s,"EnumStringBody");case"symbol":return s.members=O.defaultedMembers,this.expect(8),this.finishNode(s,"EnumSymbolBody");default:{const $=()=>(s.members=[],this.expect(8),this.finishNode(s,"EnumStringBody"));s.explicitType=!1;const F=O.booleanMembers.length,W=O.numberMembers.length,K=O.stringMembers.length,J=O.defaultedMembers.length;if(!F&&!W&&!K&&!J)return $();if(!F&&!W)return s.members=this.flowEnumStringMembers(O.stringMembers,O.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(s,"EnumStringBody");if(!W&&!K&&F>=J){for(const ae of O.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(ae.loc.start,{enumName:p,memberName:ae.id.name});return s.members=O.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody")}else if(!F&&!K&&W>=J){for(const ae of O.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(ae.loc.start,{enumName:p,memberName:ae.id.name});return s.members=O.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody")}else return this.raise(le.EnumInconsistentMemberValues,S,{enumName:p}),$()}}}flowParseEnumDeclaration(s){const l=this.parseIdentifier();return s.id=l,s.body=this.flowEnumBody(this.startNode(),l),this.finishNode(s,"EnumDeclaration")}isLookaheadToken_lt(){const s=this.nextTokenStart();if(this.input.charCodeAt(s)===60){const l=this.input.charCodeAt(s+1);return l!==60&&l!==61}return!1}maybeUnwrapTypeCastExpression(s){return s.type==="TypeCastExpression"?s.expression:s}};const zT={__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"},Vr=v`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:_})=>`Expected corresponding JSX closing tag for <${_}>.`,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:_,HTMLEntity:u})=>`Unexpected token \`${_}\`. Did you mean \`${u}\` or \`{'${_}'}\`?`,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 Er(_){return _?_.type==="JSXOpeningFragment"||_.type==="JSXClosingFragment":!1}function xs(_){if(_.type==="JSXIdentifier")return _.name;if(_.type==="JSXNamespacedName")return _.namespace.name+":"+_.name.name;if(_.type==="JSXMemberExpression")return xs(_.object)+"."+xs(_.property);throw new Error("Node had unexpected type: "+_.type)}var WT=_=>class extends _{jsxReadToken(){let s="",l=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Vr.UnterminatedJsxContent,this.state.startLoc);const p=this.input.charCodeAt(this.state.pos);switch(p){case 60:case 123:if(this.state.pos===this.state.start){p===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(p);return}s+=this.input.slice(l,this.state.pos),this.finishToken(141,s);return;case 38:s+=this.input.slice(l,this.state.pos),s+=this.jsxReadEntity(),l=this.state.pos;break;case 62:case 125:default:Ss(p)?(s+=this.input.slice(l,this.state.pos),s+=this.jsxReadNewLine(!0),l=this.state.pos):++this.state.pos}}}jsxReadNewLine(s){const l=this.input.charCodeAt(this.state.pos);let p;return++this.state.pos,l===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,p=s?`
|
|
27
|
+
`:`\r
|
|
28
|
+
`):p=String.fromCharCode(l),++this.state.curLine,this.state.lineStart=this.state.pos,p}jsxReadString(s){let l="",p=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(g.UnterminatedString,this.state.startLoc);const S=this.input.charCodeAt(this.state.pos);if(S===s)break;S===38?(l+=this.input.slice(p,this.state.pos),l+=this.jsxReadEntity(),p=this.state.pos):Ss(S)?(l+=this.input.slice(p,this.state.pos),l+=this.jsxReadNewLine(!1),p=this.state.pos):++this.state.pos}l+=this.input.slice(p,this.state.pos++),this.finishToken(133,l)}jsxReadEntity(){const s=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let l=10;this.codePointAtPos(this.state.pos)===120&&(l=16,++this.state.pos);const p=this.readInt(l,void 0,!1,"bail");if(p!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(p)}else{let l=0,p=!1;for(;l++<10&&this.state.pos<this.length&&!(p=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(p){const S=this.input.slice(s,this.state.pos),P=zT[S];if(++this.state.pos,P)return P}}return this.state.pos=s,"&"}jsxReadWord(){let s;const l=this.state.pos;do s=this.input.charCodeAt(++this.state.pos);while(vs(s)||s===45);this.finishToken(140,this.input.slice(l,this.state.pos))}jsxParseIdentifier(){const s=this.startNode();return this.match(140)?s.name=this.state.value:xt(this.state.type)?s.name=Ye(this.state.type):this.unexpected(),this.next(),this.finishNode(s,"JSXIdentifier")}jsxParseNamespacedName(){const s=this.state.startLoc,l=this.jsxParseIdentifier();if(!this.eat(14))return l;const p=this.startNodeAt(s);return p.namespace=l,p.name=this.jsxParseIdentifier(),this.finishNode(p,"JSXNamespacedName")}jsxParseElementName(){const s=this.state.startLoc;let l=this.jsxParseNamespacedName();if(l.type==="JSXNamespacedName")return l;for(;this.eat(16);){const p=this.startNodeAt(s);p.object=l,p.property=this.jsxParseIdentifier(),l=this.finishNode(p,"JSXMemberExpression")}return l}jsxParseAttributeValue(){let s;switch(this.state.type){case 5:return s=this.startNode(),this.setContext(L.brace),this.next(),s=this.jsxParseExpressionContainer(s,L.j_oTag),s.expression.type==="JSXEmptyExpression"&&this.raise(Vr.AttributeIsEmpty,s),s;case 142:case 133:return this.parseExprAtom();default:throw this.raise(Vr.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const s=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(s,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(s){return this.next(),s.expression=this.parseExpression(),this.setContext(L.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXSpreadChild")}jsxParseExpressionContainer(s,l){if(this.match(8))s.expression=this.jsxParseEmptyExpression();else{const p=this.parseExpression();s.expression=p}return this.setContext(l),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXExpressionContainer")}jsxParseAttribute(){const s=this.startNode();return this.match(5)?(this.setContext(L.brace),this.next(),this.expect(21),s.argument=this.parseMaybeAssignAllowIn(),this.setContext(L.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXSpreadAttribute")):(s.name=this.jsxParseNamespacedName(),s.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(s,"JSXAttribute"))}jsxParseOpeningElementAt(s){const l=this.startNodeAt(s);return this.eat(143)?this.finishNode(l,"JSXOpeningFragment"):(l.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(l))}jsxParseOpeningElementAfterName(s){const l=[];for(;!this.match(56)&&!this.match(143);)l.push(this.jsxParseAttribute());return s.attributes=l,s.selfClosing=this.eat(56),this.expect(143),this.finishNode(s,"JSXOpeningElement")}jsxParseClosingElementAt(s){const l=this.startNodeAt(s);return this.eat(143)?this.finishNode(l,"JSXClosingFragment"):(l.name=this.jsxParseElementName(),this.expect(143),this.finishNode(l,"JSXClosingElement"))}jsxParseElementAt(s){const l=this.startNodeAt(s),p=[],S=this.jsxParseOpeningElementAt(s);let P=null;if(!S.selfClosing){e:for(;;)switch(this.state.type){case 142:if(s=this.state.startLoc,this.next(),this.eat(56)){P=this.jsxParseClosingElementAt(s);break e}p.push(this.jsxParseElementAt(s));break;case 141:p.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const O=this.startNode();this.setContext(L.brace),this.next(),this.match(21)?p.push(this.jsxParseSpreadChild(O)):p.push(this.jsxParseExpressionContainer(O,L.j_expr));break}default:this.unexpected()}Er(S)&&!Er(P)&&P!==null?this.raise(Vr.MissingClosingTagFragment,P):!Er(S)&&Er(P)?this.raise(Vr.MissingClosingTagElement,P,{openingTagName:xs(S.name)}):!Er(S)&&!Er(P)&&xs(P.name)!==xs(S.name)&&this.raise(Vr.MissingClosingTagElement,P,{openingTagName:xs(S.name)})}if(Er(S)?(l.openingFragment=S,l.closingFragment=P):(l.openingElement=S,l.closingElement=P),l.children=p,this.match(47))throw this.raise(Vr.UnwrappedAdjacentJSXElements,this.state.startLoc);return Er(S)?this.finishNode(l,"JSXFragment"):this.finishNode(l,"JSXElement")}jsxParseElement(){const s=this.state.startLoc;return this.next(),this.jsxParseElementAt(s)}setContext(s){const{context:l}=this.state;l[l.length-1]=s}parseExprAtom(s){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(s)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(s){const l=this.curContext();if(l===L.j_expr){this.jsxReadToken();return}if(l===L.j_oTag||l===L.j_cTag){if(ar(s)){this.jsxReadWord();return}if(s===62){++this.state.pos,this.finishToken(143);return}if((s===34||s===39)&&l===L.j_oTag){this.jsxReadString(s);return}}if(s===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(s)}updateContext(s){const{context:l,type:p}=this.state;if(p===56&&s===142)l.splice(-2,2,L.j_cTag),this.state.canStartJSXElement=!1;else if(p===142)l.push(L.j_oTag);else if(p===143){const S=l[l.length-1];S===L.j_oTag&&s===56||S===L.j_cTag?(l.pop(),this.state.canStartJSXElement=l[l.length-1]===L.j_expr):(this.setContext(L.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=ue(p)}};class HT extends Pc{constructor(...u){super(...u),this.tsNames=new Map}}class XT extends Ac{constructor(...u){super(...u),this.importsStack=[]}createScope(u){return this.importsStack.push(new Set),new HT(u)}enter(u){u===256&&this.importsStack.push(new Set),super.enter(u)}exit(){const u=super.exit();return u===256&&this.importsStack.pop(),u}hasImport(u,s){const l=this.importsStack.length;if(this.importsStack[l-1].has(u))return!0;if(!s&&l>1){for(let p=0;p<l-1;p++)if(this.importsStack[p].has(u))return!0}return!1}declareName(u,s,l){if(s&4096){this.hasImport(u,!0)&&this.parser.raise(g.VarRedeclaration,l,{identifierName:u}),this.importsStack[this.importsStack.length-1].add(u);return}const p=this.currentScope();let S=p.tsNames.get(u)||0;if(s&1024){this.maybeExportDefined(p,u),p.tsNames.set(u,S|16);return}super.declareName(u,s,l),s&2&&(s&1||(this.checkRedeclarationInScope(p,u,s,l),this.maybeExportDefined(p,u)),S=S|1),s&256&&(S=S|2),s&512&&(S=S|4),s&128&&(S=S|8),S&&p.tsNames.set(u,S)}isRedeclaredInScope(u,s,l){const p=u.tsNames.get(s);if((p&2)>0){if(l&256){const S=!!(l&512),P=(p&4)>0;return S!==P}return!0}return l&128&&(p&8)>0?u.names.get(s)&2?!!(l&1):!1:l&2&&(p&1)>0?!0:super.isRedeclaredInScope(u,s,l)}checkLocalExport(u){const{name:s}=u;if(this.hasImport(s))return;const l=this.scopeStack.length;for(let p=l-1;p>=0;p--){const P=this.scopeStack[p].tsNames.get(s);if((P&1)>0||(P&16)>0)return}super.checkLocalExport(u)}}const rg=_=>_.type==="ParenthesizedExpression"?rg(_.expression):_;class KT extends BT{toAssignable(u,s=!1){var l,p;let S;switch((u.type==="ParenthesizedExpression"||(l=u.extra)!=null&&l.parenthesized)&&(S=rg(u),s?S.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(g.InvalidParenthesizedAssignment,u):S.type!=="MemberExpression"&&!this.isOptionalMemberExpression(S)&&this.raise(g.InvalidParenthesizedAssignment,u):this.raise(g.InvalidParenthesizedAssignment,u)),u.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":u.type="ObjectPattern";for(let O=0,D=u.properties.length,$=D-1;O<D;O++){var P;const F=u.properties[O],W=O===$;this.toAssignableObjectExpressionProp(F,W,s),W&&F.type==="RestElement"&&(P=u.extra)!=null&&P.trailingCommaLoc&&this.raise(g.RestTrailingComma,u.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:O,value:D}=u;this.isPrivateName(O)&&this.classScope.usePrivateName(this.getPrivateNameSV(O),O.loc.start),this.toAssignable(D,s);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":u.type="ArrayPattern",this.toAssignableList(u.elements,(p=u.extra)==null?void 0:p.trailingCommaLoc,s);break;case"AssignmentExpression":u.operator!=="="&&this.raise(g.MissingEqInAssignment,u.left.loc.end),u.type="AssignmentPattern",delete u.operator,this.toAssignable(u.left,s);break;case"ParenthesizedExpression":this.toAssignable(S,s);break}}toAssignableObjectExpressionProp(u,s,l){if(u.type==="ObjectMethod")this.raise(u.kind==="get"||u.kind==="set"?g.PatternHasAccessor:g.PatternHasMethod,u.key);else if(u.type==="SpreadElement"){u.type="RestElement";const p=u.argument;this.checkToRestConversion(p,!1),this.toAssignable(p,l),s||this.raise(g.RestTrailingComma,u)}else this.toAssignable(u,l)}toAssignableList(u,s,l){const p=u.length-1;for(let S=0;S<=p;S++){const P=u[S];if(P){if(P.type==="SpreadElement"){P.type="RestElement";const O=P.argument;this.checkToRestConversion(O,!0),this.toAssignable(O,l)}else this.toAssignable(P,l);P.type==="RestElement"&&(S<p?this.raise(g.RestTrailingComma,P):s&&this.raise(g.RestTrailingComma,s))}}}isAssignable(u,s){switch(u.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const l=u.properties.length-1;return u.properties.every((p,S)=>p.type!=="ObjectMethod"&&(S===l||p.type!=="SpreadElement")&&this.isAssignable(p))}case"ObjectProperty":return this.isAssignable(u.value);case"SpreadElement":return this.isAssignable(u.argument);case"ArrayExpression":return u.elements.every(l=>l===null||this.isAssignable(l));case"AssignmentExpression":return u.operator==="=";case"ParenthesizedExpression":return this.isAssignable(u.expression);case"MemberExpression":case"OptionalMemberExpression":return!s;default:return!1}}toReferencedList(u,s){return u}toReferencedListDeep(u,s){this.toReferencedList(u,s);for(const l of u)(l==null?void 0:l.type)==="ArrayExpression"&&this.toReferencedListDeep(l.elements)}parseSpread(u){const s=this.startNode();return this.next(),s.argument=this.parseMaybeAssignAllowIn(u,void 0),this.finishNode(s,"SpreadElement")}parseRestBinding(){const u=this.startNode();return this.next(),u.argument=this.parseBindingAtom(),this.finishNode(u,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const u=this.startNode();return this.next(),u.elements=this.parseBindingList(3,93,1),this.finishNode(u,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(u,s,l){const p=l&1,S=[];let P=!0;for(;!this.eat(u);)if(P?P=!1:this.expect(12),p&&this.match(12))S.push(null);else{if(this.eat(u))break;if(this.match(21)){if(S.push(this.parseAssignableListItemTypes(this.parseRestBinding(),l)),!this.checkCommaAfterRest(s)){this.expect(u);break}}else{const O=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(g.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)O.push(this.parseDecorator());S.push(this.parseAssignableListItem(l,O))}}return S}parseBindingRestProperty(u){return this.next(),u.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(u,"RestElement")}parseBindingProperty(){const{type:u,startLoc:s}=this.state;if(u===21)return this.parseBindingRestProperty(this.startNode());const l=this.startNode();return u===138?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),l.key=this.parsePrivateName()):this.parsePropertyName(l),l.method=!1,this.parseObjPropValue(l,s,!1,!1,!0,!1)}parseAssignableListItem(u,s){const l=this.parseMaybeDefault();this.parseAssignableListItemTypes(l,u);const p=this.parseMaybeDefault(l.loc.start,l);return s.length&&(l.decorators=s),p}parseAssignableListItemTypes(u,s){return u}parseMaybeDefault(u,s){var l,p;if((l=u)!=null||(u=this.state.startLoc),s=(p=s)!=null?p:this.parseBindingAtom(),!this.eat(29))return s;const S=this.startNodeAt(u);return S.left=s,S.right=this.parseMaybeAssignAllowIn(),this.finishNode(S,"AssignmentPattern")}isValidLVal(u,s,l){switch(u){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(u){return u.type==="OptionalMemberExpression"}checkLVal(u,s,l=64,p=!1,S=!1,P=!1){var O;const D=u.type;if(this.isObjectMethod(u))return;const $=this.isOptionalMemberExpression(u);if($||D==="MemberExpression"){$&&(this.expectPlugin("optionalChainingAssign",u.loc.start),s.type!=="AssignmentExpression"&&this.raise(g.InvalidLhsOptionalChaining,u,{ancestor:s})),l!==64&&this.raise(g.InvalidPropertyBindingPattern,u);return}if(D==="Identifier"){this.checkIdentifier(u,l,S);const{name:Se}=u;p&&(p.has(Se)?this.raise(g.ParamDupe,u):p.add(Se));return}const F=this.isValidLVal(D,!(P||(O=u.extra)!=null&&O.parenthesized)&&s.type==="AssignmentExpression",l);if(F===!0)return;if(F===!1){const Se=l===64?g.InvalidLhs:g.InvalidLhsBinding;this.raise(Se,u,{ancestor:s});return}let W,K;typeof F=="string"?(W=F,K=D==="ParenthesizedExpression"):[W,K]=F;const J=D==="ArrayPattern"||D==="ObjectPattern"?{type:D}:s,ae=u[W];if(Array.isArray(ae))for(const Se of ae)Se&&this.checkLVal(Se,J,l,p,S,K);else ae&&this.checkLVal(ae,J,l,p,S,K)}checkIdentifier(u,s,l=!1){this.state.strict&&(l?W1(u.name,this.inModule):z1(u.name))&&(s===64?this.raise(g.StrictEvalArguments,u,{referenceName:u.name}):this.raise(g.StrictEvalArgumentsBinding,u,{bindingName:u.name})),s&8192&&u.name==="let"&&this.raise(g.LetInLexicalBinding,u),s&64||this.declareNameFromIdentifier(u,s)}declareNameFromIdentifier(u,s){this.scope.declareName(u.name,s,u.loc.start)}checkToRestConversion(u,s){switch(u.type){case"ParenthesizedExpression":this.checkToRestConversion(u.expression,s);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(s)break;default:this.raise(g.InvalidRestAssignmentPattern,u)}}checkCommaAfterRest(u){return this.match(12)?(this.raise(this.lookaheadCharCode()===u?g.RestTrailingComma:g.ElementAfterRest,this.state.startLoc),!0):!1}}function JT(_){if(_==null)throw new Error(`Unexpected ${_} value.`);return _}function sg(_){if(!_)throw new Error("Assert fail")}const ne=v`typescript`({AbstractMethodHasImplementation:({methodName:_})=>`Method '${_}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:_})=>`Property '${_}' 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:_})=>`'declare' is not allowed in ${_}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:_})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:_})=>`Duplicate modifier: '${_}'.`,EmptyHeritageClauseType:({token:_})=>`'${_}' 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:_})=>`'${_[0]}' modifier cannot be used with '${_[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:_})=>`Index signatures cannot have an accessibility modifier ('${_}').`,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:_})=>`'${_}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:_})=>`'${_}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:_})=>`'${_}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:_})=>`'${_[0]}' modifier must precede '${_[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:_})=>`Private elements cannot have an accessibility modifier ('${_}').`,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:_})=>`Single type parameter ${_} should have a trailing comma. Example usage: <${_},>.`,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:_})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${_}.`});function YT(_){switch(_){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function ig(_){return _==="private"||_==="public"||_==="protected"}function QT(_){return _==="in"||_==="out"}var ZT=_=>class extends _{constructor(...s){super(...s),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:ne.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ne.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ne.InvalidModifierOnTypeParameter})}getScopeHandler(){return XT}tsIsIdentifier(){return j(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(s,l){if(!j(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const p=this.state.value;if(s.includes(p)){if(l&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return p}}tsParseModifiers({allowedModifiers:s,disallowedModifiers:l,stopOnStartOfClassStaticBlock:p,errorTemplate:S=ne.InvalidModifierOnTypeMember},P){const O=($,F,W,K)=>{F===W&&P[K]&&this.raise(ne.InvalidModifiersOrder,$,{orderedModifiers:[W,K]})},D=($,F,W,K)=>{(P[W]&&F===K||P[K]&&F===W)&&this.raise(ne.IncompatibleModifiers,$,{modifiers:[W,K]})};for(;;){const{startLoc:$}=this.state,F=this.tsParseModifier(s.concat(l!=null?l:[]),p);if(!F)break;ig(F)?P.accessibility?this.raise(ne.DuplicateAccessibilityModifier,$,{modifier:F}):(O($,F,F,"override"),O($,F,F,"static"),O($,F,F,"readonly"),P.accessibility=F):QT(F)?(P[F]&&this.raise(ne.DuplicateModifier,$,{modifier:F}),P[F]=!0,O($,F,"in","out")):(hasOwnProperty.call(P,F)?this.raise(ne.DuplicateModifier,$,{modifier:F}):(O($,F,"static","readonly"),O($,F,"static","override"),O($,F,"override","readonly"),O($,F,"abstract","override"),D($,F,"declare","override"),D($,F,"static","abstract")),P[F]=!0),l!=null&&l.includes(F)&&this.raise(S,$,{modifier:F})}}tsIsListTerminator(s){switch(s){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(s,l){const p=[];for(;!this.tsIsListTerminator(s);)p.push(l());return p}tsParseDelimitedList(s,l,p){return JT(this.tsParseDelimitedListWorker(s,l,!0,p))}tsParseDelimitedListWorker(s,l,p,S){const P=[];let O=-1;for(;!this.tsIsListTerminator(s);){O=-1;const D=l();if(D==null)return;if(P.push(D),this.eat(12)){O=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(s))break;p&&this.expect(12);return}return S&&(S.value=O),P}tsParseBracketedList(s,l,p,S,P){S||(p?this.expect(0):this.expect(47));const O=this.tsParseDelimitedList(s,l,P);return p?this.expect(3):this.expect(48),O}tsParseImportType(){const s=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(ne.UnsupportedImportTypeArgument,this.state.startLoc),s.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(s.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(s.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(s.qualifier=this.tsParseEntityName()),this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSImportType")}tsParseEntityName(s=!0){let l=this.parseIdentifier(s);for(;this.eat(16);){const p=this.startNodeAtNode(l);p.left=l,p.right=this.parseIdentifier(s),l=this.finishNode(p,"TSQualifiedName")}return l}tsParseTypeReference(){const s=this.startNode();return s.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeReference")}tsParseThisTypePredicate(s){this.next();const l=this.startNodeAtNode(s);return l.parameterName=s,l.typeAnnotation=this.tsParseTypeAnnotation(!1),l.asserts=!1,this.finishNode(l,"TSTypePredicate")}tsParseThisTypeNode(){const s=this.startNode();return this.next(),this.finishNode(s,"TSThisType")}tsParseTypeQuery(){const s=this.startNode();return this.expect(87),this.match(83)?s.exprName=this.tsParseImportType():s.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeQuery")}tsParseTypeParameter(s){const l=this.startNode();return s(l),l.name=this.tsParseTypeParameterName(),l.constraint=this.tsEatThenParseType(81),l.default=this.tsEatThenParseType(29),this.finishNode(l,"TSTypeParameter")}tsTryParseTypeParameters(s){if(this.match(47))return this.tsParseTypeParameters(s)}tsParseTypeParameters(s){const l=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const p={value:-1};return l.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,s),!1,!0,p),l.params.length===0&&this.raise(ne.EmptyTypeParameters,l),p.value!==-1&&this.addExtra(l,"trailingComma",p.value),this.finishNode(l,"TSTypeParameterDeclaration")}tsFillSignature(s,l){const p=s===19,S="parameters",P="typeAnnotation";l.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),l[S]=this.tsParseBindingListForSignature(),p?l[P]=this.tsParseTypeOrTypePredicateAnnotation(s):this.match(s)&&(l[P]=this.tsParseTypeOrTypePredicateAnnotation(s))}tsParseBindingListForSignature(){const s=super.parseBindingList(11,41,2);for(const l of s){const{type:p}=l;(p==="AssignmentPattern"||p==="TSParameterProperty")&&this.raise(ne.UnsupportedSignatureParameterKind,l,{type:p})}return s}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(s,l){return this.tsFillSignature(14,l),this.tsParseTypeMemberSemicolon(),this.finishNode(l,s)}tsIsUnambiguouslyIndexSignature(){return this.next(),j(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(s){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const l=this.parseIdentifier();l.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(l),this.expect(3),s.parameters=[l];const p=this.tsTryParseTypeAnnotation();return p&&(s.typeAnnotation=p),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSIndexSignature")}tsParsePropertyOrMethodSignature(s,l){this.eat(17)&&(s.optional=!0);const p=s;if(this.match(10)||this.match(47)){l&&this.raise(ne.ReadonlyForMethodSignature,s);const S=p;S.kind&&this.match(47)&&this.raise(ne.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,S),this.tsParseTypeMemberSemicolon();const P="parameters",O="typeAnnotation";if(S.kind==="get")S[P].length>0&&(this.raise(g.BadGetterArity,this.state.curPosition()),this.isThisParam(S[P][0])&&this.raise(ne.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(S.kind==="set"){if(S[P].length!==1)this.raise(g.BadSetterArity,this.state.curPosition());else{const D=S[P][0];this.isThisParam(D)&&this.raise(ne.AccesorCannotDeclareThisParameter,this.state.curPosition()),D.type==="Identifier"&&D.optional&&this.raise(ne.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),D.type==="RestElement"&&this.raise(ne.SetAccesorCannotHaveRestParameter,this.state.curPosition())}S[O]&&this.raise(ne.SetAccesorCannotHaveReturnType,S[O])}else S.kind="method";return this.finishNode(S,"TSMethodSignature")}else{const S=p;l&&(S.readonly=!0);const P=this.tsTryParseTypeAnnotation();return P&&(S.typeAnnotation=P),this.tsParseTypeMemberSemicolon(),this.finishNode(S,"TSPropertySignature")}}tsParseTypeMember(){const s=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",s);if(this.match(77)){const p=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",s):(s.key=this.createIdentifier(p,"new"),this.tsParsePropertyOrMethodSignature(s,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},s);const l=this.tsTryParseIndexSignature(s);return l||(super.parsePropertyName(s),!s.computed&&s.key.type==="Identifier"&&(s.key.name==="get"||s.key.name==="set")&&this.tsTokenCanFollowModifier()&&(s.kind=s.key.name,super.parsePropertyName(s)),this.tsParsePropertyOrMethodSignature(s,!!s.readonly))}tsParseTypeLiteral(){const s=this.startNode();return s.members=this.tsParseObjectTypeMembers(),this.finishNode(s,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const s=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),s}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(){const s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsExpectThenParseType(58),this.finishNode(s,"TSTypeParameter")}tsParseMappedType(){const s=this.startNode();return this.expect(5),this.match(53)?(s.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(s.readonly=!0),this.expect(0),s.typeParameter=this.tsParseMappedTypeParameter(),s.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(s.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(s.optional=!0),s.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(s,"TSMappedType")}tsParseTupleType(){const s=this.startNode();s.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let l=!1;return s.elementTypes.forEach(p=>{const{type:S}=p;l&&S!=="TSRestType"&&S!=="TSOptionalType"&&!(S==="TSNamedTupleMember"&&p.optional)&&this.raise(ne.OptionalTypeBeforeRequired,p),l||(l=S==="TSNamedTupleMember"&&p.optional||S==="TSOptionalType")}),this.finishNode(s,"TSTupleType")}tsParseTupleElementType(){const{startLoc:s}=this.state,l=this.eat(21);let p,S,P,O;const $=oe(this.state.type)?this.lookaheadCharCode():null;if($===58)p=!0,P=!1,S=this.parseIdentifier(!0),this.expect(14),O=this.tsParseType();else if($===63){P=!0;const F=this.state.startLoc,W=this.state.value,K=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(p=!0,S=this.createIdentifier(this.startNodeAt(F),W),this.expect(17),this.expect(14),O=this.tsParseType()):(p=!1,O=K,this.expect(17))}else O=this.tsParseType(),P=this.eat(17),p=this.eat(14);if(p){let F;S?(F=this.startNodeAtNode(S),F.optional=P,F.label=S,F.elementType=O,this.eat(17)&&(F.optional=!0,this.raise(ne.TupleOptionalAfterType,this.state.lastTokStartLoc))):(F=this.startNodeAtNode(O),F.optional=P,this.raise(ne.InvalidTupleMemberLabel,O),F.label=O,F.elementType=this.tsParseType()),O=this.finishNode(F,"TSNamedTupleMember")}else if(P){const F=this.startNodeAtNode(O);F.typeAnnotation=O,O=this.finishNode(F,"TSOptionalType")}if(l){const F=this.startNodeAt(s);F.typeAnnotation=O,O=this.finishNode(F,"TSRestType")}return O}tsParseParenthesizedType(){const s=this.startNode();return this.expect(10),s.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(s,"TSParenthesizedType")}tsParseFunctionOrConstructorType(s,l){const p=this.startNode();return s==="TSConstructorType"&&(p.abstract=!!l,l&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,p)),this.finishNode(p,s)}tsParseLiteralTypeNode(){const s=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:s.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(s,"TSLiteralType")}tsParseTemplateLiteralType(){const s=this.startNode();return s.literal=super.parseTemplate(!1),this.finishNode(s,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const s=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(s):s}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const s=this.startNode(),l=this.lookahead();return l.type!==134&&l.type!==135&&this.unexpected(),s.literal=this.parseMaybeUnary(),this.finishNode(s,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:s}=this.state;if(j(s)||s===88||s===84){const l=s===88?"TSVoidKeyword":s===84?"TSNullKeyword":YT(this.state.value);if(l!==void 0&&this.lookaheadCharCode()!==46){const p=this.startNode();return this.next(),this.finishNode(p,l)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let s=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const l=this.startNodeAtNode(s);l.elementType=s,this.expect(3),s=this.finishNode(l,"TSArrayType")}else{const l=this.startNodeAtNode(s);l.objectType=s,l.indexType=this.tsParseType(),this.expect(3),s=this.finishNode(l,"TSIndexedAccessType")}return s}tsParseTypeOperator(){const s=this.startNode(),l=this.state.value;return this.next(),s.operator=l,s.typeAnnotation=this.tsParseTypeOperatorOrHigher(),l==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(s),this.finishNode(s,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(s){switch(s.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(ne.UnexpectedReadonly,s)}}tsParseInferType(){const s=this.startNode();this.expectContextual(115);const l=this.startNode();return l.name=this.tsParseTypeParameterName(),l.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),s.typeParameter=this.finishNode(l,"TSTypeParameter"),this.finishNode(s,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const s=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return s}}tsParseTypeOperatorOrHigher(){return Et(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(s,l,p){const S=this.startNode(),P=this.eat(p),O=[];do O.push(l());while(this.eat(p));return O.length===1&&!P?O[0]:(S.types=O,this.finishNode(S,s))}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(j(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:s}=this.state,l=s.length;try{return this.parseObjectLike(8,!0),s.length===l}catch(p){return!1}}if(this.match(0)){this.next();const{errors:s}=this.state,l=s.length;try{return super.parseBindingList(3,93,1),s.length===l}catch(p){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(s){return this.tsInType(()=>{const l=this.startNode();this.expect(s);const p=this.startNode(),S=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(S&&this.match(78)){let D=this.tsParseThisTypeOrThisTypePredicate();return D.type==="TSThisType"?(p.parameterName=D,p.asserts=!0,p.typeAnnotation=null,D=this.finishNode(p,"TSTypePredicate")):(this.resetStartLocationFromNode(D,p),D.asserts=!0),l.typeAnnotation=D,this.finishNode(l,"TSTypeAnnotation")}const P=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!P)return S?(p.parameterName=this.parseIdentifier(),p.asserts=S,p.typeAnnotation=null,l.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,l);const O=this.tsParseTypeAnnotation(!1);return p.parameterName=P,p.typeAnnotation=O,p.asserts=S,l.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const s=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),s}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const s=this.state.containsEsc;return this.next(),!j(this.state.type)&&!this.match(78)?!1:(s&&this.raise(g.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(s=!0,l=this.startNode()){return this.tsInType(()=>{s&&this.expect(14),l.typeAnnotation=this.tsParseType()}),this.finishNode(l,"TSTypeAnnotation")}tsParseType(){sg(this.state.inType);const s=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return s;const l=this.startNodeAtNode(s);return l.checkType=s,l.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),l.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),l.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(l,"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(ne.ReservedTypeAssertion,this.state.startLoc);const s=this.startNode();return s.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),s.expression=this.parseMaybeUnary(),this.finishNode(s,"TSTypeAssertion")}tsParseHeritageClause(s){const l=this.state.startLoc,p=this.tsParseDelimitedList("HeritageClauseElement",()=>{const S=this.startNode();return S.expression=this.tsParseEntityName(),this.match(47)&&(S.typeParameters=this.tsParseTypeArguments()),this.finishNode(S,"TSExpressionWithTypeArguments")});return p.length||this.raise(ne.EmptyHeritageClauseType,l,{token:s}),p}tsParseInterfaceDeclaration(s,l={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),l.declare&&(s.declare=!0),j(this.state.type)?(s.id=this.parseIdentifier(),this.checkIdentifier(s.id,130)):(s.id=null,this.raise(ne.MissingInterfaceName,this.state.startLoc)),s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(s.extends=this.tsParseHeritageClause("extends"));const p=this.startNode();return p.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),s.body=this.finishNode(p,"TSInterfaceBody"),this.finishNode(s,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(s){return s.id=this.parseIdentifier(),this.checkIdentifier(s.id,2),s.typeAnnotation=this.tsInType(()=>{if(s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const l=this.startNode();return this.next(),this.finishNode(l,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(s,"TSTypeAliasDeclaration")}tsInNoContext(s){const l=this.state.context;this.state.context=[l[0]];try{return s()}finally{this.state.context=l}}tsInType(s){const l=this.state.inType;this.state.inType=!0;try{return s()}finally{this.state.inType=l}}tsInDisallowConditionalTypesContext(s){const l=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return s()}finally{this.state.inDisallowConditionalTypesContext=l}}tsInAllowConditionalTypesContext(s){const l=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return s()}finally{this.state.inDisallowConditionalTypesContext=l}}tsEatThenParseType(s){if(this.match(s))return this.tsNextThenParseType()}tsExpectThenParseType(s){return this.tsInType(()=>(this.expect(s),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const s=this.startNode();return s.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(s.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(s,"TSEnumMember")}tsParseEnumDeclaration(s,l={}){return l.const&&(s.const=!0),l.declare&&(s.declare=!0),this.expectContextual(126),s.id=this.parseIdentifier(),this.checkIdentifier(s.id,s.const?8971:8459),this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumDeclaration")}tsParseModuleBlock(){const s=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(s.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(s,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(s,l=!1){if(s.id=this.parseIdentifier(),l||this.checkIdentifier(s.id,1024),this.eat(16)){const p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),s.body=p}else this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(s,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(s){return this.isContextual(112)?(s.global=!0,s.id=this.parseIdentifier()):this.match(133)?s.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(s,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(s,l,p){s.isExport=p||!1,s.id=l||this.parseIdentifier(),this.checkIdentifier(s.id,4096),this.expect(29);const S=this.tsParseModuleReference();return s.importKind==="type"&&S.type!=="TSExternalModuleReference"&&this.raise(ne.ImportAliasHasImportType,S),s.moduleReference=S,this.semicolon(),this.finishNode(s,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const s=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),s.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExternalModuleReference")}tsLookAhead(s){const l=this.state.clone(),p=s();return this.state=l,p}tsTryParseAndCatch(s){const l=this.tryParse(p=>s()||p());if(!(l.aborted||!l.node))return l.error&&(this.state=l.failState),l.node}tsTryParse(s){const l=this.state.clone(),p=s();if(p!==void 0&&p!==!1)return p;this.state=l}tsTryParseDeclare(s){if(this.isLineTerminator())return;let l=this.state.type,p;return this.isContextual(100)&&(l=74,p="let"),this.tsInAmbientContext(()=>{switch(l){case 68:return s.declare=!0,super.parseFunctionStatement(s,!1,!1);case 80:return s.declare=!0,this.parseClass(s,!0,!1);case 126:return this.tsParseEnumDeclaration(s,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(s);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(s.declare=!0,this.parseVarStatement(s,p||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(s,{const:!0,declare:!0}));case 129:{const S=this.tsParseInterfaceDeclaration(s,{declare:!0});if(S)return S}default:if(j(l))return this.tsParseDeclaration(s,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(s,l,p){switch(l.name){case"declare":{const S=this.tsTryParseDeclare(s);return S&&(S.declare=!0),S}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const S=s;return S.global=!0,S.id=l,S.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(S,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(s,l.name,!1,p)}}tsParseDeclaration(s,l,p,S){switch(l){case"abstract":if(this.tsCheckLineTerminator(p)&&(this.match(80)||j(this.state.type)))return this.tsParseAbstractDeclaration(s,S);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(s);if(j(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&j(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s);break;case"type":if(this.tsCheckLineTerminator(p)&&j(this.state.type))return this.tsParseTypeAliasDeclaration(s);break}}tsCheckLineTerminator(s){return s?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(s){if(!this.match(47))return;const l=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const p=this.tsTryParseAndCatch(()=>{const S=this.startNodeAt(s);return S.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(S),S.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),S});if(this.state.maybeInArrowParameters=l,!!p)return super.parseArrowExpression(p,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const s=this.startNode();return s.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),s.params.length===0?this.raise(ne.EmptyTypeArguments,s):!this.state.inType&&this.curContext()===L.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(s,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return wt(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(s,l){const p=this.state.startLoc,S={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},S);const P=S.accessibility,O=S.override,D=S.readonly;!(s&4)&&(P||D||O)&&this.raise(ne.UnexpectedParameterModifier,p);const $=this.parseMaybeDefault();this.parseAssignableListItemTypes($,s);const F=this.parseMaybeDefault($.loc.start,$);if(P||D||O){const W=this.startNodeAt(p);return l.length&&(W.decorators=l),P&&(W.accessibility=P),D&&(W.readonly=D),O&&(W.override=O),F.type!=="Identifier"&&F.type!=="AssignmentPattern"&&this.raise(ne.UnsupportedParameterPropertyKind,W),W.parameter=F,this.finishNode(W,"TSParameterProperty")}return l.length&&($.decorators=l),F}isSimpleParameter(s){return s.type==="TSParameterProperty"&&super.isSimpleParameter(s.parameter)||super.isSimpleParameter(s)}tsDisallowOptionalPattern(s){for(const l of s.params)l.type!=="Identifier"&&l.optional&&!this.state.isAmbientContext&&this.raise(ne.PatternIsOptional,l)}setArrowFunctionParameters(s,l,p){super.setArrowFunctionParameters(s,l,p),this.tsDisallowOptionalPattern(s)}parseFunctionBodyAndFinish(s,l,p=!1){this.match(14)&&(s.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const S=l==="FunctionDeclaration"?"TSDeclareFunction":l==="ClassMethod"||l==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return S&&!this.match(5)&&this.isLineTerminator()?this.finishNode(s,S):S==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(ne.DeclareFunctionHasImplementation,s),s.declare)?super.parseFunctionBodyAndFinish(s,S,p):(this.tsDisallowOptionalPattern(s),super.parseFunctionBodyAndFinish(s,l,p))}registerFunctionStatementId(s){!s.body&&s.id?this.checkIdentifier(s.id,1024):super.registerFunctionStatementId(s)}tsCheckForInvalidTypeCasts(s){s.forEach(l=>{(l==null?void 0:l.type)==="TSTypeCastExpression"&&this.raise(ne.UnexpectedTypeAnnotation,l.typeAnnotation)})}toReferencedList(s,l){return this.tsCheckForInvalidTypeCasts(s),s}parseArrayLike(s,l,p,S){const P=super.parseArrayLike(s,l,p,S);return P.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(P.elements),P}parseSubscript(s,l,p,S){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const O=this.startNodeAt(l);return O.expression=s,this.finishNode(O,"TSNonNullExpression")}let P=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(p)return S.stop=!0,s;S.optionalChainMember=P=!0,this.next()}if(this.match(47)||this.match(51)){let O;const D=this.tsTryParseAndCatch(()=>{if(!p&&this.atPossibleAsyncArrow(s)){const K=this.tsTryParseGenericAsyncArrowFunction(l);if(K)return K}const $=this.tsParseTypeArgumentsInExpression();if(!$)return;if(P&&!this.match(10)){O=this.state.curPosition();return}if(Wt(this.state.type)){const K=super.parseTaggedTemplateExpression(s,l,S);return K.typeParameters=$,K}if(!p&&this.eat(10)){const K=this.startNodeAt(l);return K.callee=s,K.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(K.arguments),K.typeParameters=$,S.optionalChainMember&&(K.optional=P),this.finishCallExpression(K,S.optionalChainMember)}const F=this.state.type;if(F===48||F===52||F!==10&&de(F)&&!this.hasPrecedingLineBreak())return;const W=this.startNodeAt(l);return W.expression=s,W.typeParameters=$,this.finishNode(W,"TSInstantiationExpression")});if(O&&this.unexpected(O,10),D)return D.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(ne.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),D}return super.parseSubscript(s,l,p,S)}parseNewCallee(s){var l;super.parseNewCallee(s);const{callee:p}=s;p.type==="TSInstantiationExpression"&&!((l=p.extra)!=null&&l.parenthesized)&&(s.typeParameters=p.typeParameters,s.callee=p.expression)}parseExprOp(s,l,p){let S;if(nr(58)>p&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(S=this.isContextual(120)))){const P=this.startNodeAt(l);return P.expression=s,P.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(S&&this.raise(g.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(P,S?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(P,l,p)}return super.parseExprOp(s,l,p)}checkReservedWord(s,l,p,S){this.state.isAmbientContext||super.checkReservedWord(s,l,p,S)}checkImportReflection(s){super.checkImportReflection(s),s.module&&s.importKind!=="value"&&this.raise(ne.ImportReflectionHasImportType,s.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(s){if(super.isPotentialImportPhase(s))return!0;if(this.isContextual(130)){const l=this.lookaheadCharCode();return s?l===123||l===42:l!==61}return!s&&this.isContextual(87)}applyImportPhase(s,l,p,S){super.applyImportPhase(s,l,p,S),l?s.exportKind=p==="type"?"type":"value":s.importKind=p==="type"||p==="typeof"?p:"value"}parseImport(s){if(this.match(133))return s.importKind="value",super.parseImport(s);let l;if(j(this.state.type)&&this.lookaheadCharCode()===61)return s.importKind="value",this.tsParseImportEqualsDeclaration(s);if(this.isContextual(130)){const p=this.parseMaybeImportPhase(s,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(s,p);l=super.parseImportSpecifiersAndAfter(s,p)}else l=super.parseImport(s);return l.importKind==="type"&&l.specifiers.length>1&&l.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(ne.TypeImportCannotSpecifyDefaultAndNamed,l),l}parseExport(s,l){if(this.match(83)){this.next();const p=s;let S=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?S=this.parseMaybeImportPhase(p,!1):p.importKind="value",this.tsParseImportEqualsDeclaration(p,S,!0)}else if(this.eat(29)){const p=s;return p.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(p,"TSExportAssignment")}else if(this.eatContextual(93)){const p=s;return this.expectContextual(128),p.id=this.parseIdentifier(),this.semicolon(),this.finishNode(p,"TSNamespaceExportDeclaration")}else return super.parseExport(s,l)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const s=this.startNode();return this.next(),s.abstract=!0,this.parseClass(s,!0,!0)}if(this.match(129)){const s=this.tsParseInterfaceDeclaration(this.startNode());if(s)return s}return super.parseExportDefaultExpression()}parseVarStatement(s,l,p=!1){const{isAmbientContext:S}=this.state,P=super.parseVarStatement(s,l,p||S);if(!S)return P;for(const{id:O,init:D}of P.declarations)D&&(l!=="const"||O.typeAnnotation?this.raise(ne.InitializerNotAllowedInAmbientContext,D):t_(D,this.hasPlugin("estree"))||this.raise(ne.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,D));return P}parseStatementContent(s,l){if(this.match(75)&&this.isLookaheadContextual("enum")){const p=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(p,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const p=this.tsParseInterfaceDeclaration(this.startNode());if(p)return p}return super.parseStatementContent(s,l)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(s,l){return l.some(p=>ig(p)?s.accessibility===p:!!s[p])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(s,l,p){const S=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:S,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:ne.InvalidModifierOnTypeParameterPositions},l);const P=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(l,S)&&this.raise(ne.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(s,l)):this.parseClassMemberWithIsStatic(s,l,p,!!l.static)};l.declare?this.tsInAmbientContext(P):P()}parseClassMemberWithIsStatic(s,l,p,S){const P=this.tsTryParseIndexSignature(l);if(P){s.body.push(P),l.abstract&&this.raise(ne.IndexSignatureHasAbstract,l),l.accessibility&&this.raise(ne.IndexSignatureHasAccessibility,l,{modifier:l.accessibility}),l.declare&&this.raise(ne.IndexSignatureHasDeclare,l),l.override&&this.raise(ne.IndexSignatureHasOverride,l);return}!this.state.inAbstractClass&&l.abstract&&this.raise(ne.NonAbstractClassHasAbstractMethod,l),l.override&&(p.hadSuperClass||this.raise(ne.OverrideNotInSubClass,l)),super.parseClassMemberWithIsStatic(s,l,p,S)}parsePostMemberNameModifiers(s){this.eat(17)&&(s.optional=!0),s.readonly&&this.match(10)&&this.raise(ne.ClassMethodHasReadonly,s),s.declare&&this.match(10)&&this.raise(ne.ClassMethodHasDeclare,s)}parseExpressionStatement(s,l,p){return(l.type==="Identifier"?this.tsParseExpressionStatement(s,l,p):void 0)||super.parseExpressionStatement(s,l,p)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(s,l,p){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(s,l,p);const S=this.tryParse(()=>super.parseConditional(s,l));return S.node?(S.error&&(this.state=S.failState),S.node):(S.error&&super.setOptionalParametersError(p,S.error),s)}parseParenItem(s,l){const p=super.parseParenItem(s,l);if(this.eat(17)&&(p.optional=!0,this.resetEndLocation(s)),this.match(14)){const S=this.startNodeAt(l);return S.expression=s,S.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(S,"TSTypeCastExpression")}return s}parseExportDeclaration(s){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(s));const l=this.state.startLoc,p=this.eatContextual(125);if(p&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(ne.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const P=j(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(s);return P?((P.type==="TSInterfaceDeclaration"||P.type==="TSTypeAliasDeclaration"||p)&&(s.exportKind="type"),p&&(this.resetStartLocation(P,l),P.declare=!0),P):null}parseClassId(s,l,p,S){if((!l||p)&&this.isContextual(113))return;super.parseClassId(s,l,p,s.declare?1024:8331);const P=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);P&&(s.typeParameters=P)}parseClassPropertyAnnotation(s){s.optional||(this.eat(35)?s.definite=!0:this.eat(17)&&(s.optional=!0));const l=this.tsTryParseTypeAnnotation();l&&(s.typeAnnotation=l)}parseClassProperty(s){if(this.parseClassPropertyAnnotation(s),this.state.isAmbientContext&&!(s.readonly&&!s.typeAnnotation)&&this.match(29)&&this.raise(ne.DeclareClassFieldHasInitializer,this.state.startLoc),s.abstract&&this.match(29)){const{key:l}=s;this.raise(ne.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:l.type==="Identifier"&&!s.computed?l.name:`[${this.input.slice(l.start,l.end)}]`})}return super.parseClassProperty(s)}parseClassPrivateProperty(s){return s.abstract&&this.raise(ne.PrivateElementHasAbstract,s),s.accessibility&&this.raise(ne.PrivateElementHasAccessibility,s,{modifier:s.accessibility}),this.parseClassPropertyAnnotation(s),super.parseClassPrivateProperty(s)}parseClassAccessorProperty(s){return this.parseClassPropertyAnnotation(s),s.optional&&this.raise(ne.AccessorCannotBeOptional,s),super.parseClassAccessorProperty(s)}pushClassMethod(s,l,p,S,P,O){const D=this.tsTryParseTypeParameters(this.tsParseConstModifier);D&&P&&this.raise(ne.ConstructorHasTypeParameters,D);const{declare:$=!1,kind:F}=l;$&&(F==="get"||F==="set")&&this.raise(ne.DeclareAccessor,l,{kind:F}),D&&(l.typeParameters=D),super.pushClassMethod(s,l,p,S,P,O)}pushClassPrivateMethod(s,l,p,S){const P=this.tsTryParseTypeParameters(this.tsParseConstModifier);P&&(l.typeParameters=P),super.pushClassPrivateMethod(s,l,p,S)}declareClassPrivateMethodInScope(s,l){s.type!=="TSDeclareMethod"&&(s.type==="MethodDefinition"&&!hasOwnProperty.call(s.value,"body")||super.declareClassPrivateMethodInScope(s,l))}parseClassSuper(s){super.parseClassSuper(s),s.superClass&&(this.match(47)||this.match(51))&&(s.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(s.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(s,l,p,S,P,O,D){const $=this.tsTryParseTypeParameters(this.tsParseConstModifier);return $&&(s.typeParameters=$),super.parseObjPropValue(s,l,p,S,P,O,D)}parseFunctionParams(s,l){const p=this.tsTryParseTypeParameters(this.tsParseConstModifier);p&&(s.typeParameters=p),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),s.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(s.definite=!0);const p=this.tsTryParseTypeAnnotation();p&&(s.id.typeAnnotation=p,this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){return this.match(14)&&(s.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(s,l)}parseMaybeAssign(s,l){var p,S,P,O,D;let $,F,W;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if($=this.state.clone(),F=this.tryParse(()=>super.parseMaybeAssign(s,l),$),!F.error)return F.node;const{context:ae}=this.state,Se=ae[ae.length-1];(Se===L.j_oTag||Se===L.j_expr)&&ae.pop()}if(!((p=F)!=null&&p.error)&&!this.match(47))return super.parseMaybeAssign(s,l);(!$||$===this.state)&&($=this.state.clone());let K;const J=this.tryParse(ae=>{var Se,mt;K=this.tsParseTypeParameters(this.tsParseConstModifier);const ye=super.parseMaybeAssign(s,l);return(ye.type!=="ArrowFunctionExpression"||(Se=ye.extra)!=null&&Se.parenthesized)&&ae(),((mt=K)==null?void 0:mt.params.length)!==0&&this.resetStartLocationFromNode(ye,K),ye.typeParameters=K,ye},$);if(!J.error&&!J.aborted)return K&&this.reportReservedArrowTypeParam(K),J.node;if(!F&&(sg(!this.hasPlugin("jsx")),W=this.tryParse(()=>super.parseMaybeAssign(s,l),$),!W.error))return W.node;if((S=F)!=null&&S.node)return this.state=F.failState,F.node;if(J.node)return this.state=J.failState,K&&this.reportReservedArrowTypeParam(K),J.node;if((P=W)!=null&&P.node)return this.state=W.failState,W.node;throw((O=F)==null?void 0:O.error)||J.error||((D=W)==null?void 0:D.error)}reportReservedArrowTypeParam(s){var l;s.params.length===1&&!s.params[0].constraint&&!((l=s.extra)!=null&&l.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ne.ReservedArrowTypeParam,s)}parseMaybeUnary(s,l){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(s,l)}parseArrow(s){if(this.match(14)){const l=this.tryParse(p=>{const S=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&p(),S});if(l.aborted)return;l.thrown||(l.error&&(this.state=l.failState),s.returnType=l.node)}return super.parseArrow(s)}parseAssignableListItemTypes(s,l){if(!(l&2))return s;this.eat(17)&&(s.optional=!0);const p=this.tsTryParseTypeAnnotation();return p&&(s.typeAnnotation=p),this.resetEndLocation(s),s}isAssignable(s,l){switch(s.type){case"TSTypeCastExpression":return this.isAssignable(s.expression,l);case"TSParameterProperty":return!0;default:return super.isAssignable(s,l)}}toAssignable(s,l=!1){switch(s.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(s,l);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":l?this.expressionScope.recordArrowParameterBindingError(ne.UnexpectedTypeCastInParameter,s):this.raise(ne.UnexpectedTypeCastInParameter,s),this.toAssignable(s.expression,l);break;case"AssignmentExpression":!l&&s.left.type==="TSTypeCastExpression"&&(s.left=this.typeCastToParameter(s.left));default:super.toAssignable(s,l)}}toAssignableParenthesizedExpression(s,l){switch(s.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(s.expression,l);break;default:super.toAssignable(s,l)}}checkToRestConversion(s,l){switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(s.expression,!1);break;default:super.checkToRestConversion(s,l)}}isValidLVal(s,l,p){switch(s){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(p!==64||!l)&&["expression",!0];default:return super.isValidLVal(s,l,p)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(s){if(this.match(47)||this.match(51)){const l=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const p=super.parseMaybeDecoratorArguments(s);return p.typeParameters=l,p}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(s)}checkCommaAfterRest(s){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===s?(this.next(),!1):super.checkCommaAfterRest(s)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(s,l){const p=super.parseMaybeDefault(s,l);return p.type==="AssignmentPattern"&&p.typeAnnotation&&p.right.start<p.typeAnnotation.start&&this.raise(ne.TypeAnnotationAfterAssign,p.typeAnnotation),p}getTokenFromCode(s){if(this.state.inType){if(s===62){this.finishOp(48,1);return}if(s===60){this.finishOp(47,1);return}}super.getTokenFromCode(s)}reScan_lt_gt(){const{type:s}=this.state;s===47?(this.state.pos-=1,this.readToken_lt()):s===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:s}=this.state;return s===51?(this.state.pos-=2,this.finishOp(47,1),47):s}toAssignableList(s,l,p){for(let S=0;S<s.length;S++){const P=s[S];(P==null?void 0:P.type)==="TSTypeCastExpression"&&(s[S]=this.typeCastToParameter(P))}super.toAssignableList(s,l,p)}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}shouldParseArrow(s){return this.match(14)?s.every(l=>this.isAssignable(l,!0)):super.shouldParseArrow(s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(s){if(this.match(47)||this.match(51)){const l=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());l&&(s.typeParameters=l)}return super.jsxParseOpeningElementAfterName(s)}getGetterSetterExpectedParamCount(s){const l=super.getGetterSetterExpectedParamCount(s),S=this.getObjectOrClassMethodParams(s)[0];return S&&this.isThisParam(S)?l+1:l}parseCatchClauseParam(){const s=super.parseCatchClauseParam(),l=this.tsTryParseTypeAnnotation();return l&&(s.typeAnnotation=l,this.resetEndLocation(s)),s}tsInAmbientContext(s){const{isAmbientContext:l,strict:p}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return s()}finally{this.state.isAmbientContext=l,this.state.strict=p}}parseClass(s,l,p){const S=this.state.inAbstractClass;this.state.inAbstractClass=!!s.abstract;try{return super.parseClass(s,l,p)}finally{this.state.inAbstractClass=S}}tsParseAbstractDeclaration(s,l){if(this.match(80))return s.abstract=!0,this.maybeTakeDecorators(l,this.parseClass(s,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return s.abstract=!0,this.raise(ne.NonClassMethodPropertyHasAbstractModifer,s),this.tsParseInterfaceDeclaration(s)}else this.unexpected(null,80)}parseMethod(s,l,p,S,P,O,D){const $=super.parseMethod(s,l,p,S,P,O,D);if($.abstract&&(this.hasPlugin("estree")?!!$.value.body:!!$.body)){const{key:W}=$;this.raise(ne.AbstractMethodHasImplementation,$,{methodName:W.type==="Identifier"&&!$.computed?W.name:`[${this.input.slice(W.start,W.end)}]`})}return $}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(s,l,p,S){return!l&&S?(this.parseTypeOnlyImportExportSpecifier(s,!1,p),this.finishNode(s,"ExportSpecifier")):(s.exportKind="value",super.parseExportSpecifier(s,l,p,S))}parseImportSpecifier(s,l,p,S,P){return!l&&S?(this.parseTypeOnlyImportExportSpecifier(s,!0,p),this.finishNode(s,"ImportSpecifier")):(s.importKind="value",super.parseImportSpecifier(s,l,p,S,p?4098:4096))}parseTypeOnlyImportExportSpecifier(s,l,p){const S=l?"imported":"local",P=l?"local":"exported";let O=s[S],D,$=!1,F=!0;const W=O.loc.start;if(this.isContextual(93)){const J=this.parseIdentifier();if(this.isContextual(93)){const ae=this.parseIdentifier();oe(this.state.type)?($=!0,O=J,D=l?this.parseIdentifier():this.parseModuleExportName(),F=!1):(D=ae,F=!1)}else oe(this.state.type)?(F=!1,D=l?this.parseIdentifier():this.parseModuleExportName()):($=!0,O=J)}else oe(this.state.type)&&($=!0,l?(O=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(O.name,O.loc.start,!0,!0)):O=this.parseModuleExportName());$&&p&&this.raise(l?ne.TypeModifierIsUsedInTypeImports:ne.TypeModifierIsUsedInTypeExports,W),s[S]=O,s[P]=D;const K=l?"importKind":"exportKind";s[K]=$?"type":"value",F&&this.eatContextual(93)&&(s[P]=l?this.parseIdentifier():this.parseModuleExportName()),s[P]||(s[P]=or(s[S])),l&&this.checkIdentifier(s[P],$?4098:4096)}};function e_(_){if(_.type!=="MemberExpression")return!1;const{computed:u,property:s}=_;return u&&s.type!=="StringLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)?!1:ag(_.object)}function t_(_,u){var s;const{type:l}=_;if((s=_.extra)!=null&&s.parenthesized)return!1;if(u){if(l==="Literal"){const{value:p}=_;if(typeof p=="string"||typeof p=="boolean")return!0}}else if(l==="StringLiteral"||l==="BooleanLiteral")return!0;return!!(ng(_,u)||r_(_,u)||l==="TemplateLiteral"&&_.expressions.length===0||e_(_))}function ng(_,u){return u?_.type==="Literal"&&(typeof _.value=="number"||"bigint"in _):_.type==="NumericLiteral"||_.type==="BigIntLiteral"}function r_(_,u){if(_.type==="UnaryExpression"){const{operator:s,argument:l}=_;if(s==="-"&&ng(l,u))return!0}return!1}function ag(_){return _.type==="Identifier"?!0:_.type!=="MemberExpression"||_.computed?!1:ag(_.object)}const og=v`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var s_=_=>class extends _{parsePlaceholder(s){if(this.match(144)){const l=this.startNode();return this.next(),this.assertNoSpace(),l.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(l,s)}}finishPlaceholder(s,l){let p=s;return(!p.expectedNode||!p.type)&&(p=this.finishNode(p,"Placeholder")),p.expectedNode=l,p}getTokenFromCode(s){s===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(s)}parseExprAtom(s){return this.parsePlaceholder("Expression")||super.parseExprAtom(s)}parseIdentifier(s){return this.parsePlaceholder("Identifier")||super.parseIdentifier(s)}checkReservedWord(s,l,p,S){s!==void 0&&super.checkReservedWord(s,l,p,S)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(s,l,p){return s==="Placeholder"||super.isValidLVal(s,l,p)}toAssignable(s,l){s&&s.type==="Placeholder"&&s.expectedNode==="Expression"?s.expectedNode="Pattern":super.toAssignable(s,l)}chStartsBindingIdentifier(s,l){return!!(super.chStartsBindingIdentifier(s,l)||this.lookahead().type===144)}verifyBreakContinue(s,l){s.label&&s.label.type==="Placeholder"||super.verifyBreakContinue(s,l)}parseExpressionStatement(s,l){var p;if(l.type!=="Placeholder"||(p=l.extra)!=null&&p.parenthesized)return super.parseExpressionStatement(s,l);if(this.match(14)){const P=s;return P.label=this.finishPlaceholder(l,"Identifier"),this.next(),P.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(P,"LabeledStatement")}this.semicolon();const S=s;return S.name=l.name,this.finishPlaceholder(S,"Statement")}parseBlock(s,l,p){return this.parsePlaceholder("BlockStatement")||super.parseBlock(s,l,p)}parseFunctionId(s){return this.parsePlaceholder("Identifier")||super.parseFunctionId(s)}parseClass(s,l,p){const S=l?"ClassDeclaration":"ClassExpression";this.next();const P=this.state.strict,O=this.parsePlaceholder("Identifier");if(O)if(this.match(81)||this.match(144)||this.match(5))s.id=O;else{if(p||!l)return s.id=null,s.body=this.finishPlaceholder(O,"ClassBody"),this.finishNode(s,S);throw this.raise(og.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(s,l,p);return super.parseClassSuper(s),s.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!s.superClass,P),this.finishNode(s,S)}parseExport(s,l){const p=this.parsePlaceholder("Identifier");if(!p)return super.parseExport(s,l);const S=s;if(!this.isContextual(98)&&!this.match(12))return S.specifiers=[],S.source=null,S.declaration=this.finishPlaceholder(p,"Declaration"),this.finishNode(S,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const P=this.startNode();return P.exported=p,S.specifiers=[this.finishNode(P,"ExportDefaultSpecifier")],super.parseExport(S,l)}isExportDefaultSpecifier(){if(this.match(65)){const s=this.nextTokenStart();if(this.isUnparsedContextual(s,"from")&&this.input.startsWith(Ye(144),this.nextTokenStartSince(s+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(s,l){var p;return(p=s.specifiers)!=null&&p.length?!0:super.maybeParseExportDefaultSpecifier(s,l)}checkExport(s){const{specifiers:l}=s;l!=null&&l.length&&(s.specifiers=l.filter(p=>p.exported.type==="Placeholder")),super.checkExport(s),s.specifiers=l}parseImport(s){const l=this.parsePlaceholder("Identifier");if(!l)return super.parseImport(s);if(s.specifiers=[],!this.isContextual(98)&&!this.match(12))return s.source=this.finishPlaceholder(l,"StringLiteral"),this.semicolon(),this.finishNode(s,"ImportDeclaration");const p=this.startNodeAtNode(l);return p.local=l,s.specifiers.push(this.finishNode(p,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(s)||this.parseNamedImportSpecifiers(s)),this.expectContextual(98),s.source=this.parseImportSource(),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(og.UnexpectedSpace,this.state.lastTokEndLoc)}},i_=_=>class extends _{parseV8Intrinsic(){if(this.match(54)){const s=this.state.startLoc,l=this.startNode();if(this.next(),j(this.state.type)){const p=this.parseIdentifierName(),S=this.createIdentifier(l,p);if(S.type="V8IntrinsicIdentifier",this.match(10))return S}this.unexpected(s)}}parseExprAtom(s){return this.parseV8Intrinsic()||super.parseExprAtom(s)}};const ug=["minimal","fsharp","hack","smart"],lg=["^^","@@","^","%","#"];function n_(_){if(_.has("decorators")){if(_.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const s=_.get("decorators").decoratorsBeforeExport;if(s!=null&&typeof s!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const l=_.get("decorators").allowCallParenthesized;if(l!=null&&typeof l!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(_.has("flow")&&_.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_.has("placeholders")&&_.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_.has("pipelineOperator")){var u;const s=_.get("pipelineOperator").proposal;if(!ug.includes(s)){const p=ug.map(S=>`"${S}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${p}.`)}const l=((u=_.get("recordAndTuple"))==null?void 0:u.syntaxType)==="hash";if(s==="hack"){if(_.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(_.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const p=_.get("pipelineOperator").topicToken;if(!lg.includes(p)){const S=lg.map(P=>`"${P}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${S}.`)}if(p==="#"&&l)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",_.get("recordAndTuple")])}\`.`)}else if(s==="smart"&&l)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",_.get("recordAndTuple")])}\`.`)}if(_.has("moduleAttributes")){if(_.has("importAttributes")||_.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(_.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(_.has("importAttributes")&&_.has("importAssertions"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(_.has("recordAndTuple")){const s=_.get("recordAndTuple").syntaxType;if(s!=null){const l=["hash","bar"];if(!l.includes(s))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+l.map(p=>`'${p}'`).join(", "))}}if(_.has("asyncDoExpressions")&&!_.has("doExpressions")){const s=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw s.missingPlugins="doExpressions",s}if(_.has("optionalChainingAssign")&&_.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const cg={estree:N,jsx:WT,flow:GT,typescript:ZT,v8intrinsic:i_,placeholders:s_},a_=Object.keys(cg),Lc={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 o_(_){if(_==null)return Object.assign({},Lc);if(_.annexB!=null&&_.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const u={};for(const l of Object.keys(Lc)){var s;u[l]=(s=_[l])!=null?s:Lc[l]}return u}class u_ extends KT{checkProto(u,s,l,p){if(u.type==="SpreadElement"||this.isObjectMethod(u)||u.computed||u.shorthand)return;const S=u.key;if((S.type==="Identifier"?S.name:S.value)==="__proto__"){if(s){this.raise(g.RecordNoProto,S);return}l.used&&(p?p.doubleProtoLoc===null&&(p.doubleProtoLoc=S.loc.start):this.raise(g.DuplicateProto,S)),l.used=!0}}shouldExitDescending(u,s){return u.type==="ArrowFunctionExpression"&&u.start===s}getExpression(){this.enterInitialScopes(),this.nextToken();const u=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),u.comments=this.comments,u.errors=this.state.errors,this.options.tokens&&(u.tokens=this.tokens),u}parseExpression(u,s){return u?this.disallowInAnd(()=>this.parseExpressionBase(s)):this.allowInAnd(()=>this.parseExpressionBase(s))}parseExpressionBase(u){const s=this.state.startLoc,l=this.parseMaybeAssign(u);if(this.match(12)){const p=this.startNodeAt(s);for(p.expressions=[l];this.eat(12);)p.expressions.push(this.parseMaybeAssign(u));return this.toReferencedList(p.expressions),this.finishNode(p,"SequenceExpression")}return l}parseMaybeAssignDisallowIn(u,s){return this.disallowInAnd(()=>this.parseMaybeAssign(u,s))}parseMaybeAssignAllowIn(u,s){return this.allowInAnd(()=>this.parseMaybeAssign(u,s))}setOptionalParametersError(u,s){var l;u.optionalParametersLoc=(l=s==null?void 0:s.loc)!=null?l:this.state.startLoc}parseMaybeAssign(u,s){const l=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let O=this.parseYield();return s&&(O=s.call(this,O,l)),O}let p;u?p=!1:(u=new Fa,p=!0);const{type:S}=this.state;(S===10||j(S))&&(this.state.potentialArrowAt=this.state.start);let P=this.parseMaybeConditional(u);if(s&&(P=s.call(this,P,l)),Ae(this.state.type)){const O=this.startNodeAt(l),D=this.state.value;if(O.operator=D,this.match(29)){this.toAssignable(P,!0),O.left=P;const $=l.index;u.doubleProtoLoc!=null&&u.doubleProtoLoc.index>=$&&(u.doubleProtoLoc=null),u.shorthandAssignLoc!=null&&u.shorthandAssignLoc.index>=$&&(u.shorthandAssignLoc=null),u.privateKeyLoc!=null&&u.privateKeyLoc.index>=$&&(this.checkDestructuringPrivate(u),u.privateKeyLoc=null)}else O.left=P;return this.next(),O.right=this.parseMaybeAssign(),this.checkLVal(P,this.finishNode(O,"AssignmentExpression")),O}else p&&this.checkExpressionErrors(u,!0);return P}parseMaybeConditional(u){const s=this.state.startLoc,l=this.state.potentialArrowAt,p=this.parseExprOps(u);return this.shouldExitDescending(p,l)?p:this.parseConditional(p,s,u)}parseConditional(u,s,l){if(this.eat(17)){const p=this.startNodeAt(s);return p.test=u,p.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),p.alternate=this.parseMaybeAssign(),this.finishNode(p,"ConditionalExpression")}return u}parseMaybeUnaryOrPrivate(u){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(u)}parseExprOps(u){const s=this.state.startLoc,l=this.state.potentialArrowAt,p=this.parseMaybeUnaryOrPrivate(u);return this.shouldExitDescending(p,l)?p:this.parseExprOp(p,s,-1)}parseExprOp(u,s,l){if(this.isPrivateName(u)){const S=this.getPrivateNameSV(u);(l>=nr(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(g.PrivateInExpectedIn,u,{identifierName:S}),this.classScope.usePrivateName(S,u.loc.start)}const p=this.state.type;if(Pt(p)&&(this.prodParam.hasIn||!this.match(58))){let S=nr(p);if(S>l){if(p===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return u;this.checkPipelineAtInfixOperator(u,s)}const P=this.startNodeAt(s);P.left=u,P.operator=this.state.value;const O=p===41||p===42,D=p===40;if(D&&(S=nr(42)),this.next(),p===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(g.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);P.right=this.parseExprOpRightExpr(p,S);const $=this.finishNode(P,O||D?"LogicalExpression":"BinaryExpression"),F=this.state.type;if(D&&(F===41||F===42)||O&&F===40)throw this.raise(g.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp($,s,l)}}return u}parseExprOpRightExpr(u,s){const l=this.state.startLoc;switch(u){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(g.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(u,s),l)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(s))}default:return this.parseExprOpBaseRightExpr(u,s)}}parseExprOpBaseRightExpr(u,s){const l=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),l,bs(u)?s-1:s)}parseHackPipeBody(){var u;const{startLoc:s}=this.state,l=this.parseMaybeAssign();return f.has(l.type)&&!((u=l.extra)!=null&&u.parenthesized)&&this.raise(g.PipeUnparenthesizedBody,s,{type:l.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipeTopicUnused,s),l}checkExponentialAfterUnary(u){this.match(57)&&this.raise(g.UnexpectedTokenUnaryExponentiation,u.argument)}parseMaybeUnary(u,s){const l=this.state.startLoc,p=this.isContextual(96);if(p&&this.recordAwaitIfAllowed()){this.next();const D=this.parseAwait(l);return s||this.checkExponentialAfterUnary(D),D}const S=this.match(34),P=this.startNode();if(He(this.state.type)){P.operator=this.state.value,P.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const D=this.match(89);if(this.next(),P.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(u,!0),this.state.strict&&D){const $=P.argument;$.type==="Identifier"?this.raise(g.StrictDelete,P):this.hasPropertyAsPrivateName($)&&this.raise(g.DeletePrivateField,P)}if(!S)return s||this.checkExponentialAfterUnary(P),this.finishNode(P,"UnaryExpression")}const O=this.parseUpdate(P,S,u);if(p){const{type:D}=this.state;if((this.hasPlugin("v8intrinsic")?de(D):de(D)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(g.AwaitNotInAsyncContext,l),this.parseAwait(l)}return O}parseUpdate(u,s,l){if(s){const P=u;return this.checkLVal(P.argument,this.finishNode(P,"UpdateExpression")),u}const p=this.state.startLoc;let S=this.parseExprSubscripts(l);if(this.checkExpressionErrors(l,!1))return S;for(;at(this.state.type)&&!this.canInsertSemicolon();){const P=this.startNodeAt(p);P.operator=this.state.value,P.prefix=!1,P.argument=S,this.next(),this.checkLVal(S,S=this.finishNode(P,"UpdateExpression"))}return S}parseExprSubscripts(u){const s=this.state.startLoc,l=this.state.potentialArrowAt,p=this.parseExprAtom(u);return this.shouldExitDescending(p,l)?p:this.parseSubscripts(p,s)}parseSubscripts(u,s,l){const p={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(u),stop:!1};do u=this.parseSubscript(u,s,l,p),p.maybeAsyncArrow=!1;while(!p.stop);return u}parseSubscript(u,s,l,p){const{type:S}=this.state;if(!l&&S===15)return this.parseBind(u,s,l,p);if(Wt(S))return this.parseTaggedTemplateExpression(u,s,p);let P=!1;if(S===18){if(l&&(this.raise(g.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return p.stop=!0,u;p.optionalChainMember=P=!0,this.next()}if(!l&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(u,s,p,P);{const O=this.eat(0);return O||P||this.eat(16)?this.parseMember(u,s,p,O,P):(p.stop=!0,u)}}parseMember(u,s,l,p,S){const P=this.startNodeAt(s);return P.object=u,P.computed=p,p?(P.property=this.parseExpression(),this.expect(3)):this.match(138)?(u.type==="Super"&&this.raise(g.SuperPrivateField,s),this.classScope.usePrivateName(this.state.value,this.state.startLoc),P.property=this.parsePrivateName()):P.property=this.parseIdentifier(!0),l.optionalChainMember?(P.optional=S,this.finishNode(P,"OptionalMemberExpression")):this.finishNode(P,"MemberExpression")}parseBind(u,s,l,p){const S=this.startNodeAt(s);return S.object=u,this.next(),S.callee=this.parseNoCallExpr(),p.stop=!0,this.parseSubscripts(this.finishNode(S,"BindExpression"),s,l)}parseCoverCallAndAsyncArrowHead(u,s,l,p){const S=this.state.maybeInArrowParameters;let P=null;this.state.maybeInArrowParameters=!0,this.next();const O=this.startNodeAt(s);O.callee=u;const{maybeAsyncArrow:D,optionalChainMember:$}=l;D&&(this.expressionScope.enter(LT()),P=new Fa),$&&(O.optional=p),p?O.arguments=this.parseCallExpressionArguments(11):O.arguments=this.parseCallExpressionArguments(11,u.type==="Import",u.type!=="Super",O,P);let F=this.finishCallExpression(O,$);return D&&this.shouldParseAsyncArrow()&&!p?(l.stop=!0,this.checkDestructuringPrivate(P),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),F=this.parseAsyncArrowFromCallExpression(this.startNodeAt(s),F)):(D&&(this.checkExpressionErrors(P,!0),this.expressionScope.exit()),this.toReferencedArguments(F)),this.state.maybeInArrowParameters=S,F}toReferencedArguments(u,s){this.toReferencedListDeep(u.arguments,s)}parseTaggedTemplateExpression(u,s,l){const p=this.startNodeAt(s);return p.tag=u,p.quasi=this.parseTemplate(!0),l.optionalChainMember&&this.raise(g.OptionalChainingNoTemplate,s),this.finishNode(p,"TaggedTemplateExpression")}atPossibleAsyncArrow(u){return u.type==="Identifier"&&u.name==="async"&&this.state.lastTokEndLoc.index===u.end&&!this.canInsertSemicolon()&&u.end-u.start===5&&u.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(u,s){if(u.callee.type==="Import")if(u.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),u.arguments.length===0||u.arguments.length>2)this.raise(g.ImportCallArity,u,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const l of u.arguments)l.type==="SpreadElement"&&this.raise(g.ImportCallSpreadArgument,l);return this.finishNode(u,s?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(u,s,l,p,S){const P=[];let O=!0;const D=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(u);){if(O)O=!1;else if(this.expect(12),this.match(u)){s&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(g.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),p&&this.addTrailingCommaExtraToNode(p),this.next();break}P.push(this.parseExprListItem(!1,S,l))}return this.state.inFSharpPipelineDirectBody=D,P}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(u,s){var l;return this.resetPreviousNodeTrailingComments(s),this.expect(19),this.parseArrowExpression(u,s.arguments,!0,(l=s.extra)==null?void 0:l.trailingCommaLoc),s.innerComments&&mi(u,s.innerComments),s.callee.trailingComments&&mi(u,s.callee.trailingComments),u}parseNoCallExpr(){const u=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),u,!0)}parseExprAtom(u){let s,l=null;const{type:p}=this.state;switch(p){case 79:return this.parseSuper();case 83:return s=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(s):this.match(10)?this.options.createImportExpressions?this.parseImportCall(s):this.finishNode(s,"Import"):(this.raise(g.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(s,"Import"));case 78:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const S=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(S)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,u);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,u);case 68:return this.parseFunctionOrFunctionSent();case 26:l=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(l,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{s=this.startNode(),this.next(),s.object=null;const S=s.callee=this.parseNoCallExpr();if(S.type==="MemberExpression")return this.finishNode(s,"BindExpression");throw this.raise(g.UnsupportedBind,S)}case 138:return this.raise(g.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const S=this.getPluginOption("pipelineOperator","proposal");if(S)return this.parseTopicReference(S);this.unexpected();break}case 47:{const S=this.input.codePointAt(this.nextTokenStart());ar(S)||S===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(j(p)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const S=this.state.potentialArrowAt===this.state.start,P=this.state.containsEsc,O=this.parseIdentifier();if(!P&&O.name==="async"&&!this.canInsertSemicolon()){const{type:D}=this.state;if(D===68)return this.resetPreviousNodeTrailingComments(O),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(O));if(j(D))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(O)):O;if(D===90)return this.resetPreviousNodeTrailingComments(O),this.parseDo(this.startNodeAtNode(O),!0)}return S&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(O),[O],!1)):O}else this.unexpected()}}parseTopicReferenceThenEqualsSign(u,s){const l=this.getPluginOption("pipelineOperator","proposal");if(l)return this.state.type=u,this.state.value=s,this.state.pos--,this.state.end--,this.state.endLoc=i(this.state.endLoc,-1),this.parseTopicReference(l);this.unexpected()}parseTopicReference(u){const s=this.startNode(),l=this.state.startLoc,p=this.state.type;return this.next(),this.finishTopicReference(s,l,u,p)}finishTopicReference(u,s,l,p){if(this.testTopicReferenceConfiguration(l,s,p)){const S=l==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(l==="smart"?g.PrimaryTopicNotAllowed:g.PipeTopicUnbound,s),this.registerTopicReference(),this.finishNode(u,S)}else throw this.raise(g.PipeTopicUnconfiguredToken,s,{token:Ye(p)})}testTopicReferenceConfiguration(u,s,l){switch(u){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ye(l)}]);case"smart":return l===27;default:throw this.raise(g.PipeTopicRequiresHackPipes,s)}}parseAsyncArrowUnaryFunction(u){this.prodParam.enter(Da(!0,this.prodParam.hasYield));const s=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(g.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(u,s,!0)}parseDo(u,s){this.expectPlugin("doExpressions"),s&&this.expectPlugin("asyncDoExpressions"),u.async=s,this.next();const l=this.state.labels;return this.state.labels=[],s?(this.prodParam.enter(2),u.body=this.parseBlock(),this.prodParam.exit()):u.body=this.parseBlock(),this.state.labels=l,this.finishNode(u,"DoExpression")}parseSuper(){const u=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(g.SuperNotAllowed,u):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(g.UnexpectedSuper,u),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(g.UnsupportedSuper,u),this.finishNode(u,"Super")}parsePrivateName(){const u=this.startNode(),s=this.startNodeAt(i(this.state.startLoc,1)),l=this.state.value;return this.next(),u.id=this.createIdentifier(s,l),this.finishNode(u,"PrivateName")}parseFunctionOrFunctionSent(){const u=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(u),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(u,s,"sent")}return this.parseFunction(u)}parseMetaProperty(u,s,l){u.meta=s;const p=this.state.containsEsc;return u.property=this.parseIdentifier(!0),(u.property.name!==l||p)&&this.raise(g.UnsupportedMetaProperty,u.property,{target:s.name,onlyValidPropertyName:l}),this.finishNode(u,"MetaProperty")}parseImportMetaProperty(u){const s=this.createIdentifier(this.startNodeAtNode(u),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(g.ImportMetaOutsideModule,s),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const l=this.isContextual(105);if(l||this.unexpected(),this.expectPlugin(l?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(g.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),u.phase=l?"source":"defer",this.parseImportCall(u)}return this.parseMetaProperty(u,s,"meta")}parseLiteralAtNode(u,s,l){return this.addExtra(l,"rawValue",u),this.addExtra(l,"raw",this.input.slice(l.start,this.state.end)),l.value=u,this.next(),this.finishNode(l,s)}parseLiteral(u,s){const l=this.startNode();return this.parseLiteralAtNode(u,s,l)}parseStringLiteral(u){return this.parseLiteral(u,"StringLiteral")}parseNumericLiteral(u){return this.parseLiteral(u,"NumericLiteral")}parseBigIntLiteral(u){return this.parseLiteral(u,"BigIntLiteral")}parseDecimalLiteral(u){return this.parseLiteral(u,"DecimalLiteral")}parseRegExpLiteral(u){const s=this.startNode();return this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.pattern=u.pattern,s.flags=u.flags,this.next(),this.finishNode(s,"RegExpLiteral")}parseBooleanLiteral(u){const s=this.startNode();return s.value=u,this.next(),this.finishNode(s,"BooleanLiteral")}parseNullLiteral(){const u=this.startNode();return this.next(),this.finishNode(u,"NullLiteral")}parseParenAndDistinguishExpression(u){const s=this.state.startLoc;let l;this.next(),this.expressionScope.enter(kT());const p=this.state.maybeInArrowParameters,S=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const P=this.state.startLoc,O=[],D=new Fa;let $=!0,F,W;for(;!this.match(11);){if($)$=!1;else if(this.expect(12,D.optionalParametersLoc===null?null:D.optionalParametersLoc),this.match(11)){W=this.state.startLoc;break}if(this.match(21)){const ae=this.state.startLoc;if(F=this.state.startLoc,O.push(this.parseParenItem(this.parseRestBinding(),ae)),!this.checkCommaAfterRest(41))break}else O.push(this.parseMaybeAssignAllowIn(D,this.parseParenItem))}const K=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=p,this.state.inFSharpPipelineDirectBody=S;let J=this.startNodeAt(s);return u&&this.shouldParseArrow(O)&&(J=this.parseArrow(J))?(this.checkDestructuringPrivate(D),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(J,O,!1),J):(this.expressionScope.exit(),O.length||this.unexpected(this.state.lastTokStartLoc),W&&this.unexpected(W),F&&this.unexpected(F),this.checkExpressionErrors(D,!0),this.toReferencedListDeep(O,!0),O.length>1?(l=this.startNodeAt(P),l.expressions=O,this.finishNode(l,"SequenceExpression"),this.resetEndLocation(l,K)):l=O[0],this.wrapParenthesis(s,l))}wrapParenthesis(u,s){if(!this.options.createParenthesizedExpressions)return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",u.index),this.takeSurroundingComments(s,u.index,this.state.lastTokEndLoc.index),s;const l=this.startNodeAt(u);return l.expression=s,this.finishNode(l,"ParenthesizedExpression")}shouldParseArrow(u){return!this.canInsertSemicolon()}parseArrow(u){if(this.eat(19))return u}parseParenItem(u,s){return u}parseNewOrNewTarget(){const u=this.startNode();if(this.next(),this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(u),"new");this.next();const l=this.parseMetaProperty(u,s,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(g.UnexpectedNewTarget,l),l}return this.parseNew(u)}parseNew(u){if(this.parseNewCallee(u),this.eat(10)){const s=this.parseExprList(11);this.toReferencedList(s),u.arguments=s}else u.arguments=[];return this.finishNode(u,"NewExpression")}parseNewCallee(u){const s=this.match(83),l=this.parseNoCallExpr();u.callee=l,s&&(l.type==="Import"||l.type==="ImportExpression")&&this.raise(g.ImportCallNotNewExpression,l)}parseTemplateElement(u){const{start:s,startLoc:l,end:p,value:S}=this.state,P=s+1,O=this.startNodeAt(i(l,1));S===null&&(u||this.raise(g.InvalidEscapeSequenceTemplate,i(this.state.firstInvalidTemplateEscapePos,1)));const D=this.match(24),$=D?-1:-2,F=p+$;O.value={raw:this.input.slice(P,F).replace(/\r\n?/g,`
|
|
29
|
+
`),cooked:S===null?null:S.slice(1,$)},O.tail=D,this.next();const W=this.finishNode(O,"TemplateElement");return this.resetEndLocation(W,i(this.state.lastTokEndLoc,$)),W}parseTemplate(u){const s=this.startNode();let l=this.parseTemplateElement(u);const p=[l],S=[];for(;!l.tail;)S.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),p.push(l=this.parseTemplateElement(u));return s.expressions=S,s.quasis=p,this.finishNode(s,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(u,s,l,p){l&&this.expectPlugin("recordAndTuple");const S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const P=Object.create(null);let O=!0;const D=this.startNode();for(D.properties=[],this.next();!this.match(u);){if(O)O=!1;else if(this.expect(12),this.match(u)){this.addTrailingCommaExtraToNode(D);break}let F;s?F=this.parseBindingProperty():(F=this.parsePropertyDefinition(p),this.checkProto(F,l,P,p)),l&&!this.isObjectProperty(F)&&F.type!=="SpreadElement"&&this.raise(g.InvalidRecordProperty,F),F.shorthand&&this.addExtra(F,"shorthand",!0),D.properties.push(F)}this.next(),this.state.inFSharpPipelineDirectBody=S;let $="ObjectExpression";return s?$="ObjectPattern":l&&($="RecordExpression"),this.finishNode(D,$)}addTrailingCommaExtraToNode(u){this.addExtra(u,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(u,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(u){return!u.computed&&u.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(u){let s=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(g.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)s.push(this.parseDecorator());const l=this.startNode();let p=!1,S=!1,P;if(this.match(21))return s.length&&this.unexpected(),this.parseSpread();s.length&&(l.decorators=s,s=[]),l.method=!1,u&&(P=this.state.startLoc);let O=this.eat(55);this.parsePropertyNamePrefixOperator(l);const D=this.state.containsEsc;if(this.parsePropertyName(l,u),!O&&!D&&this.maybeAsyncOrAccessorProp(l)){const{key:$}=l,F=$.name;F==="async"&&!this.hasPrecedingLineBreak()&&(p=!0,this.resetPreviousNodeTrailingComments($),O=this.eat(55),this.parsePropertyName(l)),(F==="get"||F==="set")&&(S=!0,this.resetPreviousNodeTrailingComments($),l.kind=F,this.match(55)&&(O=!0,this.raise(g.AccessorIsGenerator,this.state.curPosition(),{kind:F}),this.next()),this.parsePropertyName(l))}return this.parseObjPropValue(l,P,O,p,!1,S,u)}getGetterSetterExpectedParamCount(u){return u.kind==="get"?0:1}getObjectOrClassMethodParams(u){return u.params}checkGetterSetterParams(u){var s;const l=this.getGetterSetterExpectedParamCount(u),p=this.getObjectOrClassMethodParams(u);p.length!==l&&this.raise(u.kind==="get"?g.BadGetterArity:g.BadSetterArity,u),u.kind==="set"&&((s=p[p.length-1])==null?void 0:s.type)==="RestElement"&&this.raise(g.BadSetterRestParameter,u)}parseObjectMethod(u,s,l,p,S){if(S){const P=this.parseMethod(u,s,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(P),P}if(l||s||this.match(10))return p&&this.unexpected(),u.kind="method",u.method=!0,this.parseMethod(u,s,l,!1,!1,"ObjectMethod")}parseObjectProperty(u,s,l,p){if(u.shorthand=!1,this.eat(14))return u.value=l?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(p),this.finishNode(u,"ObjectProperty");if(!u.computed&&u.key.type==="Identifier"){if(this.checkReservedWord(u.key.name,u.key.loc.start,!0,!1),l)u.value=this.parseMaybeDefault(s,or(u.key));else if(this.match(29)){const S=this.state.startLoc;p!=null?p.shorthandAssignLoc===null&&(p.shorthandAssignLoc=S):this.raise(g.InvalidCoverInitializedName,S),u.value=this.parseMaybeDefault(s,or(u.key))}else u.value=or(u.key);return u.shorthand=!0,this.finishNode(u,"ObjectProperty")}}parseObjPropValue(u,s,l,p,S,P,O){const D=this.parseObjectMethod(u,l,p,S,P)||this.parseObjectProperty(u,s,S,O);return D||this.unexpected(),D}parsePropertyName(u,s){if(this.eat(0))u.computed=!0,u.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:l,value:p}=this.state;let S;if(oe(l))S=this.parseIdentifier(!0);else switch(l){case 134:S=this.parseNumericLiteral(p);break;case 133:S=this.parseStringLiteral(p);break;case 135:S=this.parseBigIntLiteral(p);break;case 136:S=this.parseDecimalLiteral(p);break;case 138:{const P=this.state.startLoc;s!=null?s.privateKeyLoc===null&&(s.privateKeyLoc=P):this.raise(g.UnexpectedPrivateField,P),S=this.parsePrivateName();break}default:this.unexpected()}u.key=S,l!==138&&(u.computed=!1)}}initFunction(u,s){u.id=null,u.generator=!1,u.async=s}parseMethod(u,s,l,p,S,P,O=!1){this.initFunction(u,l),u.generator=s,this.scope.enter(18|(O?64:0)|(S?32:0)),this.prodParam.enter(Da(l,u.generator)),this.parseFunctionParams(u,p);const D=this.parseFunctionBodyAndFinish(u,P,!0);return this.prodParam.exit(),this.scope.exit(),D}parseArrayLike(u,s,l,p){l&&this.expectPlugin("recordAndTuple");const S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const P=this.startNode();return this.next(),P.elements=this.parseExprList(u,!l,p,P),this.state.inFSharpPipelineDirectBody=S,this.finishNode(P,l?"TupleExpression":"ArrayExpression")}parseArrowExpression(u,s,l,p){this.scope.enter(6);let S=Da(l,!1);!this.match(5)&&this.prodParam.hasIn&&(S|=8),this.prodParam.enter(S),this.initFunction(u,l);const P=this.state.maybeInArrowParameters;return s&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(u,s,p)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(u,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=P,this.finishNode(u,"ArrowFunctionExpression")}setArrowFunctionParameters(u,s,l){this.toAssignableList(s,l,!1),u.params=s}parseFunctionBodyAndFinish(u,s,l=!1){return this.parseFunctionBody(u,!1,l),this.finishNode(u,s)}parseFunctionBody(u,s,l=!1){const p=s&&!this.match(5);if(this.expressionScope.enter(eg()),p)u.body=this.parseMaybeAssign(),this.checkParams(u,!1,s,!1);else{const S=this.state.strict,P=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),u.body=this.parseBlock(!0,!1,O=>{const D=!this.isSimpleParamList(u.params);O&&D&&this.raise(g.IllegalLanguageModeDirective,(u.kind==="method"||u.kind==="constructor")&&u.key?u.key.loc.end:u);const $=!S&&this.state.strict;this.checkParams(u,!this.state.strict&&!s&&!l&&!D,s,$),this.state.strict&&u.id&&this.checkIdentifier(u.id,65,$)}),this.prodParam.exit(),this.state.labels=P}this.expressionScope.exit()}isSimpleParameter(u){return u.type==="Identifier"}isSimpleParamList(u){for(let s=0,l=u.length;s<l;s++)if(!this.isSimpleParameter(u[s]))return!1;return!0}checkParams(u,s,l,p=!0){const S=!s&&new Set,P={type:"FormalParameters"};for(const O of u.params)this.checkLVal(O,P,5,S,p)}parseExprList(u,s,l,p){const S=[];let P=!0;for(;!this.eat(u);){if(P)P=!1;else if(this.expect(12),this.match(u)){p&&this.addTrailingCommaExtraToNode(p),this.next();break}S.push(this.parseExprListItem(s,l))}return S}parseExprListItem(u,s,l){let p;if(this.match(12))u||this.raise(g.UnexpectedToken,this.state.curPosition(),{unexpected:","}),p=null;else if(this.match(21)){const S=this.state.startLoc;p=this.parseParenItem(this.parseSpread(s),S)}else if(this.match(17)){this.expectPlugin("partialApplication"),l||this.raise(g.UnexpectedArgumentPlaceholder,this.state.startLoc);const S=this.startNode();this.next(),p=this.finishNode(S,"ArgumentPlaceholder")}else p=this.parseMaybeAssignAllowIn(s,this.parseParenItem);return p}parseIdentifier(u){const s=this.startNode(),l=this.parseIdentifierName(u);return this.createIdentifier(s,l)}createIdentifier(u,s){return u.name=s,u.loc.identifierName=s,this.finishNode(u,"Identifier")}parseIdentifierName(u){let s;const{startLoc:l,type:p}=this.state;oe(p)?s=this.state.value:this.unexpected();const S=se(p);return u?S&&this.replaceToken(132):this.checkReservedWord(s,l,S,!1),this.next(),s}checkReservedWord(u,s,l,p){if(u.length>10||!mT(u))return;if(l&&fT(u)){this.raise(g.UnexpectedKeyword,s,{keyword:u});return}if((this.state.strict?p?W1:G1:V1)(u,this.inModule)){this.raise(g.UnexpectedReservedWord,s,{reservedWord:u});return}else if(u==="yield"){if(this.prodParam.hasYield){this.raise(g.YieldBindingIdentifier,s);return}}else if(u==="await"){if(this.prodParam.hasAwait){this.raise(g.AwaitBindingIdentifier,s);return}if(this.scope.inStaticBlock){this.raise(g.AwaitBindingIdentifierInStaticBlock,s);return}this.expressionScope.recordAsyncArrowParametersError(s)}else if(u==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(g.ArgumentsInClass,s);return}}recordAwaitIfAllowed(){const u=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return u&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),u}parseAwait(u){const s=this.startNodeAt(u);return this.expressionScope.recordParameterInitializerError(g.AwaitExpressionFormalParameter,s),this.eat(55)&&this.raise(g.ObsoleteAwaitStar,s),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(s.argument=this.parseMaybeUnary(null,!0)),this.finishNode(s,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:u}=this.state;return u===53||u===10||u===0||Wt(u)||u===102&&!this.state.containsEsc||u===137||u===56||this.hasPlugin("v8intrinsic")&&u===54}parseYield(){const u=this.startNode();this.expressionScope.recordParameterInitializerError(g.YieldInParameter,u),this.next();let s=!1,l=null;if(!this.hasPrecedingLineBreak())switch(s=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!s)break;default:l=this.parseMaybeAssign()}return u.delegate=s,u.argument=l,this.finishNode(u,"YieldExpression")}parseImportCall(u){return this.next(),u.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(u.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(u.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(u,"ImportExpression")}checkPipelineAtInfixOperator(u,s){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&u.type==="SequenceExpression"&&this.raise(g.PipelineHeadSequenceExpression,s)}parseSmartPipelineBodyInStyle(u,s){if(this.isSimpleReference(u)){const l=this.startNodeAt(s);return l.callee=u,this.finishNode(l,"PipelineBareFunction")}else{const l=this.startNodeAt(s);return this.checkSmartPipeTopicBodyEarlyErrors(s),l.expression=u,this.finishNode(l,"PipelineTopicExpression")}}isSimpleReference(u){switch(u.type){case"MemberExpression":return!u.computed&&this.isSimpleReference(u.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(u){if(this.match(19))throw this.raise(g.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipelineTopicUnused,u)}withTopicBindingContext(u){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return u()}finally{this.state.topicContext=s}}withSmartMixTopicForbiddingContext(u){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return u()}finally{this.state.topicContext=s}}else return u()}withSoloAwaitPermittingContext(u){const s=this.state.soloAwait;this.state.soloAwait=!0;try{return u()}finally{this.state.soloAwait=s}}allowInAnd(u){const s=this.prodParam.currentFlags();if(8&~s){this.prodParam.enter(s|8);try{return u()}finally{this.prodParam.exit()}}return u()}disallowInAnd(u){const s=this.prodParam.currentFlags();if(8&s){this.prodParam.enter(s&-9);try{return u()}finally{this.prodParam.exit()}}return u()}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(u){const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const l=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const p=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,u);return this.state.inFSharpPipelineDirectBody=l,p}parseModuleExpression(){this.expectPlugin("moduleBlocks");const u=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const s=this.startNodeAt(this.state.endLoc);this.next();const l=this.initializeScopes(!0);this.enterInitialScopes();try{u.body=this.parseProgram(s,8,"module")}finally{l()}return this.finishNode(u,"ModuleExpression")}parsePropertyNamePrefixOperator(u){}}const Mc={kind:1},l_={kind:2},c_=/[\uD800-\uDFFF]/u,Rc=/in(?:stanceof)?/y;function h_(_,u){for(let s=0;s<_.length;s++){const l=_[s],{type:p}=l;if(typeof p=="number"){{if(p===138){const{loc:S,start:P,value:O,end:D}=l,$=P+1,F=i(S.start,1);_.splice(s,1,new xr({type:kt(27),value:"#",start:P,end:$,startLoc:S.start,endLoc:F}),new xr({type:kt(132),value:O,start:$,end:D,startLoc:F,endLoc:S.end})),s++;continue}if(Wt(p)){const{loc:S,start:P,value:O,end:D}=l,$=P+1,F=i(S.start,1);let W;u.charCodeAt(P)===96?W=new xr({type:kt(22),value:"`",start:P,end:$,startLoc:S.start,endLoc:F}):W=new xr({type:kt(8),value:"}",start:P,end:$,startLoc:S.start,endLoc:F});let K,J,ae,Se;p===24?(J=D-1,ae=i(S.end,-1),K=O===null?null:O.slice(1,-1),Se=new xr({type:kt(22),value:"`",start:J,end:D,startLoc:ae,endLoc:S.end})):(J=D-2,ae=i(S.end,-2),K=O===null?null:O.slice(1,-2),Se=new xr({type:kt(23),value:"${",start:J,end:D,startLoc:ae,endLoc:S.end})),_.splice(s,1,W,new xr({type:kt(20),value:K,start:$,end:J,startLoc:F,endLoc:ae}),Se),s+=2;continue}}l.type=kt(p)}}return _}class f_ extends u_{parseTopLevel(u,s){return u.program=this.parseProgram(s),u.comments=this.comments,this.options.tokens&&(u.tokens=h_(this.tokens,this.input)),this.finishNode(u,"File")}parseProgram(u,s=139,l=this.options.sourceType){if(u.sourceType=l,u.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(u,!0,!0,s),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[S,P]of Array.from(this.scope.undefinedExports))this.raise(g.ModuleExportUndefined,P,{localName:S});this.addExtra(u,"topLevelAwait",this.state.hasTopLevelAwait)}let p;return s===139?p=this.finishNode(u,"Program"):p=this.finishNodeAt(u,"Program",i(this.state.startLoc,-1)),p}stmtToDirective(u){const s=u;s.type="Directive",s.value=s.expression,delete s.expression;const l=s.value,p=l.value,S=this.input.slice(l.start,l.end),P=l.value=S.slice(1,-1);return this.addExtra(l,"raw",S),this.addExtra(l,"rawValue",P),this.addExtra(l,"expressionValue",p),l.type="DirectiveLiteral",s}parseInterpreterDirective(){if(!this.match(28))return null;const u=this.startNode();return u.value=this.state.value,this.next(),this.finishNode(u,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(u,s){if(ar(u)){if(Rc.lastIndex=s,Rc.test(this.input)){const l=this.codePointAtPos(Rc.lastIndex);if(!vs(l)&&l!==92)return!1}return!0}else return u===92}chStartsBindingPattern(u){return u===91||u===123}hasFollowingBindingAtom(){const u=this.nextTokenStart(),s=this.codePointAtPos(u);return this.chStartsBindingPattern(s)||this.chStartsBindingIdentifier(s,u)}hasInLineFollowingBindingIdentifierOrBrace(){const u=this.nextTokenInLineStart(),s=this.codePointAtPos(u);return s===123||this.chStartsBindingIdentifier(s,u)}startsUsingForOf(){const{type:u,containsEsc:s}=this.lookahead();if(u===102&&!s)return!1;if(j(u)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let u=this.nextTokenInLineStart();if(this.isUnparsedContextual(u,"using")){u=this.nextTokenInLineStartSince(u+5);const s=this.codePointAtPos(u);if(this.chStartsBindingIdentifier(s,u))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(u=!1){let s=0;return this.options.annexB&&!this.state.strict&&(s|=4,u&&(s|=8)),this.parseStatementLike(s)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(u){let s=null;return this.match(26)&&(s=this.parseDecorators(!0)),this.parseStatementContent(u,s)}parseStatementContent(u,s){const l=this.state.type,p=this.startNode(),S=!!(u&2),P=!!(u&4),O=u&1;switch(l){case 60:return this.parseBreakContinueStatement(p,!0);case 63:return this.parseBreakContinueStatement(p,!1);case 64:return this.parseDebuggerStatement(p);case 90:return this.parseDoWhileStatement(p);case 91:return this.parseForStatement(p);case 68:if(this.lookaheadCharCode()===46)break;return P||this.raise(this.state.strict?g.StrictFunction:this.options.annexB?g.SloppyFunctionAnnexB:g.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(p,!1,!S&&P);case 80:return S||this.unexpected(),this.parseClass(this.maybeTakeDecorators(s,p),!0);case 69:return this.parseIfStatement(p);case 70:return this.parseReturnStatement(p);case 71:return this.parseSwitchStatement(p);case 72:return this.parseThrowStatement(p);case 73:return this.parseTryStatement(p);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?S||this.raise(g.UnexpectedLexicalDeclaration,p):this.raise(g.AwaitUsingNotInAsyncContext,p),this.next(),this.parseVarStatement(p,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(g.UnexpectedUsingDeclaration,this.state.startLoc):S||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(p,"using");case 100:{if(this.state.containsEsc)break;const F=this.nextTokenStart(),W=this.codePointAtPos(F);if(W!==91&&(!S&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(W,F)&&W!==123))break}case 75:S||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const F=this.state.value;return this.parseVarStatement(p,F)}case 92:return this.parseWhileStatement(p);case 76:return this.parseWithStatement(p);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(p);case 83:{const F=this.lookaheadCharCode();if(F===40||F===46)break}case 82:{!this.options.allowImportExportEverywhere&&!O&&this.raise(g.UnexpectedImportExport,this.state.startLoc),this.next();let F;return l===83?(F=this.parseImport(p),F.type==="ImportDeclaration"&&(!F.importKind||F.importKind==="value")&&(this.sawUnambiguousESM=!0)):(F=this.parseExport(p,s),(F.type==="ExportNamedDeclaration"&&(!F.exportKind||F.exportKind==="value")||F.type==="ExportAllDeclaration"&&(!F.exportKind||F.exportKind==="value")||F.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(F),F}default:if(this.isAsyncFunction())return S||this.raise(g.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(p,!0,!S&&P)}const D=this.state.value,$=this.parseExpression();return j(l)&&$.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,D,$,u):this.parseExpressionStatement(p,$,s)}assertModuleNodeAllowed(u){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(g.ImportOutsideModule,u)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(u,s,l){return u&&(s.decorators&&s.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(g.DecoratorsBeforeAfterExport,s.decorators[0]),s.decorators.unshift(...u)):s.decorators=u,this.resetStartLocationFromNode(s,u[0]),l&&this.resetStartLocationFromNode(l,s)),s}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(u){const s=[];do s.push(this.parseDecorator());while(this.match(26));if(this.match(82))u||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(g.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(g.UnexpectedLeadingDecorator,this.state.startLoc);return s}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const u=this.startNode();if(this.next(),this.hasPlugin("decorators")){const s=this.state.startLoc;let l;if(this.match(10)){const p=this.state.startLoc;this.next(),l=this.parseExpression(),this.expect(11),l=this.wrapParenthesis(p,l);const S=this.state.startLoc;u.expression=this.parseMaybeDecoratorArguments(l),this.getPluginOption("decorators","allowCallParenthesized")===!1&&u.expression!==l&&this.raise(g.DecoratorArgumentsOutsideParentheses,S)}else{for(l=this.parseIdentifier(!1);this.eat(16);){const p=this.startNodeAt(s);p.object=l,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),p.property=this.parsePrivateName()):p.property=this.parseIdentifier(!0),p.computed=!1,l=this.finishNode(p,"MemberExpression")}u.expression=this.parseMaybeDecoratorArguments(l)}}else u.expression=this.parseExprSubscripts();return this.finishNode(u,"Decorator")}parseMaybeDecoratorArguments(u){if(this.eat(10)){const s=this.startNodeAtNode(u);return s.callee=u,s.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(s.arguments),this.finishNode(s,"CallExpression")}return u}parseBreakContinueStatement(u,s){return this.next(),this.isLineTerminator()?u.label=null:(u.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(u,s),this.finishNode(u,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(u,s){let l;for(l=0;l<this.state.labels.length;++l){const p=this.state.labels[l];if((u.label==null||p.name===u.label.name)&&(p.kind!=null&&(s||p.kind===1)||u.label&&s))break}if(l===this.state.labels.length){const p=s?"BreakStatement":"ContinueStatement";this.raise(g.IllegalBreakContinue,u,{type:p})}}parseDebuggerStatement(u){return this.next(),this.semicolon(),this.finishNode(u,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const u=this.parseExpression();return this.expect(11),u}parseDoWhileStatement(u){return this.next(),this.state.labels.push(Mc),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),u.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(u,"DoWhileStatement")}parseForStatement(u){this.next(),this.state.labels.push(Mc);let s=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(s=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return s!==null&&this.unexpected(s),this.parseFor(u,null);const l=this.isContextual(100);{const D=this.isContextual(96)&&this.startsAwaitUsing(),$=D||this.isContextual(107)&&this.startsUsingForOf(),F=l&&this.hasFollowingBindingAtom()||$;if(this.match(74)||this.match(75)||F){const W=this.startNode();let K;D?(K="await using",this.recordAwaitIfAllowed()||this.raise(g.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):K=this.state.value,this.next(),this.parseVar(W,!0,K);const J=this.finishNode(W,"VariableDeclaration"),ae=this.match(58);return ae&&$&&this.raise(g.ForInUsing,J),(ae||this.isContextual(102))&&J.declarations.length===1?this.parseForIn(u,J,s):(s!==null&&this.unexpected(s),this.parseFor(u,J))}}const p=this.isContextual(95),S=new Fa,P=this.parseExpression(!0,S),O=this.isContextual(102);if(O&&(l&&this.raise(g.ForOfLet,P),s===null&&p&&P.type==="Identifier"&&this.raise(g.ForOfAsync,P)),O||this.match(58)){this.checkDestructuringPrivate(S),this.toAssignable(P,!0);const D=O?"ForOfStatement":"ForInStatement";return this.checkLVal(P,{type:D}),this.parseForIn(u,P,s)}else this.checkExpressionErrors(S,!0);return s!==null&&this.unexpected(s),this.parseFor(u,P)}parseFunctionStatement(u,s,l){return this.next(),this.parseFunction(u,1|(l?2:0)|(s?8:0))}parseIfStatement(u){return this.next(),u.test=this.parseHeaderExpression(),u.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),u.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(u,"IfStatement")}parseReturnStatement(u){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(g.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?u.argument=null:(u.argument=this.parseExpression(),this.semicolon()),this.finishNode(u,"ReturnStatement")}parseSwitchStatement(u){this.next(),u.discriminant=this.parseHeaderExpression();const s=u.cases=[];this.expect(5),this.state.labels.push(l_),this.scope.enter(0);let l;for(let p;!this.match(8);)if(this.match(61)||this.match(65)){const S=this.match(61);l&&this.finishNode(l,"SwitchCase"),s.push(l=this.startNode()),l.consequent=[],this.next(),S?l.test=this.parseExpression():(p&&this.raise(g.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),p=!0,l.test=null),this.expect(14)}else l?l.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),l&&this.finishNode(l,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(u,"SwitchStatement")}parseThrowStatement(u){return this.next(),this.hasPrecedingLineBreak()&&this.raise(g.NewlineAfterThrow,this.state.lastTokEndLoc),u.argument=this.parseExpression(),this.semicolon(),this.finishNode(u,"ThrowStatement")}parseCatchClauseParam(){const u=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&u.type==="Identifier"?8:0),this.checkLVal(u,{type:"CatchClause"},9),u}parseTryStatement(u){if(this.next(),u.block=this.parseBlock(),u.handler=null,this.match(62)){const s=this.startNode();this.next(),this.match(10)?(this.expect(10),s.param=this.parseCatchClauseParam(),this.expect(11)):(s.param=null,this.scope.enter(0)),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),u.handler=this.finishNode(s,"CatchClause")}return u.finalizer=this.eat(67)?this.parseBlock():null,!u.handler&&!u.finalizer&&this.raise(g.NoCatchOrFinally,u),this.finishNode(u,"TryStatement")}parseVarStatement(u,s,l=!1){return this.next(),this.parseVar(u,!1,s,l),this.semicolon(),this.finishNode(u,"VariableDeclaration")}parseWhileStatement(u){return this.next(),u.test=this.parseHeaderExpression(),this.state.labels.push(Mc),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(u,"WhileStatement")}parseWithStatement(u){return this.state.strict&&this.raise(g.StrictWith,this.state.startLoc),this.next(),u.object=this.parseHeaderExpression(),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(u,"WithStatement")}parseEmptyStatement(u){return this.next(),this.finishNode(u,"EmptyStatement")}parseLabeledStatement(u,s,l,p){for(const P of this.state.labels)P.name===s&&this.raise(g.LabelRedeclaration,l,{labelName:s});const S=ke(this.state.type)?1:this.match(71)?2:null;for(let P=this.state.labels.length-1;P>=0;P--){const O=this.state.labels[P];if(O.statementStart===u.start)O.statementStart=this.state.start,O.kind=S;else break}return this.state.labels.push({name:s,kind:S,statementStart:this.state.start}),u.body=p&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),u.label=l,this.finishNode(u,"LabeledStatement")}parseExpressionStatement(u,s,l){return u.expression=s,this.semicolon(),this.finishNode(u,"ExpressionStatement")}parseBlock(u=!1,s=!0,l){const p=this.startNode();return u&&this.state.strictErrors.clear(),this.expect(5),s&&this.scope.enter(0),this.parseBlockBody(p,u,!1,8,l),s&&this.scope.exit(),this.finishNode(p,"BlockStatement")}isValidDirective(u){return u.type==="ExpressionStatement"&&u.expression.type==="StringLiteral"&&!u.expression.extra.parenthesized}parseBlockBody(u,s,l,p,S){const P=u.body=[],O=u.directives=[];this.parseBlockOrModuleBlockBody(P,s?O:void 0,l,p,S)}parseBlockOrModuleBlockBody(u,s,l,p,S){const P=this.state.strict;let O=!1,D=!1;for(;!this.match(p);){const $=l?this.parseModuleItem():this.parseStatementListItem();if(s&&!D){if(this.isValidDirective($)){const F=this.stmtToDirective($);s.push(F),!O&&F.value.value==="use strict"&&(O=!0,this.setStrict(!0));continue}D=!0,this.state.strictErrors.clear()}u.push($)}S==null||S.call(this,O),P||this.setStrict(!1),this.next()}parseFor(u,s){return u.init=s,this.semicolon(!1),u.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),u.update=this.match(11)?null:this.parseExpression(),this.expect(11),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(u,"ForStatement")}parseForIn(u,s,l){const p=this.match(58);return this.next(),p?l!==null&&this.unexpected(l):u.await=l!==null,s.type==="VariableDeclaration"&&s.declarations[0].init!=null&&(!p||!this.options.annexB||this.state.strict||s.kind!=="var"||s.declarations[0].id.type!=="Identifier")&&this.raise(g.ForInOfLoopInitializer,s,{type:p?"ForInStatement":"ForOfStatement"}),s.type==="AssignmentPattern"&&this.raise(g.InvalidLhs,s,{ancestor:{type:"ForStatement"}}),u.left=s,u.right=p?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),u.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(u,p?"ForInStatement":"ForOfStatement")}parseVar(u,s,l,p=!1){const S=u.declarations=[];for(u.kind=l;;){const P=this.startNode();if(this.parseVarId(P,l),P.init=this.eat(29)?s?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,P.init===null&&!p&&(P.id.type!=="Identifier"&&!(s&&(this.match(58)||this.isContextual(102)))?this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(l==="const"||l==="using"||l==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:l})),S.push(this.finishNode(P,"VariableDeclarator")),!this.eat(12))break}return u}parseVarId(u,s){const l=this.parseBindingAtom();(s==="using"||s==="await using")&&(l.type==="ArrayPattern"||l.type==="ObjectPattern")&&this.raise(g.UsingDeclarationHasBindingPattern,l.loc.start),this.checkLVal(l,{type:"VariableDeclarator"},s==="var"?5:8201),u.id=l}parseAsyncFunctionExpression(u){return this.parseFunction(u,8)}parseFunction(u,s=0){const l=s&2,p=!!(s&1),S=p&&!(s&4),P=!!(s&8);this.initFunction(u,P),this.match(55)&&(l&&this.raise(g.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),u.generator=!0),p&&(u.id=this.parseFunctionId(S));const O=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Da(P,u.generator)),p||(u.id=this.parseFunctionId()),this.parseFunctionParams(u,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(u,p?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),p&&!l&&this.registerFunctionStatementId(u),this.state.maybeInArrowParameters=O,u}parseFunctionId(u){return u||j(this.state.type)?this.parseIdentifier():null}parseFunctionParams(u,s){this.expect(10),this.expressionScope.enter(OT()),u.params=this.parseBindingList(11,41,2|(s?4:0)),this.expressionScope.exit()}registerFunctionStatementId(u){u.id&&this.scope.declareName(u.id.name,!this.options.annexB||this.state.strict||u.generator||u.async?this.scope.treatFunctionsAsVar?5:8201:17,u.id.loc.start)}parseClass(u,s,l){this.next();const p=this.state.strict;return this.state.strict=!0,this.parseClassId(u,s,l),this.parseClassSuper(u),u.body=this.parseClassBody(!!u.superClass,p),this.finishNode(u,s?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(u){return u.type==="Identifier"&&u.name==="constructor"||u.type==="StringLiteral"&&u.value==="constructor"}isNonstaticConstructor(u){return!u.computed&&!u.static&&this.nameIsConstructor(u.key)}parseClassBody(u,s){this.classScope.enter();const l={hadConstructor:!1,hadSuperClass:u};let p=[];const S=this.startNode();if(S.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(p.length>0)throw this.raise(g.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){p.push(this.parseDecorator());continue}const P=this.startNode();p.length&&(P.decorators=p,this.resetStartLocationFromNode(P,p[0]),p=[]),this.parseClassMember(S,P,l),P.kind==="constructor"&&P.decorators&&P.decorators.length>0&&this.raise(g.DecoratorConstructor,P)}}),this.state.strict=s,this.next(),p.length)throw this.raise(g.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(S,"ClassBody")}parseClassMemberFromModifier(u,s){const l=this.parseIdentifier(!0);if(this.isClassMethod()){const p=s;return p.kind="method",p.computed=!1,p.key=l,p.static=!1,this.pushClassMethod(u,p,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const p=s;return p.computed=!1,p.key=l,p.static=!1,u.body.push(this.parseClassProperty(p)),!0}return this.resetPreviousNodeTrailingComments(l),!1}parseClassMember(u,s,l){const p=this.isContextual(106);if(p){if(this.parseClassMemberFromModifier(u,s))return;if(this.eat(5)){this.parseClassStaticBlock(u,s);return}}this.parseClassMemberWithIsStatic(u,s,l,p)}parseClassMemberWithIsStatic(u,s,l,p){const S=s,P=s,O=s,D=s,$=s,F=S,W=S;if(s.static=p,this.parsePropertyNamePrefixOperator(s),this.eat(55)){F.kind="method";const ye=this.match(138);if(this.parseClassElementName(F),ye){this.pushClassPrivateMethod(u,P,!0,!1);return}this.isNonstaticConstructor(S)&&this.raise(g.ConstructorIsGenerator,S.key),this.pushClassMethod(u,S,!0,!1,!1,!1);return}const K=!this.state.containsEsc&&j(this.state.type),J=this.parseClassElementName(s),ae=K?J.name:null,Se=this.isPrivateName(J),mt=this.state.startLoc;if(this.parsePostMemberNameModifiers(W),this.isClassMethod()){if(F.kind="method",Se){this.pushClassPrivateMethod(u,P,!1,!1);return}const ye=this.isNonstaticConstructor(S);let Le=!1;ye&&(S.kind="constructor",l.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(g.DuplicateConstructor,J),ye&&this.hasPlugin("typescript")&&s.override&&this.raise(g.OverrideOnConstructor,J),l.hadConstructor=!0,Le=l.hadSuperClass),this.pushClassMethod(u,S,!1,!1,ye,Le)}else if(this.isClassProperty())Se?this.pushClassPrivateProperty(u,D):this.pushClassProperty(u,O);else if(ae==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(J);const ye=this.eat(55);W.optional&&this.unexpected(mt),F.kind="method";const Le=this.match(138);this.parseClassElementName(F),this.parsePostMemberNameModifiers(W),Le?this.pushClassPrivateMethod(u,P,ye,!0):(this.isNonstaticConstructor(S)&&this.raise(g.ConstructorIsAsync,S.key),this.pushClassMethod(u,S,ye,!0,!1,!1))}else if((ae==="get"||ae==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(J),F.kind=ae;const ye=this.match(138);this.parseClassElementName(S),ye?this.pushClassPrivateMethod(u,P,!1,!1):(this.isNonstaticConstructor(S)&&this.raise(g.ConstructorIsAccessor,S.key),this.pushClassMethod(u,S,!1,!1,!1,!1)),this.checkGetterSetterParams(S)}else if(ae==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(J);const ye=this.match(138);this.parseClassElementName(O),this.pushClassAccessorProperty(u,$,ye)}else this.isLineTerminator()?Se?this.pushClassPrivateProperty(u,D):this.pushClassProperty(u,O):this.unexpected()}parseClassElementName(u){const{type:s,value:l}=this.state;if((s===132||s===133)&&u.static&&l==="prototype"&&this.raise(g.StaticPrototype,this.state.startLoc),s===138){l==="constructor"&&this.raise(g.ConstructorClassPrivateField,this.state.startLoc);const p=this.parsePrivateName();return u.key=p,p}return this.parsePropertyName(u),u.key}parseClassStaticBlock(u,s){var l;this.scope.enter(208);const p=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const S=s.body=[];this.parseBlockOrModuleBlockBody(S,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=p,u.body.push(this.finishNode(s,"StaticBlock")),(l=s.decorators)!=null&&l.length&&this.raise(g.DecoratorStaticBlock,s)}pushClassProperty(u,s){!s.computed&&this.nameIsConstructor(s.key)&&this.raise(g.ConstructorClassField,s.key),u.body.push(this.parseClassProperty(s))}pushClassPrivateProperty(u,s){const l=this.parseClassPrivateProperty(s);u.body.push(l),this.classScope.declarePrivateName(this.getPrivateNameSV(l.key),0,l.key.loc.start)}pushClassAccessorProperty(u,s,l){!l&&!s.computed&&this.nameIsConstructor(s.key)&&this.raise(g.ConstructorClassField,s.key);const p=this.parseClassAccessorProperty(s);u.body.push(p),l&&this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),0,p.key.loc.start)}pushClassMethod(u,s,l,p,S,P){u.body.push(this.parseMethod(s,l,p,S,P,"ClassMethod",!0))}pushClassPrivateMethod(u,s,l,p){const S=this.parseMethod(s,l,p,!1,!1,"ClassPrivateMethod",!0);u.body.push(S);const P=S.kind==="get"?S.static?6:2:S.kind==="set"?S.static?5:1:0;this.declareClassPrivateMethodInScope(S,P)}declareClassPrivateMethodInScope(u,s){this.classScope.declarePrivateName(this.getPrivateNameSV(u.key),s,u.key.loc.start)}parsePostMemberNameModifiers(u){}parseClassPrivateProperty(u){return this.parseInitializer(u),this.semicolon(),this.finishNode(u,"ClassPrivateProperty")}parseClassProperty(u){return this.parseInitializer(u),this.semicolon(),this.finishNode(u,"ClassProperty")}parseClassAccessorProperty(u){return this.parseInitializer(u),this.semicolon(),this.finishNode(u,"ClassAccessorProperty")}parseInitializer(u){this.scope.enter(80),this.expressionScope.enter(eg()),this.prodParam.enter(0),u.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(u,s,l,p=8331){if(j(this.state.type))u.id=this.parseIdentifier(),s&&this.declareNameFromIdentifier(u.id,p);else if(l||!s)u.id=null;else throw this.raise(g.MissingClassName,this.state.startLoc)}parseClassSuper(u){u.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(u,s){const l=this.parseMaybeImportPhase(u,!0),p=this.maybeParseExportDefaultSpecifier(u,l),S=!p||this.eat(12),P=S&&this.eatExportStar(u),O=P&&this.maybeParseExportNamespaceSpecifier(u),D=S&&(!O||this.eat(12)),$=p||P;if(P&&!O){if(p&&this.unexpected(),s)throw this.raise(g.UnsupportedDecoratorExport,u);return this.parseExportFrom(u,!0),this.finishNode(u,"ExportAllDeclaration")}const F=this.maybeParseExportNamedSpecifiers(u);p&&S&&!P&&!F&&this.unexpected(null,5),O&&D&&this.unexpected(null,98);let W;if($||F){if(W=!1,s)throw this.raise(g.UnsupportedDecoratorExport,u);this.parseExportFrom(u,$)}else W=this.maybeParseExportDeclaration(u);if($||F||W){var K;const J=u;if(this.checkExport(J,!0,!1,!!J.source),((K=J.declaration)==null?void 0:K.type)==="ClassDeclaration")this.maybeTakeDecorators(s,J.declaration,J);else if(s)throw this.raise(g.UnsupportedDecoratorExport,u);return this.finishNode(J,"ExportNamedDeclaration")}if(this.eat(65)){const J=u,ae=this.parseExportDefaultExpression();if(J.declaration=ae,ae.type==="ClassDeclaration")this.maybeTakeDecorators(s,ae,J);else if(s)throw this.raise(g.UnsupportedDecoratorExport,u);return this.checkExport(J,!0,!0),this.finishNode(J,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(u){return this.eat(55)}maybeParseExportDefaultSpecifier(u,s){if(s||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",s==null?void 0:s.loc.start);const l=s||this.parseIdentifier(!0),p=this.startNodeAtNode(l);return p.exported=l,u.specifiers=[this.finishNode(p,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(u){if(this.isContextual(93)){var s,l;(l=(s=u).specifiers)!=null||(s.specifiers=[]);const p=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),p.exported=this.parseModuleExportName(),u.specifiers.push(this.finishNode(p,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(u){if(this.match(5)){const s=u;s.specifiers||(s.specifiers=[]);const l=s.exportKind==="type";return s.specifiers.push(...this.parseExportSpecifiers(l)),s.source=null,s.declaration=null,this.hasPlugin("importAssertions")&&(s.assertions=[]),!0}return!1}maybeParseExportDeclaration(u){return this.shouldParseExportDeclaration()?(u.specifiers=[],u.source=null,this.hasPlugin("importAssertions")&&(u.assertions=[]),u.declaration=this.parseExportDeclaration(u),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const u=this.nextTokenInLineStart();return this.isUnparsedContextual(u,"function")}parseExportDefaultExpression(){const u=this.startNode();if(this.match(68))return this.next(),this.parseFunction(u,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(u,13);if(this.match(80))return this.parseClass(u,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(g.UnsupportedDefaultExport,this.state.startLoc);const s=this.parseMaybeAssignAllowIn();return this.semicolon(),s}parseExportDeclaration(u){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:u}=this.state;if(j(u)){if(u===95&&!this.state.containsEsc||u===100)return!1;if((u===130||u===129)&&!this.state.containsEsc){const{type:p}=this.lookahead();if(j(p)&&p!==98||p===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const s=this.nextTokenStart(),l=this.isUnparsedContextual(s,"from");if(this.input.charCodeAt(s)===44||j(this.state.type)&&l)return!0;if(this.match(65)&&l){const p=this.input.charCodeAt(this.nextTokenStartSince(s+4));return p===34||p===39}return!1}parseExportFrom(u,s){this.eatContextual(98)?(u.source=this.parseImportSource(),this.checkExport(u),this.maybeParseImportAttributes(u),this.checkJSONModuleImport(u)):s&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:u}=this.state;return u===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(g.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(g.UsingDeclarationExport,this.state.startLoc),!0):u===74||u===75||u===68||u===80||this.isLet()||this.isAsyncFunction()}checkExport(u,s,l,p){if(s){var S;if(l){if(this.checkDuplicateExports(u,"default"),this.hasPlugin("exportDefaultFrom")){var P;const O=u.declaration;O.type==="Identifier"&&O.name==="from"&&O.end-O.start===4&&!((P=O.extra)!=null&&P.parenthesized)&&this.raise(g.ExportDefaultFromAsIdentifier,O)}}else if((S=u.specifiers)!=null&&S.length)for(const O of u.specifiers){const{exported:D}=O,$=D.type==="Identifier"?D.name:D.value;if(this.checkDuplicateExports(O,$),!p&&O.local){const{local:F}=O;F.type!=="Identifier"?this.raise(g.ExportBindingIsString,O,{localName:F.value,exportName:$}):(this.checkReservedWord(F.name,F.loc.start,!0,!1),this.scope.checkLocalExport(F))}}else if(u.declaration){const O=u.declaration;if(O.type==="FunctionDeclaration"||O.type==="ClassDeclaration"){const{id:D}=O;if(!D)throw new Error("Assertion failure");this.checkDuplicateExports(u,D.name)}else if(O.type==="VariableDeclaration")for(const D of O.declarations)this.checkDeclaration(D.id)}}}checkDeclaration(u){if(u.type==="Identifier")this.checkDuplicateExports(u,u.name);else if(u.type==="ObjectPattern")for(const s of u.properties)this.checkDeclaration(s);else if(u.type==="ArrayPattern")for(const s of u.elements)s&&this.checkDeclaration(s);else u.type==="ObjectProperty"?this.checkDeclaration(u.value):u.type==="RestElement"?this.checkDeclaration(u.argument):u.type==="AssignmentPattern"&&this.checkDeclaration(u.left)}checkDuplicateExports(u,s){this.exportedIdentifiers.has(s)&&(s==="default"?this.raise(g.DuplicateDefaultExport,u):this.raise(g.DuplicateExport,u,{exportName:s})),this.exportedIdentifiers.add(s)}parseExportSpecifiers(u){const s=[];let l=!0;for(this.expect(5);!this.eat(8);){if(l)l=!1;else if(this.expect(12),this.eat(8))break;const p=this.isContextual(130),S=this.match(133),P=this.startNode();P.local=this.parseModuleExportName(),s.push(this.parseExportSpecifier(P,S,u,p))}return s}parseExportSpecifier(u,s,l,p){return this.eatContextual(93)?u.exported=this.parseModuleExportName():s?u.exported=FT(u.local):u.exported||(u.exported=or(u.local)),this.finishNode(u,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const u=this.parseStringLiteral(this.state.value),s=c_.exec(u.value);return s&&this.raise(g.ModuleExportNameHasLoneSurrogate,u,{surrogateCharCode:s[0].charCodeAt(0)}),u}return this.parseIdentifier(!0)}isJSONModuleImport(u){return u.assertions!=null?u.assertions.some(({key:s,value:l})=>l.value==="json"&&(s.type==="Identifier"?s.name==="type":s.value==="type")):!1}checkImportReflection(u){const{specifiers:s}=u,l=s.length===1?s[0].type:null;if(u.phase==="source")l!=="ImportDefaultSpecifier"&&this.raise(g.SourcePhaseImportRequiresDefault,s[0].loc.start);else if(u.phase==="defer")l!=="ImportNamespaceSpecifier"&&this.raise(g.DeferImportRequiresNamespace,s[0].loc.start);else if(u.module){var p;l!=="ImportDefaultSpecifier"&&this.raise(g.ImportReflectionNotBinding,s[0].loc.start),((p=u.assertions)==null?void 0:p.length)>0&&this.raise(g.ImportReflectionHasAssertion,s[0].loc.start)}}checkJSONModuleImport(u){if(this.isJSONModuleImport(u)&&u.type!=="ExportAllDeclaration"){const{specifiers:s}=u;if(s!=null){const l=s.find(p=>{let S;if(p.type==="ExportSpecifier"?S=p.local:p.type==="ImportSpecifier"&&(S=p.imported),S!==void 0)return S.type==="Identifier"?S.name!=="default":S.value!=="default"});l!==void 0&&this.raise(g.ImportJSONBindingNotDefault,l.loc.start)}}}isPotentialImportPhase(u){return u?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(u,s,l,p){s||(l==="module"?(this.expectPlugin("importReflection",p),u.module=!0):this.hasPlugin("importReflection")&&(u.module=!1),l==="source"?(this.expectPlugin("sourcePhaseImports",p),u.phase="source"):l==="defer"?(this.expectPlugin("deferredImportEvaluation",p),u.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(u.phase=null))}parseMaybeImportPhase(u,s){if(!this.isPotentialImportPhase(s))return this.applyImportPhase(u,s,null),null;const l=this.parseIdentifier(!0),{type:p}=this.state;return(oe(p)?p!==98||this.lookaheadCharCode()===102:p!==12)?(this.resetPreviousIdentifierLeadingComments(l),this.applyImportPhase(u,s,l.name,l.loc.start),null):(this.applyImportPhase(u,s,null),l)}isPrecedingIdImportPhase(u){const{type:s}=this.state;return j(s)?s!==98||this.lookaheadCharCode()===102:s!==12}parseImport(u){return this.match(133)?this.parseImportSourceAndAttributes(u):this.parseImportSpecifiersAndAfter(u,this.parseMaybeImportPhase(u,!1))}parseImportSpecifiersAndAfter(u,s){u.specifiers=[];const p=!this.maybeParseDefaultImportSpecifier(u,s)||this.eat(12),S=p&&this.maybeParseStarImportSpecifier(u);return p&&!S&&this.parseNamedImportSpecifiers(u),this.expectContextual(98),this.parseImportSourceAndAttributes(u)}parseImportSourceAndAttributes(u){var s;return(s=u.specifiers)!=null||(u.specifiers=[]),u.source=this.parseImportSource(),this.maybeParseImportAttributes(u),this.checkImportReflection(u),this.checkJSONModuleImport(u),this.semicolon(),this.finishNode(u,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(u,s,l){s.local=this.parseIdentifier(),u.specifiers.push(this.finishImportSpecifier(s,l))}finishImportSpecifier(u,s,l=8201){return this.checkLVal(u.local,{type:s},l),this.finishNode(u,s)}parseImportAttributes(){this.expect(5);const u=[],s=new Set;do{if(this.match(8))break;const l=this.startNode(),p=this.state.value;if(s.has(p)&&this.raise(g.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:p}),s.add(p),this.match(133)?l.key=this.parseStringLiteral(p):l.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);l.value=this.parseStringLiteral(this.state.value),u.push(this.finishNode(l,"ImportAttribute"))}while(this.eat(12));return this.expect(8),u}parseModuleAttributes(){const u=[],s=new Set;do{const l=this.startNode();if(l.key=this.parseIdentifier(!0),l.key.name!=="type"&&this.raise(g.ModuleAttributeDifferentFromType,l.key),s.has(l.key.name)&&this.raise(g.ModuleAttributesWithDuplicateKeys,l.key,{key:l.key.name}),s.add(l.key.name),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);l.value=this.parseStringLiteral(this.state.value),u.push(this.finishNode(l,"ImportAttribute"))}while(this.eat(12));return u}maybeParseImportAttributes(u){let s,l=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?s=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),s=this.parseImportAttributes()),l=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(g.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(u,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),s=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))s=[];else if(this.hasPlugin("moduleAttributes"))s=[];else return;!l&&this.hasPlugin("importAssertions")?u.assertions=s:u.attributes=s}maybeParseDefaultImportSpecifier(u,s){if(s){const l=this.startNodeAtNode(s);return l.local=s,u.specifiers.push(this.finishImportSpecifier(l,"ImportDefaultSpecifier")),!0}else if(oe(this.state.type))return this.parseImportSpecifierLocal(u,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(u){if(this.match(55)){const s=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(u,s,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(u){let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else{if(this.eat(14))throw this.raise(g.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const l=this.startNode(),p=this.match(133),S=this.isContextual(130);l.imported=this.parseModuleExportName();const P=this.parseImportSpecifier(l,p,u.importKind==="type"||u.importKind==="typeof",S,void 0);u.specifiers.push(P)}}parseImportSpecifier(u,s,l,p,S){if(this.eatContextual(93))u.local=this.parseIdentifier();else{const{imported:P}=u;if(s)throw this.raise(g.ImportBindingIsString,u,{importName:P.value});this.checkReservedWord(P.name,u.loc.start,!0,!0),u.local||(u.local=or(P))}return this.finishImportSpecifier(u,"ImportSpecifier",S)}isThisParam(u){return u.type==="Identifier"&&u.name==="this"}}class hg extends f_{constructor(u,s,l){u=o_(u),super(u,s),this.options=u,this.initializeScopes(),this.plugins=l,this.filename=u.sourceFilename}getScopeHandler(){return Ac}parse(){this.enterInitialScopes();const u=this.startNode(),s=this.startNode();return this.nextToken(),u.errors=null,this.parseTopLevel(u,s),u.errors=this.state.errors,u.comments.length=this.state.commentsLen,u}}function p_(_,u){var s;if(((s=u)==null?void 0:s.sourceType)==="unambiguous"){u=Object.assign({},u);try{u.sourceType="module";const l=bi(u,_),p=l.parse();if(l.sawUnambiguousESM)return p;if(l.ambiguousScriptDifferentAst)try{return u.sourceType="script",bi(u,_).parse()}catch(S){}else p.program.sourceType="script";return p}catch(l){try{return u.sourceType="script",bi(u,_).parse()}catch(p){}throw l}}else return bi(u,_).parse()}function d_(_,u){const s=bi(u,_);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function m_(_){const u={};for(const s of Object.keys(_))u[s]=kt(_[s]);return u}const g_=m_(te);function bi(_,u){let s=hg;const l=new Map;if(_!=null&&_.plugins){for(const p of _.plugins){let S,P;typeof p=="string"?S=p:[S,P]=p,l.has(S)||l.set(S,P||{})}n_(l),s=y_(l)}return new s(_,u,l)}const fg=new Map;function y_(_){const u=[];for(const p of a_)_.has(p)&&u.push(p);const s=u.join("|");let l=fg.get(s);if(!l){l=hg;for(const p of u)l=cg[p](l);fg.set(s,l)}return l}return Yr.parse=p_,Yr.parseExpression=d_,Yr.tokTypes=g_,Yr}var Dt=fy();class py{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,r,i,n){e&&(i!==null?e[r][i]=n:e[r]=n)}remove(e,r,i){e&&(i!==null?e[r].splice(i,1):delete e[r])}}class dy extends py{constructor(e,r){super(),this.enter=e,this.leave=r}visit(e,r,i,n){if(e){if(this.enter){const a=this.should_skip,o=this.should_remove,h=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,r,i,n),this.replacement&&(e=this.replacement,this.replace(r,i,n,e)),this.should_remove&&this.remove(r,i,n);const c=this.should_skip,d=this.should_remove;if(this.should_skip=a,this.should_remove=o,this.replacement=h,c)return e;if(d)return null}for(const a in e){const o=e[a];if(typeof o=="object")if(Array.isArray(o))for(let h=0;h<o.length;h+=1)o[h]!==null&&typeof o[h].type=="string"&&(this.visit(o[h],e,a,h)||h--);else o!==null&&typeof o.type=="string"&&this.visit(o,e,a,null)}if(this.leave){const a=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,r,i,n),this.replacement&&(e=this.replacement,this.replace(r,i,n,e)),this.should_remove&&this.remove(r,i,n);const h=this.should_remove;if(this.replacement=a,this.should_remove=o,h)return null}}return e}}function oo(t,{enter:e,leave:r}){return new dy(e,r).visit(t,null)}function Gi(t,e,r=!1,i=[],n=Object.create(null)){const a=t.type==="Program"?t.body[0].type==="ExpressionStatement"&&t.body[0].expression:t;oo(t,{enter(o,h){if(h&&i.push(h),h&&h.type.startsWith("TS")&&!Xi.includes(h.type))return this.skip();if(o.type==="Identifier"){const c=!!n[o.name],d=uo(o,h,i);(r||d&&!c)&&e(o,h,i,d,c)}else if(o.type==="ObjectProperty"&&(h==null?void 0:h.type)==="ObjectPattern")o.inPattern=!0;else if(dr(o))o.scopeIds?o.scopeIds.forEach(c=>co(c,n)):lo(o,c=>Wi(o,c,n));else if(o.type==="BlockStatement")o.scopeIds?o.scopeIds.forEach(c=>co(c,n)):mh(o,c=>Wi(o,c,n));else if(o.type==="CatchClause"&&o.param)for(const c of It(o.param))Wi(o,c,n);else gh(o)&&yh(o,!1,c=>Wi(o,c,n))},leave(o,h){if(h&&i.pop(),o!==a&&o.scopeIds)for(const c of o.scopeIds)n[c]--,n[c]===0&&delete n[c]}})}function uo(t,e,r){if(!e)return!0;if(t.name==="arguments")return!1;if(my(t,e))return!0;switch(e.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return zi(e,r)}return!1}function zi(t,e){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let r=e.length;for(;r--;){const i=e[r];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function dh(t){let e=t.length;for(;e--;){const r=t[e];if(r.type==="NewExpression")return!0;if(r.type!=="MemberExpression")break}return!1}function lo(t,e){for(const r of t.params)for(const i of It(r))e(i)}function mh(t,e){for(const r of t.body)if(r.type==="VariableDeclaration"){if(r.declare)continue;for(const i of r.declarations)for(const n of It(i.id))e(n)}else if(r.type==="FunctionDeclaration"||r.type==="ClassDeclaration"){if(r.declare||!r.id)continue;e(r.id)}else gh(r)&&yh(r,!0,e)}function gh(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function yh(t,e,r){const i=t.type==="ForStatement"?t.init:t.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?e:!e))for(const n of i.declarations)for(const a of It(n.id))r(a)}function It(t,e=[]){switch(t.type){case"Identifier":e.push(t);break;case"MemberExpression":let r=t;for(;r.type==="MemberExpression";)r=r.object;e.push(r);break;case"ObjectPattern":for(const i of t.properties)i.type==="RestElement"?It(i.argument,e):It(i.value,e);break;case"ArrayPattern":t.elements.forEach(i=>{i&&It(i,e)});break;case"RestElement":It(t.argument,e);break;case"AssignmentPattern":It(t.left,e);break}return e}function co(t,e){t in e?e[t]++:e[t]=1}function Wi(t,e,r){const{name:i}=e;t.scopeIds&&t.scopeIds.has(i)||(co(i,r),(t.scopeIds||(t.scopeIds=new Set)).add(i))}const dr=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),Hi=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,bh=(t,e)=>Hi(e)&&e.key===t;function my(t,e,r){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!r;case"ClassProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;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 e.local===t;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 e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}const Xi=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function vt(t){return Xi.includes(t.type)?vt(t.expression):t}const Ke=t=>t.type===4&&t.isStatic;function ho(t){switch(t){case"Teleport":case"teleport":return wr;case"Suspense":case"suspense":return zr;case"KeepAlive":case"keep-alive":return _s;case"BaseTransition":case"base-transition":return Ha}}const gy=/^\d|[^\$\w\xA0-\uFFFF]/,Jt=t=>!gy.test(t),yy=/[A-Za-z_$\xA0-\uFFFF]/,by=/[\.\?\w$\xA0-\uFFFF]/,vy=/\s+[.[]\s*|\s*[.[]\s+/g,Ki=t=>t.type===4?t.content:t.loc.source,Sy=t=>{const e=Ki(t).trim().replace(vy,h=>h.trim());let r=0,i=[],n=0,a=0,o=null;for(let h=0;h<e.length;h++){const c=e.charAt(h);switch(r){case 0:if(c==="[")i.push(r),r=1,n++;else if(c==="(")i.push(r),r=2,a++;else if(!(h===0?yy:by).test(c))return!1;break;case 1:c==="'"||c==='"'||c==="`"?(i.push(r),r=3,o=c):c==="["?n++:c==="]"&&(--n||(r=i.pop()));break;case 2:if(c==="'"||c==='"'||c==="`")i.push(r),r=3,o=c;else if(c==="(")a++;else if(c===")"){if(h===e.length-1)return!1;--a||(r=i.pop())}break;case 3:c===o&&(r=i.pop(),o=null);break}}return!n&&!a},vh=(t,e)=>{try{let r=t.ast||Dt.parseExpression(Ki(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r=vt(r),r.type==="MemberExpression"||r.type==="OptionalMemberExpression"||r.type==="Identifier"&&r.name!=="undefined"}catch(r){return!1}},fo=vh,xy=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ey=t=>xy.test(Ki(t)),Sh=(t,e)=>{try{let r=t.ast||Dt.parseExpression(Ki(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r.type==="Program"&&(r=r.body[0],r.type==="ExpressionStatement"&&(r=r.expression)),r=vt(r),r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}catch(r){return!1}},xh=Sh;function po(t,e,r=e.length){return mo({offset:t.offset,line:t.line,column:t.column},e,r)}function mo(t,e,r=e.length){let i=0,n=-1;for(let a=0;a<r;a++)e.charCodeAt(a)===10&&(i++,n=a);return t.offset+=r,t.line+=i,t.column=n===-1?t.column+r:r-n,t}function go(t,e){if(!t)throw new Error(e||"unexpected compiler condition")}function Ue(t,e,r=!1){for(let i=0;i<t.props.length;i++){const n=t.props[i];if(n.type===7&&(r||n.exp)&&(ge(e)?n.name===e:e.test(n.name)))return n}}function ct(t,e,r=!1,i=!1){for(let n=0;n<t.props.length;n++){const a=t.props[n];if(a.type===6){if(r)continue;if(a.name===e&&(a.value||i))return a}else if(a.name==="bind"&&(a.exp||i)&&Ft(a.arg,e))return a}}function Ft(t,e){return!!(t&&Ke(t)&&t.content===e)}function Ji(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Ms(t){return t.type===5||t.type===2}function yo(t){return t.type===7&&t.name==="slot"}function Qr(t){return t.type===1&&t.tagType===3}function Zr(t){return t.type===1&&t.tagType===2}const wy=new Set([Hr,Xr]);function Eh(t,e=[]){if(t&&!ge(t)&&t.type===14){const r=t.callee;if(!ge(r)&&wy.has(r))return Eh(t.arguments[0],e.concat(t))}return[t,e]}function Rs(t,e,r){let i,n=t.type===13?t.props:t.arguments[2],a=[],o;if(n&&!ge(n)&&n.type===14){const h=Eh(n);n=h[0],a=h[1],o=a[a.length-1]}if(n==null||ge(n))i=lt([e]);else if(n.type===14){const h=n.arguments[0];!ge(h)&&h.type===15?wh(e,h)||h.properties.unshift(e):n.callee===Li?i=ce(r.helper(Tr),[lt([e]),n]):n.arguments.unshift(lt([e])),!i&&(i=n)}else n.type===15?(wh(e,n)||n.properties.unshift(e),i=n):(i=ce(r.helper(Tr),[lt([e]),n]),o&&o.callee===Xr&&(o=a[a.length-2]));t.type===13?o?o.arguments[0]=i:t.props=i:o?o.arguments[0]=i:t.arguments[2]=i}function wh(t,e){let r=!1;if(t.key.type===4){const i=t.key.content;r=e.properties.some(n=>n.key.type===4&&n.key.content===i)}return r}function Ds(t,e){return`_${e}_${t.replace(/[^\w]/g,(r,i)=>r==="-"?"_":t.charCodeAt(i).toString())}`}function ht(t,e){if(!t||Object.keys(e).length===0)return!1;switch(t.type){case 1:for(let r=0;r<t.props.length;r++){const i=t.props[r];if(i.type===7&&(ht(i.arg,e)||ht(i.exp,e)))return!0}return t.children.some(r=>ht(r,e));case 11:return ht(t.source,e)?!0:t.children.some(r=>ht(r,e));case 9:return t.branches.some(r=>ht(r,e));case 10:return ht(t.condition,e)?!0:t.children.some(r=>ht(r,e));case 4:return!t.isStatic&&Jt(t.content)&&!!e[t.content];case 8:return t.children.some(r=>lr(r)&&ht(r,e));case 5:case 12:return ht(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function Th(t){return t.type===14&&t.callee===Fi?t.arguments[1].returns:t}const _h=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Ph={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Xt,isPreTag:Xt,isIgnoreNewlineTag:Xt,isCustomElement:Xt,onError:no,onWarn:fh,comments:!0,prefixIdentifiers:!1};let Pe=Ph,Yi=null,Yt="",Qe=null,xe=null,Tt="",Qt=-1,Cr=-1,bo=0,mr=!1,vo=null;const Fe=[],Ce=new ay(Fe,{onerr:it,ontext(t,e){Qi(Ze(t,e),t,e)},ontextentity(t,e,r){Qi(t,e,r)},oninterpolation(t,e){if(mr)return Qi(Ze(t,e),t,e);let r=t+Ce.delimiterOpen.length,i=e-Ce.delimiterClose.length;for(;bt(Yt.charCodeAt(r));)r++;for(;bt(Yt.charCodeAt(i-1));)i--;let n=Ze(r,i);n.includes("&")&&(n=ny(n)),So({type:5,content:en(n,!1,Be(r,i)),loc:Be(t,e)})},onopentagname(t,e){const r=Ze(t,e);Qe={type:1,tag:r,ns:Pe.getNamespace(r,Fe[0],Pe.ns),tagType:0,props:[],children:[],loc:Be(t-1,e),codegenNode:void 0}},onopentagend(t){Ch(t)},onclosetag(t,e){const r=Ze(t,e);if(!Pe.isVoidTag(r)){let i=!1;for(let n=0;n<Fe.length;n++)if(Fe[n].tag.toLowerCase()===r.toLowerCase()){i=!0,n>0&&it(24,Fe[0].loc.start.offset);for(let o=0;o<=n;o++){const h=Fe.shift();Zi(h,e,o<n)}break}i||it(23,Ih(t,60))}},onselfclosingtag(t){const e=Qe.tag;Qe.isSelfClosing=!0,Ch(t),Fe[0]&&Fe[0].tag===e&&Zi(Fe.shift(),t)},onattribname(t,e){xe={type:6,name:Ze(t,e),nameLoc:Be(t,e),value:void 0,loc:Be(t)}},ondirname(t,e){const r=Ze(t,e),i=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!mr&&i===""&&it(26,t),mr||i==="")xe={type:6,name:r,nameLoc:Be(t,e),value:void 0,loc:Be(t)};else if(xe={type:7,name:i,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[Y("prop")]:[],loc:Be(t)},i==="pre"){mr=Ce.inVPre=!0,vo=Qe;const n=Qe.props;for(let a=0;a<n.length;a++)n[a].type===7&&(n[a]=Ry(n[a]))}},ondirarg(t,e){if(t===e)return;const r=Ze(t,e);if(mr)xe.name+=r,Ir(xe.nameLoc,e);else{const i=r[0]!=="[";xe.arg=en(i?r:r.slice(1,-1),i,Be(t,e),i?3:0)}},ondirmodifier(t,e){const r=Ze(t,e);if(mr)xe.name+="."+r,Ir(xe.nameLoc,e);else if(xe.name==="slot"){const i=xe.arg;i&&(i.content+="."+r,Ir(i.loc,e))}else{const i=Y(r,!0,Be(t,e));xe.modifiers.push(i)}},onattribdata(t,e){Tt+=Ze(t,e),Qt<0&&(Qt=t),Cr=e},onattribentity(t,e,r){Tt+=t,Qt<0&&(Qt=e),Cr=r},onattribnameend(t){const e=xe.loc.start.offset,r=Ze(e,t);xe.type===7&&(xe.rawName=r),Qe.props.some(i=>(i.type===7?i.rawName:i.name)===r)&&it(2,e)},onattribend(t,e){if(Qe&&xe){if(Ir(xe.loc,e),t!==0)if(xe.type===6)xe.name==="class"&&(Tt=Oh(Tt).trim()),t===1&&!Tt&&it(13,e),xe.value={type:2,content:Tt,loc:t===1?Be(Qt,Cr):Be(Qt-1,Cr+1)},Ce.inSFCRoot&&Qe.tag==="template"&&xe.name==="lang"&&Tt&&Tt!=="html"&&Ce.enterRCDATA(ji("</template"),0);else{let r=0;xe.name==="for"?r=3:xe.name==="slot"?r=1:xe.name==="on"&&Tt.includes(";")&&(r=2),xe.exp=en(Tt,!1,Be(Qt,Cr),0,r),xe.name==="for"&&(xe.forParseResult=_y(xe.exp))}(xe.type!==7||xe.name!=="pre")&&Qe.props.push(xe)}Tt="",Qt=Cr=-1},oncomment(t,e){Pe.comments&&So({type:3,content:Ze(t,e),loc:Be(t-4,e+3)})},onend(){const t=Yt.length;if(Ce.state!==1)switch(Ce.state){case 5:case 8:it(5,t);break;case 3:case 4:it(25,Ce.sectionStart);break;case 28:Ce.currentSequence===Xe.CdataEnd?it(6,t):it(7,t);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:it(9,t);break}for(let e=0;e<Fe.length;e++)Zi(Fe[e],t-1),it(24,Fe[e].loc.start.offset)},oncdata(t,e){Fe[0].ns!==0?Qi(Ze(t,e),t,e):it(1,t-9)},onprocessinginstruction(t){(Fe[0]?Fe[0].ns:Pe.ns)===0&&it(21,t-1)}}),Ah=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ty=/^\(|\)$/g;function _y(t){const e=t.loc,r=t.content,i=r.match(_h);if(!i)return;const[,n,a]=i,o=(m,y,b=!1)=>{const x=e.start.offset+y,v=x+m.length;return en(m,!1,Be(x,v),0,b?1:0)},h={source:o(a.trim(),r.indexOf(a,n.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=n.trim().replace(Ty,"").trim();const d=n.indexOf(c),f=c.match(Ah);if(f){c=c.replace(Ah,"").trim();const m=f[1].trim();let y;if(m&&(y=r.indexOf(m,d+c.length),h.key=o(m,y,!0)),f[2]){const b=f[2].trim();b&&(h.index=o(b,r.indexOf(b,h.key?y+m.length:d+c.length),!0))}}return c&&(h.value=o(c,d,!0)),h}function Ze(t,e){return Yt.slice(t,e)}function Ch(t){Ce.inSFCRoot&&(Qe.innerLoc=Be(t+1,t+1)),So(Qe);const{tag:e,ns:r}=Qe;r===0&&Pe.isPreTag(e)&&bo++,Pe.isVoidTag(e)?Zi(Qe,t):(Fe.unshift(Qe),(r===1||r===2)&&(Ce.inXML=!0)),Qe=null}function Qi(t,e,r){const i=Fe[0]||Yi,n=i.children[i.children.length-1];n&&n.type===2?(n.content+=t,Ir(n.loc,r)):i.children.push({type:2,content:t,loc:Be(e,r)})}function Zi(t,e,r=!1){r?Ir(t.loc,Ih(e,60)):Ir(t.loc,Py(e,62)+1),Ce.inSFCRoot&&(t.children.length?t.innerLoc.end=Lt({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Lt({},t.innerLoc.start),t.innerLoc.source=Ze(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:n,children:a}=t;if(mr||(i==="slot"?t.tagType=2:Cy(t)?t.tagType=3:Iy(t)&&(t.tagType=1)),Ce.inRCDATA||(t.children=Nh(a)),n===0&&Pe.isIgnoreNewlineTag(i)){const o=a[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}n===0&&Pe.isPreTag(i)&&bo--,vo===t&&(mr=Ce.inVPre=!1,vo=null),Ce.inXML&&(Fe[0]?Fe[0].ns:Pe.ns)===0&&(Ce.inXML=!1)}function Py(t,e){let r=t;for(;Yt.charCodeAt(r)!==e&&r<Yt.length-1;)r++;return r}function Ih(t,e){let r=t;for(;Yt.charCodeAt(r)!==e&&r>=0;)r--;return r}const Ay=new Set(["if","else","else-if","for","slot"]);function Cy({tag:t,props:e}){if(t==="template"){for(let r=0;r<e.length;r++)if(e[r].type===7&&Ay.has(e[r].name))return!0}return!1}function Iy({tag:t,props:e}){if(Pe.isCustomElement(t))return!1;if(t==="component"||Ny(t.charCodeAt(0))||ho(t)||Pe.isBuiltInComponent&&Pe.isBuiltInComponent(t)||Pe.isNativeTag&&!Pe.isNativeTag(t))return!0;for(let r=0;r<e.length;r++){const i=e[r];if(i.type===6&&i.name==="is"&&i.value&&i.value.content.startsWith("vue:"))return!0}return!1}function Ny(t){return t>64&&t<91}const Oy=/\r\n/g;function Nh(t,e){const r=Pe.whitespace!=="preserve";let i=!1;for(let n=0;n<t.length;n++){const a=t[n];if(a.type===2)if(bo)a.content=a.content.replace(Oy,`
|
|
30
|
+
`);else if(ky(a.content)){const o=t[n-1]&&t[n-1].type,h=t[n+1]&&t[n+1].type;!o||!h||r&&(o===3&&(h===3||h===1)||o===1&&(h===3||h===1&&Ly(a.content)))?(i=!0,t[n]=null):a.content=" "}else r&&(a.content=Oh(a.content))}return i?t.filter(Boolean):t}function ky(t){for(let e=0;e<t.length;e++)if(!bt(t.charCodeAt(e)))return!1;return!0}function Ly(t){for(let e=0;e<t.length;e++){const r=t.charCodeAt(e);if(r===10||r===13)return!0}return!1}function Oh(t){let e="",r=!1;for(let i=0;i<t.length;i++)bt(t.charCodeAt(i))?r||(e+=" ",r=!0):(e+=t[i],r=!1);return e}function So(t){(Fe[0]||Yi).children.push(t)}function Be(t,e){return{start:Ce.getPos(t),end:e==null?e:Ce.getPos(e),source:e==null?e:Ze(t,e)}}function My(t){return Be(t.start.offset,t.end.offset)}function Ir(t,e){t.end=Ce.getPos(e),t.source=Ze(t.start.offset,e)}function Ry(t){const e={type:6,name:t.rawName,nameLoc:Be(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const r=t.exp.loc;r.end.offset<t.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),e.value={type:2,content:t.exp.content,loc:r}}return e}function en(t,e=!1,r,i=0,n=0){const a=Y(t,e,r,i);if(!e&&Pe.prefixIdentifiers&&n!==3&&t.trim()){if(Jt(t))return a.ast=null,a;try{const o=Pe.expressionPlugins,h={plugins:o?[...o,"typescript"]:["typescript"]};n===2?a.ast=Dt.parse(` ${t} `,h).program:n===1?a.ast=Dt.parseExpression(`(${t})=>{}`,h):a.ast=Dt.parseExpression(`(${t})`,h)}catch(o){a.ast=!1,it(45,r.start.offset,o.message)}}return a}function it(t,e,r){Pe.onError(be(t,Be(e,e),void 0,r))}function Dy(){Ce.reset(),Qe=null,xe=null,Tt="",Qt=-1,Cr=-1,Fe.length=0}function tn(t,e){if(Dy(),Yt=t,Pe=Lt({},Ph),e){let n;for(n in e)e[n]!=null&&(Pe[n]=e[n])}Pe.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),Ce.mode=Pe.parseMode==="html"?1:Pe.parseMode==="sfc"?2:0,Ce.inXML=Pe.ns===1||Pe.ns===2;const r=e&&e.delimiters;r&&(Ce.delimiterOpen=ji(r[0]),Ce.delimiterClose=ji(r[1]));const i=Yi=_r([],t);return Ce.parse(Yt),i.loc=Be(0,t.length),i.children=Nh(i.children),Yi=null,i}function Fy(t,e){rn(t,void 0,e,kh(t,t.children[0]))}function kh(t,e){const{children:r}=t;return r.length===1&&e.type===1&&!Zr(e)}function rn(t,e,r,i=!1,n=!1){const{children:a}=t,o=[];for(let f=0;f<a.length;f++){const m=a[f];if(m.type===1&&m.tagType===0){const y=i?0:ft(m,r);if(y>0){if(y>=2){m.codegenNode.patchFlag=-1,o.push(m);continue}}else{const b=m.codegenNode;if(b.type===13){const x=b.patchFlag;if((x===void 0||x===512||x===1)&&Mh(m,r)>=2){const v=Rh(m);v&&(b.props=r.hoist(v))}b.dynamicProps&&(b.dynamicProps=r.hoist(b.dynamicProps))}}}else if(m.type===12&&(i?0:ft(m,r))>=2){o.push(m);continue}if(m.type===1){const y=m.tagType===1;y&&r.scopes.vSlot++,rn(m,t,r,!1,n),y&&r.scopes.vSlot--}else if(m.type===11)rn(m,t,r,m.children.length===1,!0);else if(m.type===9)for(let y=0;y<m.branches.length;y++)rn(m.branches[y],t,r,m.branches[y].children.length===1,n)}let h=!1;if(o.length===a.length&&t.type===1){if(t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&qe(t.codegenNode.children))t.codegenNode.children=c(Kt(t.codegenNode.children)),h=!0;else if(t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!qe(t.codegenNode.children)&&t.codegenNode.children.type===15){const f=d(t.codegenNode,"default");f&&(f.returns=c(Kt(f.returns)),h=!0)}else if(t.tagType===3&&e&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!qe(e.codegenNode.children)&&e.codegenNode.children.type===15){const f=Ue(t,"slot",!0),m=f&&f.arg&&d(e.codegenNode,f.arg);m&&(m.returns=c(Kt(m.returns)),h=!0)}}if(!h)for(const f of o)f.codegenNode=r.cache(f.codegenNode);function c(f){const m=r.cache(f);return n&&r.hmr&&(m.needArraySpread=!0),m}function d(f,m){if(f.children&&!qe(f.children)&&f.children.type===15){const y=f.children.properties.find(b=>b.key===m||b.key.content===m);return y&&y.value}}o.length&&r.transformHoist&&r.transformHoist(a,r,t)}function ft(t,e){const{constantCache:r}=e;switch(t.type){case 1:if(t.tagType!==0)return 0;const i=r.get(t);if(i!==void 0)return i;const n=t.codegenNode;if(n.type!==13||n.isBlock&&t.tag!=="svg"&&t.tag!=="foreignObject"&&t.tag!=="math")return 0;if(n.patchFlag===void 0){let o=3;const h=Mh(t,e);if(h===0)return r.set(t,0),0;h<o&&(o=h);for(let c=0;c<t.children.length;c++){const d=ft(t.children[c],e);if(d===0)return r.set(t,0),0;d<o&&(o=d)}if(o>1)for(let c=0;c<t.props.length;c++){const d=t.props[c];if(d.type===7&&d.name==="bind"&&d.exp){const f=ft(d.exp,e);if(f===0)return r.set(t,0),0;f<o&&(o=f)}}if(n.isBlock){for(let c=0;c<t.props.length;c++)if(t.props[c].type===7)return r.set(t,0),0;e.removeHelper(hr),e.removeHelper(Ar(e.inSSR,n.isComponent)),n.isBlock=!1,e.helper(Pr(e.inSSR,n.isComponent))}return r.set(t,o),o}else return r.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ft(t.content,e);case 4:return t.constType;case 8:let a=3;for(let o=0;o<t.children.length;o++){const h=t.children[o];if(ge(h)||ur(h))continue;const c=ft(h,e);if(c===0)return 0;c<a&&(a=c)}return a;case 20:return 2;default:return 0}}const By=new Set([Oi,ki,Hr,Xr]);function Lh(t,e){if(t.type===14&&!ge(t.callee)&&By.has(t.callee)){const r=t.arguments[0];if(r.type===4)return ft(r,e);if(r.type===14)return Lh(r,e)}return 0}function Mh(t,e){let r=3;const i=Rh(t);if(i&&i.type===15){const{properties:n}=i;for(let a=0;a<n.length;a++){const{key:o,value:h}=n[a],c=ft(o,e);if(c===0)return c;c<r&&(r=c);let d;if(h.type===4?d=ft(h,e):h.type===14?d=Lh(h,e):d=0,d===0)return d;d<r&&(r=d)}}return r}function Rh(t){const e=t.codegenNode;if(e.type===13)return e.props}function Fs(t,{filename:e="",prefixIdentifiers:r=!1,hoistStatic:i=!1,hmr:n=!1,cacheHandlers:a=!1,nodeTransforms:o=[],directiveTransforms:h={},transformHoist:c=null,isBuiltInComponent:d=At,isCustomElement:f=At,expressionPlugins:m=[],scopeId:y=null,slotted:b=!0,ssr:x=!1,inSSR:v=!1,ssrCssVars:g="",bindingMetadata:T=ws,inline:E=!1,isTS:C=!1,onError:N=no,onWarn:A=fh,compatConfig:L}){const R=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),w={filename:e,selfName:R&&cr(ot(R[1])),prefixIdentifiers:r,hoistStatic:i,hmr:n,cacheHandlers:a,nodeTransforms:o,directiveTransforms:h,transformHoist:c,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:m,scopeId:y,slotted:b,ssr:x,inSSR:v,ssrCssVars:g,bindingMetadata:T,inline:E,isTS:C,onError:N,onWarn:A,compatConfig:L,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(M){const z=w.helpers.get(M)||0;return w.helpers.set(M,z+1),M},removeHelper(M){const z=w.helpers.get(M);if(z){const X=z-1;X?w.helpers.set(M,X):w.helpers.delete(M)}},helperString(M){return`_${ut[w.helper(M)]}`},replaceNode(M){{if(!w.currentNode)throw new Error("Node being replaced is already removed.");if(!w.parent)throw new Error("Cannot replace root node.")}w.parent.children[w.childIndex]=w.currentNode=M},removeNode(M){if(!w.parent)throw new Error("Cannot remove root node.");const z=w.parent.children,X=M?z.indexOf(M):w.currentNode?w.childIndex:-1;if(X<0)throw new Error("node being removed is not a child of current parent");!M||M===w.currentNode?(w.currentNode=null,w.onNodeRemoved()):w.childIndex>X&&(w.childIndex--,w.onNodeRemoved()),w.parent.children.splice(X,1)},onNodeRemoved:At,addIdentifiers(M){ge(M)?I(M):M.identifiers?M.identifiers.forEach(I):M.type===4&&I(M.content)},removeIdentifiers(M){ge(M)?k(M):M.identifiers?M.identifiers.forEach(k):M.type===4&&k(M.content)},hoist(M){ge(M)&&(M=Y(M)),w.hoists.push(M);const z=Y(`_hoisted_${w.hoists.length}`,!1,M.loc,2);return z.hoisted=M,z},cache(M,z=!1){const X=rh(w.cached.length,M,z);return w.cached.push(X),X}};function I(M){const{identifiers:z}=w;z[M]===void 0&&(z[M]=0),z[M]++}function k(M){w.identifiers[M]--}return w}function xo(t,e){const r=Fs(t,e);es(t,r),e.hoistStatic&&Fy(t,r),e.ssr||$y(t,r),t.helpers=new Set([...r.helpers.keys()]),t.components=[...r.components],t.directives=[...r.directives],t.imports=r.imports,t.hoists=r.hoists,t.temps=r.temps,t.cached=r.cached,t.transformed=!0}function $y(t,e){const{helper:r}=e,{children:i}=t;if(i.length===1){const n=i[0];if(kh(t,n)&&n.codegenNode){const a=n.codegenNode;a.type===13&&qi(a,e),t.codegenNode=a}else t.codegenNode=n}else if(i.length>1){let n=64;i.filter(a=>a.type!==3).length===1&&(n|=2048),t.codegenNode=Jr(e,r(Gr),void 0,t.children,n,void 0,void 0,!0,void 0,!1)}}function Uy(t,e){let r=0;const i=()=>{r--};for(;r<t.children.length;r++){const n=t.children[r];ge(n)||(e.grandParent=e.parent,e.parent=t,e.childIndex=r,e.onNodeRemoved=i,es(n,e))}}function es(t,e){e.currentNode=t;const{nodeTransforms:r}=e,i=[];for(let a=0;a<r.length;a++){const o=r[a](t,e);if(o&&(qe(o)?i.push(...o):i.push(o)),e.currentNode)t=e.currentNode;else return}switch(t.type){case 3:e.ssr||e.helper(Wr);break;case 5:e.ssr||e.helper(Is);break;case 9:for(let a=0;a<t.branches.length;a++)es(t.branches[a],e);break;case 10:case 11:case 1:case 0:Uy(t,e);break}e.currentNode=t;let n=i.length;for(;n--;)i[n]()}function Bs(t,e){const r=ge(t)?i=>i===t:i=>t.test(i);return(i,n)=>{if(i.type===1){const{props:a}=i;if(i.tagType===3&&a.some(yo))return;const o=[];for(let h=0;h<a.length;h++){const c=a[h];if(c.type===7&&r(c.name)){a.splice(h,1),h--;const d=e(i,c,n);d&&o.push(d)}}return o}}}var $s={},Eo={},sn={},nn={},Dh;function qy(){if(Dh)return nn;Dh=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return nn.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},nn.decode=function(e){var r=65,i=90,n=97,a=122,o=48,h=57,c=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=a?e-n+f:o<=e&&e<=h?e-o+m:e==c?62:e==d?63:-1},nn}var Fh;function Bh(){if(Fh)return sn;Fh=1;var t=qy(),e=5,r=1<<e,i=r-1,n=r;function a(h){return h<0?(-h<<1)+1:(h<<1)+0}function o(h){var c=(h&1)===1,d=h>>1;return c?-d:d}return sn.encode=function(c){var d="",f,m=a(c);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},sn.decode=function(c,d,f){var m=c.length,y=0,b=0,x,v;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(v=t.decode(c.charCodeAt(d++)),v===-1)throw new Error("Invalid base64 digit: "+c.charAt(d-1));x=!!(v&n),v&=i,y=y+(v<<b),b+=e}while(x);f.value=o(y),f.rest=d},sn}var wo={},$h;function Us(){return $h||($h=1,function(t){function e(w,I,k){if(I in w)return w[I];if(arguments.length===3)return k;throw new Error('"'+I+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(w){var I=w.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}t.urlParse=n;function a(w){var I="";return w.scheme&&(I+=w.scheme+":"),I+="//",w.auth&&(I+=w.auth+"@"),w.host&&(I+=w.host),w.port&&(I+=":"+w.port),w.path&&(I+=w.path),I}t.urlGenerate=a;var o=32;function h(w){var I=[];return function(k){for(var M=0;M<I.length;M++)if(I[M].input===k){var z=I[0];return I[0]=I[M],I[M]=z,I[0].result}var X=w(k);return I.unshift({input:k,result:X}),I.length>o&&I.pop(),X}}var c=h(function(I){var k=I,M=n(I);if(M){if(!M.path)return I;k=M.path}for(var z=t.isAbsolute(k),X=[],Z=0,U=0;;)if(Z=U,U=k.indexOf("/",Z),U===-1){X.push(k.slice(Z));break}else for(X.push(k.slice(Z,U));U<k.length&&k[U]==="/";)U++;for(var Q,re=0,U=X.length-1;U>=0;U--)Q=X[U],Q==="."?X.splice(U,1):Q===".."?re++:re>0&&(Q===""?(X.splice(U+1,re),re=0):(X.splice(U,2),re--));return k=X.join("/"),k===""&&(k=z?"/":"."),M?(M.path=k,a(M)):k});t.normalize=c;function d(w,I){w===""&&(w="."),I===""&&(I=".");var k=n(I),M=n(w);if(M&&(w=M.path||"/"),k&&!k.scheme)return M&&(k.scheme=M.scheme),a(k);if(k||I.match(i))return I;if(M&&!M.host&&!M.path)return M.host=I,a(M);var z=I.charAt(0)==="/"?I:c(w.replace(/\/+$/,"")+"/"+I);return M?(M.path=z,a(M)):z}t.join=d,t.isAbsolute=function(w){return w.charAt(0)==="/"||r.test(w)};function f(w,I){w===""&&(w="."),w=w.replace(/\/$/,"");for(var k=0;I.indexOf(w+"/")!==0;){var M=w.lastIndexOf("/");if(M<0||(w=w.slice(0,M),w.match(/^([^\/]+:\/)?\/*$/)))return I;++k}return Array(k+1).join("../")+I.substr(w.length+1)}t.relative=f;var m=function(){var w=Object.create(null);return!("__proto__"in w)}();function y(w){return w}function b(w){return v(w)?"$"+w:w}t.toSetString=m?y:b;function x(w){return v(w)?w.slice(1):w}t.fromSetString=m?y:x;function v(w){if(!w)return!1;var I=w.length;if(I<9||w.charCodeAt(I-1)!==95||w.charCodeAt(I-2)!==95||w.charCodeAt(I-3)!==111||w.charCodeAt(I-4)!==116||w.charCodeAt(I-5)!==111||w.charCodeAt(I-6)!==114||w.charCodeAt(I-7)!==112||w.charCodeAt(I-8)!==95||w.charCodeAt(I-9)!==95)return!1;for(var k=I-10;k>=0;k--)if(w.charCodeAt(k)!==36)return!1;return!0}function g(w,I,k){var M=N(w.source,I.source);return M!==0||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositions=g;function T(w,I,k){var M;return M=w.originalLine-I.originalLine,M!==0||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositionsNoSource=T;function E(w,I,k){var M=w.generatedLine-I.generatedLine;return M!==0||(M=w.generatedColumn-I.generatedColumn,M!==0||k)||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflated=E;function C(w,I,k){var M=w.generatedColumn-I.generatedColumn;return M!==0||k||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflatedNoLine=C;function N(w,I){return w===I?0:w===null?1:I===null?-1:w>I?1:-1}function A(w,I){var k=w.generatedLine-I.generatedLine;return k!==0||(k=w.generatedColumn-I.generatedColumn,k!==0)||(k=N(w.source,I.source),k!==0)||(k=w.originalLine-I.originalLine,k!==0)||(k=w.originalColumn-I.originalColumn,k!==0)?k:N(w.name,I.name)}t.compareByGeneratedPositionsInflated=A;function L(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=L;function R(w,I,k){if(I=I||"",w&&(w[w.length-1]!=="/"&&I[0]!=="/"&&(w+="/"),I=w+I),k){var M=n(k);if(!M)throw new Error("sourceMapURL could not be parsed");if(M.path){var z=M.path.lastIndexOf("/");z>=0&&(M.path=M.path.substring(0,z+1))}I=d(a(M),I)}return c(I)}t.computeSourceURL=R}(wo)),wo}var To={},Uh;function qh(){if(Uh)return To;Uh=1;var t=Us(),e=Object.prototype.hasOwnProperty,r=typeof Map!="undefined";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,o){for(var h=new i,c=0,d=a.length;c<d;c++)h.add(a[c],o);return h},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,o){var h=r?a:t.toSetString(a),c=r?this.has(a):e.call(this._set,h),d=this._array.length;(!c||o)&&this._array.push(a),c||(r?this._set.set(a,d):this._set[h]=d)},i.prototype.has=function(a){if(r)return this._set.has(a);var o=t.toSetString(a);return e.call(this._set,o)},i.prototype.indexOf=function(a){if(r){var o=this._set.get(a);if(o>=0)return o}else{var h=t.toSetString(a);if(e.call(this._set,h))return this._set[h]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},To.ArraySet=i,To}var _o={},jh;function jy(){if(jh)return _o;jh=1;var t=Us();function e(i,n){var a=i.generatedLine,o=n.generatedLine,h=i.generatedColumn,c=n.generatedColumn;return o>a||o==a&&c>=h||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,a){this._array.forEach(n,a)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},_o.MappingList=r,_o}var Vh;function Gh(){if(Vh)return Eo;Vh=1;var t=Bh(),e=Us(),r=qh().ArraySet,i=jy().MappingList;function n(a){a||(a={}),this._file=e.getArg(a,"file",null),this._sourceRoot=e.getArg(a,"sourceRoot",null),this._skipValidation=e.getArg(a,"skipValidation",!1),this._ignoreInvalidMapping=e.getArg(a,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(o,h){var c=o.sourceRoot,d=new n(Object.assign(h||{},{file:o.file,sourceRoot:c}));return o.eachMapping(function(f){var m={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(m.source=f.source,c!=null&&(m.source=e.relative(c,m.source)),m.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(m.name=f.name)),d.addMapping(m)}),o.sources.forEach(function(f){var m=f;c!==null&&(m=e.relative(c,f)),d._sources.has(m)||d._sources.add(m);var y=o.sourceContentFor(f);y!=null&&d.setSourceContent(f,y)}),d},n.prototype.addMapping=function(o){var h=e.getArg(o,"generated"),c=e.getArg(o,"original",null),d=e.getArg(o,"source",null),f=e.getArg(o,"name",null);!this._skipValidation&&this._validateMapping(h,c,d,f)===!1||(d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:d,name:f}))},n.prototype.setSourceContent=function(o,h){var c=o;this._sourceRoot!=null&&(c=e.relative(this._sourceRoot,c)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(c)]=h):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(o,h,c){var d=h;if(h==null){if(o.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=o.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,y=new r;this._mappings.unsortedForEach(function(b){if(b.source===d&&b.originalLine!=null){var x=o.originalPositionFor({line:b.originalLine,column:b.originalColumn});x.source!=null&&(b.source=x.source,c!=null&&(b.source=e.join(c,b.source)),f!=null&&(b.source=e.relative(f,b.source)),b.originalLine=x.line,b.originalColumn=x.column,x.name!=null&&(b.name=x.name))}var v=b.source;v!=null&&!m.has(v)&&m.add(v);var g=b.name;g!=null&&!y.has(g)&&y.add(g)},this),this._sources=m,this._names=y,o.sources.forEach(function(b){var x=o.sourceContentFor(b);x!=null&&(c!=null&&(b=e.join(c,b)),f!=null&&(b=e.relative(f,b)),this.setSourceContent(b,x))},this)},n.prototype._validateMapping=function(o,h,c,d){if(h&&typeof h.line!="number"&&typeof h.column!="number"){var f="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console!="undefined"&&console.warn&&console.warn(f),!1;throw new Error(f)}if(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!h&&!c&&!d)){if(o&&"line"in o&&"column"in o&&h&&"line"in h&&"column"in h&&o.line>0&&o.column>=0&&h.line>0&&h.column>=0&&c)return;var f="Invalid mapping: "+JSON.stringify({generated:o,source:c,original:h,name:d});if(this._ignoreInvalidMapping)return typeof console!="undefined"&&console.warn&&console.warn(f),!1;throw new Error(f)}},n.prototype._serializeMappings=function(){for(var o=0,h=1,c=0,d=0,f=0,m=0,y="",b,x,v,g,T=this._mappings.toArray(),E=0,C=T.length;E<C;E++){if(x=T[E],b="",x.generatedLine!==h)for(o=0;x.generatedLine!==h;)b+=";",h++;else if(E>0){if(!e.compareByGeneratedPositionsInflated(x,T[E-1]))continue;b+=","}b+=t.encode(x.generatedColumn-o),o=x.generatedColumn,x.source!=null&&(g=this._sources.indexOf(x.source),b+=t.encode(g-m),m=g,b+=t.encode(x.originalLine-1-d),d=x.originalLine-1,b+=t.encode(x.originalColumn-c),c=x.originalColumn,x.name!=null&&(v=this._names.indexOf(x.name),b+=t.encode(v-f),f=v)),y+=b}return y},n.prototype._generateSourcesContent=function(o,h){return o.map(function(c){if(!this._sourcesContents)return null;h!=null&&(c=e.relative(h,c));var d=e.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},Eo.SourceMapGenerator=n,Eo}var qs={},Po={},zh;function Vy(){return zh||(zh=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,a,o,h){var c=Math.floor((i-r)/2)+r,d=o(n,a[c],!0);return d===0?c:d>0?i-c>1?e(c,i,n,a,o,h):h==t.LEAST_UPPER_BOUND?i<a.length?i:-1:c:c-r>1?e(r,c,n,a,o,h):h==t.LEAST_UPPER_BOUND?c:r<0?-1:r}t.search=function(i,n,a,o){if(n.length===0)return-1;var h=e(-1,n.length,i,n,a,o||t.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&a(n[h],n[h-1],!0)===0;)--h;return h}}(Po)),Po}var Ao={},Wh;function Gy(){if(Wh)return Ao;Wh=1;function t(i){function n(h,c,d){var f=h[c];h[c]=h[d],h[d]=f}function a(h,c){return Math.round(h+Math.random()*(c-h))}function o(h,c,d,f){if(d<f){var m=a(d,f),y=d-1;n(h,m,f);for(var b=h[f],x=d;x<f;x++)c(h[x],b,!1)<=0&&(y+=1,n(h,y,x));n(h,y+1,x);var v=y+1;o(h,c,d,v-1),o(h,c,v+1,f)}}return o}function e(i){let n=t.toString();return new Function(`return ${n}`)()(i)}let r=new WeakMap;return Ao.quickSort=function(i,n,a=0){let o=r.get(n);o===void 0&&(o=e(n),r.set(n,o)),o(i,n,a,i.length-1)},Ao}var Hh;function zy(){if(Hh)return qs;Hh=1;var t=Us(),e=Vy(),r=qh().ArraySet,i=Bh(),n=Gy().quickSort;function a(m,y){var b=m;return typeof m=="string"&&(b=t.parseSourceMapInput(m)),b.sections!=null?new f(b,y):new o(b,y)}a.fromSourceMap=function(m,y){return o.fromSourceMap(m,y)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(y,b){var x=y.charAt(b);return x===";"||x===","},a.prototype._parseMappings=function(y,b){throw new Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(y,b,x){var v=b||null,g=x||a.GENERATED_ORDER,T;switch(g){case a.GENERATED_ORDER:T=this._generatedMappings;break;case a.ORIGINAL_ORDER:T=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var E=this.sourceRoot,C=y.bind(v),N=this._names,A=this._sources,L=this._sourceMapURL,R=0,w=T.length;R<w;R++){var I=T[R],k=I.source===null?null:A.at(I.source);k=t.computeSourceURL(E,k,L),C({source:k,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:N.at(I.name)})}},a.prototype.allGeneratedPositionsFor=function(y){var b=t.getArg(y,"line"),x={source:t.getArg(y,"source"),originalLine:b,originalColumn:t.getArg(y,"column",0)};if(x.source=this._findSourceIndex(x.source),x.source<0)return[];var v=[],g=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(g>=0){var T=this._originalMappings[g];if(y.column===void 0)for(var E=T.originalLine;T&&T.originalLine===E;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++g];else for(var C=T.originalColumn;T&&T.originalLine===b&&T.originalColumn==C;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++g]}return v},qs.SourceMapConsumer=a;function o(m,y){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sources"),g=t.getArg(b,"names",[]),T=t.getArg(b,"sourceRoot",null),E=t.getArg(b,"sourcesContent",null),C=t.getArg(b,"mappings"),N=t.getArg(b,"file",null);if(x!=this._version)throw new Error("Unsupported version: "+x);T&&(T=t.normalize(T)),v=v.map(String).map(t.normalize).map(function(A){return T&&t.isAbsolute(T)&&t.isAbsolute(A)?t.relative(T,A):A}),this._names=r.fromArray(g.map(String),!0),this._sources=r.fromArray(v,!0),this._absoluteSources=this._sources.toArray().map(function(A){return t.computeSourceURL(T,A,y)}),this.sourceRoot=T,this.sourcesContent=E,this._mappings=C,this._sourceMapURL=y,this.file=N}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(m){var y=m;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var b;for(b=0;b<this._absoluteSources.length;++b)if(this._absoluteSources[b]==m)return b;return-1},o.fromSourceMap=function(y,b){var x=Object.create(o.prototype),v=x._names=r.fromArray(y._names.toArray(),!0),g=x._sources=r.fromArray(y._sources.toArray(),!0);x.sourceRoot=y._sourceRoot,x.sourcesContent=y._generateSourcesContent(x._sources.toArray(),x.sourceRoot),x.file=y._file,x._sourceMapURL=b,x._absoluteSources=x._sources.toArray().map(function(w){return t.computeSourceURL(x.sourceRoot,w,b)});for(var T=y._mappings.toArray().slice(),E=x.__generatedMappings=[],C=x.__originalMappings=[],N=0,A=T.length;N<A;N++){var L=T[N],R=new h;R.generatedLine=L.generatedLine,R.generatedColumn=L.generatedColumn,L.source&&(R.source=g.indexOf(L.source),R.originalLine=L.originalLine,R.originalColumn=L.originalColumn,L.name&&(R.name=v.indexOf(L.name)),C.push(R)),E.push(R)}return n(x.__originalMappings,t.compareByOriginalPositions),x},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const c=t.compareByGeneratedPositionsDeflatedNoLine;function d(m,y){let b=m.length,x=m.length-y;if(!(x<=1))if(x==2){let v=m[y],g=m[y+1];c(v,g)>0&&(m[y]=g,m[y+1]=v)}else if(x<20)for(let v=y;v<b;v++)for(let g=v;g>y;g--){let T=m[g-1],E=m[g];if(c(T,E)<=0)break;m[g-1]=E,m[g]=T}else n(m,c,y)}o.prototype._parseMappings=function(y,b){var x=1,v=0,g=0,T=0,E=0,C=0,N=y.length,A=0,L={},R=[],w=[],I,k,M,z;let X=0;for(;A<N;)if(y.charAt(A)===";")x++,A++,v=0,d(w,X),X=w.length;else if(y.charAt(A)===",")A++;else{for(I=new h,I.generatedLine=x,M=A;M<N&&!this._charIsMappingSeparator(y,M);M++);for(y.slice(A,M),k=[];A<M;)i.decode(y,A,L),z=L.value,A=L.rest,k.push(z);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=v+k[0],v=I.generatedColumn,k.length>1&&(I.source=E+k[1],E+=k[1],I.originalLine=g+k[2],g=I.originalLine,I.originalLine+=1,I.originalColumn=T+k[3],T=I.originalColumn,k.length>4&&(I.name=C+k[4],C+=k[4])),w.push(I),typeof I.originalLine=="number"){let U=I.source;for(;R.length<=U;)R.push(null);R[U]===null&&(R[U]=[]),R[U].push(I)}}d(w,X),this.__generatedMappings=w;for(var Z=0;Z<R.length;Z++)R[Z]!=null&&n(R[Z],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...R)},o.prototype._findMapping=function(y,b,x,v,g,T){if(y[x]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[x]);if(y[v]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[v]);return e.search(y,b,g,T)},o.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var b=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var x=this._generatedMappings[y+1];if(b.generatedLine===x.generatedLine){b.lastGeneratedColumn=x.generatedColumn-1;continue}}b.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(y){var b={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},x=this._findMapping(b,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(y,"bias",a.GREATEST_LOWER_BOUND));if(x>=0){var v=this._generatedMappings[x];if(v.generatedLine===b.generatedLine){var g=t.getArg(v,"source",null);g!==null&&(g=this._sources.at(g),g=t.computeSourceURL(this.sourceRoot,g,this._sourceMapURL));var T=t.getArg(v,"name",null);return T!==null&&(T=this._names.at(T)),{source:g,line:t.getArg(v,"originalLine",null),column:t.getArg(v,"originalColumn",null),name:T}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return y==null}):!1},o.prototype.sourceContentFor=function(y,b){if(!this.sourcesContent)return null;var x=this._findSourceIndex(y);if(x>=0)return this.sourcesContent[x];var v=y;this.sourceRoot!=null&&(v=t.relative(this.sourceRoot,v));var g;if(this.sourceRoot!=null&&(g=t.urlParse(this.sourceRoot))){var T=v.replace(/^file:\/\//,"");if(g.scheme=="file"&&this._sources.has(T))return this.sourcesContent[this._sources.indexOf(T)];if((!g.path||g.path=="/")&&this._sources.has("/"+v))return this.sourcesContent[this._sources.indexOf("/"+v)]}if(b)return null;throw new Error('"'+v+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(y){var b=t.getArg(y,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var x={source:b,originalLine:t.getArg(y,"line"),originalColumn:t.getArg(y,"column")},v=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(y,"bias",a.GREATEST_LOWER_BOUND));if(v>=0){var g=this._originalMappings[v];if(g.source===x.source)return{line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},qs.BasicSourceMapConsumer=o;function f(m,y){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sections");if(x!=this._version)throw new Error("Unsupported version: "+x);this._sources=new r,this._names=new r;var g={line:-1,column:0};this._sections=v.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var E=t.getArg(T,"offset"),C=t.getArg(E,"line"),N=t.getArg(E,"column");if(C<g.line||C===g.line&&N<g.column)throw new Error("Section offsets must be ordered and non-overlapping.");return g=E,{generatedOffset:{generatedLine:C+1,generatedColumn:N+1},consumer:new a(t.getArg(T,"map"),y)}})}return f.prototype=Object.create(a.prototype),f.prototype.constructor=a,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var m=[],y=0;y<this._sections.length;y++)for(var b=0;b<this._sections[y].consumer.sources.length;b++)m.push(this._sections[y].consumer.sources[b]);return m}}),f.prototype.originalPositionFor=function(y){var b={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},x=e.search(b,this._sections,function(g,T){var E=g.generatedLine-T.generatedOffset.generatedLine;return E||g.generatedColumn-T.generatedOffset.generatedColumn}),v=this._sections[x];return v?v.consumer.originalPositionFor({line:b.generatedLine-(v.generatedOffset.generatedLine-1),column:b.generatedColumn-(v.generatedOffset.generatedLine===b.generatedLine?v.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},f.prototype.sourceContentFor=function(y,b){for(var x=0;x<this._sections.length;x++){var v=this._sections[x],g=v.consumer.sourceContentFor(y,!0);if(g||g==="")return g}if(b)return null;throw new Error('"'+y+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(y){for(var b=0;b<this._sections.length;b++){var x=this._sections[b];if(x.consumer._findSourceIndex(t.getArg(y,"source"))!==-1){var v=x.consumer.generatedPositionFor(y);if(v){var g={line:v.line+(x.generatedOffset.generatedLine-1),column:v.column+(x.generatedOffset.generatedLine===v.line?x.generatedOffset.generatedColumn-1:0)};return g}}}return{line:null,column:null}},f.prototype._parseMappings=function(y,b){this.__generatedMappings=[],this.__originalMappings=[];for(var x=0;x<this._sections.length;x++)for(var v=this._sections[x],g=v.consumer._generatedMappings,T=0;T<g.length;T++){var E=g[T],C=v.consumer._sources.at(E.source);C=t.computeSourceURL(v.consumer.sourceRoot,C,this._sourceMapURL),this._sources.add(C),C=this._sources.indexOf(C);var N=null;E.name&&(N=v.consumer._names.at(E.name),this._names.add(N),N=this._names.indexOf(N));var A={source:C,generatedLine:E.generatedLine+(v.generatedOffset.generatedLine-1),generatedColumn:E.generatedColumn+(v.generatedOffset.generatedLine===E.generatedLine?v.generatedOffset.generatedColumn-1:0),originalLine:E.originalLine,originalColumn:E.originalColumn,name:N};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},qs.IndexedSourceMapConsumer=f,qs}var Co={},Xh;function Wy(){if(Xh)return Co;Xh=1;var t=Gh().SourceMapGenerator,e=Us(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function a(o,h,c,d,f){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=h==null?null:h,this.source=c==null?null:c,this.name=f==null?null:f,this[n]=!0,d!=null&&this.add(d)}return a.fromStringWithSourceMap=function(h,c,d){var f=new a,m=h.split(r),y=0,b=function(){var E=N(),C=N()||"";return E+C;function N(){return y<m.length?m[y++]:void 0}},x=1,v=0,g=null;return c.eachMapping(function(E){if(g!==null)if(x<E.generatedLine)T(g,b()),x++,v=0;else{var C=m[y]||"",N=C.substr(0,E.generatedColumn-v);m[y]=C.substr(E.generatedColumn-v),v=E.generatedColumn,T(g,N),g=E;return}for(;x<E.generatedLine;)f.add(b()),x++;if(v<E.generatedColumn){var C=m[y]||"";f.add(C.substr(0,E.generatedColumn)),m[y]=C.substr(E.generatedColumn),v=E.generatedColumn}g=E},this),y<m.length&&(g&&T(g,b()),f.add(m.splice(y).join(""))),c.sources.forEach(function(E){var C=c.sourceContentFor(E);C!=null&&(d!=null&&(E=e.join(d,E)),f.setSourceContent(E,C))}),f;function T(E,C){if(E===null||E.source===void 0)f.add(C);else{var N=d?e.join(d,E.source):E.source;f.add(new a(E.originalLine,E.originalColumn,N,C,E.name))}}},a.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(c){this.add(c)},this);else if(h[n]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.prepend=function(h){if(Array.isArray(h))for(var c=h.length-1;c>=0;c--)this.prepend(h[c]);else if(h[n]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.walk=function(h){for(var c,d=0,f=this.children.length;d<f;d++)c=this.children[d],c[n]?c.walk(h):c!==""&&h(c,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(h){var c,d,f=this.children.length;if(f>0){for(c=[],d=0;d<f-1;d++)c.push(this.children[d]),c.push(h);c.push(this.children[d]),this.children=c}return this},a.prototype.replaceRight=function(h,c){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(h,c):typeof d=="string"?this.children[this.children.length-1]=d.replace(h,c):this.children.push("".replace(h,c)),this},a.prototype.setSourceContent=function(h,c){this.sourceContents[e.toSetString(h)]=c},a.prototype.walkSourceContents=function(h){for(var c=0,d=this.children.length;c<d;c++)this.children[c][n]&&this.children[c].walkSourceContents(h);for(var f=Object.keys(this.sourceContents),c=0,d=f.length;c<d;c++)h(e.fromSetString(f[c]),this.sourceContents[f[c]])},a.prototype.toString=function(){var h="";return this.walk(function(c){h+=c}),h},a.prototype.toStringWithSourceMap=function(h){var c={code:"",line:1,column:0},d=new t(h),f=!1,m=null,y=null,b=null,x=null;return this.walk(function(v,g){c.code+=v,g.source!==null&&g.line!==null&&g.column!==null?((m!==g.source||y!==g.line||b!==g.column||x!==g.name)&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:c.line,column:c.column},name:g.name}),m=g.source,y=g.line,b=g.column,x=g.name,f=!0):f&&(d.addMapping({generated:{line:c.line,column:c.column}}),m=null,f=!1);for(var T=0,E=v.length;T<E;T++)v.charCodeAt(T)===i?(c.line++,c.column=0,T+1===E?(m=null,f=!1):f&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:c.line,column:c.column},name:g.name})):c.column++}),this.walkSourceContents(function(v,g){d.setSourceContent(v,g)}),{code:c.code,map:d}},Co.SourceNode=a,Co}var Kh;function Hy(){return Kh||(Kh=1,$s.SourceMapGenerator=Gh().SourceMapGenerator,$s.SourceMapConsumer=zy().SourceMapConsumer,$s.SourceNode=Wy().SourceNode),$s}var js=Hy();const an="/*@__PURE__*/",on=t=>`${ut[t]}: _${ut[t]}`;function Jh(t,{mode:e="function",prefixIdentifiers:r=e==="module",sourceMap:i=!1,filename:n="template.vue.html",scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:h="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:d="vue/server-renderer",ssr:f=!1,isTS:m=!1,inSSR:y=!1}){const b={mode:e,prefixIdentifiers:r,sourceMap:i,filename:n,scopeId:a,optimizeImports:o,runtimeGlobalName:h,runtimeModuleName:c,ssrRuntimeModuleName:d,ssr:f,isTS:m,inSSR:y,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(g){return`_${ut[g]}`},push(g,T=-2,E){if(b.code+=g,b.map){if(E){let C;if(E.type===4&&!E.isStatic){const N=E.content.replace(/^_ctx\./,"");N!==E.content&&Jt(N)&&(C=N)}v(E.loc.start,C)}T===-3?mo(b,g):(b.offset+=g.length,T===-2?b.column+=g.length:(T===-1&&(T=g.length-1),b.line++,b.column=g.length-T)),E&&E.loc!==Ne&&v(E.loc.end)}},indent(){x(++b.indentLevel)},deindent(g=!1){g?--b.indentLevel:x(--b.indentLevel)},newline(){x(b.indentLevel)}};function x(g){b.push(`
|
|
31
|
+
`+" ".repeat(g),0)}function v(g,T=null){const{_names:E,_mappings:C}=b.map;T!==null&&!E.has(T)&&E.add(T),C.add({originalLine:g.line,originalColumn:g.column-1,generatedLine:b.line,generatedColumn:b.column-1,source:n,name:T})}return i&&(b.map=new js.SourceMapGenerator,b.map.setSourceContent(n,b.source),b.map._sources.add(n)),b}function Io(t,e={}){const r=Jh(t,e);e.onContextCreated&&e.onContextCreated(r);const{mode:i,push:n,prefixIdentifiers:a,indent:o,deindent:h,newline:c,scopeId:d,ssr:f}=r,m=Array.from(t.helpers),y=m.length>0,b=!a&&i!=="module",x=d!=null&&i==="module",v=!!e.inline,g=v?Jh(t,e):r;i==="module"?Ky(t,g,x,v):Xy(t,g);const T=f?"ssrRender":"render",E=f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];e.bindingMetadata&&!e.inline&&E.push("$props","$setup","$data","$options");const C=e.isTS?E.map(N=>`${N}: any`).join(","):E.join(", ");if(n(v?`(${C}) => {`:`function ${T}(${C}) {`),o(),b&&(n("with (_ctx) {"),o(),y&&(n(`const { ${m.map(on).join(", ")} } = _Vue
|
|
32
|
+
`,-1),c())),t.components.length&&(Yh(t.components,"component",r),(t.directives.length||t.temps>0)&&c()),t.directives.length&&(Yh(t.directives,"directive",r),t.temps>0&&c()),t.temps>0){n("let ");for(let N=0;N<t.temps;N++)n(`${N>0?", ":""}_temp${N}`)}return(t.components.length||t.directives.length||t.temps)&&(n(`
|
|
33
|
+
`,0),c()),f||n("return "),t.codegenNode?Oe(t.codegenNode,r):n("null"),b&&(h(),n("}")),h(),n("}"),{ast:t,code:r.code,preamble:v?g.code:"",map:r.map?r.map.toJSON():void 0}}function Xy(t,e){const{ssr:r,prefixIdentifiers:i,push:n,newline:a,runtimeModuleName:o,runtimeGlobalName:h,ssrRuntimeModuleName:c}=e,d=r?`require(${JSON.stringify(o)})`:h,f=Array.from(t.helpers);if(f.length>0){if(i)n(`const { ${f.map(on).join(", ")} } = ${d}
|
|
34
|
+
`,-1);else if(n(`const _Vue = ${d}
|
|
35
|
+
`,-1),t.hoists.length){const m=[Ps,_i,Wr,Pi,Ai].filter(y=>f.includes(y)).map(on).join(", ");n(`const { ${m} } = _Vue
|
|
36
|
+
`,-1)}}t.ssrHelpers&&t.ssrHelpers.length&&n(`const { ${t.ssrHelpers.map(on).join(", ")} } = require("${c}")
|
|
37
|
+
`,-1),Qh(t.hoists,e),a(),n("return ")}function Ky(t,e,r,i){const{push:n,newline:a,optimizeImports:o,runtimeModuleName:h,ssrRuntimeModuleName:c}=e;if(t.helpers.size){const d=Array.from(t.helpers);o?(n(`import { ${d.map(f=>ut[f]).join(", ")} } from ${JSON.stringify(h)}
|
|
38
|
+
`,-1),n(`
|
|
39
|
+
// Binding optimization for webpack code-split
|
|
40
|
+
const ${d.map(f=>`_${ut[f]} = ${ut[f]}`).join(", ")}
|
|
41
|
+
`,-1)):n(`import { ${d.map(f=>`${ut[f]} as _${ut[f]}`).join(", ")} } from ${JSON.stringify(h)}
|
|
42
|
+
`,-1)}t.ssrHelpers&&t.ssrHelpers.length&&n(`import { ${t.ssrHelpers.map(d=>`${ut[d]} as _${ut[d]}`).join(", ")} } from "${c}"
|
|
43
|
+
`,-1),t.imports.length&&(Jy(t.imports,e),a()),Qh(t.hoists,e),a(),i||n("export ")}function Yh(t,e,{helper:r,push:i,newline:n,isTS:a}){const o=r(e==="component"?As:Ci);for(let h=0;h<t.length;h++){let c=t[h];const d=c.endsWith("__self");d&&(c=c.slice(0,-6)),i(`const ${Ds(c,e)} = ${o}(${JSON.stringify(c)}${d?", true":""})${a?"!":""}`),h<t.length-1&&n()}}function Qh(t,e){if(!t.length)return;e.pure=!0;const{push:r,newline:i}=e;i();for(let n=0;n<t.length;n++){const a=t[n];a&&(r(`const _hoisted_${n+1} = `),Oe(a,e),i())}e.pure=!1}function Jy(t,e){t.length&&t.forEach(r=>{e.push("import "),Oe(r.exp,e),e.push(` from '${r.path}'`),e.newline()})}function Yy(t){return ge(t)||t.type===4||t.type===2||t.type===5||t.type===8}function un(t,e){const r=t.length>3||t.some(i=>qe(i)||!Yy(i));e.push("["),r&&e.indent(),ts(t,e,r),r&&e.deindent(),e.push("]")}function ts(t,e,r=!1,i=!0){const{push:n,newline:a}=e;for(let o=0;o<t.length;o++){const h=t[o];ge(h)?n(h,-3):qe(h)?un(h,e):Oe(h,e),o<t.length-1&&(r?(i&&n(","),a()):i&&n(", "))}}function Oe(t,e){if(ge(t)){e.push(t,-3);return}if(ur(t)){e.push(e.helper(t));return}switch(t.type){case 1:case 9:case 11:go(t.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),Oe(t.codegenNode,e);break;case 2:Qy(t,e);break;case 4:Zh(t,e);break;case 5:Zy(t,e);break;case 12:Oe(t.codegenNode,e);break;case 8:ef(t,e);break;case 3:tb(t,e);break;case 13:rb(t,e);break;case 14:ib(t,e);break;case 15:nb(t,e);break;case 17:ab(t,e);break;case 18:ob(t,e);break;case 19:ub(t,e);break;case 20:lb(t,e);break;case 21:ts(t.body,e,!0,!1);break;case 22:cb(t,e);break;case 23:tf(t,e);break;case 24:hb(t,e);break;case 25:fb(t,e);break;case 26:pb(t,e);break;case 10:break;default:return go(!1,`unhandled codegen node type: ${t.type}`),t}}function Qy(t,e){e.push(JSON.stringify(t.content),-3,t)}function Zh(t,e){const{content:r,isStatic:i}=t;e.push(i?JSON.stringify(r):r,-3,t)}function Zy(t,e){const{push:r,helper:i,pure:n}=e;n&&r(an),r(`${i(Is)}(`),Oe(t.content,e),r(")")}function ef(t,e){for(let r=0;r<t.children.length;r++){const i=t.children[r];ge(i)?e.push(i,-3):Oe(i,e)}}function eb(t,e){const{push:r}=e;if(t.type===8)r("["),ef(t,e),r("]");else if(t.isStatic){const i=Jt(t.content)?t.content:JSON.stringify(t.content);r(i,-2,t)}else r(`[${t.content}]`,-3,t)}function tb(t,e){const{push:r,helper:i,pure:n}=e;n&&r(an),r(`${i(Wr)}(${JSON.stringify(t.content)})`,-3,t)}function rb(t,e){const{push:r,helper:i,pure:n}=e,{tag:a,props:o,children:h,patchFlag:c,dynamicProps:d,directives:f,isBlock:m,disableTracking:y,isComponent:b}=t;let x;if(c)if(c<0)x=c+` /* ${wi[c]} */`;else{const g=Object.keys(wi).map(Number).filter(T=>T>0&&c&T).map(T=>wi[T]).join(", ");x=c+` /* ${g} */`}f&&r(i(Ii)+"("),m&&r(`(${i(hr)}(${y?"true":""}), `),n&&r(an);const v=m?Ar(e.inSSR,b):Pr(e.inSSR,b);r(i(v)+"(",-2,t),ts(sb([a,o,h,x,d]),e),r(")"),m&&r(")"),f&&(r(", "),Oe(f,e),r(")"))}function sb(t){let e=t.length;for(;e--&&t[e]==null;);return t.slice(0,e+1).map(r=>r||"null")}function ib(t,e){const{push:r,helper:i,pure:n}=e,a=ge(t.callee)?t.callee:i(t.callee);n&&r(an),r(a+"(",-2,t),ts(t.arguments,e),r(")")}function nb(t,e){const{push:r,indent:i,deindent:n,newline:a}=e,{properties:o}=t;if(!o.length){r("{}",-2,t);return}const h=o.length>1||o.some(c=>c.value.type!==4);r(h?"{":"{ "),h&&i();for(let c=0;c<o.length;c++){const{key:d,value:f}=o[c];eb(d,e),r(": "),Oe(f,e),c<o.length-1&&(r(","),a())}h&&n(),r(h?"}":" }")}function ab(t,e){un(t.elements,e)}function ob(t,e){const{push:r,indent:i,deindent:n}=e,{params:a,returns:o,body:h,newline:c,isSlot:d}=t;d&&r(`_${ut[Di]}(`),r("(",-2,t),qe(a)?ts(a,e):a&&Oe(a,e),r(") => "),(c||h)&&(r("{"),i()),o?(c&&r("return "),qe(o)?un(o,e):Oe(o,e)):h&&Oe(h,e),(c||h)&&(n(),r("}")),d&&r(")")}function ub(t,e){const{test:r,consequent:i,alternate:n,newline:a}=t,{push:o,indent:h,deindent:c,newline:d}=e;if(r.type===4){const m=!Jt(r.content);m&&o("("),Zh(r,e),m&&o(")")}else o("("),Oe(r,e),o(")");a&&h(),e.indentLevel++,a||o(" "),o("? "),Oe(i,e),e.indentLevel--,a&&d(),a||o(" "),o(": ");const f=n.type===19;f||e.indentLevel++,Oe(n,e),f||e.indentLevel--,a&&c(!0)}function lb(t,e){const{push:r,helper:i,indent:n,deindent:a,newline:o}=e,{needPauseTracking:h,needArraySpread:c}=t;c&&r("[...("),r(`_cache[${t.index}] || (`),h&&(n(),r(`${i(Ns)}(-1),`),o(),r("(")),r(`_cache[${t.index}] = `),Oe(t.value,e),h&&(r(`).cacheIndex = ${t.index},`),o(),r(`${i(Ns)}(1),`),o(),r(`_cache[${t.index}]`),a()),r(")"),c&&r(")]")}function cb(t,e){const{push:r,indent:i,deindent:n}=e;r("`");const a=t.elements.length,o=a>3;for(let h=0;h<a;h++){const c=t.elements[h];ge(c)?r(c.replace(/(`|\$|\\)/g,"\\$1"),-3):(r("${"),o&&i(),Oe(c,e),o&&n(),r("}"))}r("`")}function tf(t,e){const{push:r,indent:i,deindent:n}=e,{test:a,consequent:o,alternate:h}=t;r("if ("),Oe(a,e),r(") {"),i(),Oe(o,e),n(),r("}"),h&&(r(" else "),h.type===23?tf(h,e):(r("{"),i(),Oe(h,e),n(),r("}")))}function hb(t,e){Oe(t.left,e),e.push(" = "),Oe(t.right,e)}function fb(t,e){e.push("("),ts(t.expressions,e),e.push(")")}function pb({returns:t},e){e.push("return "),qe(t)?un(t,e):Oe(t,e)}const db=$e("true,false,null,this"),No=(t,e)=>{if(t.type===5)t.content=ze(t.content,e);else if(t.type===1)for(let r=0;r<t.props.length;r++){const i=t.props[r];if(i.type===7&&i.name!=="for"){const n=i.exp,a=i.arg;n&&n.type===4&&!(i.name==="on"&&a)&&(i.exp=ze(n,e,i.name==="slot")),a&&a.type===4&&!a.isStatic&&(i.arg=ze(a,e))}}};function ze(t,e,r=!1,i=!1,n=Object.create(e.identifiers)){if(!e.prefixIdentifiers||!t.content.trim())return t;const{inline:a,bindingMetadata:o}=e,h=(v,g,T)=>{const E=ja(o,v)&&o[v];if(a){const C=g&&g.type==="AssignmentExpression"&&g.left===T,N=g&&g.type==="UpdateExpression"&&g.argument===T,A=g&&zi(g,m),L=g&&dh(m),R=w=>{const I=`${e.helperString(Kr)}(${w})`;return L?`(${I})`:I};if(rf(E)||E==="setup-reactive-const"||n[v])return v;if(E==="setup-ref")return`${v}.value`;if(E==="setup-maybe-ref")return C||N||A?`${v}.value`:R(v);if(E==="setup-let")if(C){const{right:w,operator:I}=g,k=c.slice(w.start-1,w.end-1),M=ln(ze(Y(k,!1),e,!1,!1,y));return`${e.helperString(Os)}(${v})${e.isTS?` //@ts-ignore
|
|
44
|
+
`:""} ? ${v}.value ${I} ${M} : ${v}`}else if(N){T.start=g.start,T.end=g.end;const{prefix:w,operator:I}=g,k=w?I:"",M=w?"":I;return`${e.helperString(Os)}(${v})${e.isTS?` //@ts-ignore
|
|
45
|
+
`:""} ? ${k}${v}.value${M} : ${k}${v}${M}`}else return A?v:R(v);else{if(E==="props")return Ei(v);if(E==="props-aliased")return Ei(o.__propsAliases[v])}}else{if(E&&E.startsWith("setup")||E==="literal-const")return`$setup.${v}`;if(E==="props-aliased")return`$props['${o.__propsAliases[v]}']`;if(E)return`$${E}.${v}`}return`_ctx.${v}`},c=t.content;let d=t.ast;if(d===!1)return t;if(d===null||!d&&Jt(c)){const v=e.identifiers[c],g=Vc(c),T=db(c);return!r&&!v&&!T&&(!g||o[c])?(rf(o[c])&&(t.constType=1),t.content=h(c)):v||(T?t.constType=3:t.constType=2),t}if(!d){const v=i?` ${c} `:`(${c})${r?"=>{}":""}`;try{d=Dt.parseExpression(v,{sourceType:"module",plugins:e.expressionPlugins})}catch(g){return e.onError(be(45,t.loc,void 0,g.message)),t}}const f=[],m=[],y=Object.create(e.identifiers);Gi(d,(v,g,T,E,C)=>{if(bh(v,g))return;const N=E&&mb(v);N&&!C?(Hi(g)&&g.shorthand&&(v.prefix=`${v.name}: `),v.name=h(v.name,g,v),f.push(v)):(!(N&&C)&&(!g||g.type!=="CallExpression"&&g.type!=="NewExpression"&&g.type!=="MemberExpression")&&(v.isConstant=!0),f.push(v))},!0,m,y);const b=[];f.sort((v,g)=>v.start-g.start),f.forEach((v,g)=>{const T=v.start-1,E=v.end-1,C=f[g-1],N=c.slice(C?C.end-1:0,T);(N.length||v.prefix)&&b.push(N+(v.prefix||""));const A=c.slice(T,E);b.push(Y(v.name,!1,{start:po(t.loc.start,A,T),end:po(t.loc.start,A,E),source:A},v.isConstant?3:0)),g===f.length-1&&E<c.length&&b.push(c.slice(E))});let x;return b.length?(x=je(b,t.loc),x.ast=d):(x=t,x.constType=3),x.identifiers=Object.keys(y),x}function mb(t){return!(Vc(t.name)||t.name==="require")}function ln(t){return ge(t)?t:t.type===4?t.content:t.children.map(ln).join("")}function rf(t){return t==="setup-const"||t==="literal-const"}const gb=Bs(/^(if|else|else-if)$/,(t,e,r)=>Oo(t,e,r,(i,n,a)=>{const o=r.parent.children;let h=o.indexOf(i),c=0;for(;h-->=0;){const d=o[h];d&&d.type===9&&(c+=d.branches.length)}return()=>{if(a)i.codegenNode=nf(n,c,r);else{const d=bb(i.codegenNode);d.alternate=nf(n,c+i.branches.length-1,r)}}}));function Oo(t,e,r,i){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const n=e.exp?e.exp.loc:t.loc;r.onError(be(28,e.loc)),e.exp=Y("true",!1,n)}if(r.prefixIdentifiers&&e.exp&&(e.exp=ze(e.exp,r)),e.name==="if"){const n=sf(t,e),a={type:9,loc:My(t.loc),branches:[n]};if(r.replaceNode(a),i)return i(a,n,!0)}else{const n=r.parent.children,a=[];let o=n.indexOf(t);for(;o-->=-1;){const h=n[o];if(h&&h.type===3){r.removeNode(h),a.unshift(h);continue}if(h&&h.type===2&&!h.content.trim().length){r.removeNode(h);continue}if(h&&h.type===9){e.name==="else-if"&&h.branches[h.branches.length-1].condition===void 0&&r.onError(be(30,t.loc)),r.removeNode();const c=sf(t,e);a.length&&!(r.parent&&r.parent.type===1&&(r.parent.tag==="transition"||r.parent.tag==="Transition"))&&(c.children=[...a,...c.children]);{const f=c.userKey;f&&h.branches.forEach(({userKey:m})=>{yb(m,f)&&r.onError(be(29,c.userKey.loc))})}h.branches.push(c);const d=i&&i(h,c,!1);es(c,r),d&&d(),r.currentNode=null}else r.onError(be(30,t.loc));break}}}function sf(t,e){const r=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:r&&!Ue(t,"for")?t.children:[t],userKey:ct(t,"key"),isTemplateIf:r}}function nf(t,e,r){return t.condition?Ct(t.condition,af(t,e,r),ce(r.helper(Wr),['"v-if"',"true"])):af(t,e,r)}function af(t,e,r){const{helper:i}=r,n=Ee("key",Y(`${e}`,!1,Ne,2)),{children:a}=t,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){const c=o.codegenNode;return Rs(c,n,r),c}else{let c=64;return!t.isTemplateIf&&a.filter(d=>d.type!==3).length===1&&(c|=2048),Jr(r,i(Gr),lt([n]),a,c,void 0,void 0,!0,!1,!1,t.loc)}else{const c=o.codegenNode,d=Th(c);return d.type===13&&qi(d,r),Rs(d,n,r),c}}function yb(t,e){if(!t||t.type!==e.type)return!1;if(t.type===6){if(t.value.content!==e.value.content)return!1}else{const r=t.exp,i=e.exp;if(r.type!==i.type||r.type!==4||r.isStatic!==i.isStatic||r.content!==i.content)return!1}return!0}function bb(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const ko=(t,e,r)=>{const{modifiers:i,loc:n}=t,a=t.arg;let{exp:o}=t;if(o&&o.type===4&&!o.content.trim())return r.onError(be(34,n)),{props:[Ee(a,Y("",!0,n))]};if(!o){if(a.type!==4||!a.isStatic)return r.onError(be(52,a.loc)),{props:[Ee(a,Y("",!0,n))]};of(t,r),o=t.exp}return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.some(h=>h.content==="camel")&&(a.type===4?a.isStatic?a.content=ot(a.content):a.content=`${r.helperString(Mi)}(${a.content})`:(a.children.unshift(`${r.helperString(Mi)}(`),a.children.push(")"))),r.inSSR||(i.some(h=>h.content==="prop")&&uf(a,"."),i.some(h=>h.content==="attr")&&uf(a,"^")),{props:[Ee(a,o)]}},of=(t,e)=>{const r=t.arg,i=ot(r.content);t.exp=Y(i,!1,r.loc),t.exp=ze(t.exp,e)},uf=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},vb=Bs("for",(t,e,r)=>{const{helper:i,removeHelper:n}=r;return Lo(t,e,r,a=>{const o=ce(i(Ni),[a.source]),h=Qr(t),c=Ue(t,"memo"),d=ct(t,"key",!1,!0);d&&d.type===7&&!d.exp&&of(d,r);const f=d&&(d.type===6?d.value?Y(d.value.content,!0):void 0:d.exp),m=d&&f?Ee("key",f):null;h&&(c&&(c.exp=ze(c.exp,r)),m&&d.type!==6&&(m.value=ze(m.value,r)));const y=a.source.type===4&&a.source.constType>0,b=y?64:d?128:256;return a.codegenNode=Jr(r,i(Gr),void 0,o,b,void 0,void 0,!0,!y,!1,t.loc),()=>{let x;const{children:v}=a;h&&t.children.some(E=>{if(E.type===1){const C=ct(E,"key");if(C)return r.onError(be(33,C.loc)),!0}});const g=v.length!==1||v[0].type!==1,T=Zr(t)?t:h&&t.children.length===1&&Zr(t.children[0])?t.children[0]:null;if(T?(x=T.codegenNode,h&&m&&Rs(x,m,r)):g?x=Jr(r,i(Gr),m?lt([m]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(x=v[0].codegenNode,h&&m&&Rs(x,m,r),x.isBlock!==!y&&(x.isBlock?(n(hr),n(Ar(r.inSSR,x.isComponent))):n(Pr(r.inSSR,x.isComponent))),x.isBlock=!y,x.isBlock?(i(hr),i(Ar(r.inSSR,x.isComponent))):i(Pr(r.inSSR,x.isComponent))),c){const E=yt(Vs(a.parseResult,[Y("_cached")]));E.body=ks([je(["const _memo = (",c.exp,")"]),je(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${r.helperString(Qa)}(_cached, _memo)) return _cached`]),je(["const _item = ",x]),Y("_item.memo = _memo"),Y("return _item")]),o.arguments.push(E,Y("_cache"),Y(String(r.cached.length))),r.cached.push(null)}else o.arguments.push(yt(Vs(a.parseResult),x,!0))}})});function Lo(t,e,r,i){if(!e.exp){r.onError(be(31,e.loc));return}const n=e.forParseResult;if(!n){r.onError(be(32,e.loc));return}Mo(n,r);const{addIdentifiers:a,removeIdentifiers:o,scopes:h}=r,{source:c,value:d,key:f,index:m}=n,y={type:11,loc:e.loc,source:c,valueAlias:d,keyAlias:f,objectIndexAlias:m,parseResult:n,children:Qr(t)?t.children:[t]};r.replaceNode(y),h.vFor++,r.prefixIdentifiers&&(d&&a(d),f&&a(f),m&&a(m));const b=i&&i(y);return()=>{h.vFor--,r.prefixIdentifiers&&(d&&o(d),f&&o(f),m&&o(m)),b&&b()}}function Mo(t,e){t.finalized||(e.prefixIdentifiers&&(t.source=ze(t.source,e),t.key&&(t.key=ze(t.key,e,!0)),t.index&&(t.index=ze(t.index,e,!0)),t.value&&(t.value=ze(t.value,e,!0))),t.finalized=!0)}function Vs({value:t,key:e,index:r},i=[]){return Sb([t,e,r,...i])}function Sb(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((r,i)=>r||Y("_".repeat(i+1),!1))}const lf=Y("undefined",!1),Ro=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const r=Ue(t,"slot");if(r){const i=r.exp;return e.prefixIdentifiers&&i&&e.addIdentifiers(i),e.scopes.vSlot++,()=>{e.prefixIdentifiers&&i&&e.removeIdentifiers(i),e.scopes.vSlot--}}}},Do=(t,e)=>{let r;if(Qr(t)&&t.props.some(yo)&&(r=Ue(t,"for"))){const i=r.forParseResult;if(i){Mo(i,e);const{value:n,key:a,index:o}=i,{addIdentifiers:h,removeIdentifiers:c}=e;return n&&h(n),a&&h(a),o&&h(o),()=>{n&&c(n),a&&c(a),o&&c(o)}}}},xb=(t,e,r,i)=>yt(t,r,!1,!0,r.length?r[0].loc:i);function Gs(t,e,r=xb){e.helper(Di);const{children:i,loc:n}=t,a=[],o=[];let h=e.scopes.vSlot>0||e.scopes.vFor>0;!e.ssr&&e.prefixIdentifiers&&(h=ht(t,e.identifiers));const c=Ue(t,"slot",!0);if(c){const{arg:g,exp:T}=c;g&&!Ke(g)&&(h=!0),a.push(Ee(g||Y("default",!0),r(T,void 0,i,n)))}let d=!1,f=!1;const m=[],y=new Set;let b=0;for(let g=0;g<i.length;g++){const T=i[g];let E;if(!Qr(T)||!(E=Ue(T,"slot",!0))){T.type!==3&&m.push(T);continue}if(c){e.onError(be(37,E.loc));break}d=!0;const{children:C,loc:N}=T,{arg:A=Y("default",!0),exp:L,loc:R}=E;let w;Ke(A)?w=A?A.content:"default":h=!0;const I=Ue(T,"for"),k=r(L,I,C,N);let M,z;if(M=Ue(T,"if"))h=!0,o.push(Ct(M.exp,cn(A,k,b++),lf));else if(z=Ue(T,/^else(-if)?$/,!0)){let X=g,Z;for(;X--&&(Z=i[X],Z.type===3););if(Z&&Qr(Z)&&Ue(Z,/^(else-)?if$/)){let U=o[o.length-1];for(;U.alternate.type===19;)U=U.alternate;U.alternate=z.exp?Ct(z.exp,cn(A,k,b++),lf):cn(A,k,b++)}else e.onError(be(30,z.loc))}else if(I){h=!0;const X=I.forParseResult;X?(Mo(X,e),o.push(ce(e.helper(Ni),[X.source,yt(Vs(X),cn(A,k),!0)]))):e.onError(be(32,I.loc))}else{if(w){if(y.has(w)){e.onError(be(38,R));continue}y.add(w),w==="default"&&(f=!0)}a.push(Ee(A,k))}}if(!c){const g=(T,E)=>{const C=r(T,void 0,E,n);return Ee("default",C)};d?m.length&&m.some(T=>cf(T))&&(f?e.onError(be(39,m[0].loc)):a.push(g(void 0,m))):a.push(g(void 0,i))}const x=h?2:hn(t.children)?3:1;let v=lt(a.concat(Ee("_",Y(x+` /* ${_g[x]} */`,!1))),n);return o.length&&(v=ce(e.helper(Ya),[v,Kt(o)])),{slots:v,hasDynamicSlots:h}}function cn(t,e,r){const i=[Ee("name",t),Ee("fn",e)];return r!=null&&i.push(Ee("key",Y(String(r),!0))),lt(i)}function hn(t){for(let e=0;e<t.length;e++){const r=t[e];switch(r.type){case 1:if(r.tagType===2||hn(r.children))return!0;break;case 9:if(hn(r.branches))return!0;break;case 10:case 11:if(hn(r.children))return!0;break}}return!1}function cf(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():cf(t.content)}const hf=new WeakMap,ff=(t,e)=>function(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:i,props:n}=t,a=t.tagType===1;let o=a?fn(t,e):`"${i}"`;const h=lr(o)&&o.callee===Cs;let c,d,f=0,m,y,b,x=h||o===wr||o===zr||!a&&(i==="svg"||i==="foreignObject"||i==="math");if(n.length>0){const v=rs(t,e,void 0,a,h);c=v.props,f=v.patchFlag,y=v.dynamicPropNames;const g=v.directives;b=g&&g.length?Kt(g.map(T=>Bo(T,e))):void 0,v.shouldUseBlock&&(x=!0)}if(t.children.length>0)if(o===_s&&(x=!0,f|=1024,t.children.length>1&&e.onError(be(46,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}))),a&&o!==wr&&o!==_s){const{slots:g,hasDynamicSlots:T}=Gs(t,e);d=g,T&&(f|=1024)}else if(t.children.length===1&&o!==wr){const g=t.children[0],T=g.type,E=T===5||T===8;E&&ft(g,e)===0&&(f|=1),E||T===2?d=g:d=t.children}else d=t.children;y&&y.length&&(m=wb(y)),t.codegenNode=Jr(e,o,c,d,f===0?void 0:f,m,b,!!x,!1,a,t.loc)};function fn(t,e,r=!1){let{tag:i}=t;const n=$o(i),a=ct(t,"is",!1,!0);if(a)if(n){let h;if(a.type===6?h=a.value&&Y(a.value.content,!0):(h=a.exp,h||(h=Y("is",!1,a.arg.loc),h=a.exp=ze(h,e))),h)return ce(e.helper(Cs),[h])}else a.type===6&&a.value.content.startsWith("vue:")&&(i=a.value.content.slice(4));const o=ho(i)||e.isBuiltInComponent(i);if(o)return r||e.helper(o),o;{const h=Fo(i,e);if(h)return h;const c=i.indexOf(".");if(c>0){const d=Fo(i.slice(0,c),e);if(d)return d+i.slice(c)}}return e.selfName&&cr(ot(i))===e.selfName?(e.helper(As),e.components.add(i+"__self"),Ds(i,"component")):(e.helper(As),e.components.add(i),Ds(i,"component"))}function Fo(t,e){const r=e.bindingMetadata;if(!r||r.__isScriptSetup===!1)return;const i=ot(t),n=cr(i),a=d=>{if(r[t]===d)return t;if(r[i]===d)return i;if(r[n]===d)return n},o=a("setup-const")||a("setup-reactive-const")||a("literal-const");if(o)return e.inline?o:`$setup[${JSON.stringify(o)}]`;const h=a("setup-let")||a("setup-ref")||a("setup-maybe-ref");if(h)return e.inline?`${e.helperString(Kr)}(${h})`:`$setup[${JSON.stringify(h)}]`;const c=a("props");if(c)return`${e.helperString(Kr)}(${e.inline?"__props":"$props"}[${JSON.stringify(c)}])`}function rs(t,e,r=t.props,i,n,a=!1){const{tag:o,loc:h,children:c}=t;let d=[];const f=[],m=[],y=c.length>0;let b=!1,x=0,v=!1,g=!1,T=!1,E=!1,C=!1,N=!1;const A=[],L=k=>{d.length&&(f.push(lt(pf(d),h)),d=[]),k&&f.push(k)},R=()=>{e.scopes.vFor>0&&d.push(Ee(Y("ref_for",!0),Y("true")))},w=({key:k,value:M})=>{if(Ke(k)){const z=k.content,X=Bc(z);if(X&&(!i||n)&&z.toLowerCase()!=="onclick"&&z!=="onUpdate:modelValue"&&!jc(z)&&(E=!0),X&&jc(z)&&(N=!0),X&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&ft(M,e)>0)return;z==="ref"?v=!0:z==="class"?g=!0:z==="style"?T=!0:z!=="key"&&!A.includes(z)&&A.push(z),i&&(z==="class"||z==="style")&&!A.includes(z)&&A.push(z)}else C=!0};for(let k=0;k<r.length;k++){const M=r[k];if(M.type===6){const{loc:z,name:X,nameLoc:Z,value:U}=M;let Q=!0;if(X==="ref"&&(v=!0,R(),U&&e.inline)){const re=e.bindingMetadata[U.content];(re==="setup-let"||re==="setup-ref"||re==="setup-maybe-ref")&&(Q=!1,d.push(Ee(Y("ref_key",!0),Y(U.content,!0,U.loc))))}if(X==="is"&&($o(o)||U&&U.content.startsWith("vue:")))continue;d.push(Ee(Y(X,!0,Z),Y(U?U.content:"",Q,U?U.loc:z)))}else{const{name:z,arg:X,exp:Z,loc:U,modifiers:Q}=M,re=z==="bind",pe=z==="on";if(z==="slot"){i||e.onError(be(40,U));continue}if(z==="once"||z==="memo"||z==="is"||re&&Ft(X,"is")&&$o(o)||pe&&a)continue;if((re&&Ft(X,"key")||pe&&y&&Ft(X,"vue:before-update"))&&(b=!0),re&&Ft(X,"ref")&&R(),!X&&(re||pe)){C=!0,Z?re?(R(),L(),f.push(Z)):L({type:14,loc:U,callee:e.helper(Li),arguments:i?[Z]:[Z,"true"]}):e.onError(be(re?34:35,U));continue}re&&Q.some(me=>me.content==="prop")&&(x|=32);const Re=e.directiveTransforms[z];if(Re){const{props:me,needRuntime:ee}=Re(M,t,e);!a&&me.forEach(w),pe&&X&&!Ke(X)?L(lt(me,h)):d.push(...me),ee&&(m.push(M),ur(ee)&&hf.set(M,ee))}else Ga(z)||(m.push(M),y&&(b=!0))}}let I;if(f.length?(L(),f.length>1?I=ce(e.helper(Tr),f,h):I=f[0]):d.length&&(I=lt(pf(d),h)),C?x|=16:(g&&!i&&(x|=2),T&&!i&&(x|=4),A.length&&(x|=8),E&&(x|=32)),!b&&(x===0||x===32)&&(v||N||m.length>0)&&(x|=512),!e.inSSR&&I)switch(I.type){case 15:let k=-1,M=-1,z=!1;for(let U=0;U<I.properties.length;U++){const Q=I.properties[U].key;Ke(Q)?Q.content==="class"?k=U:Q.content==="style"&&(M=U):Q.isHandlerKey||(z=!0)}const X=I.properties[k],Z=I.properties[M];z?I=ce(e.helper(Hr),[I]):(X&&!Ke(X.value)&&(X.value=ce(e.helper(Oi),[X.value])),Z&&(T||Z.value.type===4&&Z.value.content.trim()[0]==="["||Z.value.type===17)&&(Z.value=ce(e.helper(ki),[Z.value])));break;case 14:break;default:I=ce(e.helper(Hr),[ce(e.helper(Xr),[I])]);break}return{props:I,directives:m,patchFlag:x,dynamicPropNames:A,shouldUseBlock:b}}function pf(t){const e=new Map,r=[];for(let i=0;i<t.length;i++){const n=t[i];if(n.key.type===8||!n.key.isStatic){r.push(n);continue}const a=n.key.content,o=e.get(a);o?(a==="style"||a==="class"||Bc(a))&&Eb(o,n):(e.set(a,n),r.push(n))}return r}function Eb(t,e){t.value.type===17?t.value.elements.push(e.value):t.value=Kt([t.value,e.value],t.loc)}function Bo(t,e){const r=[],i=hf.get(t);if(i)r.push(e.helperString(i));else{const a=Fo("v-"+t.name,e);a?r.push(a):(e.helper(Ci),e.directives.add(t.name),r.push(Ds(t.name,"directive")))}const{loc:n}=t;if(t.exp&&r.push(t.exp),t.arg&&(t.exp||r.push("void 0"),r.push(t.arg)),Object.keys(t.modifiers).length){t.arg||(t.exp||r.push("void 0"),r.push("void 0"));const a=Y("true",!1,n);r.push(lt(t.modifiers.map(o=>Ee(o,a)),n))}return Kt(r,t.loc)}function wb(t){let e="[";for(let r=0,i=t.length;r<i;r++)e+=JSON.stringify(t[r]),r<i-1&&(e+=", ");return e+"]"}function $o(t){return t==="component"||t==="Component"}const Tb=(t,e)=>{if(Zr(t)){const{children:r,loc:i}=t,{slotName:n,slotProps:a}=Uo(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let h=2;a&&(o[2]=a,h=3),r.length&&(o[3]=yt([],r,!1,!1,i),h=4),e.scopeId&&!e.slotted&&(h=5),o.splice(h),t.codegenNode=ce(e.helper(Ja),o,i)}};function Uo(t,e){let r='"default"',i;const n=[];for(let a=0;a<t.props.length;a++){const o=t.props[a];if(o.type===6)o.value&&(o.name==="name"?r=JSON.stringify(o.value.content):(o.name=ot(o.name),n.push(o)));else if(o.name==="bind"&&Ft(o.arg,"name")){if(o.exp)r=o.exp;else if(o.arg&&o.arg.type===4){const h=ot(o.arg.content);r=o.exp=Y(h,!1,o.arg.loc),r=o.exp=ze(o.exp,e)}}else o.name==="bind"&&o.arg&&Ke(o.arg)&&(o.arg.content=ot(o.arg.content)),n.push(o)}if(n.length>0){const{props:a,directives:o}=rs(t,e,n,!1,!1);i=a,o.length&&e.onError(be(36,o[0].loc))}return{slotName:r,slotProps:i}}const pn=(t,e,r,i)=>{const{loc:n,modifiers:a,arg:o}=t;!t.exp&&!a.length&&r.onError(be(35,n));let h;if(o.type===4)if(o.isStatic){let m=o.content;m.startsWith("vnode")&&r.onError(be(51,o.loc)),m.startsWith("vue:")&&(m=`vnode-${m.slice(4)}`);const y=e.tagType!==0||m.startsWith("vnode")||!/[A-Z]/.test(m)?Eg(ot(m)):`on:${m}`;h=Y(y,!0,o.loc)}else h=je([`${r.helperString(Ri)}(`,o,")"]);else h=o,h.children.unshift(`${r.helperString(Ri)}(`),h.children.push(")");let c=t.exp;c&&!c.content.trim()&&(c=void 0);let d=r.cacheHandlers&&!c&&!r.inVOnce;if(c){const m=fo(c,r),y=!(m||xh(c,r)),b=c.content.includes(";");r.prefixIdentifiers&&(y&&r.addIdentifiers("$event"),c=t.exp=ze(c,r,!1,b),y&&r.removeIdentifiers("$event"),d=r.cacheHandlers&&!r.inVOnce&&!(c.type===4&&c.constType>0)&&!(m&&e.tagType===1)&&!ht(c,r.identifiers),d&&m&&(c.type===4?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(y||d&&m)&&(c=je([`${y?r.isTS?"($event: any)":"$event":`${r.isTS?`
|
|
46
|
+
//@ts-ignore
|
|
47
|
+
`:""}(...args)`} => ${b?"{":"("}`,c,b?"}":")"]))}let f={props:[Ee(h,c||Y("() => {}",!1,n))]};return i&&(f=i(f)),d&&(f.props[0].value=r.cache(f.props[0].value)),f.props.forEach(m=>m.key.isHandlerKey=!0),f},_b=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const r=t.children;let i,n=!1;for(let a=0;a<r.length;a++){const o=r[a];if(Ms(o)){n=!0;for(let h=a+1;h<r.length;h++){const c=r[h];if(Ms(c))i||(i=r[a]=je([o],o.loc)),i.children.push(" + ",c),r.splice(h,1),h--;else{i=void 0;break}}}}if(!(!n||r.length===1&&(t.type===0||t.type===1&&t.tagType===0&&!t.props.find(a=>a.type===7&&!e.directiveTransforms[a.name]))))for(let a=0;a<r.length;a++){const o=r[a];if(Ms(o)||o.type===8){const h=[];(o.type!==2||o.content!==" ")&&h.push(o),!e.ssr&&ft(o,e)===0&&h.push(`1 /* ${wi[1]} */`),r[a]={type:12,content:o,loc:o.loc,codegenNode:ce(e.helper(Pi),h)}}}}},df=new WeakSet,Pb=(t,e)=>{if(t.type===1&&Ue(t,"once",!0))return df.has(t)||e.inVOnce||e.inSSR?void 0:(df.add(t),e.inVOnce=!0,e.helper(Ns),()=>{e.inVOnce=!1;const r=e.currentNode;r.codegenNode&&(r.codegenNode=e.cache(r.codegenNode,!0))})},dn=(t,e,r)=>{const{exp:i,arg:n}=t;if(!i)return r.onError(be(41,t.loc)),zs();const a=i.loc.source.trim(),o=i.type===4?i.content:a,h=r.bindingMetadata[a];if(h==="props"||h==="props-aliased")return r.onError(be(44,i.loc)),zs();const c=r.inline&&(h==="setup-let"||h==="setup-ref"||h==="setup-maybe-ref");if(!o.trim()||!fo(i,r)&&!c)return r.onError(be(42,i.loc)),zs();if(r.prefixIdentifiers&&Jt(o)&&r.identifiers[o])return r.onError(be(43,i.loc)),zs();const d=n||Y("modelValue",!0),f=n?Ke(n)?`onUpdate:${ot(n.content)}`:je(['"onUpdate:" + ',n]):"onUpdate:modelValue";let m;const y=r.isTS?"($event: any)":"$event";if(c)if(h==="setup-ref")m=je([`${y} => ((`,Y(a,!1,i.loc),").value = $event)"]);else{const x=h==="setup-let"?`${a} = $event`:"null";m=je([`${y} => (${r.helperString(Os)}(${a}) ? (`,Y(a,!1,i.loc),`).value = $event : ${x})`])}else m=je([`${y} => ((`,i,") = $event)"]);const b=[Ee(d,t.exp),Ee(f,m)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!ht(i,r.identifiers)&&(b[1].value=r.cache(b[1].value)),t.modifiers.length&&e.tagType===1){const x=t.modifiers.map(g=>g.content).map(g=>(Jt(g)?g:JSON.stringify(g))+": true").join(", "),v=n?Ke(n)?`${n.content}Modifiers`:je([n,' + "Modifiers"']):"modelModifiers";b.push(Ee(v,Y(`{ ${x} }`,!1,t.loc,2)))}return zs(b)};function zs(t=[]){return{props:t}}const mf=new WeakSet,Ab=(t,e)=>{if(t.type===1){const r=Ue(t,"memo");return!r||mf.has(t)?void 0:(mf.add(t),()=>{const i=t.codegenNode||e.currentNode.codegenNode;i&&i.type===13&&(t.tagType!==1&&qi(i,e),t.codegenNode=ce(e.helper(Fi),[r.exp,yt(void 0,i),"_cache",String(e.cached.length)]),e.cached.push(null))})}};function qo(t){return[[Pb,gb,Ab,vb,...t?[Do,No]:[],Tb,ff,Ro,_b],{on:pn,bind:ko,model:dn}]}function gf(t,e={}){const r=e.onError||no,i=e.mode==="module",n=e.prefixIdentifiers===!0||i;!n&&e.cacheHandlers&&r(be(49)),e.scopeId&&!i&&r(be(50));const a=Lt({},e,{prefixIdentifiers:n}),o=ge(t)?tn(t,a):t,[h,c]=qo(n);if(e.isTS){const{expressionPlugins:d}=e;(!d||!d.includes("typescript"))&&(e.expressionPlugins=[...d||[],"typescript"])}return xo(o,Lt({},a,{nodeTransforms:[...h,...e.nodeTransforms||[]],directiveTransforms:Lt({},c,e.directiveTransforms||{})})),Io(o,a)}const Cb={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},Ws=()=>({props:[]}),jo=Symbol("vModelRadio"),Vo=Symbol("vModelCheckbox"),Go=Symbol("vModelText"),zo=Symbol("vModelSelect"),mn=Symbol("vModelDynamic"),Wo=Symbol("vOnModifiersGuard"),Ho=Symbol("vOnKeysGuard"),Xo=Symbol("vShow"),Nr=Symbol("Transition"),ss=Symbol("TransitionGroup");Za({[jo]:"vModelRadio",[Vo]:"vModelCheckbox",[Go]:"vModelText",[zo]:"vModelSelect",[mn]:"vModelDynamic",[Wo]:"withModifiers",[Ho]:"withKeys",[Xo]:"vShow",[Nr]:"Transition",[ss]:"TransitionGroup"});const is={parseMode:"html",isVoidTag:Xc,isNativeTag:t=>Mg(t)||Rg(t)||Dg(t),isPreTag:t=>t==="pre",isIgnoreNewlineTag:t=>t==="pre"||t==="textarea",decodeEntities:void 0,isBuiltInComponent:t=>{if(t==="Transition"||t==="transition")return Nr;if(t==="TransitionGroup"||t==="transition-group")return ss},getNamespace(t,e,r){let i=e?e.ns:r;if(e&&i===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(n=>n.type===6&&n.name==="encoding"&&n.value!=null&&(n.value.content==="text/html"||n.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(i=0);else e&&i===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(i=0);if(i===0){if(t==="svg")return 1;if(t==="math")return 2}return i}},Ko=t=>{t.type===1&&t.props.forEach((e,r)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[r]={type:7,name:"bind",arg:Y("style",!0,e.loc),exp:Ib(e.value.content,e.loc),modifiers:[],loc:e.loc})})},Ib=(t,e)=>{const r=Wc(t);return Y(JSON.stringify(r),!1,e,3)};function et(t,e){return be(t,e,Jo)}const Nb={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},Jo={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Ob=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(et(53,n)),e.children.length&&(r.onError(et(54,n)),e.children.length=0),{props:[Ee(Y("innerHTML",!0,n),i||Y("",!0))]}},kb=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(et(55,n)),e.children.length&&(r.onError(et(56,n)),e.children.length=0),{props:[Ee(Y("textContent",!0),i?ft(i,r)>0?i:ce(r.helperString(Is),[i],n):Y("",!0))]}},Lb=(t,e,r)=>{const i=dn(t,e,r);if(!i.props.length||e.tagType===1)return i;t.arg&&r.onError(et(58,t.arg.loc));function n(){const h=Ue(e,"bind");h&&Ft(h.arg,"value")&&r.onError(et(60,h.loc))}const{tag:a}=e,o=r.isCustomElement(a);if(a==="input"||a==="textarea"||a==="select"||o){let h=Go,c=!1;if(a==="input"||o){const d=ct(e,"type");if(d){if(d.type===7)h=mn;else if(d.value)switch(d.value.content){case"radio":h=jo;break;case"checkbox":h=Vo;break;case"file":c=!0,r.onError(et(59,t.loc));break;default:n();break}}else Ji(e)?h=mn:n()}else a==="select"?h=zo:n();c||(i.needRuntime=r.helper(h))}else r.onError(et(57,t.loc));return i.props=i.props.filter(h=>!(h.key.type===4&&h.key.content==="modelValue")),i},Mb=$e("passive,once,capture"),Rb=$e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Db=$e("left,right"),yf=$e("onkeyup,onkeydown,onkeypress"),Fb=(t,e,r,i)=>{const n=[],a=[],o=[];for(let h=0;h<e.length;h++){const c=e[h].content;Mb(c)?o.push(c):Db(c)?Ke(t)?yf(t.content.toLowerCase())?n.push(c):a.push(c):(n.push(c),a.push(c)):Rb(c)?a.push(c):n.push(c)}return{keyModifiers:n,nonKeyModifiers:a,eventOptionModifiers:o}},bf=(t,e)=>Ke(t)&&t.content.toLowerCase()==="onclick"?Y(e,!0):t.type!==4?je(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,Bb=(t,e,r)=>pn(t,e,r,i=>{const{modifiers:n}=t;if(!n.length)return i;let{key:a,value:o}=i.props[0];const{keyModifiers:h,nonKeyModifiers:c,eventOptionModifiers:d}=Fb(a,n,r,t.loc);if(c.includes("right")&&(a=bf(a,"onContextmenu")),c.includes("middle")&&(a=bf(a,"onMouseup")),c.length&&(o=ce(r.helper(Wo),[o,JSON.stringify(c)])),h.length&&(!Ke(a)||yf(a.content.toLowerCase()))&&(o=ce(r.helper(Ho),[o,JSON.stringify(h)])),d.length){const f=d.map(cr).join("");a=Ke(a)?Y(`${a.content}${f}`,!0):je(["(",a,`) + "${f}"`])}return{props:[Ee(a,o)]}}),$b=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(et(61,n)),{props:[],needRuntime:r.helper(Xo)}},Ub=(t,e)=>{if(t.type===1&&t.tagType===1&&e.isBuiltInComponent(t.tag)===Nr)return()=>{if(!t.children.length)return;vf(t)&&e.onError(et(62,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}));const i=t.children[0];if(i.type===1)for(const n of i.props)n.type===7&&n.name==="show"&&t.props.push({type:6,name:"persisted",nameLoc:t.loc,value:void 0,loc:t.loc})}};function vf(t){const e=t.children=t.children.filter(i=>i.type!==3&&!(i.type===2&&!i.content.trim())),r=e[0];return e.length!==1||r.type===11||r.type===9&&r.branches.some(vf)}const qb=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,jb=(t,e,r)=>{if(e.scopes.vSlot>0)return;const i=r.type===1&&r.codegenNode&&r.codegenNode.type===13&&r.codegenNode.children&&!qe(r.codegenNode.children)&&r.codegenNode.children.type===20;let n=0,a=0;const o=[],h=d=>{if(n>=20||a>=5){const f=ce(e.helper(Ai),[JSON.stringify(o.map(y=>Yo(y,e)).join("")).replace(qb,'" + $1 + "'),String(o.length)]),m=o.length-1;if(i)t.splice(d-o.length,o.length,f);else if(o[0].codegenNode.value=f,o.length>1){t.splice(d-o.length+1,m);const y=e.cached.indexOf(o[o.length-1].codegenNode);if(y>-1){for(let b=y;b<e.cached.length;b++){const x=e.cached[b];x&&(x.index-=m)}e.cached.splice(y-m+1,m)}}return m}return 0};let c=0;for(;c<t.length;c++){const d=t[c];if(i||Vb(d)){const m=Wb(d);if(m){n+=m[0],a+=m[1],o.push(d);continue}}c-=h(c),n=0,a=0,o.length=0}h(c)},Vb=t=>{if((t.type===1&&t.tagType===0||t.type===12)&&t.codegenNode&&t.codegenNode.type===20)return t.codegenNode},Gb=/^(data|aria)-/,Sf=(t,e)=>(e===0?Ug(t):e===1?qg(t):e===2?jg(t):!1)||Gb.test(t),zb=$e("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Wb(t){if(t.type===1&&zb(t.tag))return!1;if(t.type===12)return[1,0];let e=1,r=t.props.length>0?1:0,i=!1;const n=()=>(i=!0,!1);function a(o){const h=o.tag==="option"&&o.ns===0;for(let c=0;c<o.props.length;c++){const d=o.props[c];if(d.type===6&&!Sf(d.name,o.ns)||d.type===7&&d.name==="bind"&&(d.arg&&(d.arg.type===8||d.arg.isStatic&&!Sf(d.arg.content,o.ns))||d.exp&&(d.exp.type===8||d.exp.constType<3)||h&&Ft(d.arg,"value")&&d.exp&&!d.exp.isStatic))return n()}for(let c=0;c<o.children.length;c++){e++;const d=o.children[c];if(d.type===1&&(d.props.length>0&&r++,a(d),i))return!1}return!0}return a(t)?[e,r]:!1}function Yo(t,e){if(ge(t))return t;if(ur(t))return"";switch(t.type){case 1:return Hb(t,e);case 2:return Mt(t.content);case 3:return`<!--${Mt(t.content)}-->`;case 5:return Mt(Ti(Or(t.content)));case 8:return Mt(Or(t));case 12:return Yo(t.content,e);default:return""}}function Hb(t,e){let r=`<${t.tag}`,i="";for(let n=0;n<t.props.length;n++){const a=t.props[n];if(a.type===6)r+=` ${a.name}`,a.value&&(r+=`="${Mt(a.value.content)}"`);else if(a.type===7)if(a.name==="bind"){const o=a.exp;if(o.content[0]==="_"){r+=` ${a.arg.content}="__VUE_EXP_START__${o.content}__VUE_EXP_END__"`;continue}if(Kc(a.arg.content)&&o.content==="false")continue;let h=Or(o);if(h!=null){const c=a.arg&&a.arg.content;c==="class"?h=Hc(h):c==="style"&&(h=Ig(zc(h))),r+=` ${a.arg.content}="${Mt(h)}"`}}else a.name==="html"?i=Or(a.exp):a.name==="text"&&(i=Mt(Ti(Or(a.exp))))}if(e.scopeId&&(r+=` ${e.scopeId}`),r+=">",i)r+=i;else for(let n=0;n<t.children.length;n++)r+=Yo(t.children[n],e);return Xc(t.tag)||(r+=`</${t.tag}>`),r}function Or(t){if(t.type===4)return new Function(`return (${t.content})`)();{let e="";return t.children.forEach(r=>{ge(r)||ur(r)||(r.type===2?e+=r.content:r.type===5?e+=Ti(Or(r.content)):e+=Or(r))}),e}}const Xb=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&(e.onError(et(63,t.loc)),e.removeNode())};function Kb(t,e){return t in xf?xf[t].has(e):e in Ef?Ef[e].has(t):!(t in wf&&wf[t].has(e)||e in Tf&&Tf[e].has(t))}const ns=new Set(["h1","h2","h3","h4","h5","h6"]),kr=new Set([]),xf={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:kr,iframe:kr,option:kr,textarea:kr,style:kr,title:kr},Ef={html:kr,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},wf={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},Tf={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:ns,h2:ns,h3:ns,h4:ns,h5:ns,h6:ns},Qo=[Ko,Ub,(t,e)=>{if(t.type===1&&t.tagType===0&&e.parent&&e.parent.type===1&&e.parent.tagType===0&&!Kb(e.parent.tag,t.tag)){const r=new SyntaxError(`<${t.tag}> cannot be child of <${e.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);r.loc=t.loc,e.onWarn(r)}}],Zo={cloak:Ws,html:Ob,text:kb,model:Lb,on:Bb,show:$b};function Jb(t,e={}){return gf(t,Lt({},is,e,{nodeTransforms:[Xb,...Qo,...e.nodeTransforms||[]],directiveTransforms:Lt({},Zo,e.directiveTransforms||{}),transformHoist:jb}))}function Yb(t,e={}){return tn(t,Lt({},is,e))}var eu=Object.freeze({__proto__:null,BASE_TRANSITION:Ha,BindingTypes:Cb,CAMELIZE:Mi,CAPITALIZE:Zc,CREATE_BLOCK:Xa,CREATE_COMMENT:Wr,CREATE_ELEMENT_BLOCK:Ka,CREATE_ELEMENT_VNODE:_i,CREATE_SLOTS:Ya,CREATE_STATIC:Ai,CREATE_TEXT:Pi,CREATE_VNODE:Ps,CompilerDeprecationTypes:oy,ConstantTypes:Kg,DOMDirectiveTransforms:Zo,DOMErrorCodes:Nb,DOMErrorMessages:Jo,DOMNodeTransforms:Qo,ElementTypes:Xg,ErrorCodes:hy,FRAGMENT:Gr,GUARD_REACTIVE_PROPS:Xr,IS_MEMO_SAME:Qa,IS_REF:Os,KEEP_ALIVE:_s,MERGE_PROPS:Tr,NORMALIZE_CLASS:Oi,NORMALIZE_PROPS:Hr,NORMALIZE_STYLE:ki,Namespaces:Wg,NodeTypes:Hg,OPEN_BLOCK:hr,POP_SCOPE_ID:th,PUSH_SCOPE_ID:eh,RENDER_LIST:Ni,RENDER_SLOT:Ja,RESOLVE_COMPONENT:As,RESOLVE_DIRECTIVE:Ci,RESOLVE_DYNAMIC_COMPONENT:Cs,RESOLVE_FILTER:Qc,SET_BLOCK_TRACKING:Ns,SUSPENSE:zr,TELEPORT:wr,TO_DISPLAY_STRING:Is,TO_HANDLERS:Li,TO_HANDLER_KEY:Ri,TRANSITION:Nr,TRANSITION_GROUP:ss,TS_NODE_TYPES:Xi,UNREF:Kr,V_MODEL_CHECKBOX:Vo,V_MODEL_DYNAMIC:mn,V_MODEL_RADIO:jo,V_MODEL_SELECT:zo,V_MODEL_TEXT:Go,V_ON_WITH_KEYS:Ho,V_ON_WITH_MODIFIERS:Wo,V_SHOW:Xo,WITH_CTX:Di,WITH_DIRECTIVES:Ii,WITH_MEMO:Fi,advancePositionWithClone:po,advancePositionWithMutation:mo,assert:go,baseCompile:gf,baseParse:tn,buildDirectiveArgs:Bo,buildProps:rs,buildSlots:Gs,checkCompatEnabled:cy,compile:Jb,convertToBlock:qi,createArrayExpression:Kt,createAssignmentExpression:Ui,createBlockStatement:ks,createCacheExpression:rh,createCallExpression:ce,createCompilerError:be,createCompoundExpression:je,createConditionalExpression:Ct,createDOMCompilerError:et,createForLoopParams:Vs,createFunctionExpression:yt,createIfStatement:$i,createInterpolation:Bi,createObjectExpression:lt,createObjectProperty:Ee,createReturnStatement:ih,createRoot:_r,createSequenceExpression:sh,createSimpleExpression:Y,createStructuralDirectiveTransform:Bs,createTemplateLiteral:eo,createTransformContext:Fs,createVNodeCall:Jr,errorMessages:ao,extractIdentifiers:It,findDir:Ue,findProp:ct,forAliasRE:_h,generate:Io,generateCodeFrame:Ts,getBaseTransformPreset:qo,getConstantType:ft,getMemoedVNodeCall:Th,getVNodeBlockHelper:Ar,getVNodeHelper:Pr,hasDynamicKeyVBind:Ji,hasScopeRef:ht,helperNameMap:ut,injectProp:Rs,isCoreComponent:ho,isFnExpression:xh,isFnExpressionBrowser:Ey,isFnExpressionNode:Sh,isFunctionType:dr,isInDestructureAssignment:zi,isInNewExpression:dh,isMemberExpression:fo,isMemberExpressionBrowser:Sy,isMemberExpressionNode:vh,isReferencedIdentifier:uo,isSimpleIdentifier:Jt,isSlotOutlet:Zr,isStaticArgOf:Ft,isStaticExp:Ke,isStaticProperty:Hi,isStaticPropertyKey:bh,isTemplateNode:Qr,isText:Ms,isVSlot:yo,locStub:Ne,noopDirectiveTransform:Ws,parse:Yb,parserOptions:is,processExpression:ze,processFor:Lo,processIf:Oo,processSlotOutlet:Uo,registerRuntimeHelpers:Za,resolveComponentType:fn,stringifyExpression:ln,toValidAssetId:Ds,trackSlotScopes:Ro,trackVForSlotScopes:Do,transform:xo,transformBind:ko,transformElement:ff,transformExpression:No,transformModel:dn,transformOn:pn,transformStyle:Ko,traverseNode:es,unwrapTSNode:vt,walkBlockDeclarations:mh,walkFunctionParams:lo,walkIdentifiers:Gi,warnDeprecation:hh}),tu,_f;function Qb(){if(_f)return tu;_f=1;function t(o,h){for(;o.length<h;)o="0"+o;return o}function e(o,h){var c,d,f;if(h.length===0)return o;for(c=0,f=h.length;c<f;c++)d=h.charCodeAt(c),o=(o<<5)-o+d,o|=0;return o<0?o*-2:o}function r(o,h,c){return Object.keys(h).sort().reduce(d,o);function d(f,m){return i(f,h[m],m,c)}}function i(o,h,c,d){var f=e(e(e(o,c),n(h)),typeof h);if(h===null)return e(f,"null");if(h===void 0)return e(f,"undefined");if(typeof h=="object"||typeof h=="function"){if(d.indexOf(h)!==-1)return e(f,"[Circular]"+c);d.push(h);var m=r(f,h,d);if(!("valueOf"in h)||typeof h.valueOf!="function")return m;try{return e(m,String(h.valueOf()))}catch(y){return e(m,"[valueOf exception]"+(y.stack||y.message))}}return e(f,h.toString())}function n(o){return Object.prototype.toString.call(o)}function a(o){return t(i(0,o,"",[]).toString(16),8)}return tu=a,tu}var Zb=Qb(),ev=Vi(Zb);const gn="useCssVars";function Pf(t,e,r,i=!1){return`{
|
|
48
|
+
${t.map(n=>`"${i?"--":""}${Af(e,n,r,i)}": (${n})`).join(`,
|
|
49
|
+
`)}
|
|
50
|
+
}`}function Af(t,e,r,i=!1){return r?ev(t+e):`${t}-${zg(e,i)}`}function Cf(t){return t=t.trim(),t[0]==="'"&&t[t.length-1]==="'"||t[0]==='"'&&t[t.length-1]==='"'?t.slice(1,-1):t}const yn=/v-bind\s*\(/g;function tv(t){const e=[];return t.styles.forEach(r=>{let i;const n=r.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g,"");for(;i=yn.exec(n);){const a=i.index+i[0].length,o=If(n,a);if(o!==null){const h=Cf(n.slice(a,o));e.includes(h)||e.push(h)}}}),e}function If(t,e){let r=0,i=0;for(let n=e;n<t.length;n++){const a=t.charAt(n);switch(r){case 0:if(a==="'")r=1;else if(a==='"')r=2;else if(a==="(")i++;else if(a===")")if(i>0)i--;else return n;break;case 1:a==="'"&&(r=0);break;case 2:a==='"'&&(r=0);break}}return null}const Nf=t=>{const{id:e,isProd:r}=t;return{postcssPlugin:"vue-sfc-vars",Declaration(i){const n=i.value;if(yn.test(n)){yn.lastIndex=0;let a="",o=0,h;for(;h=yn.exec(n);){const c=h.index+h[0].length,d=If(n,c);if(d!==null){const f=Cf(n.slice(c,d));a+=n.slice(o,h.index)+`var(--${Af(e,f,r)})`,o=d+1}}i.value=a+n.slice(o)}}}};Nf.postcss=!0;function Of(t,e,r,i){const n=Pf(t,r,i),a=Y(n,!1),o=Fs(_r([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:e.__isScriptSetup===!1?void 0:e}),h=ze(a,o),c=h.type===4?h.content:h.children.map(d=>typeof d=="string"?d:d.content).join("");return`_${gn}(_ctx => (${c}))`}function rv(t,e,r,i,n){return`
|
|
51
|
+
import { ${gn} as _${gn} } from 'vue'
|
|
52
|
+
const __injectCSSVars__ = () => {
|
|
53
|
+
${Of(t,e,r,i)}}
|
|
54
|
+
const __setup__ = ${n}.setup
|
|
55
|
+
${n}.setup = __setup__
|
|
56
|
+
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
|
|
57
|
+
: __injectCSSVars__
|
|
58
|
+
`}var gr=typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{};function kf(){throw new Error("setTimeout has not been defined")}function Lf(){throw new Error("clearTimeout has not been defined")}var yr=kf,br=Lf;typeof gr.setTimeout=="function"&&(yr=setTimeout),typeof gr.clearTimeout=="function"&&(br=clearTimeout);function Mf(t){if(yr===setTimeout)return setTimeout(t,0);if((yr===kf||!yr)&&setTimeout)return yr=setTimeout,setTimeout(t,0);try{return yr(t,0)}catch(e){try{return yr.call(null,t,0)}catch(r){return yr.call(this,t,0)}}}function sv(t){if(br===clearTimeout)return clearTimeout(t);if((br===Lf||!br)&&clearTimeout)return br=clearTimeout,clearTimeout(t);try{return br(t)}catch(e){try{return br.call(null,t)}catch(r){return br.call(this,t)}}}var Zt=[],as=!1,Lr,bn=-1;function iv(){!as||!Lr||(as=!1,Lr.length?Zt=Lr.concat(Zt):bn=-1,Zt.length&&Rf())}function Rf(){if(!as){var t=Mf(iv);as=!0;for(var e=Zt.length;e;){for(Lr=Zt,Zt=[];++bn<e;)Lr&&Lr[bn].run();bn=-1,e=Zt.length}Lr=null,as=!1,sv(t)}}function nv(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Zt.push(new Df(t,e)),Zt.length===1&&!as&&Mf(Rf)}function Df(t,e){this.fun=t,this.array=e}Df.prototype.run=function(){this.fun.apply(null,this.array)};var av="browser",ov="browser",uv=!0,lv={},cv=[],hv="",fv={},pv={},dv={};function Mr(){}var mv=Mr,gv=Mr,yv=Mr,bv=Mr,vv=Mr,Sv=Mr,xv=Mr;function Ev(t){throw new Error("process.binding is not supported")}function wv(){return"/"}function Tv(t){throw new Error("process.chdir is not supported")}function _v(){return 0}var os=gr.performance||{},Pv=os.now||os.mozNow||os.msNow||os.oNow||os.webkitNow||function(){return new Date().getTime()};function Av(t){var e=Pv.call(os)*.001,r=Math.floor(e),i=Math.floor(e%1*1e9);return t&&(r=r-t[0],i=i-t[1],i<0&&(r--,i+=1e9)),[r,i]}var Cv=new Date;function Iv(){var t=new Date,e=t-Cv;return e/1e3}var pt={nextTick:nv,title:av,browser:uv,env:lv,argv:cv,version:hv,versions:fv,on:mv,addListener:gv,once:yv,off:bv,removeListener:vv,removeAllListeners:Sv,emit:xv,binding:Ev,cwd:wv,chdir:Tv,umask:_v,hrtime:Av,platform:ov,release:pv,config:dv,uptime:Iv};function ru(t=500){return new Map}function Ff(t,e){return Nv(e).has(t)}const Bf=ru();function Nv(t){const{content:e,ast:r}=t.template,i=Bf.get(e);if(i)return i;const n=new Set;r.children.forEach(a);function a(o){var h;switch(o.type){case 1:let c=o.tag;c.includes(".")&&(c=c.split(".")[0].trim()),!is.isNativeTag(c)&&!is.isBuiltInComponent(c)&&(n.add(ot(c)),n.add(cr(ot(c))));for(let d=0;d<o.props.length;d++){const f=o.props[d];f.type===7&&(Ga(f.name)||n.add(`v${cr(ot(f.name))}`),f.arg&&!f.arg.isStatic&&vn(n,f.arg),f.name==="for"?vn(n,f.forParseResult.source):f.exp?vn(n,f.exp):f.name==="bind"&&!f.exp&&n.add(ot(f.arg.content))),f.type===6&&f.name==="ref"&&((h=f.value)!=null&&h.content)&&n.add(f.value.content)}o.children.forEach(a);break;case 5:vn(n,o.content);break}}return Bf.set(e,n),n}function vn(t,e){e.ast?Gi(e.ast,r=>t.add(r.name)):e.ast===null&&t.add(e.content)}var Ov=Object.defineProperty,kv=Object.defineProperties,Lv=Object.getOwnPropertyDescriptors,$f=Object.getOwnPropertySymbols,Mv=Object.prototype.hasOwnProperty,Rv=Object.prototype.propertyIsEnumerable,Uf=(t,e,r)=>e in t?Ov(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qf=(t,e)=>{for(var r in e||(e={}))Mv.call(e,r)&&Uf(t,r,e[r]);if($f)for(var r of $f(e))Rv.call(e,r)&&Uf(t,r,e[r]);return t},jf=(t,e)=>kv(t,Lv(e));const Vf="anonymous.vue",Gf=ru();function zf(t,e={}){var r;const i=Tg(t,jf(qf({},e),{compiler:{parse:(r=e.compiler)==null?void 0:r.parse}})),n=Gf.get(i);if(n)return n;const{sourceMap:a=!0,filename:o=Vf,sourceRoot:h="",pad:c=!1,ignoreEmpty:d=!0,compiler:f=eu,templateParseOptions:m={}}=e,y={filename:o,source:t,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:E=>jv(E,y)},b=[];f.parse(t,jf(qf({parseMode:"sfc",prefixIdentifiers:!0},m),{onError:E=>{b.push(E)}})).children.forEach(E=>{if(E.type===1&&!(d&&E.tag!=="template"&&qv(E)&&!Uv(E)))switch(E.tag){case"template":if(y.template)b.push(Wf(E));else{const L=y.template=Sn(E,t,!1);if(L.attrs.src||(L.ast=_r(E.children,t)),L.attrs.functional){const R=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");R.loc=E.props.find(w=>w.type===6&&w.name==="functional").loc,b.push(R)}}break;case"script":const C=Sn(E,t,c),N=!!C.attrs.setup;if(N&&!y.scriptSetup){y.scriptSetup=C;break}if(!N&&!y.script){y.script=C;break}b.push(Wf(E,N));break;case"style":const A=Sn(E,t,c);A.attrs.vars&&b.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),y.styles.push(A);break;default:y.customBlocks.push(Sn(E,t,c));break}}),!y.template&&!y.script&&!y.scriptSetup&&b.push(new SyntaxError(`At least one <template> or <script> is required in a single file component. ${y.filename}`)),y.scriptSetup&&(y.scriptSetup.src&&(b.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),y.scriptSetup=null),y.script&&y.script.src&&(b.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),y.script=null));let v=0;if(y.template&&(y.template.lang==="pug"||y.template.lang==="jade")&&([y.template.content,v]=Vv(y.template.content)),a){const E=(C,N=0)=>{C&&!C.src&&(C.map=Bv(o,t,C.content,h,!c||C.type==="template"?C.loc.start.line-1:0,N))};E(y.template,v),E(y.script),y.styles.forEach(C=>E(C)),y.customBlocks.forEach(C=>E(C))}y.cssVars=tv(y);const g=/(?:::v-|:)slotted\(/;y.slotted=y.styles.some(E=>E.scoped&&g.test(E.content));const T={descriptor:y,errors:b};return Gf.set(i,T),T}function Wf(t,e=!1){const r=new SyntaxError(`Single file component can contain only one <${t.tag}${e?" setup":""}> element`);return r.loc=t.loc,r}function Sn(t,e,r){const i=t.tag,n=t.innerLoc,a={},o={type:i,content:e.slice(n.start.offset,n.end.offset),loc:n,attrs:a};return r&&(o.content=$v(e,o,r)+o.content),t.props.forEach(h=>{if(h.type===6){const c=h.name;a[c]=h.value&&h.value.content||!0,c==="lang"?o.lang=h.value&&h.value.content:c==="src"?o.src=h.value&&h.value.content:i==="style"?c==="scoped"?o.scoped=!0:c==="module"&&(o.module=a[c]):i==="script"&&c==="setup"&&(o.setup=a.setup)}}),o}const Hf=/\r?\n/g,Dv=/^(?:\/\/)?\s*$/,Fv=/./g;function Bv(t,e,r,i,n,a){const o=new js.SourceMapGenerator({file:t.replace(/\\/g,"/"),sourceRoot:i.replace(/\\/g,"/")});return o.setSourceContent(t,e),o._sources.add(t),r.split(Hf).forEach((h,c)=>{if(!Dv.test(h)){const d=c+1+n,f=c+1;for(let m=0;m<h.length;m++)/\s/.test(h[m])||o._mappings.add({originalLine:d,originalColumn:m+a,generatedLine:f,generatedColumn:m,source:t,name:null})}}),o.toJSON()}function $v(t,e,r){if(t=t.slice(0,e.loc.start.offset),r==="space")return t.replace(Fv," ");{const i=t.split(Hf).length,n=e.type==="script"&&!e.lang?`//
|
|
59
|
+
`:`
|
|
60
|
+
`;return Array(i).join(n)}}function Uv(t){return t.props.some(e=>e.type!==6?!1:e.name==="src")}function qv(t){for(let e=0;e<t.children.length;e++){const r=t.children[e];if(r.type!==2||r.content.trim()!=="")return!1}return!0}function jv(t,e){if(!e.scriptSetup||e.scriptSetup.lang!=="ts"&&e.scriptSetup.lang!=="tsx")return!1;for(const r in t)if(!t[r].isUsedInTemplate&&Ff(r,e))return!0;return!1}function Vv(t){const e=t.split(`
|
|
61
|
+
`),r=e.reduce(function(i,n){var a,o;if(n.trim()==="")return i;const h=((o=(a=n.match(/^\s*/))==null?void 0:a[0])==null?void 0:o.length)||0;return Math.min(h,i)},1/0);return r===0?[t,r]:[e.map(function(i){return i.slice(r)}).join(`
|
|
62
|
+
`),r]}function Xf(t,e){for(var r=0,i=t.length-1;i>=0;i--){var n=t[i];n==="."?t.splice(i,1):n===".."?(t.splice(i,1),r++):r&&(t.splice(i,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}var Gv=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,su=function(t){return Gv.exec(t).slice(1)};function xn(){for(var t="",e=!1,r=arguments.length-1;r>=-1&&!e;r--){var i=r>=0?arguments[r]:"/";if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;t=i+"/"+t,e=i.charAt(0)==="/"}return t=Xf(ou(t.split("/"),function(n){return!!n}),!e).join("/"),(e?"/":"")+t||"."}function iu(t){var e=nu(t),r=zv(t,-1)==="/";return t=Xf(ou(t.split("/"),function(i){return!!i}),!e).join("/"),!t&&!e&&(t="."),t&&r&&(t+="/"),(e?"/":"")+t}function nu(t){return t.charAt(0)==="/"}function Kf(){var t=Array.prototype.slice.call(arguments,0);return iu(ou(t,function(e,r){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Jf(t,e){t=xn(t).substr(1),e=xn(e).substr(1);function r(d){for(var f=0;f<d.length&&d[f]==="";f++);for(var m=d.length-1;m>=0&&d[m]==="";m--);return f>m?[]:d.slice(f,m-f+1)}for(var i=r(t.split("/")),n=r(e.split("/")),a=Math.min(i.length,n.length),o=a,h=0;h<a;h++)if(i[h]!==n[h]){o=h;break}for(var c=[],h=o;h<i.length;h++)c.push("..");return c=c.concat(n.slice(o)),c.join("/")}var Yf="/",Qf=":";function En(t){var e=su(t),r=e[0],i=e[1];return!r&&!i?".":(i&&(i=i.substr(0,i.length-1)),r+i)}function Zf(t,e){var r=su(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r}function au(t){return su(t)[3]}var er={extname:au,basename:Zf,dirname:En,sep:Yf,delimiter:Qf,relative:Jf,join:Kf,isAbsolute:nu,normalize:iu,resolve:xn};function ou(t,e){if(t.filter)return t.filter(e);for(var r=[],i=0;i<t.length;i++)e(t[i],i,t)&&r.push(t[i]);return r}var zv="ab".substr(-1)==="b"?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)},Wv=Object.freeze({__proto__:null,basename:Zf,default:er,delimiter:Qf,dirname:En,extname:au,isAbsolute:nu,join:Kf,normalize:iu,relative:Jf,resolve:xn,sep:Yf});/*! https://mths.be/punycode v1.4.1 by @mathias */var uu=2147483647,Hs=36,ep=1,lu=26,Hv=38,Xv=700,Kv=72,Jv=128,Yv="-",Qv=/[^\x20-\x7E]/,Zv=/[\x2E\u3002\uFF0E\uFF61]/g,eS={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cu=Hs-ep,us=Math.floor,hu=String.fromCharCode;function tp(t){throw new RangeError(eS[t])}function tS(t,e){for(var r=t.length,i=[];r--;)i[r]=e(t[r]);return i}function rS(t,e){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]),t=t.replace(Zv,".");var n=t.split("."),a=tS(n,e).join(".");return i+a}function sS(t){for(var e=[],r=0,i=t.length,n,a;r<i;)n=t.charCodeAt(r++),n>=55296&&n<=56319&&r<i?(a=t.charCodeAt(r++),(a&64512)==56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),r--)):e.push(n);return e}function rp(t,e){return t+22+75*(t<26)-((e!=0)<<5)}function iS(t,e,r){var i=0;for(t=r?us(t/Xv):t>>1,t+=us(t/e);t>cu*lu>>1;i+=Hs)t=us(t/cu);return us(i+(cu+1)*t/(t+Hv))}function nS(t){var e,r,i,n,a,o,h,c,d,f,m,y=[],b,x,v,g;for(t=sS(t),b=t.length,e=Jv,r=0,a=Kv,o=0;o<b;++o)m=t[o],m<128&&y.push(hu(m));for(i=n=y.length,n&&y.push(Yv);i<b;){for(h=uu,o=0;o<b;++o)m=t[o],m>=e&&m<h&&(h=m);for(x=i+1,h-e>us((uu-r)/x)&&tp("overflow"),r+=(h-e)*x,e=h,o=0;o<b;++o)if(m=t[o],m<e&&++r>uu&&tp("overflow"),m==e){for(c=r,d=Hs;f=d<=a?ep:d>=a+lu?lu:d-a,!(c<f);d+=Hs)g=c-f,v=Hs-f,y.push(hu(rp(f+g%v,0))),c=us(g/v);y.push(hu(rp(c,0))),a=iS(r,x,i==n),r=0,++i}++r,++e}return y.join("")}function aS(t){return rS(t,function(e){return Qv.test(e)?"xn--"+nS(e):e})}var Bt=[],_t=[],oS=typeof Uint8Array!="undefined"?Uint8Array:Array,fu=!1;function sp(){fu=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)Bt[e]=t[e],_t[t.charCodeAt(e)]=e;_t[45]=62,_t[95]=63}function uS(t){fu||sp();var e,r,i,n,a,o,h=t.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[h-2]==="="?2:t[h-1]==="="?1:0,o=new oS(h*3/4-a),i=a>0?h-4:h;var c=0;for(e=0,r=0;e<i;e+=4,r+=3)n=_t[t.charCodeAt(e)]<<18|_t[t.charCodeAt(e+1)]<<12|_t[t.charCodeAt(e+2)]<<6|_t[t.charCodeAt(e+3)],o[c++]=n>>16&255,o[c++]=n>>8&255,o[c++]=n&255;return a===2?(n=_t[t.charCodeAt(e)]<<2|_t[t.charCodeAt(e+1)]>>4,o[c++]=n&255):a===1&&(n=_t[t.charCodeAt(e)]<<10|_t[t.charCodeAt(e+1)]<<4|_t[t.charCodeAt(e+2)]>>2,o[c++]=n>>8&255,o[c++]=n&255),o}function lS(t){return Bt[t>>18&63]+Bt[t>>12&63]+Bt[t>>6&63]+Bt[t&63]}function cS(t,e,r){for(var i,n=[],a=e;a<r;a+=3)i=(t[a]<<16)+(t[a+1]<<8)+t[a+2],n.push(lS(i));return n.join("")}function ip(t){fu||sp();for(var e,r=t.length,i=r%3,n="",a=[],o=16383,h=0,c=r-i;h<c;h+=o)a.push(cS(t,h,h+o>c?c:h+o));return i===1?(e=t[r-1],n+=Bt[e>>2],n+=Bt[e<<4&63],n+="=="):i===2&&(e=(t[r-2]<<8)+t[r-1],n+=Bt[e>>10],n+=Bt[e>>4&63],n+=Bt[e<<2&63],n+="="),a.push(n),a.join("")}function wn(t,e,r,i,n){var a,o,h=n*8-i-1,c=(1<<h)-1,d=c>>1,f=-7,m=r?n-1:0,y=r?-1:1,b=t[e+m];for(m+=y,a=b&(1<<-f)-1,b>>=-f,f+=h;f>0;a=a*256+t[e+m],m+=y,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=i;f>0;o=o*256+t[e+m],m+=y,f-=8);if(a===0)a=1-d;else{if(a===c)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,i),a=a-d}return(b?-1:1)*o*Math.pow(2,a-i)}function np(t,e,r,i,n,a){var o,h,c,d=a*8-n-1,f=(1<<d)-1,m=f>>1,y=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=i?0:a-1,x=i?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(h=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+m>=1?e+=y/c:e+=y*Math.pow(2,1-m),e*c>=2&&(o++,c/=2),o+m>=f?(h=0,o=f):o+m>=1?(h=(e*c-1)*Math.pow(2,n),o=o+m):(h=e*Math.pow(2,m-1)*Math.pow(2,n),o=0));n>=8;t[r+b]=h&255,b+=x,h/=256,n-=8);for(o=o<<n|h,d+=n;d>0;t[r+b]=o&255,b+=x,o/=256,d-=8);t[r+b-x]|=v*128}var hS={}.toString,ap=Array.isArray||function(t){return hS.call(t)=="[object Array]"};/*!
|
|
63
|
+
* The buffer module from node.js, for the browser.
|
|
64
|
+
*
|
|
65
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
66
|
+
* @license MIT
|
|
67
|
+
*/var fS=50;H.TYPED_ARRAY_SUPPORT=gr.TYPED_ARRAY_SUPPORT!==void 0?gr.TYPED_ARRAY_SUPPORT:!0,Tn();function Tn(){return H.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function tr(t,e){if(Tn()<e)throw new RangeError("Invalid typed array length");return H.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=H.prototype):(t===null&&(t=new H(e)),t.length=e),t}function H(t,e,r){if(!H.TYPED_ARRAY_SUPPORT&&!(this instanceof H))return new H(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return pu(this,t)}return op(this,t,e,r)}H.poolSize=8192,H._augment=function(t){return t.__proto__=H.prototype,t};function op(t,e,r,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?mS(t,e,r,i):typeof e=="string"?dS(t,e,r):gS(t,e)}H.from=function(t,e,r){return op(null,t,e,r)},H.TYPED_ARRAY_SUPPORT&&(H.prototype.__proto__=Uint8Array.prototype,H.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&H[Symbol.species]);function up(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function pS(t,e,r,i){return up(e),e<=0?tr(t,e):r!==void 0?typeof i=="string"?tr(t,e).fill(r,i):tr(t,e).fill(r):tr(t,e)}H.alloc=function(t,e,r){return pS(null,t,e,r)};function pu(t,e){if(up(e),t=tr(t,e<0?0:mu(e)|0),!H.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}H.allocUnsafe=function(t){return pu(null,t)},H.allocUnsafeSlow=function(t){return pu(null,t)};function dS(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!H.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=lp(e,r)|0;t=tr(t,i);var n=t.write(e,r);return n!==i&&(t=t.slice(0,n)),t}function du(t,e){var r=e.length<0?0:mu(e.length)|0;t=tr(t,r);for(var i=0;i<r;i+=1)t[i]=e[i]&255;return t}function mS(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return r===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,i),H.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=H.prototype):t=du(t,e),t}function gS(t,e){if($t(e)){var r=mu(e.length)|0;return t=tr(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||RS(e.length)?tr(t,0):du(t,e);if(e.type==="Buffer"&&ap(e.data))return du(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function mu(t){if(t>=Tn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Tn().toString(16)+" bytes");return t|0}H.isBuffer=DS;function $t(t){return!!(t!=null&&t._isBuffer)}H.compare=function(e,r){if(!$t(e)||!$t(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var i=e.length,n=r.length,a=0,o=Math.min(i,n);a<o;++a)if(e[a]!==r[a]){i=e[a],n=r[a];break}return i<n?-1:n<i?1:0},H.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},H.concat=function(e,r){if(!ap(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return H.alloc(0);var i;if(r===void 0)for(r=0,i=0;i<e.length;++i)r+=e[i].length;var n=H.allocUnsafe(r),a=0;for(i=0;i<e.length;++i){var o=e[i];if(!$t(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,a),a+=o.length}return n};function lp(t,e){if($t(t))return t.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return An(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return bp(t).length;default:if(i)return An(t).length;e=(""+e).toLowerCase(),i=!0}}H.byteLength=lp;function yS(t,e,r){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return AS(this,e,r);case"utf8":case"utf-8":return pp(this,e,r);case"ascii":return _S(this,e,r);case"latin1":case"binary":return PS(this,e,r);case"base64":return wS(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return CS(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}H.prototype._isBuffer=!0;function Rr(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}H.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)Rr(this,r,r+1);return this},H.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)Rr(this,r,r+3),Rr(this,r+1,r+2);return this},H.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)Rr(this,r,r+7),Rr(this,r+1,r+6),Rr(this,r+2,r+5),Rr(this,r+3,r+4);return this},H.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?pp(this,0,e):yS.apply(this,arguments)},H.prototype.equals=function(e){if(!$t(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:H.compare(this,e)===0},H.prototype.inspect=function(){var e="",r=fS;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},H.prototype.compare=function(e,r,i,n,a){if(!$t(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),i===void 0&&(i=e?e.length:0),n===void 0&&(n=0),a===void 0&&(a=this.length),r<0||i>e.length||n<0||a>this.length)throw new RangeError("out of range index");if(n>=a&&r>=i)return 0;if(n>=a)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,n>>>=0,a>>>=0,this===e)return 0;for(var o=a-n,h=i-r,c=Math.min(o,h),d=this.slice(n,a),f=e.slice(r,i),m=0;m<c;++m)if(d[m]!==f[m]){o=d[m],h=f[m];break}return o<h?-1:h<o?1:0};function cp(t,e,r,i,n){if(t.length===0)return-1;if(typeof r=="string"?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return-1;r=t.length-1}else if(r<0)if(n)r=0;else return-1;if(typeof e=="string"&&(e=H.from(e,i)),$t(e))return e.length===0?-1:hp(t,e,r,i,n);if(typeof e=="number")return e=e&255,H.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):hp(t,[e],r,i,n);throw new TypeError("val must be string, number or Buffer")}function hp(t,e,r,i,n){var a=1,o=t.length,h=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,h/=2,r/=2}function c(b,x){return a===1?b[x]:b.readUInt16BE(x*a)}var d;if(n){var f=-1;for(d=r;d<o;d++)if(c(t,d)===c(e,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===h)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(r+h>o&&(r=o-h),d=r;d>=0;d--){for(var m=!0,y=0;y<h;y++)if(c(t,d+y)!==c(e,y)){m=!1;break}if(m)return d}return-1}H.prototype.includes=function(e,r,i){return this.indexOf(e,r,i)!==-1},H.prototype.indexOf=function(e,r,i){return cp(this,e,r,i,!0)},H.prototype.lastIndexOf=function(e,r,i){return cp(this,e,r,i,!1)};function bS(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i),i>n&&(i=n)):i=n;var a=e.length;if(a%2!==0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o<i;++o){var h=parseInt(e.substr(o*2,2),16);if(isNaN(h))return o;t[r+o]=h}return o}function vS(t,e,r,i){return Cn(An(e,t.length-r),t,r,i)}function fp(t,e,r,i){return Cn(LS(e),t,r,i)}function SS(t,e,r,i){return fp(t,e,r,i)}function xS(t,e,r,i){return Cn(bp(e),t,r,i)}function ES(t,e,r,i){return Cn(MS(e,t.length-r),t,r,i)}H.prototype.write=function(e,r,i,n){if(r===void 0)n="utf8",i=this.length,r=0;else if(i===void 0&&typeof r=="string")n=r,i=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(i)?(i=i|0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((i===void 0||i>a)&&(i=a),e.length>0&&(i<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return bS(this,e,r,i);case"utf8":case"utf-8":return vS(this,e,r,i);case"ascii":return fp(this,e,r,i);case"latin1":case"binary":return SS(this,e,r,i);case"base64":return xS(this,e,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ES(this,e,r,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},H.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wS(t,e,r){return e===0&&r===t.length?ip(t):ip(t.slice(e,r))}function pp(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var a=t[n],o=null,h=a>239?4:a>223?3:a>191?2:1;if(n+h<=r){var c,d,f,m;switch(h){case 1:a<128&&(o=a);break;case 2:c=t[n+1],(c&192)===128&&(m=(a&31)<<6|c&63,m>127&&(o=m));break;case 3:c=t[n+1],d=t[n+2],(c&192)===128&&(d&192)===128&&(m=(a&15)<<12|(c&63)<<6|d&63,m>2047&&(m<55296||m>57343)&&(o=m));break;case 4:c=t[n+1],d=t[n+2],f=t[n+3],(c&192)===128&&(d&192)===128&&(f&192)===128&&(m=(a&15)<<18|(c&63)<<12|(d&63)<<6|f&63,m>65535&&m<1114112&&(o=m))}}o===null?(o=65533,h=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|o&1023),i.push(o),n+=h}return TS(i)}var dp=4096;function TS(t){var e=t.length;if(e<=dp)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=dp));return r}function _S(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]&127);return i}function PS(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}function AS(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",a=e;a<r;++a)n+=kS(t[a]);return n}function CS(t,e,r){for(var i=t.slice(e,r),n="",a=0;a<i.length;a+=2)n+=String.fromCharCode(i[a]+i[a+1]*256);return n}H.prototype.slice=function(e,r){var i=this.length;e=~~e,r=r===void 0?i:~~r,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),r<e&&(r=e);var n;if(H.TYPED_ARRAY_SUPPORT)n=this.subarray(e,r),n.__proto__=H.prototype;else{var a=r-e;n=new H(a,void 0);for(var o=0;o<a;++o)n[o]=this[o+e]}return n};function We(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}H.prototype.readUIntLE=function(e,r,i){e=e|0,r=r|0,i||We(e,r,this.length);for(var n=this[e],a=1,o=0;++o<r&&(a*=256);)n+=this[e+o]*a;return n},H.prototype.readUIntBE=function(e,r,i){e=e|0,r=r|0,i||We(e,r,this.length);for(var n=this[e+--r],a=1;r>0&&(a*=256);)n+=this[e+--r]*a;return n},H.prototype.readUInt8=function(e,r){return r||We(e,1,this.length),this[e]},H.prototype.readUInt16LE=function(e,r){return r||We(e,2,this.length),this[e]|this[e+1]<<8},H.prototype.readUInt16BE=function(e,r){return r||We(e,2,this.length),this[e]<<8|this[e+1]},H.prototype.readUInt32LE=function(e,r){return r||We(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},H.prototype.readUInt32BE=function(e,r){return r||We(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},H.prototype.readIntLE=function(e,r,i){e=e|0,r=r|0,i||We(e,r,this.length);for(var n=this[e],a=1,o=0;++o<r&&(a*=256);)n+=this[e+o]*a;return a*=128,n>=a&&(n-=Math.pow(2,8*r)),n},H.prototype.readIntBE=function(e,r,i){e=e|0,r=r|0,i||We(e,r,this.length);for(var n=r,a=1,o=this[e+--n];n>0&&(a*=256);)o+=this[e+--n]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o},H.prototype.readInt8=function(e,r){return r||We(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},H.prototype.readInt16LE=function(e,r){r||We(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i},H.prototype.readInt16BE=function(e,r){r||We(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i},H.prototype.readInt32LE=function(e,r){return r||We(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},H.prototype.readInt32BE=function(e,r){return r||We(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},H.prototype.readFloatLE=function(e,r){return r||We(e,4,this.length),wn(this,e,!0,23,4)},H.prototype.readFloatBE=function(e,r){return r||We(e,4,this.length),wn(this,e,!1,23,4)},H.prototype.readDoubleLE=function(e,r){return r||We(e,8,this.length),wn(this,e,!0,52,8)},H.prototype.readDoubleBE=function(e,r){return r||We(e,8,this.length),wn(this,e,!1,52,8)};function dt(t,e,r,i,n,a){if(!$t(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<a)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}H.prototype.writeUIntLE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var a=Math.pow(2,8*i)-1;dt(this,e,r,i,a,0)}var o=1,h=0;for(this[r]=e&255;++h<i&&(o*=256);)this[r+h]=e/o&255;return r+i},H.prototype.writeUIntBE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var a=Math.pow(2,8*i)-1;dt(this,e,r,i,a,0)}var o=i-1,h=1;for(this[r+o]=e&255;--o>=0&&(h*=256);)this[r+o]=e/h&255;return r+i},H.prototype.writeUInt8=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,1,255,0),H.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};function _n(t,e,r,i){e<0&&(e=65535+e+1);for(var n=0,a=Math.min(t.length-r,2);n<a;++n)t[r+n]=(e&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}H.prototype.writeUInt16LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,65535,0),H.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):_n(this,e,r,!0),r+2},H.prototype.writeUInt16BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,65535,0),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):_n(this,e,r,!1),r+2};function Pn(t,e,r,i){e<0&&(e=4294967295+e+1);for(var n=0,a=Math.min(t.length-r,4);n<a;++n)t[r+n]=e>>>(i?n:3-n)*8&255}H.prototype.writeUInt32LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,4294967295,0),H.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):Pn(this,e,r,!0),r+4},H.prototype.writeUInt32BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,4294967295,0),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Pn(this,e,r,!1),r+4},H.prototype.writeIntLE=function(e,r,i,n){if(e=+e,r=r|0,!n){var a=Math.pow(2,8*i-1);dt(this,e,r,i,a-1,-a)}var o=0,h=1,c=0;for(this[r]=e&255;++o<i&&(h*=256);)e<0&&c===0&&this[r+o-1]!==0&&(c=1),this[r+o]=(e/h>>0)-c&255;return r+i},H.prototype.writeIntBE=function(e,r,i,n){if(e=+e,r=r|0,!n){var a=Math.pow(2,8*i-1);dt(this,e,r,i,a-1,-a)}var o=i-1,h=1,c=0;for(this[r+o]=e&255;--o>=0&&(h*=256);)e<0&&c===0&&this[r+o+1]!==0&&(c=1),this[r+o]=(e/h>>0)-c&255;return r+i},H.prototype.writeInt8=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,1,127,-128),H.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1},H.prototype.writeInt16LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,32767,-32768),H.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):_n(this,e,r,!0),r+2},H.prototype.writeInt16BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,2,32767,-32768),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):_n(this,e,r,!1),r+2},H.prototype.writeInt32LE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,2147483647,-2147483648),H.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):Pn(this,e,r,!0),r+4},H.prototype.writeInt32BE=function(e,r,i){return e=+e,r=r|0,i||dt(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),H.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Pn(this,e,r,!1),r+4};function mp(t,e,r,i,n,a){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function gp(t,e,r,i,n){return n||mp(t,e,r,4),np(t,e,r,i,23,4),r+4}H.prototype.writeFloatLE=function(e,r,i){return gp(this,e,r,!0,i)},H.prototype.writeFloatBE=function(e,r,i){return gp(this,e,r,!1,i)};function yp(t,e,r,i,n){return n||mp(t,e,r,8),np(t,e,r,i,52,8),r+8}H.prototype.writeDoubleLE=function(e,r,i){return yp(this,e,r,!0,i)},H.prototype.writeDoubleBE=function(e,r,i){return yp(this,e,r,!1,i)},H.prototype.copy=function(e,r,i,n){if(i||(i=0),!n&&n!==0&&(n=this.length),r>=e.length&&(r=e.length),r||(r=0),n>0&&n<i&&(n=i),n===i||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-r<n-i&&(n=e.length-r+i);var a=n-i,o;if(this===e&&i<r&&r<n)for(o=a-1;o>=0;--o)e[o+r]=this[o+i];else if(a<1e3||!H.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+r]=this[o+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+a),r);return a},H.prototype.fill=function(e,r,i,n){if(typeof e=="string"){if(typeof r=="string"?(n=r,r=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),e.length===1){var a=e.charCodeAt(0);a<256&&(e=a)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!H.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof e=="number"&&(e=e&255);if(r<0||this.length<r||this.length<i)throw new RangeError("Out of range index");if(i<=r)return this;r=r>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<i;++o)this[o]=e;else{var h=$t(e)?e:An(new H(e,n).toString()),c=h.length;for(o=0;o<i-r;++o)this[o+r]=h[o%c]}return this};var IS=/[^+\/0-9A-Za-z-_]/g;function NS(t){if(t=OS(t).replace(IS,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function OS(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function kS(t){return t<16?"0"+t.toString(16):t.toString(16)}function An(t,e){e=e||1/0;for(var r,i=t.length,n=null,a=[],o=0;o<i;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&a.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function LS(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function MS(t,e){for(var r,i,n,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),i=r>>8,n=r%256,a.push(n),a.push(i);return a}function bp(t){return uS(NS(t))}function Cn(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length||n>=t.length);++n)e[n+r]=t[n];return n}function RS(t){return t!==t}function DS(t){return t!=null&&(!!t._isBuffer||vp(t)||FS(t))}function vp(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function FS(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&vp(t.slice(0,0))}var In;typeof Object.create=="function"?In=function(e,r){e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:In=function(e,r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e};var Sp=Object.getOwnPropertyDescriptors||function(e){for(var r=Object.keys(e),i={},n=0;n<r.length;n++)i[r[n]]=Object.getOwnPropertyDescriptor(e,r[n]);return i},BS=/%[sdj%]/g;function Nn(t){if(!vr(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(Ut(arguments[r]));return e.join(" ")}for(var r=1,i=arguments,n=i.length,a=String(t).replace(BS,function(h){if(h==="%%")return"%";if(r>=n)return h;switch(h){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(c){return"[Circular]"}default:return h}}),o=i[r];r<n;o=i[++r])rr(o)||!sr(o)?a+=" "+o:a+=" "+Ut(o);return a}function gu(t,e){if(qt(gr.process))return function(){return gu(t,e).apply(this,arguments)};if(pt.noDeprecation===!0)return t;var r=!1;function i(){if(!r){if(pt.throwDeprecation)throw new Error(e);pt.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}return i}var On={},yu;function xp(t){if(qt(yu)&&(yu=pt.env.NODE_DEBUG||""),t=t.toUpperCase(),!On[t])if(new RegExp("\\b"+t+"\\b","i").test(yu)){var e=0;On[t]=function(){var r=Nn.apply(null,arguments);console.error("%s %d: %s",t,e,r)}}else On[t]=function(){};return On[t]}function Ut(t,e){var r={seen:[],stylize:US};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ln(e)?r.showHidden=e:e&&_u(r,e),qt(r.showHidden)&&(r.showHidden=!1),qt(r.depth)&&(r.depth=2),qt(r.colors)&&(r.colors=!1),qt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=$S),kn(r,t,r.depth)}Ut.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Ut.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function $S(t,e){var r=Ut.styles[e];return r?"\x1B["+Ut.colors[r][0]+"m"+t+"\x1B["+Ut.colors[r][1]+"m":t}function US(t,e){return t}function qS(t){var e={};return t.forEach(function(r,i){e[r]=!0}),e}function kn(t,e,r){if(t.customInspect&&e&&Js(e.inspect)&&e.inspect!==Ut&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(r,t);return vr(i)||(i=kn(t,i,r)),i}var n=jS(t,e);if(n)return n;var a=Object.keys(e),o=qS(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),Ks(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return bu(e);if(a.length===0){if(Js(e)){var h=e.name?": "+e.name:"";return t.stylize("[Function"+h+"]","special")}if(Xs(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(Mn(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Ks(e))return bu(e)}var c="",d=!1,f=["{","}"];if(Su(e)&&(d=!0,f=["[","]"]),Js(e)){var m=e.name?": "+e.name:"";c=" [Function"+m+"]"}if(Xs(e)&&(c=" "+RegExp.prototype.toString.call(e)),Mn(e)&&(c=" "+Date.prototype.toUTCString.call(e)),Ks(e)&&(c=" "+bu(e)),a.length===0&&(!d||e.length==0))return f[0]+c+f[1];if(r<0)return Xs(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var y;return d?y=VS(t,e,r,o,a):y=a.map(function(b){return vu(t,e,r,o,b,d)}),t.seen.pop(),GS(y,c,f)}function jS(t,e){if(qt(e))return t.stylize("undefined","undefined");if(vr(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(Eu(e))return t.stylize(""+e,"number");if(Ln(e))return t.stylize(""+e,"boolean");if(rr(e))return t.stylize("null","null")}function bu(t){return"["+Error.prototype.toString.call(t)+"]"}function VS(t,e,r,i,n){for(var a=[],o=0,h=e.length;o<h;++o)Pp(e,String(o))?a.push(vu(t,e,r,i,String(o),!0)):a.push("");return n.forEach(function(c){c.match(/^\d+$/)||a.push(vu(t,e,r,i,c,!0))}),a}function vu(t,e,r,i,n,a){var o,h,c;if(c=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},c.get?c.set?h=t.stylize("[Getter/Setter]","special"):h=t.stylize("[Getter]","special"):c.set&&(h=t.stylize("[Setter]","special")),Pp(i,n)||(o="["+n+"]"),h||(t.seen.indexOf(c.value)<0?(rr(r)?h=kn(t,c.value,null):h=kn(t,c.value,r-1),h.indexOf(`
|
|
68
|
+
`)>-1&&(a?h=h.split(`
|
|
69
|
+
`).map(function(d){return" "+d}).join(`
|
|
70
|
+
`).substr(2):h=`
|
|
71
|
+
`+h.split(`
|
|
72
|
+
`).map(function(d){return" "+d}).join(`
|
|
73
|
+
`))):h=t.stylize("[Circular]","special")),qt(o)){if(a&&n.match(/^\d+$/))return h;o=JSON.stringify(""+n),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+h}function GS(t,e,r){var i=t.reduce(function(n,a){return a.indexOf(`
|
|
74
|
+
`)>=0,n+a.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(e===""?"":e+`
|
|
75
|
+
`)+" "+t.join(`,
|
|
76
|
+
`)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function Su(t){return Array.isArray(t)}function Ln(t){return typeof t=="boolean"}function rr(t){return t===null}function xu(t){return t==null}function Eu(t){return typeof t=="number"}function vr(t){return typeof t=="string"}function Ep(t){return typeof t=="symbol"}function qt(t){return t===void 0}function Xs(t){return sr(t)&&wu(t)==="[object RegExp]"}function sr(t){return typeof t=="object"&&t!==null}function Mn(t){return sr(t)&&wu(t)==="[object Date]"}function Ks(t){return sr(t)&&(wu(t)==="[object Error]"||t instanceof Error)}function Js(t){return typeof t=="function"}function wp(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t=="undefined"}function Tp(t){return H.isBuffer(t)}function wu(t){return Object.prototype.toString.call(t)}function Tu(t){return t<10?"0"+t.toString(10):t.toString(10)}var zS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function WS(){var t=new Date,e=[Tu(t.getHours()),Tu(t.getMinutes()),Tu(t.getSeconds())].join(":");return[t.getDate(),zS[t.getMonth()],e].join(" ")}function _p(){console.log("%s - %s",WS(),Nn.apply(null,arguments))}function _u(t,e){if(!e||!sr(e))return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t}function Pp(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Dr=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;function Pu(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(Dr&&t[Dr]){var e=t[Dr];if(typeof e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Dr,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var r,i,n=new Promise(function(h,c){r=h,i=c}),a=[],o=0;o<arguments.length;o++)a.push(arguments[o]);a.push(function(h,c){h?i(h):r(c)});try{t.apply(this,a)}catch(h){i(h)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Dr&&Object.defineProperty(e,Dr,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,Sp(t))}Pu.custom=Dr;function HS(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}function Ap(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var r=[],i=0;i<arguments.length;i++)r.push(arguments[i]);var n=r.pop();if(typeof n!="function")throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return n.apply(a,arguments)};t.apply(this,r).then(function(h){pt.nextTick(o.bind(null,null,h))},function(h){pt.nextTick(HS.bind(null,h,o))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,Sp(t)),e}var XS={inherits:In,_extend:_u,log:_p,isBuffer:Tp,isPrimitive:wp,isFunction:Js,isError:Ks,isDate:Mn,isObject:sr,isRegExp:Xs,isUndefined:qt,isSymbol:Ep,isString:vr,isNumber:Eu,isNullOrUndefined:xu,isNull:rr,isBoolean:Ln,isArray:Su,inspect:Ut,deprecate:gu,format:Nn,debuglog:xp,promisify:Pu,callbackify:Ap},KS=Object.freeze({__proto__:null,_extend:_u,callbackify:Ap,debuglog:xp,default:XS,deprecate:gu,format:Nn,inherits:In,inspect:Ut,isArray:Su,isBoolean:Ln,isBuffer:Tp,isDate:Mn,isError:Ks,isFunction:Js,isNull:rr,isNullOrUndefined:xu,isNumber:Eu,isObject:sr,isPrimitive:wp,isRegExp:Xs,isString:vr,isSymbol:Ep,isUndefined:qt,log:_p,promisify:Pu});function JS(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Cp=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function Au(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}function YS(t,e,r,i){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?Ip(QS(t),function(n){var a=encodeURIComponent(Au(n))+r;return Cp(t[n])?Ip(t[n],function(o){return a+encodeURIComponent(Au(o))}).join(e):a+encodeURIComponent(Au(t[n]))}).join(e):""}function Ip(t,e){if(t.map)return t.map(e);for(var r=[],i=0;i<t.length;i++)r.push(e(t[i],i));return r}var QS=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e};function Np(t,e,r,i){e=e||"&",r=r||"=";var n={};if(typeof t!="string"||t.length===0)return n;var a=/\+/g;t=t.split(e);var o=1e3,h=t.length;h>o&&(h=o);for(var c=0;c<h;++c){var d=t[c].replace(a,"%20"),f=d.indexOf(r),m,y,b,x;f>=0?(m=d.substr(0,f),y=d.substr(f+1)):(m=d,y=""),b=decodeURIComponent(m),x=decodeURIComponent(y),JS(n,b)?Cp(n[b])?n[b].push(x):n[b]=[n[b],x]:n[b]=x}return n}const Op=gr.URL,kp=gr.URLSearchParams;var ZS={parse:cs,resolve:$p,resolveObject:Up,fileURLToPath:Fp,format:Bp,Url:St,URL:Op,URLSearchParams:kp};function St(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var e2=/^([a-z0-9.+-]+:)/i,t2=/:[0-9]*$/,r2=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s2=["<",">",'"',"`"," ","\r",`
|
|
77
|
+
`," "],i2=["{","}","|","\\","^","`"].concat(s2),Cu=["'"].concat(i2),Lp=["%","/","?",";","#"].concat(Cu),Mp=["/","?","#"],n2=255,Rp=/^[+a-z0-9A-Z_-]{0,63}$/,a2=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,o2={javascript:!0,"javascript:":!0},Iu={javascript:!0,"javascript:":!0},ls={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function cs(t,e,r){if(t&&sr(t)&&t instanceof St)return t;var i=new St;return i.parse(t,e,r),i}St.prototype.parse=function(t,e,r){return Dp(this,t,e,r)};function Dp(t,e,r,i){if(!vr(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),a=n!==-1&&n<e.indexOf("#")?"?":"#",o=e.split(a),h=/\\/g;o[0]=o[0].replace(h,"/"),e=o.join(a);var c=e;if(c=c.trim(),!i&&e.split("#").length===1){var d=r2.exec(c);if(d)return t.path=c,t.href=c,t.pathname=d[1],d[2]?(t.search=d[2],r?t.query=Np(t.search.substr(1)):t.query=t.search.substr(1)):r&&(t.search="",t.query={}),t}var f=e2.exec(c);if(f){f=f[0];var m=f.toLowerCase();t.protocol=m,c=c.substr(f.length)}if(i||f||c.match(/^\/\/[^@\/]+@[^@\/]+/)){var y=c.substr(0,2)==="//";y&&!(f&&Iu[f])&&(c=c.substr(2),t.slashes=!0)}var b,x,v,g;if(!Iu[f]&&(y||f&&!ls[f])){var T=-1;for(b=0;b<Mp.length;b++)x=c.indexOf(Mp[b]),x!==-1&&(T===-1||x<T)&&(T=x);var E,C;for(T===-1?C=c.lastIndexOf("@"):C=c.lastIndexOf("@",T),C!==-1&&(E=c.slice(0,C),c=c.slice(C+1),t.auth=decodeURIComponent(E)),T=-1,b=0;b<Lp.length;b++)x=c.indexOf(Lp[b]),x!==-1&&(T===-1||x<T)&&(T=x);T===-1&&(T=c.length),t.host=c.slice(0,T),c=c.slice(T),qp(t),t.hostname=t.hostname||"";var N=t.hostname[0]==="["&&t.hostname[t.hostname.length-1]==="]";if(!N){var A=t.hostname.split(/\./);for(b=0,v=A.length;b<v;b++){var L=A[b];if(L&&!L.match(Rp)){for(var R="",w=0,I=L.length;w<I;w++)L.charCodeAt(w)>127?R+="x":R+=L[w];if(!R.match(Rp)){var k=A.slice(0,b),M=A.slice(b+1),z=L.match(a2);z&&(k.push(z[1]),M.unshift(z[2])),M.length&&(c="/"+M.join(".")+c),t.hostname=k.join(".");break}}}}t.hostname.length>n2?t.hostname="":t.hostname=t.hostname.toLowerCase(),N||(t.hostname=aS(t.hostname)),g=t.port?":"+t.port:"";var X=t.hostname||"";t.host=X+g,t.href+=t.host,N&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),c[0]!=="/"&&(c="/"+c))}if(!o2[m])for(b=0,v=Cu.length;b<v;b++){var Z=Cu[b];if(c.indexOf(Z)!==-1){var U=encodeURIComponent(Z);U===Z&&(U=escape(Z)),c=c.split(Z).join(U)}}var Q=c.indexOf("#");Q!==-1&&(t.hash=c.substr(Q),c=c.slice(0,Q));var re=c.indexOf("?");if(re!==-1?(t.search=c.substr(re),t.query=c.substr(re+1),r&&(t.query=Np(t.query)),c=c.slice(0,re)):r&&(t.search="",t.query={}),c&&(t.pathname=c),ls[m]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){g=t.pathname||"";var pe=t.search||"";t.path=g+pe}return t.href=Nu(t),t}function Fp(t){if(typeof t=="string")t=new St().parse(t);else if(!(t instanceof St))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof t+String(t));if(t.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return u2(t)}function u2(t){const e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){const i=e.codePointAt(r+2)|32;if(e[r+1]==="2"&&i===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(e)}function Bp(t){return vr(t)&&(t=Dp({},t)),Nu(t)}function Nu(t){var e=t.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var r=t.protocol||"",i=t.pathname||"",n=t.hash||"",a=!1,o="";t.host?a=e+t.host:t.hostname&&(a=e+(t.hostname.indexOf(":")===-1?t.hostname:"["+this.hostname+"]"),t.port&&(a+=":"+t.port)),t.query&&sr(t.query)&&Object.keys(t.query).length&&(o=YS(t.query));var h=t.search||o&&"?"+o||"";return r&&r.substr(-1)!==":"&&(r+=":"),t.slashes||(!r||ls[r])&&a!==!1?(a="//"+(a||""),i&&i.charAt(0)!=="/"&&(i="/"+i)):a||(a=""),n&&n.charAt(0)!=="#"&&(n="#"+n),h&&h.charAt(0)!=="?"&&(h="?"+h),i=i.replace(/[?#]/g,function(c){return encodeURIComponent(c)}),h=h.replace("#","%23"),r+a+i+h+n}St.prototype.format=function(){return Nu(this)};function $p(t,e){return cs(t,!1,!0).resolve(e)}St.prototype.resolve=function(t){return this.resolveObject(cs(t,!1,!0)).format()};function Up(t,e){return t?cs(t,!1,!0).resolveObject(e):e}St.prototype.resolveObject=function(t){if(vr(t)){var e=new St;e.parse(t,!1,!0),t=e}for(var r=new St,i=Object.keys(this),n=0;n<i.length;n++){var a=i[n];r[a]=this[a]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),h=0;h<o.length;h++){var c=o[h];c!=="protocol"&&(r[c]=t[c])}return ls[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}var d;if(t.protocol&&t.protocol!==r.protocol){if(!ls[t.protocol]){for(var f=Object.keys(t),m=0;m<f.length;m++){var y=f[m];r[y]=t[y]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!Iu[t.protocol]){for(d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),d[0]!==""&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var b=r.pathname||"",x=r.search||"";r.path=b+x}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var v=r.pathname&&r.pathname.charAt(0)==="/",g=t.host||t.pathname&&t.pathname.charAt(0)==="/",T=g||v||r.host&&t.pathname,E=T,C=r.pathname&&r.pathname.split("/")||[],N=r.protocol&&!ls[r.protocol];d=t.pathname&&t.pathname.split("/")||[],N&&(r.hostname="",r.port=null,r.host&&(C[0]===""?C[0]=r.host:C.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(d[0]===""?d[0]=t.host:d.unshift(t.host)),t.host=null),T=T&&(d[0]===""||C[0]===""));var A;if(g)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,C=d;else if(d.length)C||(C=[]),C.pop(),C=C.concat(d),r.search=t.search,r.query=t.query;else if(!xu(t.search))return N&&(r.hostname=r.host=C.shift(),A=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),r.search=t.search,r.query=t.query,(!rr(r.pathname)||!rr(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!C.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var L=C.slice(-1)[0],R=(r.host||t.host||C.length>1)&&(L==="."||L==="..")||L==="",w=0,I=C.length;I>=0;I--)L=C[I],L==="."?C.splice(I,1):L===".."?(C.splice(I,1),w++):w&&(C.splice(I,1),w--);if(!T&&!E)for(;w--;w)C.unshift("..");T&&C[0]!==""&&(!C[0]||C[0].charAt(0)!=="/")&&C.unshift(""),R&&C.join("/").substr(-1)!=="/"&&C.push("");var k=C[0]===""||C[0]&&C[0].charAt(0)==="/";return N&&(r.hostname=r.host=k?"":C.length?C.shift():"",A=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),T=T||r.host&&C.length,T&&!k&&C.unshift(""),C.length?r.pathname=C.join("/"):(r.pathname=null,r.path=null),(!rr(r.pathname)||!rr(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},St.prototype.parseHost=function(){return qp(this)};function qp(t){var e=t.host,r=t2.exec(e);r&&(r=r[0],r!==":"&&(t.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(t.hostname=e)}var l2=Object.freeze({__proto__:null,URL:Op,URLSearchParams:kp,Url:St,default:ZS,fileURLToPath:Fp,format:Bp,parse:cs,resolve:$p,resolveObject:Up});function jp(t){const e=t.charAt(0);return e==="."||e==="~"||e==="@"}const c2=/^(https?:)?\/\//;function Vp(t){return c2.test(t)}const h2=/^\s*data:/i;function Ou(t){return h2.test(t)}function ku(t){if(t.charAt(0)==="~"){const r=t.charAt(1);t=t.slice(r==="/"?2:1)}return f2(t)}function f2(t){return cs(ge(t)?t:"",!1,!0)}var p2=Object.defineProperty,d2=Object.defineProperties,m2=Object.getOwnPropertyDescriptors,Gp=Object.getOwnPropertySymbols,g2=Object.prototype.hasOwnProperty,y2=Object.prototype.propertyIsEnumerable,zp=(t,e,r)=>e in t?p2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Lu=(t,e)=>{for(var r in e||(e={}))g2.call(e,r)&&zp(t,r,e[r]);if(Gp)for(var r of Gp(e))y2.call(e,r)&&zp(t,r,e[r]);return t},b2=(t,e)=>d2(t,m2(e));const Ys={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},v2=t=>Object.keys(t).some(e=>qe(t[e]))?b2(Lu({},Ys),{tags:t}):Lu(Lu({},Ys),t),S2=t=>(e,r)=>Wp(e,r,t),Wp=(t,e,r=Ys)=>{if(t.type===1){if(!t.props.length)return;const i=r.tags||Ys.tags,n=i[t.tag],a=i["*"];if(!n&&!a)return;const o=(n||[]).concat(a||[]);t.props.forEach((h,c)=>{if(h.type!==6||!o.includes(h.name)||!h.value||Vp(h.value.content)||Ou(h.value.content)||h.value.content[0]==="#"||!r.includeAbsolute&&!jp(h.value.content))return;const d=ku(h.value.content);if(r.base&&h.value.content[0]==="."){const m=ku(r.base),y=m.protocol||"",b=m.host?y+"//"+m.host:"",x=m.path||"/";h.value.content=b+(er.posix||er).join(x,d.path+(d.hash||""));return}const f=x2(d.path,d.hash,h.loc,e);t.props[c]={type:7,name:"bind",arg:Y(h.name,!0,h.loc),exp:f,modifiers:[],loc:h.loc}})}};function x2(t,e,r,i){if(t){let n,a;const o=i.imports.findIndex(f=>f.path===t);if(o>-1?(n=`_imports_${o}`,a=i.imports[o].exp):(n=`_imports_${i.imports.length}`,a=Y(n,!1,r,3),i.imports.push({exp:a,path:decodeURIComponent(t)})),!e)return a;const h=`${n} + '${e}'`,c=Y(h,!1,r,3);if(!i.hoistStatic)return c;const d=i.hoists.findIndex(f=>f&&f.type===4&&!f.isStatic&&f.content===h);return d>-1?Y(`_hoisted_${d+1}`,!1,r,3):i.hoist(c)}else return Y("''",!1,r,3)}const E2=["img","source"],w2=/( |\\t|\\n|\\f|\\r)+/g,T2=t=>(e,r)=>Hp(e,r,t),Hp=(t,e,r=Ys)=>{t.type===1&&E2.includes(t.tag)&&t.props.length&&t.props.forEach((i,n)=>{if(i.name==="srcset"&&i.type===6){if(!i.value)return;const a=i.value.content;if(!a)return;const o=a.split(",").map(f=>{const[m,y]=f.replace(w2," ").trim().split(" ",2);return{url:m,descriptor:y}});for(let f=0;f<o.length;f++){const{url:m}=o[f];Ou(m)&&(o[f+1].url=m+","+o[f+1].url,o.splice(f,1))}const h=f=>!Vp(f)&&!Ou(f)&&(r.includeAbsolute||jp(f));if(!o.some(({url:f})=>h(f)))return;if(r.base){const f=r.base,m=[];let y=!1;if(o.forEach(b=>{let{url:x,descriptor:v}=b;v=v?` ${v}`:"",x[0]==="."?(b.url=(er.posix||er).join(f,x),m.push(b.url+v)):h(x)?y=!0:m.push(x+v)}),!y){i.value.content=m.join(", ");return}}const c=je([],i.loc);o.forEach(({url:f,descriptor:m},y)=>{if(h(f)){const{path:x}=ku(f);let v;if(x){const g=e.imports.findIndex(T=>T.path===x);g>-1?v=Y(`_imports_${g}`,!1,i.loc,3):(v=Y(`_imports_${e.imports.length}`,!1,i.loc,3),e.imports.push({exp:v,path:x})),c.children.push(v)}}else{const x=Y(`"${f}"`,!1,i.loc,3);c.children.push(x)}const b=o.length-1>y;m&&b?c.children.push(` + ' ${m}, ' + `):m?c.children.push(` + ' ${m}'`):b&&c.children.push(" + ', ' + ")});let d=c;e.hoistStatic&&(d=e.hoist(c),d.constType=3),t.props[n]={type:7,name:"bind",arg:Y("srcset",!0,i.loc),exp:d,modifiers:[],loc:i.loc}}})},Rn=Symbol("ssrInterpolate"),Xp=Symbol("ssrRenderVNode"),Kp=Symbol("ssrRenderComponent"),Jp=Symbol("ssrRenderSlot"),Yp=Symbol("ssrRenderSlotInner"),Qp=Symbol("ssrRenderClass"),Zp=Symbol("ssrRenderStyle"),Mu=Symbol("ssrRenderAttrs"),ed=Symbol("ssrRenderAttr"),td=Symbol("ssrRenderDynamicAttr"),rd=Symbol("ssrRenderList"),Ru=Symbol("ssrIncludeBooleanAttr"),Dn=Symbol("ssrLooseEqual"),Du=Symbol("ssrLooseContain"),sd=Symbol("ssrRenderDynamicModel"),id=Symbol("ssrGetDynamicModelProps"),nd=Symbol("ssrRenderTeleport"),ad=Symbol("ssrRenderSuspense"),od=Symbol("ssrGetDirectiveProps"),Fu={[Rn]:"ssrInterpolate",[Xp]:"ssrRenderVNode",[Kp]:"ssrRenderComponent",[Jp]:"ssrRenderSlot",[Yp]:"ssrRenderSlotInner",[Qp]:"ssrRenderClass",[Zp]:"ssrRenderStyle",[Mu]:"ssrRenderAttrs",[ed]:"ssrRenderAttr",[td]:"ssrRenderDynamicAttr",[rd]:"ssrRenderList",[Ru]:"ssrIncludeBooleanAttr",[Dn]:"ssrLooseEqual",[Du]:"ssrLooseContain",[sd]:"ssrRenderDynamicModel",[id]:"ssrGetDynamicModelProps",[nd]:"ssrRenderTeleport",[ad]:"ssrRenderSuspense",[od]:"ssrGetDirectiveProps"};Za(Fu);const _2=Bs(/^(if|else|else-if)$/,Oo);function P2(t,e,r=!1,i=!1){const[n]=t.branches,a=$i(n.condition,ud(n,e,r));e.pushStatement(a);let o=a;for(let h=1;h<t.branches.length;h++){const c=t.branches[h],d=ud(c,e,r);c.condition?o=o.alternate=$i(c.condition,d):o.alternate=d}!o.alternate&&!i&&(o.alternate=ks([ce("_push",["`<!---->`"])]))}function ud(t,e,r=!1){const{children:i}=t,n=!r&&(i.length!==1||i[0].type!==1)&&!(i.length===1&&i[0].type===11);return hs(t,e,n)}const A2=Bs("for",Lo);function C2(t,e,r=!1){const i=!r&&(t.children.length!==1||t.children[0].type!==1),n=yt(Vs(t.parseResult));n.body=hs(t,e,i),r||e.pushStringPart("<!--[-->"),e.pushStatement(ce(e.helper(rd),[t.source,n])),r||e.pushStringPart("<!--]-->")}const I2=(t,e)=>{if(Zr(t)){const{slotName:r,slotProps:i}=Uo(t,e),n=["_ctx.$slots",r,i||"{}","null","_push","_parent"];e.scopeId&&e.slotted!==!1&&n.push(`"${e.scopeId}-s"`);let a=Jp,o=e.parent;if(o){const h=o.children;o.type===10&&(o=e.grandParent);let c;o.type===1&&o.tagType===1&&((c=fn(o,e,!0))===Nr||c===ss)&&h.filter(d=>d.type===1).length===1&&(a=Yp,e.scopeId&&e.slotted!==!1||n.push("null"),n.push("true"))}t.ssrCodegenNode=ce(e.helper(a),n)}};function N2(t,e){const r=t.ssrCodegenNode;if(t.children.length){const i=yt([]);i.body=hs(t,e),r.arguments[3]=i}if(e.withSlotScopeId){const i=r.arguments[6];r.arguments[6]=i?`${i} + _scopeId`:"_scopeId"}e.pushStatement(t.ssrCodegenNode)}function Qs(t,e){return be(t,e,O2)}const O2={65:"Unsafe attribute name for SSR.",66:"Missing the 'to' prop on teleport element.",67:"Invalid AST node during SSR transform."};function k2(t,e){const r=ct(t,"to");if(!r){e.onError(Qs(66,t.loc));return}let i;if(r.type===6?i=r.value&&Y(r.value.content,!0):i=r.exp,!i){e.onError(Qs(66,r.loc));return}const n=ct(t,"disabled",!1,!0),a=n?n.type===6?"true":n.exp||"false":"false",o=yt(["_push"],void 0,!0,!1,t.loc);o.body=hs(t,e),e.pushStatement(ce(e.helper(nd),["_push",o,i,a,"_parent"]))}const ld=new WeakMap;function L2(t,e){return()=>{if(t.children.length){const r={slotsExp:null,wipSlots:[]};ld.set(t,r),r.slotsExp=Gs(t,e,(i,n,a,o)=>{const h=yt([],void 0,!0,!1,o);return r.wipSlots.push({fn:h,children:a}),h}).slots}}}function M2(t,e){const r=ld.get(t);if(!r)return;const{slotsExp:i,wipSlots:n}=r;for(let a=0;a<n.length;a++){const o=n[a];o.fn.body=hs(o,e)}e.pushStatement(ce(e.helper(ad),["_push",i]))}const Zs=new WeakMap,R2=(t,e)=>{if(!(t.type!==1||t.tagType!==0))return function(){const i=[`<${t.tag}`],n=t.tag==="textarea"||t.tag.indexOf("-")>0,a=Ji(t),o=t.props.some(m=>m.type===7&&!Ga(m.name)),h=a||o;if(h){const{props:m,directives:y}=rs(t,e,t.props,!1,!1,!0);if(m||y.length){const b=Bu(m,y,e),x=ce(e.helper(Mu),[b]);if(t.tag==="textarea"){const v=t.children[0];if(!v||v.type!==5){const g=`_temp${e.temps++}`;x.arguments=[Ui(Y(g,!1),b)],Zs.set(t,ce(e.helper(Rn),[Ct(Y(`"value" in ${g}`,!1),Y(`${g}.value`,!1),Y(v?v.content:"",!0),!1)]))}}else if(t.tag==="input"){const v=$2(t);if(v){const g=`_temp${e.temps++}`,T=Y(g,!1);x.arguments=[sh([Ui(T,b),ce(e.helper(Tr),[T,ce(e.helper(id),[T,v.exp])])])]}}else if(y.length&&!t.children.length){const v=`_temp${e.temps++}`;x.arguments=[Ui(Y(v,!1),b)],Zs.set(t,Ct(Y(`"textContent" in ${v}`,!1),ce(e.helper(Rn),[Y(`${v}.textContent`,!1)]),Y(`${v}.innerHTML ?? ''`,!1),!1))}n&&x.arguments.push(`"${t.tag}"`),i.push(x)}}let c,d,f;for(let m=0;m<t.props.length;m++){const y=t.props[m];if(!(t.tag==="input"&&D2(y)))if(y.type===7){if(y.name==="html"&&y.exp)Zs.set(t,je(["(",y.exp,") ?? ''"]));else if(y.name==="text"&&y.exp)t.children=[Bi(y.exp,y.loc)];else if(y.name==="slot")e.onError(be(40,y.loc));else if(F2(t,y)&&y.exp)h||(t.children=[Bi(y.exp,y.loc)]);else if(!h&&y.name!=="on"){const b=e.directiveTransforms[y.name];if(b){const{props:x,ssrTagParts:v}=b(y,t,e);v&&i.push(...v);for(let g=0;g<x.length;g++){const{key:T,value:E}=x[g];if(Ke(T)){let C=T.content;if(C==="key"||C==="ref")continue;C==="class"?i.push(' class="',c=ce(e.helper(Qp),[E]),'"'):C==="style"?f?cd(f,E):i.push(' style="',f=ce(e.helper(Zp),[E]),'"'):(C=t.tag.indexOf("-")>0?C:$g[C]||C.toLowerCase(),Kc(C)?i.push(Ct(ce(e.helper(Ru),[E]),Y(" "+C,!0),Y("",!0),!1)):Bg(C)?i.push(ce(e.helper(ed),[T,E])):e.onError(Qs(65,T.loc)))}else{const C=[T,E];n&&C.push(`"${t.tag}"`),i.push(ce(e.helper(td),C))}}}}}else{const b=y.name;if(t.tag==="textarea"&&b==="value"&&y.value)Zs.set(t,Mt(y.value.content));else if(!h){if(b==="key"||b==="ref")continue;b==="class"&&y.value&&(d=JSON.stringify(y.value.content)),i.push(` ${y.name}`+(y.value?`="${Mt(y.value.content)}"`:""))}}}c&&d&&(cd(c,d),B2(i,"class")),e.scopeId&&i.push(` ${e.scopeId}`),t.ssrCodegenNode=eo(i)}};function Bu(t,e,r){let i=[];if(t&&(t.type===14?i=t.arguments:i.push(t)),e.length)for(const n of e)i.push(ce(r.helper(od),["_ctx",...Bo(n,r).elements]));return i.length>1?ce(r.helper(Tr),i):i[0]}function D2(t){return t.type===7?t.name==="bind"&&t.arg&&Ke(t.arg)&&(t.arg.content==="true-value"||t.arg.content==="false-value"):t.name==="true-value"||t.name==="false-value"}function F2(t,e){return!!(t.tag==="textarea"&&e.name==="bind"&&Ft(e.arg,"value"))}function cd(t,e){const r=t.arguments[0];r.type===17?r.elements.push(e):t.arguments[0]=Kt([r,e])}function B2(t,e){const r=new RegExp(`^ ${e}=".+"$`),i=t.findIndex(n=>typeof n=="string"&&r.test(n));i>-1&&t.splice(i,1)}function $2(t){return t.props.find(e=>e.type===7&&e.name==="model"&&e.exp)}function U2(t,e){const r=e.options.isVoidTag||Xt,i=t.ssrCodegenNode.elements;for(let a=0;a<i.length;a++)e.pushStringPart(i[a]);e.withSlotScopeId&&e.pushStringPart(Y("_scopeId",!1)),e.pushStringPart(">");const n=Zs.get(t);n?e.pushStringPart(n):t.children.length&&ir(t,e),r(t.tag)||e.pushStringPart(`</${t.tag}>`)}const hd=new WeakMap;function q2(t,e){return()=>{const r=ct(t,"tag");if(r){const i=t.props.filter(h=>h!==r),{props:n,directives:a}=rs(t,e,i,!0,!1,!0);let o=null;(n||a.length)&&(o=ce(e.helper(Mu),[Bu(n,a,e)])),hd.set(t,{tag:r,propsExp:o,scopeId:e.scopeId||null})}}}function j2(t,e){const r=hd.get(t);if(r){const{tag:i,propsExp:n,scopeId:a}=r;i.type===7?(e.pushStringPart("<"),e.pushStringPart(i.exp),n&&e.pushStringPart(n),a&&e.pushStringPart(` ${a}`),e.pushStringPart(">"),ir(t,e,!1,!0,!0),e.pushStringPart("</"),e.pushStringPart(i.exp),e.pushStringPart(">")):(e.pushStringPart(`<${i.value.content}`),n&&e.pushStringPart(n),a&&e.pushStringPart(` ${a}`),e.pushStringPart(">"),ir(t,e,!1,!0,!0),e.pushStringPart(`</${i.value.content}>`))}else ir(t,e,!0,!0,!0)}const fd=new WeakMap;function V2(t,e){return()=>{const r=ct(t,"appear",!1,!0);fd.set(t,!!r)}}function G2(t,e){t.children=t.children.filter(i=>i.type!==3),fd.get(t)?(e.pushStringPart("<template>"),ir(t,e,!1,!0),e.pushStringPart("</template>")):ir(t,e,!1,!0)}var z2=Object.defineProperty,W2=Object.defineProperties,H2=Object.getOwnPropertyDescriptors,pd=Object.getOwnPropertySymbols,X2=Object.prototype.hasOwnProperty,K2=Object.prototype.propertyIsEnumerable,dd=(t,e,r)=>e in t?z2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Fr=(t,e)=>{for(var r in e||(e={}))X2.call(e,r)&&dd(t,r,e[r]);if(pd)for(var r of pd(e))K2.call(e,r)&&dd(t,r,e[r]);return t},J2=(t,e)=>W2(t,H2(e));const md=new WeakMap,gd=Symbol(),yd=new WeakMap,Y2=(t,e)=>{if(t.type!==1||t.tagType!==1)return;const r=fn(t,e,!0),i=lr(r)&&r.callee===Cs;if(yd.set(t,r),ur(r))return r===zr?L2(t,e):r===ss?q2(t,e):r===Nr?V2(t):void 0;const n=[],a=$u(t);return function(){a.children.length&&Gs(a,e,(m,y,b)=>(n.push(sx(m,y,b,e)),yt(void 0)));let h="null";if(t.props.length){const{props:m,directives:y}=rs(t,e,void 0,!0,i);(m||y.length)&&(h=Bu(m,y,e))}const c=[];md.set(t,c);const d=(m,y,b,x)=>{const v=m&&ln(m)||"_",g=yt([v,"_push","_parent","_scopeId"],void 0,!0,!0,x);return c.push({type:gd,fn:g,children:b,vnodeBranch:n[c.length]}),g},f=t.children.length?Gs(t,e,d).slots:"null";typeof r!="string"?t.ssrCodegenNode=ce(e.helper(Xp),["_push",ce(e.helper(Ps),[r,h,f]),"_parent"]):t.ssrCodegenNode=ce(e.helper(Kp),[r,h,f,"_parent"])}};function Q2(t,e,r){const i=yd.get(t);if(t.ssrCodegenNode){const n=md.get(t)||[];for(let a=0;a<n.length;a++){const{fn:o,vnodeBranch:h}=n[a];o.body=$i(Y("_push",!1),hs(n[a],e,!1,!0),h)}e.withSlotScopeId&&t.ssrCodegenNode.arguments.push("_scopeId"),typeof i=="string"?e.pushStatement(ce("_push",[t.ssrCodegenNode])):e.pushStatement(t.ssrCodegenNode)}else{if(i===wr)return k2(t,e);if(i===zr)return M2(t,e);if(i===ss)return j2(t,e);if(r.type===gd&&e.pushStringPart(""),i===Nr)return G2(t,e);ir(t,e)}}const bd=new WeakMap,[Z2,ex]=qo(!0),tx=[...Z2,...Qo],rx=Fr(Fr({},ex),Zo);function sx(t,e,r,i){const n=bd.get(i.root),a=J2(Fr({},n),{nodeTransforms:[...tx,...n.nodeTransforms||[]],directiveTransforms:Fr(Fr({},rx),n.directiveTransforms||{})}),o=[];return t&&o.push({type:7,name:"slot",exp:t,arg:void 0,modifiers:[],loc:Ne}),e&&o.push(Lt({},e)),ix({type:1,ns:0,tag:"template",tagType:3,props:o,children:r,loc:Ne,codegenNode:void 0},a,i),ih(r)}function ix(t,e,r){const i=_r([t]),n=Fs(i,e);n.ssr=!1,n.scopes=Fr({},r.scopes),n.identifiers=Fr({},r.identifiers),n.imports=r.imports,es(i,n),["helpers","components","directives"].forEach(a=>{n[a].forEach((o,h)=>{if(a==="helpers"){const c=r.helpers.get(h);c===void 0?r.helpers.set(h,o):r.helpers.set(h,o+c)}else r[a].add(o)})})}function $u(t){if(qe(t))return t.map($u);if(qc(t)){const e={};for(const r in t)e[r]=$u(t[r]);return e}else return t}function nx(t,e){const r=vd(t,e);if(e.ssrCssVars){const n=Fs(_r([]),e),a=ze(Y(e.ssrCssVars,!1),n);r.body.push(je(["const _cssVars = { style: ",a,"}"])),Array.from(n.helpers.keys()).forEach(o=>{t.helpers.add(o)})}const i=t.children.length>1&&t.children.some(n=>!Ms(n));ir(t,r,i),t.codegenNode=ks(r.body),t.ssrHelpers=Array.from(new Set([...Array.from(t.helpers).filter(n=>n in Fu),...r.helpers])),t.helpers=new Set(Array.from(t.helpers).filter(n=>!(n in Fu)))}function vd(t,e,r=new Set,i=!1){const n=[];let a=null;return{root:t,options:e,body:n,helpers:r,withSlotScopeId:i,onError:e.onError||(o=>{throw o}),helper(o){return r.add(o),o},pushStringPart(o){if(!a){const d=ce("_push");n.push(d),a=eo([]),d.arguments.push(a)}const h=a.elements,c=h[h.length-1];ge(o)&&ge(c)?h[h.length-1]+=o:h.push(o)},pushStatement(o){a=null,n.push(o)}}}function ax(t,e=t.withSlotScopeId){return vd(t.root,t.options,t.helpers,e)}function ir(t,e,r=!1,i=!1,n=!1){r&&e.pushStringPart("<!--[-->");const{children:a}=t;for(let o=0;o<a.length;o++){const h=a[o];switch(h.type){case 1:switch(h.tagType){case 0:U2(h,e);break;case 1:Q2(h,e,t);break;case 2:N2(h,e);break;case 3:break;default:return e.onError(Qs(67,h.loc)),h}break;case 2:e.pushStringPart(Mt(h.content));break;case 3:n||e.pushStringPart(`<!--${h.content}-->`);break;case 5:e.pushStringPart(ce(e.helper(Rn),[h.content]));break;case 9:P2(h,e,i,n);break;case 11:C2(h,e,i);break;case 10:break;case 12:case 8:break;default:return e.onError(Qs(67,h.loc)),h}}r&&e.pushStringPart("<!--]-->")}function hs(t,e,r=!1,i=e.withSlotScopeId){const n=ax(e,i);return ir(t,n,r),ks(n.body)}const ox=(t,e,r)=>{const i=t.exp;function n(){const o=ct(e,"value");o&&r.onError(et(60,o.loc))}function a(o){if(o.tag==="option"){if(o.props.findIndex(h=>h.name==="selected")===-1){const h=Sd(o);o.ssrCodegenNode.elements.push(Ct(ce(r.helper(Ru),[Ct(ce("Array.isArray",[i]),ce(r.helper(Du),[i,h]),ce(r.helper(Dn),[i,h]))]),Y(" selected",!0),Y("",!0),!1))}}else o.tag==="optgroup"&&o.children.forEach(h=>a(h))}if(e.tagType===0){const o={props:[]},h=[Ee("value",i)];if(e.tag==="input"){const c=ct(e,"type");if(c){const d=Sd(e);if(c.type===7)o.ssrTagParts=[ce(r.helper(sd),[c.exp,i,d])];else if(c.value)switch(c.value.content){case"radio":o.props=[Ee("checked",ce(r.helper(Dn),[i,d]))];break;case"checkbox":const f=ct(e,"true-value");if(f){const m=f.type===6?JSON.stringify(f.value.content):f.exp;o.props=[Ee("checked",ce(r.helper(Dn),[i,m]))]}else o.props=[Ee("checked",Ct(ce("Array.isArray",[i]),ce(r.helper(Du),[i,d]),i))];break;case"file":r.onError(et(59,t.loc));break;default:n(),o.props=h;break}}else Ji(e)||(n(),o.props=h)}else e.tag==="textarea"?(n(),e.children=[Bi(i,i.loc)]):e.tag==="select"?e.children.forEach(c=>{c.type===1&&a(c)}):r.onError(et(57,t.loc));return o}else return dn(t,e,r)};function Sd(t){const e=ct(t,"value");return e?e.type===7?e.exp:Y(e.value.content,!0):Y("null",!1)}const ux=(t,e,r)=>(t.exp||r.onError(et(61)),{props:[Ee("style",Ct(t.exp,Y("null",!1),lt([Ee("display",Y("none",!0))]),!1))]}),Uu=t=>t.children.filter(e=>e.type!==3),qu=t=>Uu(t).length===1,lx=(t,e)=>{if(t.type===0&&(e.identifiers._attrs=1),t.type===1&&t.tagType===1&&(t.tag==="transition"||t.tag==="Transition"||t.tag==="KeepAlive"||t.tag==="keep-alive")){const i=Uu(e.root);if(i.length===1&&i[0]===t){qu(t)&&ju(t.children[0]);return}}const r=e.parent;if(!(!r||r.type!==0))if(t.type===10&&qu(t)){let i=!1;for(const n of Uu(r))if(n.type===9||n.type===1&&Ue(n,"if")){if(i)return;i=!0}else if(!i||!(n.type===1&&Ue(n,/else/,!0)))return;ju(t.children[0])}else qu(r)&&ju(t)};function ju(t){t.type===1&&(t.tagType===0||t.tagType===1)&&!Ue(t,"for")&&t.props.push({type:7,name:"bind",arg:void 0,exp:Y("_attrs",!1),modifiers:[],loc:Ne})}const cx=(t,e)=>{if(!e.ssrCssVars)return;t.type===0&&(e.identifiers._cssVars=1);const r=e.parent;if(!(!r||r.type!==0))if(t.type===10)for(const i of t.children)Fn(i);else Fn(t)};function Fn(t){if(t.type===1&&(t.tagType===0||t.tagType===1)&&!Ue(t,"for"))if(t.tag==="suspense"||t.tag==="Suspense")for(const e of t.children)e.type===1&&e.tagType===3?e.children.forEach(Fn):Fn(e);else t.props.push({type:7,name:"bind",arg:void 0,exp:Y("_cssVars",!1),modifiers:[],loc:Ne})}var hx=Object.defineProperty,fx=Object.defineProperties,px=Object.getOwnPropertyDescriptors,xd=Object.getOwnPropertySymbols,dx=Object.prototype.hasOwnProperty,mx=Object.prototype.propertyIsEnumerable,Ed=(t,e,r)=>e in t?hx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Bn=(t,e)=>{for(var r in e||(e={}))dx.call(e,r)&&Ed(t,r,e[r]);if(xd)for(var r of xd(e))mx.call(e,r)&&Ed(t,r,e[r]);return t},wd=(t,e)=>fx(t,px(e));function gx(t,e={}){e=wd(Bn(Bn({},e),is),{ssr:!0,inSSR:!0,scopeId:e.mode==="function"?null:e.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});const r=typeof t=="string"?tn(t,e):t;return bd.set(r,e),xo(r,wd(Bn({},e),{hoistStatic:!1,nodeTransforms:[_2,A2,Do,No,I2,lx,cx,R2,Y2,Ro,Ko,...e.nodeTransforms||[]],directiveTransforms:Bn({bind:ko,on:pn,model:ox,show:ux,cloak:Ws,once:Ws,memo:Ws},e.directiveTransforms||{})})),nx(r,e),Io(r,e)}var yx=Object.freeze({__proto__:null,compile:gx});function bx(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var vx={},Sx=Object.freeze({__proto__:null,default:vx}),xx=Ls(Sx),Vu=Ls(Wv),Ex=Ls(KS);const Td={};function ei(t){!(typeof process!="undefined"&&process.env.NODE_ENV==="production")&&!Td[t]&&(Td[t]=!0,$n(t))}function $n(t){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${t}\x1B[0m
|
|
78
|
+
`)}var wx=Object.defineProperty,Tx=Object.defineProperties,_x=Object.getOwnPropertyDescriptors,_d=Object.getOwnPropertySymbols,Px=Object.prototype.hasOwnProperty,Ax=Object.prototype.propertyIsEnumerable,Pd=(t,e,r)=>e in t?wx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Un=(t,e)=>{for(var r in e||(e={}))Px.call(e,r)&&Pd(t,r,e[r]);if(_d)for(var r of _d(e))Ax.call(e,r)&&Pd(t,r,e[r]);return t},Gu=(t,e)=>Tx(t,_x(e));function Cx({source:t,filename:e,preprocessOptions:r},i){let n="",a=null;if(i.render(t,Un({filename:e},r),(o,h)=>{o&&(a=o),n=h}),a)throw a;return n}function Ad(t){const{preprocessLang:e,preprocessCustomRequire:r}=t;if(e&&!r)throw new Error("[@vue/compiler-sfc] Template preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor in the shape of { render(): string }.");const i=e?r?r(e):void 0:!1;if(i)try{return Cd(Gu(Un({},t),{source:Cx(t,i),ast:void 0}))}catch(n){return{code:"export default function render() {}",source:t.source,tips:[],errors:[n]}}else return e?{code:"export default function render() {}",source:t.source,tips:[`Component ${t.filename} uses lang ${e} for template. Please install the language preprocessor.`],errors:[`Component ${t.filename} uses lang ${e} for template, however it is not installed.`]}:Cd(t)}function Cd({filename:t,id:e,scoped:r,slotted:i,inMap:n,source:a,ast:o,ssr:h=!1,ssrCssVars:c,isProd:d=!1,compiler:f,compilerOptions:m={},transformAssetUrls:y}){const b=[],x=[];let v=[];if(lr(y)){const w=v2(y);v=[S2(w),T2(w)]}else y!==!1&&(v=[Wp,Hp]);h&&!c&&ei("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),e||(ei("compileTemplate now requires the `id` option."),e="");const g=e.replace(/^data-v-/,""),T=`data-v-${g}`,E=h?yx:eu;if(f=f||E,f!==E&&(o=void 0),o!=null&&o.transformed){const I=(h?eu:f).parse(o.source,Gu(Un({prefixIdentifiers:!0},m),{parseMode:"sfc",onError:k=>b.push(k)})).children.find(k=>k.type===1&&k.tag==="template");o=_r(I.children,o.source)}let{code:C,ast:N,preamble:A,map:L}=f.compile(o||a,Gu(Un({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:h&&c&&c.length?Pf(c,g,d,!0):"",scopeId:r?T:void 0,slotted:i,sourceMap:!0},m),{hmr:!d,nodeTransforms:v.concat(m.nodeTransforms||[]),filename:t,onError:w=>b.push(w),onWarn:w=>x.push(w)}));n&&!o&&(L&&(L=Ix(n,L)),b.length&&Nx(b,a,n));const R=x.map(w=>{let I=w.message;return w.loc&&(I+=`
|
|
79
|
+
${Ts((o==null?void 0:o.source)||a,w.loc.start.offset,w.loc.end.offset)}`),I});return{code:C,ast:N,preamble:A,source:a,errors:b,tips:R,map:L}}function Ix(t,e){if(!t)return e;if(!e)return t;const r=new js.SourceMapConsumer(t),i=new js.SourceMapConsumer(e),n=new js.SourceMapGenerator;i.eachMapping(o=>{if(o.originalLine==null)return;const h=r.originalPositionFor({line:o.originalLine,column:o.originalColumn});h.source!=null&&n.addMapping({generated:{line:o.generatedLine,column:o.generatedColumn},original:{line:h.line,column:o.originalColumn},source:h.source,name:h.name})});const a=n;return r.sources.forEach(o=>{a._sources.add(o);const h=r.sourceContentFor(o);h!=null&&n.setSourceContent(o,h)}),a._sourceRoot=t.sourceRoot,a._file=t.file,a.toJSON()}function Nx(t,e,r){const i=r.sourcesContent[0],n=i.indexOf(e),a=i.slice(0,n).split(/\r?\n/).length-1;t.forEach(o=>{o.loc&&(o.loc.start.line+=a,o.loc.start.offset+=n,o.loc.end!==o.loc.start&&(o.loc.end.line+=a,o.loc.end.offset+=n))})}var qn={exports:{}};function Id(){return!1}function Nd(){throw new Error("tty.ReadStream is not implemented")}function Od(){throw new Error("tty.ReadStream is not implemented")}var Ox={isatty:Id,ReadStream:Nd,WriteStream:Od},kx=Object.freeze({__proto__:null,ReadStream:Nd,WriteStream:Od,default:Ox,isatty:Id}),Lx=Ls(kx),kd;function Ld(){if(kd)return qn.exports;kd=1;let t=pt.argv||[],e={},r=!("NO_COLOR"in e||t.includes("--no-color"))&&("FORCE_COLOR"in e||t.includes("--color")||!1||bx!=null&&Lx.isatty(1)&&e.TERM!=="dumb"||"CI"in e),i=(o,h,c=o)=>d=>{let f=""+d,m=f.indexOf(h,o.length);return~m?o+n(f,h,c,m)+h:o+f+h},n=(o,h,c,d)=>{let f="",m=0;do f+=o.substring(m,d)+c,m=d+h.length,d=o.indexOf(h,m);while(~d);return f+o.substring(m)},a=(o=r)=>{let h=o?i:()=>String;return{isColorSupported:o,reset:h("\x1B[0m","\x1B[0m"),bold:h("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:h("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:h("\x1B[3m","\x1B[23m"),underline:h("\x1B[4m","\x1B[24m"),inverse:h("\x1B[7m","\x1B[27m"),hidden:h("\x1B[8m","\x1B[28m"),strikethrough:h("\x1B[9m","\x1B[29m"),black:h("\x1B[30m","\x1B[39m"),red:h("\x1B[31m","\x1B[39m"),green:h("\x1B[32m","\x1B[39m"),yellow:h("\x1B[33m","\x1B[39m"),blue:h("\x1B[34m","\x1B[39m"),magenta:h("\x1B[35m","\x1B[39m"),cyan:h("\x1B[36m","\x1B[39m"),white:h("\x1B[37m","\x1B[39m"),gray:h("\x1B[90m","\x1B[39m"),bgBlack:h("\x1B[40m","\x1B[49m"),bgRed:h("\x1B[41m","\x1B[49m"),bgGreen:h("\x1B[42m","\x1B[49m"),bgYellow:h("\x1B[43m","\x1B[49m"),bgBlue:h("\x1B[44m","\x1B[49m"),bgMagenta:h("\x1B[45m","\x1B[49m"),bgCyan:h("\x1B[46m","\x1B[49m"),bgWhite:h("\x1B[47m","\x1B[49m"),blackBright:h("\x1B[90m","\x1B[39m"),redBright:h("\x1B[91m","\x1B[39m"),greenBright:h("\x1B[92m","\x1B[39m"),yellowBright:h("\x1B[93m","\x1B[39m"),blueBright:h("\x1B[94m","\x1B[39m"),magentaBright:h("\x1B[95m","\x1B[39m"),cyanBright:h("\x1B[96m","\x1B[39m"),whiteBright:h("\x1B[97m","\x1B[39m"),bgBlackBright:h("\x1B[100m","\x1B[49m"),bgRedBright:h("\x1B[101m","\x1B[49m"),bgGreenBright:h("\x1B[102m","\x1B[49m"),bgYellowBright:h("\x1B[103m","\x1B[49m"),bgBlueBright:h("\x1B[104m","\x1B[49m"),bgMagentaBright:h("\x1B[105m","\x1B[49m"),bgCyanBright:h("\x1B[106m","\x1B[49m"),bgWhiteBright:h("\x1B[107m","\x1B[49m")}};return qn.exports=a(),qn.exports.createColors=a,qn.exports}var zu,Md;function Rd(){if(Md)return zu;Md=1;const t=39,e=34,r=92,i=47,n=10,a=32,o=12,h=9,c=13,d=91,f=93,m=40,y=41,b=123,x=125,v=59,g=42,T=58,E=64,C=/[\t\n\f\r "#'()/;[\\\]{}]/g,N=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,A=/.[\r\n"'(/\\]/,L=/[\da-f]/i;return zu=function(w,I={}){let k=w.css.valueOf(),M=I.ignoreErrors,z,X,Z,U,Q,re,pe,Re,me,ee,q=k.length,V=0,B=[],G=[];function te(){return V}function j(ue){throw w.error("Unclosed "+ue,V)}function se(){return G.length===0&&V>=q}function oe(ue){if(G.length)return G.pop();if(V>=q)return;let de=ue?ue.ignoreUnclosed:!1;switch(z=k.charCodeAt(V),z){case n:case a:case h:case c:case o:{U=V;do U+=1,z=k.charCodeAt(U);while(z===a||z===n||z===h||z===c||z===o);re=["space",k.slice(V,U)],V=U-1;break}case d:case f:case b:case x:case T:case v:case y:{let Ae=String.fromCharCode(z);re=[Ae,Ae,V];break}case m:{if(ee=B.length?B.pop()[1]:"",me=k.charCodeAt(V+1),ee==="url"&&me!==t&&me!==e&&me!==a&&me!==n&&me!==h&&me!==o&&me!==c){U=V;do{if(pe=!1,U=k.indexOf(")",U+1),U===-1)if(M||de){U=V;break}else j("bracket");for(Re=U;k.charCodeAt(Re-1)===r;)Re-=1,pe=!pe}while(pe);re=["brackets",k.slice(V,U+1),V,U],V=U}else U=k.indexOf(")",V+1),X=k.slice(V,U+1),U===-1||A.test(X)?re=["(","(",V]:(re=["brackets",X,V,U],V=U);break}case t:case e:{Q=z===t?"'":'"',U=V;do{if(pe=!1,U=k.indexOf(Q,U+1),U===-1)if(M||de){U=V+1;break}else j("string");for(Re=U;k.charCodeAt(Re-1)===r;)Re-=1,pe=!pe}while(pe);re=["string",k.slice(V,U+1),V,U],V=U;break}case E:{C.lastIndex=V+1,C.test(k),C.lastIndex===0?U=k.length-1:U=C.lastIndex-2,re=["at-word",k.slice(V,U+1),V,U],V=U;break}case r:{for(U=V,Z=!0;k.charCodeAt(U+1)===r;)U+=1,Z=!Z;if(z=k.charCodeAt(U+1),Z&&z!==i&&z!==a&&z!==n&&z!==h&&z!==c&&z!==o&&(U+=1,L.test(k.charAt(U)))){for(;L.test(k.charAt(U+1));)U+=1;k.charCodeAt(U+1)===a&&(U+=1)}re=["word",k.slice(V,U+1),V,U],V=U;break}default:{z===i&&k.charCodeAt(V+1)===g?(U=k.indexOf("*/",V+2)+1,U===0&&(M||de?U=k.length:j("comment")),re=["comment",k.slice(V,U+1),V,U],V=U):(N.lastIndex=V+1,N.test(k),N.lastIndex===0?U=k.length-1:U=N.lastIndex-2,re=["word",k.slice(V,U+1),V,U],B.push(re),V=U);break}}return V++,re}function he(ue){G.push(ue)}return{back:he,endOfFile:se,nextToken:oe,position:te}},zu}var Wu,Dd;function Fd(){if(Dd)return Wu;Dd=1;let t=Ld(),e=Rd(),r;function i(h){r=h}const n={";":t.yellow,":":t.yellow,"(":t.cyan,")":t.cyan,"[":t.yellow,"]":t.yellow,"{":t.yellow,"}":t.yellow,"at-word":t.cyan,brackets:t.cyan,call:t.cyan,class:t.yellow,comment:t.gray,hash:t.magenta,string:t.green};function a([h,c],d){if(h==="word"){if(c[0]===".")return"class";if(c[0]==="#")return"hash"}if(!d.endOfFile()){let f=d.nextToken();if(d.back(f),f[0]==="brackets"||f[0]==="(")return"call"}return h}function o(h){let c=e(new r(h),{ignoreErrors:!0}),d="";for(;!c.endOfFile();){let f=c.nextToken(),m=n[a(f,c)];m?d+=f[1].split(/\r?\n/).map(y=>m(y)).join(`
|
|
80
|
+
`):d+=f[1]}return d}return o.registerInput=i,Wu=o,Wu}var Hu,Bd;function Xu(){if(Bd)return Hu;Bd=1;let t=Ld(),e=Fd();class r extends Error{constructor(n,a,o,h,c,d){super(n),this.name="CssSyntaxError",this.reason=n,c&&(this.file=c),h&&(this.source=h),d&&(this.plugin=d),typeof a!="undefined"&&typeof o!="undefined"&&(typeof a=="number"?(this.line=a,this.column=o):(this.line=a.line,this.column=a.column,this.endLine=o.line,this.endColumn=o.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(n){if(!this.source)return"";let a=this.source;n==null&&(n=t.isColorSupported);let o=b=>b,h=b=>b,c=b=>b;if(n){let{bold:b,gray:x,red:v}=t.createColors(!0);h=g=>b(v(g)),o=g=>x(g),e&&(c=g=>e(g))}let d=a.split(/\r?\n/),f=Math.max(this.line-3,0),m=Math.min(this.line+2,d.length),y=String(m).length;return d.slice(f,m).map((b,x)=>{let v=f+1+x,g=" "+(" "+v).slice(-y)+" | ";if(v===this.line){if(b.length>160){let E=20,C=Math.max(0,this.column-E),N=Math.max(this.column+E,this.endColumn+E),A=b.slice(C,N),L=o(g.replace(/\d/g," "))+b.slice(0,Math.min(this.column-1,E-1)).replace(/[^\t]/g," ");return h(">")+o(g)+c(A)+`
|
|
81
|
+
`+L+h("^")}let T=o(g.replace(/\d/g," "))+b.slice(0,this.column-1).replace(/[^\t]/g," ");return h(">")+o(g)+c(b)+`
|
|
82
|
+
`+T+h("^")}return" "+o(g)+c(b)}).join(`
|
|
83
|
+
`)}toString(){let n=this.showSourceCode();return n&&(n=`
|
|
84
|
+
|
|
85
|
+
`+n+`
|
|
86
|
+
`),this.name+": "+this.message+n}}return Hu=r,r.default=r,Hu}var Ku,$d;function Ud(){if($d)return Ku;$d=1;const t={after:`
|
|
87
|
+
`,beforeClose:`
|
|
88
|
+
`,beforeComment:`
|
|
89
|
+
`,beforeDecl:`
|
|
90
|
+
`,beforeOpen:" ",beforeRule:`
|
|
91
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function e(i){return i[0].toUpperCase()+i.slice(1)}class r{constructor(n){this.builder=n}atrule(n,a){let o="@"+n.name,h=n.params?this.rawValue(n,"params"):"";if(typeof n.raws.afterName!="undefined"?o+=n.raws.afterName:h&&(o+=" "),n.nodes)this.block(n,o+h);else{let c=(n.raws.between||"")+(a?";":"");this.builder(o+h+c,n)}}beforeAfter(n,a){let o;n.type==="decl"?o=this.raw(n,null,"beforeDecl"):n.type==="comment"?o=this.raw(n,null,"beforeComment"):a==="before"?o=this.raw(n,null,"beforeRule"):o=this.raw(n,null,"beforeClose");let h=n.parent,c=0;for(;h&&h.type!=="root";)c+=1,h=h.parent;if(o.includes(`
|
|
92
|
+
`)){let d=this.raw(n,null,"indent");if(d.length)for(let f=0;f<c;f++)o+=d}return o}block(n,a){let o=this.raw(n,"between","beforeOpen");this.builder(a+o+"{",n,"start");let h;n.nodes&&n.nodes.length?(this.body(n),h=this.raw(n,"after")):h=this.raw(n,"after","emptyBody"),h&&this.builder(h),this.builder("}",n,"end")}body(n){let a=n.nodes.length-1;for(;a>0&&n.nodes[a].type==="comment";)a-=1;let o=this.raw(n,"semicolon");for(let h=0;h<n.nodes.length;h++){let c=n.nodes[h],d=this.raw(c,"before");d&&this.builder(d),this.stringify(c,a!==h||o)}}comment(n){let a=this.raw(n,"left","commentLeft"),o=this.raw(n,"right","commentRight");this.builder("/*"+a+n.text+o+"*/",n)}decl(n,a){let o=this.raw(n,"between","colon"),h=n.prop+o+this.rawValue(n,"value");n.important&&(h+=n.raws.important||" !important"),a&&(h+=";"),this.builder(h,n)}document(n){this.body(n)}raw(n,a,o){let h;if(o||(o=a),a&&(h=n.raws[a],typeof h!="undefined"))return h;let c=n.parent;if(o==="before"&&(!c||c.type==="root"&&c.first===n||c&&c.type==="document"))return"";if(!c)return t[o];let d=n.root();if(d.rawCache||(d.rawCache={}),typeof d.rawCache[o]!="undefined")return d.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(n,o);{let f="raw"+e(o);this[f]?h=this[f](d,n):d.walk(m=>{if(h=m.raws[a],typeof h!="undefined")return!1})}return typeof h=="undefined"&&(h=t[o]),d.rawCache[o]=h,h}rawBeforeClose(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length>0&&typeof o.raws.after!="undefined")return a=o.raws.after,a.includes(`
|
|
93
|
+
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeComment(n,a){let o;return n.walkComments(h=>{if(typeof h.raws.before!="undefined")return o=h.raws.before,o.includes(`
|
|
94
|
+
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o=="undefined"?o=this.raw(a,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeDecl(n,a){let o;return n.walkDecls(h=>{if(typeof h.raws.before!="undefined")return o=h.raws.before,o.includes(`
|
|
95
|
+
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o=="undefined"?o=this.raw(a,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o}rawBeforeOpen(n){let a;return n.walk(o=>{if(o.type!=="decl"&&(a=o.raws.between,typeof a!="undefined"))return!1}),a}rawBeforeRule(n){let a;return n.walk(o=>{if(o.nodes&&(o.parent!==n||n.first!==o)&&typeof o.raws.before!="undefined")return a=o.raws.before,a.includes(`
|
|
96
|
+
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawColon(n){let a;return n.walkDecls(o=>{if(typeof o.raws.between!="undefined")return a=o.raws.between.replace(/[^\s:]/g,""),!1}),a}rawEmptyBody(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length===0&&(a=o.raws.after,typeof a!="undefined"))return!1}),a}rawIndent(n){if(n.raws.indent)return n.raws.indent;let a;return n.walk(o=>{let h=o.parent;if(h&&h!==n&&h.parent&&h.parent===n&&typeof o.raws.before!="undefined"){let c=o.raws.before.split(`
|
|
97
|
+
`);return a=c[c.length-1],a=a.replace(/\S/g,""),!1}}),a}rawSemicolon(n){let a;return n.walk(o=>{if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(a=o.raws.semicolon,typeof a!="undefined"))return!1}),a}rawValue(n,a){let o=n[a],h=n.raws[a];return h&&h.value===o?h.raw:o}root(n){this.body(n),n.raws.after&&this.builder(n.raws.after)}rule(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end")}stringify(n,a){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,a)}}return Ku=r,r.default=r,Ku}var Ju,qd;function jn(){if(qd)return Ju;qd=1;let t=Ud();function e(r,i){new t(i).stringify(r)}return Ju=e,e.default=e,Ju}var Vn={},jd;function Yu(){return jd||(jd=1,Vn.isClean=Symbol("isClean"),Vn.my=Symbol("my")),Vn}var Qu,Vd;function Gn(){if(Vd)return Qu;Vd=1;let t=Xu(),e=Ud(),r=jn(),{isClean:i,my:n}=Yu();function a(h,c){let d=new h.constructor;for(let f in h){if(!Object.prototype.hasOwnProperty.call(h,f)||f==="proxyCache")continue;let m=h[f],y=typeof m;f==="parent"&&y==="object"?c&&(d[f]=c):f==="source"?d[f]=m:Array.isArray(m)?d[f]=m.map(b=>a(b,d)):(y==="object"&&m!==null&&(m=a(m)),d[f]=m)}return d}class o{constructor(c={}){this.raws={},this[i]=!1,this[n]=!0;for(let d in c)if(d==="nodes"){this.nodes=[];for(let f of c[d])typeof f.clone=="function"?this.append(f.clone()):this.append(f)}else this[d]=c[d]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let d=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${d.input.from}:${d.start.line}:${d.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let d in c)this[d]=c[d];return this}before(c){return this.parent.insertBefore(this,c),this}cleanRaws(c){delete this.raws.before,delete this.raws.after,c||delete this.raws.between}clone(c={}){let d=a(this);for(let f in c)d[f]=c[f];return d}cloneAfter(c={}){let d=this.clone(c);return this.parent.insertAfter(this,d),d}cloneBefore(c={}){let d=this.clone(c);return this.parent.insertBefore(this,d),d}error(c,d={}){if(this.source){let{end:f,start:m}=this.rangeBy(d);return this.source.input.error(c,{column:m.column,line:m.line},{column:f.column,line:f.line},d)}return new t(c)}getProxyProcessor(){return{get(c,d){return d==="proxyOf"?c:d==="root"?()=>c.root().toProxy():c[d]},set(c,d,f){return c[d]===f||(c[d]=f,(d==="prop"||d==="value"||d==="name"||d==="params"||d==="important"||d==="text")&&c.markDirty()),!0}}}markClean(){this[i]=!0}markDirty(){if(this[i]){this[i]=!1;let c=this;for(;c=c.parent;)c[i]=!1}}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}positionBy(c,d){let f=this.source.start;if(c.index)f=this.positionInside(c.index,d);else if(c.word){d=this.toString();let m=d.indexOf(c.word);m!==-1&&(f=this.positionInside(m,d))}return f}positionInside(c,d){let f=d||this.toString(),m=this.source.start.column,y=this.source.start.line;for(let b=0;b<c;b++)f[b]===`
|
|
98
|
+
`?(m=1,y+=1):m+=1;return{column:m,line:y}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c){let d={column:this.source.start.column,line:this.source.start.line},f=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:d.column+1,line:d.line};if(c.word){let m=this.toString(),y=m.indexOf(c.word);y!==-1&&(d=this.positionInside(y,m),f=this.positionInside(y+c.word.length,m))}else c.start?d={column:c.start.column,line:c.start.line}:c.index&&(d=this.positionInside(c.index)),c.end?f={column:c.end.column,line:c.end.line}:typeof c.endIndex=="number"?f=this.positionInside(c.endIndex):c.index&&(f=this.positionInside(c.index+1));return(f.line<d.line||f.line===d.line&&f.column<=d.column)&&(f={column:d.column+1,line:d.line}),{end:f,start:d}}raw(c,d){return new e().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,f=!1;for(let m of c)m===this?f=!0:f?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);f||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let f={},m=d==null;d=d||new Map;let y=0;for(let b in this){if(!Object.prototype.hasOwnProperty.call(this,b)||b==="parent"||b==="proxyCache")continue;let x=this[b];if(Array.isArray(x))f[b]=x.map(v=>typeof v=="object"&&v.toJSON?v.toJSON(null,d):v);else if(typeof x=="object"&&x.toJSON)f[b]=x.toJSON(null,d);else if(b==="source"){let v=d.get(x.input);v==null&&(v=y,d.set(x.input,y),y++),f[b]={end:x.end,inputId:v,start:x.start}}else f[b]=x}return m&&(f.inputs=[...d.keys()].map(b=>b.toJSON())),f}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(c=r){c.stringify&&(c=c.stringify);let d="";return c(this,f=>{d+=f}),d}warn(c,d,f){let m={node:this};for(let y in f)m[y]=f[y];return c.warn(d,m)}get proxyOf(){return this}}return Qu=o,o.default=o,Qu}var Zu,Gd;function zn(){if(Gd)return Zu;Gd=1;let t=Gn();class e extends t{constructor(i){super(i),this.type="comment"}}return Zu=e,e.default=e,Zu}var el,zd;function Wn(){if(zd)return el;zd=1;let t=Gn();class e extends t{constructor(i){i&&typeof i.value!="undefined"&&typeof i.value!="string"&&(i=Es(Ht({},i),{value:String(i.value)})),super(i),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return el=e,e.default=e,el}var tl,Wd;function Br(){if(Wd)return tl;Wd=1;let t=zn(),e=Wn(),r=Gn(),{isClean:i,my:n}=Yu(),a,o,h,c;function d(y){return y.map(b=>(b.nodes&&(b.nodes=d(b.nodes)),delete b.source,b))}function f(y){if(y[i]=!1,y.proxyOf.nodes)for(let b of y.proxyOf.nodes)f(b)}class m extends r{append(...b){for(let x of b){let v=this.normalize(x,this.last);for(let g of v)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(b){if(super.cleanRaws(b),this.nodes)for(let x of this.nodes)x.cleanRaws(b)}each(b){if(!this.proxyOf.nodes)return;let x=this.getIterator(),v,g;for(;this.indexes[x]<this.proxyOf.nodes.length&&(v=this.indexes[x],g=b(this.proxyOf.nodes[v],v),g!==!1);)this.indexes[x]+=1;return delete this.indexes[x],g}every(b){return this.nodes.every(b)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let b=this.lastEach;return this.indexes[b]=0,b}getProxyProcessor(){return{get(b,x){return x==="proxyOf"?b:b[x]?x==="each"||typeof x=="string"&&x.startsWith("walk")?(...v)=>b[x](...v.map(g=>typeof g=="function"?(T,E)=>g(T.toProxy(),E):g)):x==="every"||x==="some"?v=>b[x]((g,...T)=>v(g.toProxy(),...T)):x==="root"?()=>b.root().toProxy():x==="nodes"?b.nodes.map(v=>v.toProxy()):x==="first"||x==="last"?b[x].toProxy():b[x]:b[x]},set(b,x,v){return b[x]===v||(b[x]=v,(x==="name"||x==="params"||x==="selector")&&b.markDirty()),!0}}}index(b){return typeof b=="number"?b:(b.proxyOf&&(b=b.proxyOf),this.proxyOf.nodes.indexOf(b))}insertAfter(b,x){let v=this.index(b),g=this.normalize(x,this.proxyOf.nodes[v]).reverse();v=this.index(b);for(let E of g)this.proxyOf.nodes.splice(v+1,0,E);let T;for(let E in this.indexes)T=this.indexes[E],v<T&&(this.indexes[E]=T+g.length);return this.markDirty(),this}insertBefore(b,x){let v=this.index(b),g=v===0?"prepend":!1,T=this.normalize(x,this.proxyOf.nodes[v],g).reverse();v=this.index(b);for(let C of T)this.proxyOf.nodes.splice(v,0,C);let E;for(let C in this.indexes)E=this.indexes[C],v<=E&&(this.indexes[C]=E+T.length);return this.markDirty(),this}normalize(b,x){if(typeof b=="string")b=d(o(b).nodes);else if(typeof b=="undefined")b=[];else if(Array.isArray(b)){b=b.slice(0);for(let g of b)g.parent&&g.parent.removeChild(g,"ignore")}else if(b.type==="root"&&this.type!=="document"){b=b.nodes.slice(0);for(let g of b)g.parent&&g.parent.removeChild(g,"ignore")}else if(b.type)b=[b];else if(b.prop){if(typeof b.value=="undefined")throw new Error("Value field is missed in node creation");typeof b.value!="string"&&(b.value=String(b.value)),b=[new e(b)]}else if(b.selector||b.selectors)b=[new c(b)];else if(b.name)b=[new a(b)];else if(b.text)b=[new t(b)];else throw new Error("Unknown node type in node creation");return b.map(g=>(g[n]||m.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[i]&&f(g),g.raws||(g.raws={}),typeof g.raws.before=="undefined"&&x&&typeof x.raws.before!="undefined"&&(g.raws.before=x.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...b){b=b.reverse();for(let x of b){let v=this.normalize(x,this.first,"prepend").reverse();for(let g of v)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+v.length}return this.markDirty(),this}push(b){return b.parent=this,this.proxyOf.nodes.push(b),this}removeAll(){for(let b of this.proxyOf.nodes)b.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(b){b=this.index(b),this.proxyOf.nodes[b].parent=void 0,this.proxyOf.nodes.splice(b,1);let x;for(let v in this.indexes)x=this.indexes[v],x>=b&&(this.indexes[v]=x-1);return this.markDirty(),this}replaceValues(b,x,v){return v||(v=x,x={}),this.walkDecls(g=>{x.props&&!x.props.includes(g.prop)||x.fast&&!g.value.includes(x.fast)||(g.value=g.value.replace(b,v))}),this.markDirty(),this}some(b){return this.nodes.some(b)}walk(b){return this.each((x,v)=>{let g;try{g=b(x,v)}catch(T){throw x.addToError(T)}return g!==!1&&x.walk&&(g=x.walk(b)),g})}walkAtRules(b,x){return x?b instanceof RegExp?this.walk((v,g)=>{if(v.type==="atrule"&&b.test(v.name))return x(v,g)}):this.walk((v,g)=>{if(v.type==="atrule"&&v.name===b)return x(v,g)}):(x=b,this.walk((v,g)=>{if(v.type==="atrule")return x(v,g)}))}walkComments(b){return this.walk((x,v)=>{if(x.type==="comment")return b(x,v)})}walkDecls(b,x){return x?b instanceof RegExp?this.walk((v,g)=>{if(v.type==="decl"&&b.test(v.prop))return x(v,g)}):this.walk((v,g)=>{if(v.type==="decl"&&v.prop===b)return x(v,g)}):(x=b,this.walk((v,g)=>{if(v.type==="decl")return x(v,g)}))}walkRules(b,x){return x?b instanceof RegExp?this.walk((v,g)=>{if(v.type==="rule"&&b.test(v.selector))return x(v,g)}):this.walk((v,g)=>{if(v.type==="rule"&&v.selector===b)return x(v,g)}):(x=b,this.walk((v,g)=>{if(v.type==="rule")return x(v,g)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return m.registerParse=y=>{o=y},m.registerRule=y=>{c=y},m.registerAtRule=y=>{a=y},m.registerRoot=y=>{h=y},tl=m,m.default=m,m.rebuild=y=>{y.type==="atrule"?Object.setPrototypeOf(y,a.prototype):y.type==="rule"?Object.setPrototypeOf(y,c.prototype):y.type==="decl"?Object.setPrototypeOf(y,e.prototype):y.type==="comment"?Object.setPrototypeOf(y,t.prototype):y.type==="root"&&Object.setPrototypeOf(y,h.prototype),y[n]=!0,y.nodes&&y.nodes.forEach(b=>{m.rebuild(b)})},tl}var rl,Hd;function sl(){if(Hd)return rl;Hd=1;let t=Br();class e extends t{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}}return rl=e,e.default=e,t.registerAtRule(e),rl}var il,Xd;function nl(){if(Xd)return il;Xd=1;let t=Br(),e,r;class i extends t{constructor(a){super(Ht({type:"document"},a)),this.nodes||(this.nodes=[])}toResult(a={}){return new e(new r,this,a).stringify()}}return i.registerLazyResult=n=>{e=n},i.registerProcessor=n=>{r=n},il=i,i.default=i,il}var al,Kd;function Mx(){if(Kd)return al;Kd=1;let t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return al={nanoid:(i=21)=>{let n="",a=i;for(;a--;)n+=t[Math.random()*64|0];return n},customAlphabet:(i,n=21)=>(a=n)=>{let o="",h=a;for(;h--;)o+=i[Math.random()*i.length|0];return o}},al}var ti={},ol={},Hn={},Xn={},Jd;function Rx(){if(Jd)return Xn;Jd=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Xn.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},Xn.decode=function(e){var r=65,i=90,n=97,a=122,o=48,h=57,c=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=a?e-n+f:o<=e&&e<=h?e-o+m:e==c?62:e==d?63:-1},Xn}var Yd;function Qd(){if(Yd)return Hn;Yd=1;var t=Rx(),e=5,r=1<<e,i=r-1,n=r;function a(h){return h<0?(-h<<1)+1:(h<<1)+0}function o(h){var c=(h&1)===1,d=h>>1;return c?-d:d}return Hn.encode=function(c){var d="",f,m=a(c);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},Hn.decode=function(c,d,f){var m=c.length,y=0,b=0,x,v;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(v=t.decode(c.charCodeAt(d++)),v===-1)throw new Error("Invalid base64 digit: "+c.charAt(d-1));x=!!(v&n),v&=i,y=y+(v<<b),b+=e}while(x);f.value=o(y),f.rest=d},Hn}var ul={},Zd;function ri(){return Zd||(Zd=1,function(t){function e(w,I,k){if(I in w)return w[I];if(arguments.length===3)return k;throw new Error('"'+I+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(w){var I=w.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}t.urlParse=n;function a(w){var I="";return w.scheme&&(I+=w.scheme+":"),I+="//",w.auth&&(I+=w.auth+"@"),w.host&&(I+=w.host),w.port&&(I+=":"+w.port),w.path&&(I+=w.path),I}t.urlGenerate=a;var o=32;function h(w){var I=[];return function(k){for(var M=0;M<I.length;M++)if(I[M].input===k){var z=I[0];return I[0]=I[M],I[M]=z,I[0].result}var X=w(k);return I.unshift({input:k,result:X}),I.length>o&&I.pop(),X}}var c=h(function(I){var k=I,M=n(I);if(M){if(!M.path)return I;k=M.path}for(var z=t.isAbsolute(k),X=[],Z=0,U=0;;)if(Z=U,U=k.indexOf("/",Z),U===-1){X.push(k.slice(Z));break}else for(X.push(k.slice(Z,U));U<k.length&&k[U]==="/";)U++;for(var Q,re=0,U=X.length-1;U>=0;U--)Q=X[U],Q==="."?X.splice(U,1):Q===".."?re++:re>0&&(Q===""?(X.splice(U+1,re),re=0):(X.splice(U,2),re--));return k=X.join("/"),k===""&&(k=z?"/":"."),M?(M.path=k,a(M)):k});t.normalize=c;function d(w,I){w===""&&(w="."),I===""&&(I=".");var k=n(I),M=n(w);if(M&&(w=M.path||"/"),k&&!k.scheme)return M&&(k.scheme=M.scheme),a(k);if(k||I.match(i))return I;if(M&&!M.host&&!M.path)return M.host=I,a(M);var z=I.charAt(0)==="/"?I:c(w.replace(/\/+$/,"")+"/"+I);return M?(M.path=z,a(M)):z}t.join=d,t.isAbsolute=function(w){return w.charAt(0)==="/"||r.test(w)};function f(w,I){w===""&&(w="."),w=w.replace(/\/$/,"");for(var k=0;I.indexOf(w+"/")!==0;){var M=w.lastIndexOf("/");if(M<0||(w=w.slice(0,M),w.match(/^([^\/]+:\/)?\/*$/)))return I;++k}return Array(k+1).join("../")+I.substr(w.length+1)}t.relative=f;var m=function(){var w=Object.create(null);return!("__proto__"in w)}();function y(w){return w}function b(w){return v(w)?"$"+w:w}t.toSetString=m?y:b;function x(w){return v(w)?w.slice(1):w}t.fromSetString=m?y:x;function v(w){if(!w)return!1;var I=w.length;if(I<9||w.charCodeAt(I-1)!==95||w.charCodeAt(I-2)!==95||w.charCodeAt(I-3)!==111||w.charCodeAt(I-4)!==116||w.charCodeAt(I-5)!==111||w.charCodeAt(I-6)!==114||w.charCodeAt(I-7)!==112||w.charCodeAt(I-8)!==95||w.charCodeAt(I-9)!==95)return!1;for(var k=I-10;k>=0;k--)if(w.charCodeAt(k)!==36)return!1;return!0}function g(w,I,k){var M=N(w.source,I.source);return M!==0||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositions=g;function T(w,I,k){var M;return M=w.originalLine-I.originalLine,M!==0||(M=w.originalColumn-I.originalColumn,M!==0||k)||(M=w.generatedColumn-I.generatedColumn,M!==0)||(M=w.generatedLine-I.generatedLine,M!==0)?M:N(w.name,I.name)}t.compareByOriginalPositionsNoSource=T;function E(w,I,k){var M=w.generatedLine-I.generatedLine;return M!==0||(M=w.generatedColumn-I.generatedColumn,M!==0||k)||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflated=E;function C(w,I,k){var M=w.generatedColumn-I.generatedColumn;return M!==0||k||(M=N(w.source,I.source),M!==0)||(M=w.originalLine-I.originalLine,M!==0)||(M=w.originalColumn-I.originalColumn,M!==0)?M:N(w.name,I.name)}t.compareByGeneratedPositionsDeflatedNoLine=C;function N(w,I){return w===I?0:w===null?1:I===null?-1:w>I?1:-1}function A(w,I){var k=w.generatedLine-I.generatedLine;return k!==0||(k=w.generatedColumn-I.generatedColumn,k!==0)||(k=N(w.source,I.source),k!==0)||(k=w.originalLine-I.originalLine,k!==0)||(k=w.originalColumn-I.originalColumn,k!==0)?k:N(w.name,I.name)}t.compareByGeneratedPositionsInflated=A;function L(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=L;function R(w,I,k){if(I=I||"",w&&(w[w.length-1]!=="/"&&I[0]!=="/"&&(w+="/"),I=w+I),k){var M=n(k);if(!M)throw new Error("sourceMapURL could not be parsed");if(M.path){var z=M.path.lastIndexOf("/");z>=0&&(M.path=M.path.substring(0,z+1))}I=d(a(M),I)}return c(I)}t.computeSourceURL=R}(ul)),ul}var ll={},e0;function t0(){if(e0)return ll;e0=1;var t=ri(),e=Object.prototype.hasOwnProperty,r=typeof Map!="undefined";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,o){for(var h=new i,c=0,d=a.length;c<d;c++)h.add(a[c],o);return h},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,o){var h=r?a:t.toSetString(a),c=r?this.has(a):e.call(this._set,h),d=this._array.length;(!c||o)&&this._array.push(a),c||(r?this._set.set(a,d):this._set[h]=d)},i.prototype.has=function(a){if(r)return this._set.has(a);var o=t.toSetString(a);return e.call(this._set,o)},i.prototype.indexOf=function(a){if(r){var o=this._set.get(a);if(o>=0)return o}else{var h=t.toSetString(a);if(e.call(this._set,h))return this._set[h]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},ll.ArraySet=i,ll}var cl={},r0;function Dx(){if(r0)return cl;r0=1;var t=ri();function e(i,n){var a=i.generatedLine,o=n.generatedLine,h=i.generatedColumn,c=n.generatedColumn;return o>a||o==a&&c>=h||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,a){this._array.forEach(n,a)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},cl.MappingList=r,cl}var s0;function i0(){if(s0)return ol;s0=1;var t=Qd(),e=ri(),r=t0().ArraySet,i=Dx().MappingList;function n(a){a||(a={}),this._file=e.getArg(a,"file",null),this._sourceRoot=e.getArg(a,"sourceRoot",null),this._skipValidation=e.getArg(a,"skipValidation",!1),this._ignoreInvalidMapping=e.getArg(a,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(o,h){var c=o.sourceRoot,d=new n(Object.assign(h||{},{file:o.file,sourceRoot:c}));return o.eachMapping(function(f){var m={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(m.source=f.source,c!=null&&(m.source=e.relative(c,m.source)),m.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(m.name=f.name)),d.addMapping(m)}),o.sources.forEach(function(f){var m=f;c!==null&&(m=e.relative(c,f)),d._sources.has(m)||d._sources.add(m);var y=o.sourceContentFor(f);y!=null&&d.setSourceContent(f,y)}),d},n.prototype.addMapping=function(o){var h=e.getArg(o,"generated"),c=e.getArg(o,"original",null),d=e.getArg(o,"source",null),f=e.getArg(o,"name",null);!this._skipValidation&&this._validateMapping(h,c,d,f)===!1||(d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:d,name:f}))},n.prototype.setSourceContent=function(o,h){var c=o;this._sourceRoot!=null&&(c=e.relative(this._sourceRoot,c)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(c)]=h):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(o,h,c){var d=h;if(h==null){if(o.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=o.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,y=new r;this._mappings.unsortedForEach(function(b){if(b.source===d&&b.originalLine!=null){var x=o.originalPositionFor({line:b.originalLine,column:b.originalColumn});x.source!=null&&(b.source=x.source,c!=null&&(b.source=e.join(c,b.source)),f!=null&&(b.source=e.relative(f,b.source)),b.originalLine=x.line,b.originalColumn=x.column,x.name!=null&&(b.name=x.name))}var v=b.source;v!=null&&!m.has(v)&&m.add(v);var g=b.name;g!=null&&!y.has(g)&&y.add(g)},this),this._sources=m,this._names=y,o.sources.forEach(function(b){var x=o.sourceContentFor(b);x!=null&&(c!=null&&(b=e.join(c,b)),f!=null&&(b=e.relative(f,b)),this.setSourceContent(b,x))},this)},n.prototype._validateMapping=function(o,h,c,d){if(h&&typeof h.line!="number"&&typeof h.column!="number"){var f="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console!="undefined"&&console.warn&&console.warn(f),!1;throw new Error(f)}if(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!h&&!c&&!d)){if(o&&"line"in o&&"column"in o&&h&&"line"in h&&"column"in h&&o.line>0&&o.column>=0&&h.line>0&&h.column>=0&&c)return;var f="Invalid mapping: "+JSON.stringify({generated:o,source:c,original:h,name:d});if(this._ignoreInvalidMapping)return typeof console!="undefined"&&console.warn&&console.warn(f),!1;throw new Error(f)}},n.prototype._serializeMappings=function(){for(var o=0,h=1,c=0,d=0,f=0,m=0,y="",b,x,v,g,T=this._mappings.toArray(),E=0,C=T.length;E<C;E++){if(x=T[E],b="",x.generatedLine!==h)for(o=0;x.generatedLine!==h;)b+=";",h++;else if(E>0){if(!e.compareByGeneratedPositionsInflated(x,T[E-1]))continue;b+=","}b+=t.encode(x.generatedColumn-o),o=x.generatedColumn,x.source!=null&&(g=this._sources.indexOf(x.source),b+=t.encode(g-m),m=g,b+=t.encode(x.originalLine-1-d),d=x.originalLine-1,b+=t.encode(x.originalColumn-c),c=x.originalColumn,x.name!=null&&(v=this._names.indexOf(x.name),b+=t.encode(v-f),f=v)),y+=b}return y},n.prototype._generateSourcesContent=function(o,h){return o.map(function(c){if(!this._sourcesContents)return null;h!=null&&(c=e.relative(h,c));var d=e.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},ol.SourceMapGenerator=n,ol}var si={},hl={},n0;function Fx(){return n0||(n0=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,a,o,h){var c=Math.floor((i-r)/2)+r,d=o(n,a[c],!0);return d===0?c:d>0?i-c>1?e(c,i,n,a,o,h):h==t.LEAST_UPPER_BOUND?i<a.length?i:-1:c:c-r>1?e(r,c,n,a,o,h):h==t.LEAST_UPPER_BOUND?c:r<0?-1:r}t.search=function(i,n,a,o){if(n.length===0)return-1;var h=e(-1,n.length,i,n,a,o||t.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&a(n[h],n[h-1],!0)===0;)--h;return h}}(hl)),hl}var fl={},a0;function Bx(){if(a0)return fl;a0=1;function t(i){function n(h,c,d){var f=h[c];h[c]=h[d],h[d]=f}function a(h,c){return Math.round(h+Math.random()*(c-h))}function o(h,c,d,f){if(d<f){var m=a(d,f),y=d-1;n(h,m,f);for(var b=h[f],x=d;x<f;x++)c(h[x],b,!1)<=0&&(y+=1,n(h,y,x));n(h,y+1,x);var v=y+1;o(h,c,d,v-1),o(h,c,v+1,f)}}return o}function e(i){let n=t.toString();return new Function(`return ${n}`)()(i)}let r=new WeakMap;return fl.quickSort=function(i,n,a=0){let o=r.get(n);o===void 0&&(o=e(n),r.set(n,o)),o(i,n,a,i.length-1)},fl}var o0;function $x(){if(o0)return si;o0=1;var t=ri(),e=Fx(),r=t0().ArraySet,i=Qd(),n=Bx().quickSort;function a(m,y){var b=m;return typeof m=="string"&&(b=t.parseSourceMapInput(m)),b.sections!=null?new f(b,y):new o(b,y)}a.fromSourceMap=function(m,y){return o.fromSourceMap(m,y)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(y,b){var x=y.charAt(b);return x===";"||x===","},a.prototype._parseMappings=function(y,b){throw new Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(y,b,x){var v=b||null,g=x||a.GENERATED_ORDER,T;switch(g){case a.GENERATED_ORDER:T=this._generatedMappings;break;case a.ORIGINAL_ORDER:T=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var E=this.sourceRoot,C=y.bind(v),N=this._names,A=this._sources,L=this._sourceMapURL,R=0,w=T.length;R<w;R++){var I=T[R],k=I.source===null?null:A.at(I.source);k!==null&&(k=t.computeSourceURL(E,k,L)),C({source:k,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:N.at(I.name)})}},a.prototype.allGeneratedPositionsFor=function(y){var b=t.getArg(y,"line"),x={source:t.getArg(y,"source"),originalLine:b,originalColumn:t.getArg(y,"column",0)};if(x.source=this._findSourceIndex(x.source),x.source<0)return[];var v=[],g=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(g>=0){var T=this._originalMappings[g];if(y.column===void 0)for(var E=T.originalLine;T&&T.originalLine===E;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++g];else for(var C=T.originalColumn;T&&T.originalLine===b&&T.originalColumn==C;)v.push({line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++g]}return v},si.SourceMapConsumer=a;function o(m,y){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sources"),g=t.getArg(b,"names",[]),T=t.getArg(b,"sourceRoot",null),E=t.getArg(b,"sourcesContent",null),C=t.getArg(b,"mappings"),N=t.getArg(b,"file",null);if(x!=this._version)throw new Error("Unsupported version: "+x);T&&(T=t.normalize(T)),v=v.map(String).map(t.normalize).map(function(A){return T&&t.isAbsolute(T)&&t.isAbsolute(A)?t.relative(T,A):A}),this._names=r.fromArray(g.map(String),!0),this._sources=r.fromArray(v,!0),this._absoluteSources=this._sources.toArray().map(function(A){return t.computeSourceURL(T,A,y)}),this.sourceRoot=T,this.sourcesContent=E,this._mappings=C,this._sourceMapURL=y,this.file=N}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(m){var y=m;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var b;for(b=0;b<this._absoluteSources.length;++b)if(this._absoluteSources[b]==m)return b;return-1},o.fromSourceMap=function(y,b){var x=Object.create(o.prototype),v=x._names=r.fromArray(y._names.toArray(),!0),g=x._sources=r.fromArray(y._sources.toArray(),!0);x.sourceRoot=y._sourceRoot,x.sourcesContent=y._generateSourcesContent(x._sources.toArray(),x.sourceRoot),x.file=y._file,x._sourceMapURL=b,x._absoluteSources=x._sources.toArray().map(function(w){return t.computeSourceURL(x.sourceRoot,w,b)});for(var T=y._mappings.toArray().slice(),E=x.__generatedMappings=[],C=x.__originalMappings=[],N=0,A=T.length;N<A;N++){var L=T[N],R=new h;R.generatedLine=L.generatedLine,R.generatedColumn=L.generatedColumn,L.source&&(R.source=g.indexOf(L.source),R.originalLine=L.originalLine,R.originalColumn=L.originalColumn,L.name&&(R.name=v.indexOf(L.name)),C.push(R)),E.push(R)}return n(x.__originalMappings,t.compareByOriginalPositions),x},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const c=t.compareByGeneratedPositionsDeflatedNoLine;function d(m,y){let b=m.length,x=m.length-y;if(!(x<=1))if(x==2){let v=m[y],g=m[y+1];c(v,g)>0&&(m[y]=g,m[y+1]=v)}else if(x<20)for(let v=y;v<b;v++)for(let g=v;g>y;g--){let T=m[g-1],E=m[g];if(c(T,E)<=0)break;m[g-1]=E,m[g]=T}else n(m,c,y)}o.prototype._parseMappings=function(y,b){var x=1,v=0,g=0,T=0,E=0,C=0,N=y.length,A=0,L={},R=[],w=[],I,k,M,z;let X=0;for(;A<N;)if(y.charAt(A)===";")x++,A++,v=0,d(w,X),X=w.length;else if(y.charAt(A)===",")A++;else{for(I=new h,I.generatedLine=x,M=A;M<N&&!this._charIsMappingSeparator(y,M);M++);for(y.slice(A,M),k=[];A<M;)i.decode(y,A,L),z=L.value,A=L.rest,k.push(z);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");if(I.generatedColumn=v+k[0],v=I.generatedColumn,k.length>1&&(I.source=E+k[1],E+=k[1],I.originalLine=g+k[2],g=I.originalLine,I.originalLine+=1,I.originalColumn=T+k[3],T=I.originalColumn,k.length>4&&(I.name=C+k[4],C+=k[4])),w.push(I),typeof I.originalLine=="number"){let U=I.source;for(;R.length<=U;)R.push(null);R[U]===null&&(R[U]=[]),R[U].push(I)}}d(w,X),this.__generatedMappings=w;for(var Z=0;Z<R.length;Z++)R[Z]!=null&&n(R[Z],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...R)},o.prototype._findMapping=function(y,b,x,v,g,T){if(y[x]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[x]);if(y[v]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[v]);return e.search(y,b,g,T)},o.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var b=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var x=this._generatedMappings[y+1];if(b.generatedLine===x.generatedLine){b.lastGeneratedColumn=x.generatedColumn-1;continue}}b.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(y){var b={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},x=this._findMapping(b,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(y,"bias",a.GREATEST_LOWER_BOUND));if(x>=0){var v=this._generatedMappings[x];if(v.generatedLine===b.generatedLine){var g=t.getArg(v,"source",null);g!==null&&(g=this._sources.at(g),g=t.computeSourceURL(this.sourceRoot,g,this._sourceMapURL));var T=t.getArg(v,"name",null);return T!==null&&(T=this._names.at(T)),{source:g,line:t.getArg(v,"originalLine",null),column:t.getArg(v,"originalColumn",null),name:T}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return y==null}):!1},o.prototype.sourceContentFor=function(y,b){if(!this.sourcesContent)return null;var x=this._findSourceIndex(y);if(x>=0)return this.sourcesContent[x];var v=y;this.sourceRoot!=null&&(v=t.relative(this.sourceRoot,v));var g;if(this.sourceRoot!=null&&(g=t.urlParse(this.sourceRoot))){var T=v.replace(/^file:\/\//,"");if(g.scheme=="file"&&this._sources.has(T))return this.sourcesContent[this._sources.indexOf(T)];if((!g.path||g.path=="/")&&this._sources.has("/"+v))return this.sourcesContent[this._sources.indexOf("/"+v)]}if(b)return null;throw new Error('"'+v+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(y){var b=t.getArg(y,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var x={source:b,originalLine:t.getArg(y,"line"),originalColumn:t.getArg(y,"column")},v=this._findMapping(x,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(y,"bias",a.GREATEST_LOWER_BOUND));if(v>=0){var g=this._originalMappings[v];if(g.source===x.source)return{line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},si.BasicSourceMapConsumer=o;function f(m,y){var b=m;typeof m=="string"&&(b=t.parseSourceMapInput(m));var x=t.getArg(b,"version"),v=t.getArg(b,"sections");if(x!=this._version)throw new Error("Unsupported version: "+x);this._sources=new r,this._names=new r;var g={line:-1,column:0};this._sections=v.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var E=t.getArg(T,"offset"),C=t.getArg(E,"line"),N=t.getArg(E,"column");if(C<g.line||C===g.line&&N<g.column)throw new Error("Section offsets must be ordered and non-overlapping.");return g=E,{generatedOffset:{generatedLine:C+1,generatedColumn:N+1},consumer:new a(t.getArg(T,"map"),y)}})}return f.prototype=Object.create(a.prototype),f.prototype.constructor=a,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var m=[],y=0;y<this._sections.length;y++)for(var b=0;b<this._sections[y].consumer.sources.length;b++)m.push(this._sections[y].consumer.sources[b]);return m}}),f.prototype.originalPositionFor=function(y){var b={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},x=e.search(b,this._sections,function(g,T){var E=g.generatedLine-T.generatedOffset.generatedLine;return E||g.generatedColumn-T.generatedOffset.generatedColumn}),v=this._sections[x];return v?v.consumer.originalPositionFor({line:b.generatedLine-(v.generatedOffset.generatedLine-1),column:b.generatedColumn-(v.generatedOffset.generatedLine===b.generatedLine?v.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},f.prototype.sourceContentFor=function(y,b){for(var x=0;x<this._sections.length;x++){var v=this._sections[x],g=v.consumer.sourceContentFor(y,!0);if(g||g==="")return g}if(b)return null;throw new Error('"'+y+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(y){for(var b=0;b<this._sections.length;b++){var x=this._sections[b];if(x.consumer._findSourceIndex(t.getArg(y,"source"))!==-1){var v=x.consumer.generatedPositionFor(y);if(v){var g={line:v.line+(x.generatedOffset.generatedLine-1),column:v.column+(x.generatedOffset.generatedLine===v.line?x.generatedOffset.generatedColumn-1:0)};return g}}}return{line:null,column:null}},f.prototype._parseMappings=function(y,b){this.__generatedMappings=[],this.__originalMappings=[];for(var x=0;x<this._sections.length;x++)for(var v=this._sections[x],g=v.consumer._generatedMappings,T=0;T<g.length;T++){var E=g[T],C=v.consumer._sources.at(E.source);C!==null&&(C=t.computeSourceURL(v.consumer.sourceRoot,C,this._sourceMapURL)),this._sources.add(C),C=this._sources.indexOf(C);var N=null;E.name&&(N=v.consumer._names.at(E.name),this._names.add(N),N=this._names.indexOf(N));var A={source:C,generatedLine:E.generatedLine+(v.generatedOffset.generatedLine-1),generatedColumn:E.generatedColumn+(v.generatedOffset.generatedLine===E.generatedLine?v.generatedOffset.generatedColumn-1:0),originalLine:E.originalLine,originalColumn:E.originalColumn,name:N};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},si.IndexedSourceMapConsumer=f,si}var pl={},u0;function Ux(){if(u0)return pl;u0=1;var t=i0().SourceMapGenerator,e=ri(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function a(o,h,c,d,f){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=h==null?null:h,this.source=c==null?null:c,this.name=f==null?null:f,this[n]=!0,d!=null&&this.add(d)}return a.fromStringWithSourceMap=function(h,c,d){var f=new a,m=h.split(r),y=0,b=function(){var E=N(),C=N()||"";return E+C;function N(){return y<m.length?m[y++]:void 0}},x=1,v=0,g=null;return c.eachMapping(function(E){if(g!==null)if(x<E.generatedLine)T(g,b()),x++,v=0;else{var C=m[y]||"",N=C.substr(0,E.generatedColumn-v);m[y]=C.substr(E.generatedColumn-v),v=E.generatedColumn,T(g,N),g=E;return}for(;x<E.generatedLine;)f.add(b()),x++;if(v<E.generatedColumn){var C=m[y]||"";f.add(C.substr(0,E.generatedColumn)),m[y]=C.substr(E.generatedColumn),v=E.generatedColumn}g=E},this),y<m.length&&(g&&T(g,b()),f.add(m.splice(y).join(""))),c.sources.forEach(function(E){var C=c.sourceContentFor(E);C!=null&&(d!=null&&(E=e.join(d,E)),f.setSourceContent(E,C))}),f;function T(E,C){if(E===null||E.source===void 0)f.add(C);else{var N=d?e.join(d,E.source):E.source;f.add(new a(E.originalLine,E.originalColumn,N,C,E.name))}}},a.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(c){this.add(c)},this);else if(h[n]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.prepend=function(h){if(Array.isArray(h))for(var c=h.length-1;c>=0;c--)this.prepend(h[c]);else if(h[n]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.walk=function(h){for(var c,d=0,f=this.children.length;d<f;d++)c=this.children[d],c[n]?c.walk(h):c!==""&&h(c,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(h){var c,d,f=this.children.length;if(f>0){for(c=[],d=0;d<f-1;d++)c.push(this.children[d]),c.push(h);c.push(this.children[d]),this.children=c}return this},a.prototype.replaceRight=function(h,c){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(h,c):typeof d=="string"?this.children[this.children.length-1]=d.replace(h,c):this.children.push("".replace(h,c)),this},a.prototype.setSourceContent=function(h,c){this.sourceContents[e.toSetString(h)]=c},a.prototype.walkSourceContents=function(h){for(var c=0,d=this.children.length;c<d;c++)this.children[c][n]&&this.children[c].walkSourceContents(h);for(var f=Object.keys(this.sourceContents),c=0,d=f.length;c<d;c++)h(e.fromSetString(f[c]),this.sourceContents[f[c]])},a.prototype.toString=function(){var h="";return this.walk(function(c){h+=c}),h},a.prototype.toStringWithSourceMap=function(h){var c={code:"",line:1,column:0},d=new t(h),f=!1,m=null,y=null,b=null,x=null;return this.walk(function(v,g){c.code+=v,g.source!==null&&g.line!==null&&g.column!==null?((m!==g.source||y!==g.line||b!==g.column||x!==g.name)&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:c.line,column:c.column},name:g.name}),m=g.source,y=g.line,b=g.column,x=g.name,f=!0):f&&(d.addMapping({generated:{line:c.line,column:c.column}}),m=null,f=!1);for(var T=0,E=v.length;T<E;T++)v.charCodeAt(T)===i?(c.line++,c.column=0,T+1===E?(m=null,f=!1):f&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:c.line,column:c.column},name:g.name})):c.column++}),this.walkSourceContents(function(v,g){d.setSourceContent(v,g)}),{code:c.code,map:d}},pl.SourceNode=a,pl}var l0;function dl(){return l0||(l0=1,ti.SourceMapGenerator=i0().SourceMapGenerator,ti.SourceMapConsumer=$x().SourceMapConsumer,ti.SourceNode=Ux().SourceNode),ti}var c0=Ls(l2),ml,h0;function f0(){if(h0)return ml;h0=1;let{existsSync:t,readFileSync:e}=xx,{dirname:r,join:i}=Vu,{SourceMapConsumer:n,SourceMapGenerator:a}=dl();function o(c){return H?H.from(c,"base64").toString():window.atob(c)}class h{constructor(d,f){if(f.map===!1)return;this.loadAnnotation(d),this.inline=this.startWith(this.annotation,"data:");let m=f.map?f.map.prev:void 0,y=this.loadMap(f.from,m);!this.mapFile&&f.from&&(this.mapFile=f.from),this.mapFile&&(this.root=r(this.mapFile)),y&&(this.text=y)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}decodeInline(d){let f=/^data:application\/json;charset=utf-?8;base64,/,m=/^data:application\/json;base64,/,y=/^data:application\/json;charset=utf-?8,/,b=/^data:application\/json,/,x=d.match(y)||d.match(b);if(x)return decodeURIComponent(d.substr(x[0].length));let v=d.match(f)||d.match(m);if(v)return o(d.substr(v[0].length));let g=d.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)}getAnnotationURL(d){return d.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(d){return typeof d!="object"?!1:typeof d.mappings=="string"||typeof d._mappings=="string"||Array.isArray(d.sections)}loadAnnotation(d){let f=d.match(/\/\*\s*# sourceMappingURL=/g);if(!f)return;let m=d.lastIndexOf(f.pop()),y=d.indexOf("*/",m);m>-1&&y>-1&&(this.annotation=this.getAnnotationURL(d.substring(m,y)))}loadFile(d){if(this.root=r(d),t(d))return this.mapFile=d,e(d,"utf-8").toString().trim()}loadMap(d,f){if(f===!1)return!1;if(f){if(typeof f=="string")return f;if(typeof f=="function"){let m=f(d);if(m){let y=this.loadFile(m);if(!y)throw new Error("Unable to load previous source map: "+m.toString());return y}}else{if(f instanceof n)return a.fromSourceMap(f).toString();if(f instanceof a)return f.toString();if(this.isMap(f))return JSON.stringify(f);throw new Error("Unsupported previous source map format: "+f.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let m=this.annotation;return d&&(m=i(r(d),m)),this.loadFile(m)}}}startWith(d,f){return d?d.substr(0,f.length)===f:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ml=h,h.default=h,ml}var gl,p0;function Kn(){if(p0)return gl;p0=1;let{nanoid:t}=Mx(),{isAbsolute:e,resolve:r}=Vu,{SourceMapConsumer:i,SourceMapGenerator:n}=dl(),{fileURLToPath:a,pathToFileURL:o}=c0,h=Xu(),c=f0(),d=Fd(),f=Symbol("fromOffsetCache"),m=!!(i&&n),y=!!(r&&e);class b{constructor(v,g={}){if(v===null||typeof v=="undefined"||typeof v=="object"&&!v.toString)throw new Error(`PostCSS received ${v} instead of CSS string`);if(this.css=v.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,g.from&&(!y||/^\w+:\/\//.test(g.from)||e(g.from)?this.file=g.from:this.file=r(g.from)),y&&m){let T=new c(this.css,g);if(T.text){this.map=T;let E=T.consumer().file;!this.file&&E&&(this.file=this.mapResolve(E))}}this.file||(this.id="<input css "+t(6)+">"),this.map&&(this.map.file=this.from)}error(v,g,T,E={}){let C,N,A;if(g&&typeof g=="object"){let R=g,w=T;if(typeof R.offset=="number"){let I=this.fromOffset(R.offset);g=I.line,T=I.col}else g=R.line,T=R.column;if(typeof w.offset=="number"){let I=this.fromOffset(w.offset);N=I.line,C=I.col}else N=w.line,C=w.column}else if(!T){let R=this.fromOffset(g);g=R.line,T=R.col}let L=this.origin(g,T,N,C);return L?A=new h(v,L.endLine===void 0?L.line:{column:L.column,line:L.line},L.endLine===void 0?L.column:{column:L.endColumn,line:L.endLine},L.source,L.file,E.plugin):A=new h(v,N===void 0?g:{column:T,line:g},N===void 0?T:{column:C,line:N},this.css,this.file,E.plugin),A.input={column:T,endColumn:C,endLine:N,line:g,source:this.css},this.file&&(o&&(A.input.url=o(this.file).toString()),A.input.file=this.file),A}fromOffset(v){let g,T;if(this[f])T=this[f];else{let C=this.css.split(`
|
|
99
|
+
`);T=new Array(C.length);let N=0;for(let A=0,L=C.length;A<L;A++)T[A]=N,N+=C[A].length+1;this[f]=T}g=T[T.length-1];let E=0;if(v>=g)E=T.length-1;else{let C=T.length-2,N;for(;E<C;)if(N=E+(C-E>>1),v<T[N])C=N-1;else if(v>=T[N+1])E=N+1;else{E=N;break}}return{col:v-T[E]+1,line:E+1}}mapResolve(v){return/^\w+:\/\//.test(v)?v:r(this.map.consumer().sourceRoot||this.map.root||".",v)}origin(v,g,T,E){if(!this.map)return!1;let C=this.map.consumer(),N=C.originalPositionFor({column:g,line:v});if(!N.source)return!1;let A;typeof T=="number"&&(A=C.originalPositionFor({column:E,line:T}));let L;e(N.source)?L=o(N.source):L=new URL(N.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let R={column:N.column,endColumn:A&&A.column,endLine:A&&A.line,line:N.line,url:L.toString()};if(L.protocol==="file:")if(a)R.file=a(L);else throw new Error("file: protocol is not available in this PostCSS build");let w=C.sourceContentFor(N.source);return w&&(R.source=w),R}toJSON(){let v={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(v[g]=this[g]);return this.map&&(v.map=Ht({},this.map),v.map.consumerCache&&(v.map.consumerCache=void 0)),v}get from(){return this.file||this.id}}return gl=b,b.default=b,d&&d.registerInput&&d.registerInput(b),gl}var yl,d0;function ii(){if(d0)return yl;d0=1;let t=Br(),e,r;class i extends t{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,o,h){let c=super.normalize(a);if(o){if(h==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let d of c)d.raws.before=o.raws.before}return c}removeChild(a,o){let h=this.index(a);return!o&&h===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[h].raws.before),super.removeChild(a)}toResult(a={}){return new e(new r,this,a).stringify()}}return i.registerLazyResult=n=>{e=n},i.registerProcessor=n=>{r=n},yl=i,i.default=i,t.registerRoot(i),yl}var bl,m0;function g0(){if(m0)return bl;m0=1;let t={comma(e){return t.split(e,[","],!0)},space(e){let r=[" ",`
|
|
100
|
+
`," "];return t.split(e,r)},split(e,r,i){let n=[],a="",o=!1,h=0,c=!1,d="",f=!1;for(let m of e)f?f=!1:m==="\\"?f=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?h+=1:m===")"?h>0&&(h-=1):h===0&&r.includes(m)&&(o=!0),o?(a!==""&&n.push(a.trim()),a="",o=!1):a+=m;return(i||a!=="")&&n.push(a.trim()),n}};return bl=t,t.default=t,bl}var vl,y0;function Sl(){if(y0)return vl;y0=1;let t=Br(),e=g0();class r extends t{constructor(n){super(n),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return e.comma(this.selector)}set selectors(n){let a=this.selector?this.selector.match(/,\s*/):null,o=a?a[0]:","+this.raw("between","beforeOpen");this.selector=n.join(o)}}return vl=r,r.default=r,t.registerRule(r),vl}var xl,b0;function qx(){if(b0)return xl;b0=1;let t=sl(),e=zn(),r=Wn(),i=Kn(),n=f0(),a=ii(),o=Sl();function h(c,d){if(Array.isArray(c))return c.map(x=>h(x));let y=c,{inputs:f}=y,m=Dc(y,["inputs"]);if(f){d=[];for(let x of f){let v=Es(Ht({},x),{__proto__:i.prototype});v.map&&(v.map=Es(Ht({},v.map),{__proto__:n.prototype})),d.push(v)}}if(m.nodes&&(m.nodes=c.nodes.map(x=>h(x,d))),m.source){let b=m.source,{inputId:x}=b,v=Dc(b,["inputId"]);m.source=v,x!=null&&(m.source.input=d[x])}if(m.type==="root")return new a(m);if(m.type==="decl")return new r(m);if(m.type==="rule")return new o(m);if(m.type==="comment")return new e(m);if(m.type==="atrule")return new t(m);throw new Error("Unknown node type: "+c.type)}return xl=h,h.default=h,xl}var El,v0;function S0(){if(v0)return El;v0=1;let{dirname:t,relative:e,resolve:r,sep:i}=Vu,{SourceMapConsumer:n,SourceMapGenerator:a}=dl(),{pathToFileURL:o}=c0,h=Kn(),c=!!(n&&a),d=!!(t&&r&&e&&i);class f{constructor(y,b,x,v){this.stringify=y,this.mapOpts=x.map||{},this.root=b,this.opts=x,this.css=v,this.originalCSS=v,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let y;this.isInline()?y="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?y=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?y=this.mapOpts.annotation(this.opts.to,this.root):y=this.outputFile()+".map";let b=`
|
|
101
|
+
`;this.css.includes(`\r
|
|
102
|
+
`)&&(b=`\r
|
|
103
|
+
`),this.css+=b+"/*# sourceMappingURL="+y+" */"}applyPrevMaps(){for(let y of this.previous()){let b=this.toUrl(this.path(y.file)),x=y.root||t(y.file),v;this.mapOpts.sourcesContent===!1?(v=new n(y.text),v.sourcesContent&&(v.sourcesContent=null)):v=y.consumer(),this.map.applySourceMap(v,b,this.toUrl(this.path(x)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let y;for(let b=this.root.nodes.length-1;b>=0;b--)y=this.root.nodes[b],y.type==="comment"&&y.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(b)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let y="";return this.stringify(this.root,b=>{y+=b}),[y]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let y=this.previous()[0].consumer();y.file=this.outputFile(),this.map=a.fromSourceMap(y,{ignoreInvalidMapping:!0})}else this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0});let y=1,b=1,x="<no source>",v={generated:{column:0,line:0},original:{column:0,line:0},source:""},g,T;this.stringify(this.root,(E,C,N)=>{if(this.css+=E,C&&N!=="end"&&(v.generated.line=y,v.generated.column=b-1,C.source&&C.source.start?(v.source=this.sourcePath(C),v.original.line=C.source.start.line,v.original.column=C.source.start.column-1,this.map.addMapping(v)):(v.source=x,v.original.line=1,v.original.column=0,this.map.addMapping(v))),T=E.match(/\n/g),T?(y+=T.length,g=E.lastIndexOf(`
|
|
104
|
+
`),b=E.length-g):b+=E.length,C&&N!=="start"){let A=C.parent||{raws:{}};(!(C.type==="decl"||C.type==="atrule"&&!C.nodes)||C!==A.last||A.raws.semicolon)&&(C.source&&C.source.end?(v.source=this.sourcePath(C),v.original.line=C.source.end.line,v.original.column=C.source.end.column-1,v.generated.line=y,v.generated.column=b-2,this.map.addMapping(v)):(v.source=x,v.original.line=1,v.original.column=0,v.generated.line=y,v.generated.column=b-1,this.map.addMapping(v)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(y=>y.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let y=this.mapOpts.annotation;return typeof y!="undefined"&&y!==!0?!1:this.previous().length?this.previous().some(b=>b.inline):!0}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(y=>y.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(y){if(this.mapOpts.absolute||y.charCodeAt(0)===60||/^\w+:\/\//.test(y))return y;let b=this.memoizedPaths.get(y);if(b)return b;let x=this.opts.to?t(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(x=t(r(x,this.mapOpts.annotation)));let v=e(x,y);return this.memoizedPaths.set(y,v),v}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(y=>{if(y.source&&y.source.input.map){let b=y.source.input.map;this.previousMaps.includes(b)||this.previousMaps.push(b)}});else{let y=new h(this.originalCSS,this.opts);y.map&&this.previousMaps.push(y.map)}return this.previousMaps}setSourcesContent(){let y={};if(this.root)this.root.walk(b=>{if(b.source){let x=b.source.input.from;if(x&&!y[x]){y[x]=!0;let v=this.usesFileUrls?this.toFileUrl(x):this.toUrl(this.path(x));this.map.setSourceContent(v,b.source.input.css)}}});else if(this.css){let b=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(b,this.css)}}sourcePath(y){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(y.source.input.from):this.toUrl(this.path(y.source.input.from))}toBase64(y){return H?H.from(y).toString("base64"):window.btoa(unescape(encodeURIComponent(y)))}toFileUrl(y){let b=this.memoizedFileURLs.get(y);if(b)return b;if(o){let x=o(y).toString();return this.memoizedFileURLs.set(y,x),x}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(y){let b=this.memoizedURLs.get(y);if(b)return b;i==="\\"&&(y=y.replace(/\\/g,"/"));let x=encodeURI(y).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(y,x),x}}return El=f,El}var wl,x0;function jx(){if(x0)return wl;x0=1;let t=sl(),e=zn(),r=Wn(),i=ii(),n=Sl(),a=Rd();const o={empty:!0,space:!0};function h(d){for(let f=d.length-1;f>=0;f--){let m=d[f],y=m[3]||m[2];if(y)return y}}class c{constructor(f){this.input=f,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:f,start:{column:1,line:1,offset:0}}}atrule(f){let m=new t;m.name=f[1].slice(1),m.name===""&&this.unnamedAtrule(m,f),this.init(m,f[2]);let y,b,x,v=!1,g=!1,T=[],E=[];for(;!this.tokenizer.endOfFile();){if(f=this.tokenizer.nextToken(),y=f[0],y==="("||y==="["?E.push(y==="("?")":"]"):y==="{"&&E.length>0?E.push("}"):y===E[E.length-1]&&E.pop(),E.length===0)if(y===";"){m.source.end=this.getPosition(f[2]),m.source.end.offset++,this.semicolon=!0;break}else if(y==="{"){g=!0;break}else if(y==="}"){if(T.length>0){for(x=T.length-1,b=T[x];b&&b[0]==="space";)b=T[--x];b&&(m.source.end=this.getPosition(b[3]||b[2]),m.source.end.offset++)}this.end(f);break}else T.push(f);else T.push(f);if(this.tokenizer.endOfFile()){v=!0;break}}m.raws.between=this.spacesAndCommentsFromEnd(T),T.length?(m.raws.afterName=this.spacesAndCommentsFromStart(T),this.raw(m,"params",T),v&&(f=T[T.length-1],m.source.end=this.getPosition(f[3]||f[2]),m.source.end.offset++,this.spaces=m.raws.between,m.raws.between="")):(m.raws.afterName="",m.params=""),g&&(m.nodes=[],this.current=m)}checkMissedSemicolon(f){let m=this.colon(f);if(m===!1)return;let y=0,b;for(let x=m-1;x>=0&&(b=f[x],!(b[0]!=="space"&&(y+=1,y===2)));x--);throw this.input.error("Missed semicolon",b[0]==="word"?b[3]+1:b[2])}colon(f){let m=0,y,b,x;for(let[v,g]of f.entries()){if(b=g,x=b[0],x==="("&&(m+=1),x===")"&&(m-=1),m===0&&x===":")if(!y)this.doubleColon(b);else{if(y[0]==="word"&&y[1]==="progid")continue;return v}y=b}return!1}comment(f){let m=new e;this.init(m,f[2]),m.source.end=this.getPosition(f[3]||f[2]),m.source.end.offset++;let y=f[1].slice(2,-2);if(/^\s*$/.test(y))m.text="",m.raws.left=y,m.raws.right="";else{let b=y.match(/^(\s*)([^]*\S)(\s*)$/);m.text=b[2],m.raws.left=b[1],m.raws.right=b[3]}}createTokenizer(){this.tokenizer=a(this.input)}decl(f,m){let y=new r;this.init(y,f[0][2]);let b=f[f.length-1];for(b[0]===";"&&(this.semicolon=!0,f.pop()),y.source.end=this.getPosition(b[3]||b[2]||h(f)),y.source.end.offset++;f[0][0]!=="word";)f.length===1&&this.unknownWord(f),y.raws.before+=f.shift()[1];for(y.source.start=this.getPosition(f[0][2]),y.prop="";f.length;){let E=f[0][0];if(E===":"||E==="space"||E==="comment")break;y.prop+=f.shift()[1]}y.raws.between="";let x;for(;f.length;)if(x=f.shift(),x[0]===":"){y.raws.between+=x[1];break}else x[0]==="word"&&/\w/.test(x[1])&&this.unknownWord([x]),y.raws.between+=x[1];(y.prop[0]==="_"||y.prop[0]==="*")&&(y.raws.before+=y.prop[0],y.prop=y.prop.slice(1));let v=[],g;for(;f.length&&(g=f[0][0],!(g!=="space"&&g!=="comment"));)v.push(f.shift());this.precheckMissedSemicolon(f);for(let E=f.length-1;E>=0;E--){if(x=f[E],x[1].toLowerCase()==="!important"){y.important=!0;let C=this.stringFrom(f,E);C=this.spacesFromEnd(f)+C,C!==" !important"&&(y.raws.important=C);break}else if(x[1].toLowerCase()==="important"){let C=f.slice(0),N="";for(let A=E;A>0;A--){let L=C[A][0];if(N.trim().startsWith("!")&&L!=="space")break;N=C.pop()[1]+N}N.trim().startsWith("!")&&(y.important=!0,y.raws.important=N,f=C)}if(x[0]!=="space"&&x[0]!=="comment")break}f.some(E=>E[0]!=="space"&&E[0]!=="comment")&&(y.raws.between+=v.map(E=>E[1]).join(""),v=[]),this.raw(y,"value",v.concat(f),m),y.value.includes(":")&&!m&&this.checkMissedSemicolon(f)}doubleColon(f){throw this.input.error("Double colon",{offset:f[2]},{offset:f[2]+f[1].length})}emptyRule(f){let m=new n;this.init(m,f[2]),m.selector="",m.raws.between="",this.current=m}end(f){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(f[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(f)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(f){if(this.spaces+=f[1],this.current.nodes){let m=this.current.nodes[this.current.nodes.length-1];m&&m.type==="rule"&&!m.raws.ownSemicolon&&(m.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(f){let m=this.input.fromOffset(f);return{column:m.col,line:m.line,offset:f}}init(f,m){this.current.push(f),f.source={input:this.input,start:this.getPosition(m)},f.raws.before=this.spaces,this.spaces="",f.type!=="comment"&&(this.semicolon=!1)}other(f){let m=!1,y=null,b=!1,x=null,v=[],g=f[1].startsWith("--"),T=[],E=f;for(;E;){if(y=E[0],T.push(E),y==="("||y==="[")x||(x=E),v.push(y==="("?")":"]");else if(g&&b&&y==="{")x||(x=E),v.push("}");else if(v.length===0)if(y===";")if(b){this.decl(T,g);return}else break;else if(y==="{"){this.rule(T);return}else if(y==="}"){this.tokenizer.back(T.pop()),m=!0;break}else y===":"&&(b=!0);else y===v[v.length-1]&&(v.pop(),v.length===0&&(x=null));E=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(m=!0),v.length>0&&this.unclosedBracket(x),m&&b){if(!g)for(;T.length&&(E=T[T.length-1][0],!(E!=="space"&&E!=="comment"));)this.tokenizer.back(T.pop());this.decl(T,g)}else this.unknownWord(T)}parse(){let f;for(;!this.tokenizer.endOfFile();)switch(f=this.tokenizer.nextToken(),f[0]){case"space":this.spaces+=f[1];break;case";":this.freeSemicolon(f);break;case"}":this.end(f);break;case"comment":this.comment(f);break;case"at-word":this.atrule(f);break;case"{":this.emptyRule(f);break;default:this.other(f);break}this.endFile()}precheckMissedSemicolon(){}raw(f,m,y,b){let x,v,g=y.length,T="",E=!0,C,N;for(let A=0;A<g;A+=1)x=y[A],v=x[0],v==="space"&&A===g-1&&!b?E=!1:v==="comment"?(N=y[A-1]?y[A-1][0]:"empty",C=y[A+1]?y[A+1][0]:"empty",!o[N]&&!o[C]?T.slice(-1)===","?E=!1:T+=x[1]:E=!1):T+=x[1];if(!E){let A=y.reduce((L,R)=>L+R[1],"");f.raws[m]={raw:A,value:T}}f[m]=T}rule(f){f.pop();let m=new n;this.init(m,f[0][2]),m.raws.between=this.spacesAndCommentsFromEnd(f),this.raw(m,"selector",f),this.current=m}spacesAndCommentsFromEnd(f){let m,y="";for(;f.length&&(m=f[f.length-1][0],!(m!=="space"&&m!=="comment"));)y=f.pop()[1]+y;return y}spacesAndCommentsFromStart(f){let m,y="";for(;f.length&&(m=f[0][0],!(m!=="space"&&m!=="comment"));)y+=f.shift()[1];return y}spacesFromEnd(f){let m,y="";for(;f.length&&(m=f[f.length-1][0],m==="space");)y=f.pop()[1]+y;return y}stringFrom(f,m){let y="";for(let b=m;b<f.length;b++)y+=f[b][1];return f.splice(m,f.length-m),y}unclosedBlock(){let f=this.current.source.start;throw this.input.error("Unclosed block",f.line,f.column)}unclosedBracket(f){throw this.input.error("Unclosed bracket",{offset:f[2]},{offset:f[2]+1})}unexpectedClose(f){throw this.input.error("Unexpected }",{offset:f[2]},{offset:f[2]+1})}unknownWord(f){throw this.input.error("Unknown word",{offset:f[0][2]},{offset:f[0][2]+f[0][1].length})}unnamedAtrule(f,m){throw this.input.error("At-rule without name",{offset:m[2]},{offset:m[2]+m[1].length})}}return wl=c,wl}var Tl,E0;function _l(){if(E0)return Tl;E0=1;let t=Br(),e=Kn(),r=jx();function i(n,a){let o=new e(n,a),h=new r(o);try{h.parse()}catch(c){throw pt.env.NODE_ENV!=="production"&&c.name==="CssSyntaxError"&&a&&a.from&&(/\.scss$/i.test(a.from)?c.message+=`
|
|
105
|
+
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(a.from)?c.message+=`
|
|
106
|
+
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(a.from)&&(c.message+=`
|
|
107
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),c}return h.root}return Tl=i,i.default=i,t.registerParse(i),Tl}var Pl,w0;function T0(){if(w0)return Pl;w0=1;class t{constructor(r,i={}){if(this.type="warning",this.text=r,i.node&&i.node.source){let n=i.node.rangeBy(i);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in i)this[n]=i[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return Pl=t,t.default=t,Pl}var Al,_0;function Cl(){if(_0)return Al;_0=1;let t=T0();class e{constructor(i,n,a){this.processor=i,this.messages=[],this.root=n,this.opts=a,this.css=void 0,this.map=void 0}toString(){return this.css}warn(i,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let a=new t(i,n);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}get content(){return this.css}}return Al=e,e.default=e,Al}var Il,P0;function A0(){if(P0)return Il;P0=1;let t={};return Il=function(r){t[r]||(t[r]=!0,typeof console!="undefined"&&console.warn&&console.warn(r))},Il}var Nl,C0;function I0(){if(C0)return Nl;C0=1;let t=Br(),e=nl(),r=S0(),i=_l(),n=Cl(),a=ii(),o=jn(),{isClean:h,my:c}=Yu(),d=A0();const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},m={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},y={Once:!0,postcssPlugin:!0,prepare:!0},b=0;function x(N){return typeof N=="object"&&typeof N.then=="function"}function v(N){let A=!1,L=f[N.type];return N.type==="decl"?A=N.prop.toLowerCase():N.type==="atrule"&&(A=N.name.toLowerCase()),A&&N.append?[L,L+"-"+A,b,L+"Exit",L+"Exit-"+A]:A?[L,L+"-"+A,L+"Exit",L+"Exit-"+A]:N.append?[L,b,L+"Exit"]:[L,L+"Exit"]}function g(N){let A;return N.type==="document"?A=["Document",b,"DocumentExit"]:N.type==="root"?A=["Root",b,"RootExit"]:A=v(N),{eventIndex:0,events:A,iterator:0,node:N,visitorIndex:0,visitors:[]}}function T(N){return N[h]=!1,N.nodes&&N.nodes.forEach(A=>T(A)),N}let E={};class C{constructor(A,L,R){this.stringified=!1,this.processed=!1;let w;if(typeof L=="object"&&L!==null&&(L.type==="root"||L.type==="document"))w=T(L);else if(L instanceof C||L instanceof n)w=T(L.root),L.map&&(typeof R.map=="undefined"&&(R.map={}),R.map.inline||(R.map.inline=!1),R.map.prev=L.map);else{let I=i;R.syntax&&(I=R.syntax.parse),R.parser&&(I=R.parser),I.parse&&(I=I.parse);try{w=I(L,R)}catch(k){this.processed=!0,this.error=k}w&&!w[c]&&t.rebuild(w)}this.result=new n(A,w,R),this.helpers=Es(Ht({},E),{postcss:E,result:this.result}),this.plugins=this.processor.plugins.map(I=>typeof I=="object"&&I.prepare?Ht(Ht({},I),I.prepare(this.result)):I)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(A,L){let R=this.result.lastPlugin;try{if(L&&L.addToError(A),this.error=A,A.name==="CssSyntaxError"&&!A.plugin)A.plugin=R.postcssPlugin,A.setMessage();else if(R.postcssVersion&&pt.env.NODE_ENV!=="production"){let w=R.postcssPlugin,I=R.postcssVersion,k=this.result.processor.version,M=I.split("."),z=k.split(".");(M[0]!==z[0]||parseInt(M[1])>parseInt(z[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+k+", but "+w+" uses "+I+". Perhaps this is the source of the error below.")}}catch(w){console&&console.error&&console.error(w)}return A}prepareVisitors(){this.listeners={};let A=(L,R,w)=>{this.listeners[R]||(this.listeners[R]=[]),this.listeners[R].push([L,w])};for(let L of this.plugins)if(typeof L=="object")for(let R in L){if(!m[R]&&/^[A-Z]/.test(R))throw new Error(`Unknown event ${R} in ${L.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!y[R])if(typeof L[R]=="object")for(let w in L[R])w==="*"?A(L,R,L[R][w]):A(L,R+"-"+w.toLowerCase(),L[R][w]);else typeof L[R]=="function"&&A(L,R,L[R])}this.hasListener=Object.keys(this.listeners).length>0}runAsync(){return Fc(this,null,function*(){this.plugin=0;for(let A=0;A<this.plugins.length;A++){let L=this.plugins[A],R=this.runOnRoot(L);if(x(R))try{yield R}catch(w){throw this.handleError(w)}}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[h];){A[h]=!0;let L=[g(A)];for(;L.length>0;){let R=this.visitTick(L);if(x(R))try{yield R}catch(w){let I=L[L.length-1].node;throw this.handleError(w,I)}}}if(this.listeners.OnceExit)for(let[L,R]of this.listeners.OnceExit){this.result.lastPlugin=L;try{if(A.type==="document"){let w=A.nodes.map(I=>R(I,this.helpers));yield Promise.all(w)}else yield R(A,this.helpers)}catch(w){throw this.handleError(w)}}}return this.processed=!0,this.stringify()})}runOnRoot(A){this.result.lastPlugin=A;try{if(typeof A=="object"&&A.Once){if(this.result.root.type==="document"){let L=this.result.root.nodes.map(R=>A.Once(R,this.helpers));return x(L[0])?Promise.all(L):L}return A.Once(this.result.root,this.helpers)}else if(typeof A=="function")return A(this.result.root,this.result)}catch(L){throw this.handleError(L)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let A=this.result.opts,L=o;A.syntax&&(L=A.syntax.stringify),A.stringifier&&(L=A.stringifier),L.stringify&&(L=L.stringify);let w=new r(L,this.result.root,this.result.opts).generate();return this.result.css=w[0],this.result.map=w[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let A of this.plugins){let L=this.runOnRoot(A);if(x(L))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[h];)A[h]=!0,this.walkSync(A);if(this.listeners.OnceExit)if(A.type==="document")for(let L of A.nodes)this.visitSync(this.listeners.OnceExit,L);else this.visitSync(this.listeners.OnceExit,A)}return this.result}then(A,L){return pt.env.NODE_ENV!=="production"&&("from"in this.opts||d("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,L)}toString(){return this.css}visitSync(A,L){for(let[R,w]of A){this.result.lastPlugin=R;let I;try{I=w(L,this.helpers)}catch(k){throw this.handleError(k,L.proxyOf)}if(L.type!=="root"&&L.type!=="document"&&!L.parent)return!0;if(x(I))throw this.getAsyncError()}}visitTick(A){let L=A[A.length-1],{node:R,visitors:w}=L;if(R.type!=="root"&&R.type!=="document"&&!R.parent){A.pop();return}if(w.length>0&&L.visitorIndex<w.length){let[k,M]=w[L.visitorIndex];L.visitorIndex+=1,L.visitorIndex===w.length&&(L.visitors=[],L.visitorIndex=0),this.result.lastPlugin=k;try{return M(R.toProxy(),this.helpers)}catch(z){throw this.handleError(z,R)}}if(L.iterator!==0){let k=L.iterator,M;for(;M=R.nodes[R.indexes[k]];)if(R.indexes[k]+=1,!M[h]){M[h]=!0,A.push(g(M));return}L.iterator=0,delete R.indexes[k]}let I=L.events;for(;L.eventIndex<I.length;){let k=I[L.eventIndex];if(L.eventIndex+=1,k===b){R.nodes&&R.nodes.length&&(R[h]=!0,L.iterator=R.getIterator());return}else if(this.listeners[k]){L.visitors=this.listeners[k];return}}A.pop()}walkSync(A){A[h]=!0;let L=v(A);for(let R of L)if(R===b)A.nodes&&A.each(w=>{w[h]||this.walkSync(w)});else{let w=this.listeners[R];if(w&&this.visitSync(w,A.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return C.registerPostcss=N=>{E=N},Nl=C,C.default=C,a.registerLazyResult(C),e.registerLazyResult(C),Nl}var Ol,N0;function Vx(){if(N0)return Ol;N0=1;let t=S0(),e=_l();const r=Cl();let i=jn(),n=A0();class a{constructor(h,c,d){c=c.toString(),this.stringified=!1,this._processor=h,this._css=c,this._opts=d,this._map=void 0;let f,m=i;this.result=new r(this._processor,f,this._opts),this.result.css=c;let y=this;Object.defineProperty(this.result,"root",{get(){return y.root}});let b=new t(m,f,this._opts,c);if(b.isMap()){let[x,v]=b.generate();x&&(this.result.css=x),v&&(this.result.map=v)}else b.clearAnnotation(),this.result.css=b.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(h){return this.async().catch(h)}finally(h){return this.async().then(h,h)}sync(){if(this.error)throw this.error;return this.result}then(h,c){return pt.env.NODE_ENV!=="production"&&("from"in this._opts||n("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(h,c)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let h,c=e;try{h=c(this._css,this._opts)}catch(d){this.error=d}if(this.error)throw this.error;return this._root=h,h}get[Symbol.toStringTag](){return"NoWorkResult"}}return Ol=a,a.default=a,Ol}var kl,O0;function Gx(){if(O0)return kl;O0=1;let t=nl(),e=I0(),r=Vx(),i=ii();class n{constructor(o=[]){this.version="8.4.47",this.plugins=this.normalize(o)}normalize(o){let h=[];for(let c of o)if(c.postcss===!0?c=c():c.postcss&&(c=c.postcss),typeof c=="object"&&Array.isArray(c.plugins))h=h.concat(c.plugins);else if(typeof c=="object"&&c.postcssPlugin)h.push(c);else if(typeof c=="function")h.push(c);else if(typeof c=="object"&&(c.parse||c.stringify)){if(pt.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(c+" is not a PostCSS plugin");return h}process(o,h={}){return!this.plugins.length&&!h.parser&&!h.stringifier&&!h.syntax?new r(this,o,h):new e(this,o,h)}use(o){return this.plugins=this.plugins.concat(this.normalize([o])),this}}return kl=n,n.default=n,i.registerProcessor(n),t.registerProcessor(n),kl}var Ll,k0;function zx(){if(k0)return Ll;k0=1;let t=sl(),e=zn(),r=Br(),i=Xu(),n=Wn(),a=nl(),o=qx(),h=Kn(),c=I0(),d=g0(),f=Gn(),m=_l(),y=Gx(),b=Cl(),x=ii(),v=Sl(),g=jn(),T=T0();function E(...C){return C.length===1&&Array.isArray(C[0])&&(C=C[0]),new y(C)}return E.plugin=function(N,A){let L=!1;function R(...I){console&&console.warn&&!L&&(L=!0,console.warn(N+`: postcss.plugin was deprecated. Migration guide:
|
|
108
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),pt.env.LANG&&pt.env.LANG.startsWith("cn")&&console.warn(N+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
109
|
+
https://www.w3ctech.com/topic/2226`));let k=A(...I);return k.postcssPlugin=N,k.postcssVersion=new y().version,k}let w;return Object.defineProperty(R,"postcss",{get(){return w||(w=R()),w}}),R.process=function(I,k,M){return E([R(M)]).process(I,k)},R},E.stringify=g,E.parse=m,E.fromJSON=o,E.list=d,E.comment=C=>new e(C),E.atRule=C=>new t(C),E.decl=C=>new n(C),E.rule=C=>new v(C),E.root=C=>new x(C),E.document=C=>new a(C),E.CssSyntaxError=i,E.Declaration=n,E.Container=r,E.Processor=y,E.Document=a,E.Comment=e,E.Warning=T,E.AtRule=t,E.Result=b,E.Input=h,E.Rule=v,E.Root=x,E.Node=f,c.registerPostcss(E),Ll=E,E.default=E,Ll}var Wx=zx(),Ie=Vi(Wx);Ie.stringify,Ie.fromJSON,Ie.plugin,Ie.parse,Ie.list,Ie.document,Ie.comment,Ie.atRule,Ie.rule,Ie.decl,Ie.root,Ie.CssSyntaxError,Ie.Declaration,Ie.Container,Ie.Processor,Ie.Document,Ie.Comment,Ie.Warning,Ie.AtRule,Ie.Result,Ie.Input;const Hx=Ie.Rule;Ie.Root,Ie.Node;const L0=()=>({postcssPlugin:"vue-sfc-trim",Once(t){t.walk(({type:e,raws:r})=>{(e==="rule"||e==="atrule")&&(r.before&&(r.before=`
|
|
110
|
+
`),"after"in r&&r.after&&(r.after=`
|
|
111
|
+
`))})}});L0.postcss=!0;var Jn={exports:{}},Yn={exports:{}},Qn={exports:{}},Zn={exports:{}},ea={exports:{}},ta={exports:{}},Nt={},ra={exports:{}},M0;function R0(){return M0||(M0=1,function(t,e){e.__esModule=!0,e.default=n;function r(a){for(var o=a.toLowerCase(),h="",c=!1,d=0;d<6&&o[d]!==void 0;d++){var f=o.charCodeAt(d),m=f>=97&&f<=102||f>=48&&f<=57;if(c=f===32,!m)break;h+=o[d]}if(h.length!==0){var y=parseInt(h,16),b=y>=55296&&y<=57343;return b||y===0||y>1114111?["\uFFFD",h.length+(c?1:0)]:[String.fromCodePoint(y),h.length+(c?1:0)]}}var i=/\\/;function n(a){var o=i.test(a);if(!o)return a;for(var h="",c=0;c<a.length;c++){if(a[c]==="\\"){var d=r(a.slice(c+1,c+7));if(d!==void 0){h+=d[0],c+=d[1];continue}if(a[c+1]==="\\"){h+="\\",c++;continue}a.length===c+1&&(h+=a[c]);continue}h+=a[c]}return h}t.exports=e.default}(ra,ra.exports)),ra.exports}var sa={exports:{}},D0;function Xx(){return D0||(D0=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];for(;a.length>0;){var h=a.shift();if(!i[h])return;i=i[h]}return i}t.exports=e.default}(sa,sa.exports)),sa.exports}var ia={exports:{}},F0;function Kx(){return F0||(F0=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];for(;a.length>0;){var h=a.shift();i[h]||(i[h]={}),i=i[h]}}t.exports=e.default}(ia,ia.exports)),ia.exports}var na={exports:{}},B0;function Jx(){return B0||(B0=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var n="",a=i.indexOf("/*"),o=0;a>=0;){n=n+i.slice(o,a);var h=i.indexOf("*/",a+2);if(h<0)return n;o=h+2,a=i.indexOf("/*",o)}return n=n+i.slice(o),n}t.exports=e.default}(na,na.exports)),na.exports}var $0;function aa(){if($0)return Nt;$0=1,Nt.__esModule=!0,Nt.unesc=Nt.stripComments=Nt.getProp=Nt.ensureObject=void 0;var t=n(R0());Nt.unesc=t.default;var e=n(Xx());Nt.getProp=e.default;var r=n(Kx());Nt.ensureObject=r.default;var i=n(Jx());Nt.stripComments=i.default;function n(a){return a&&a.__esModule?a:{default:a}}return Nt}var U0;function Sr(){return U0||(U0=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=aa();function i(h,c){for(var d=0;d<c.length;d++){var f=c[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}function n(h,c,d){return c&&i(h.prototype,c),Object.defineProperty(h,"prototype",{writable:!1}),h}var a=function h(c,d){if(typeof c!="object"||c===null)return c;var f=new c.constructor;for(var m in c)if(c.hasOwnProperty(m)){var y=c[m],b=typeof y;m==="parent"&&b==="object"?d&&(f[m]=d):y instanceof Array?f[m]=y.map(function(x){return h(x,f)}):f[m]=h(y,f)}return f},o=function(){function h(d){d===void 0&&(d={}),Object.assign(this,d),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var c=h.prototype;return c.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},c.replaceWith=function(){if(this.parent){for(var f in arguments)this.parent.insertBefore(this,arguments[f]);this.remove()}return this},c.next=function(){return this.parent.at(this.parent.index(this)+1)},c.prev=function(){return this.parent.at(this.parent.index(this)-1)},c.clone=function(f){f===void 0&&(f={});var m=a(this);for(var y in f)m[y]=f[y];return m},c.appendToPropertyAndEscape=function(f,m,y){this.raws||(this.raws={});var b=this[f],x=this.raws[f];this[f]=b+m,x||y!==m?this.raws[f]=(x||b)+y:delete this.raws[f]},c.setPropertyAndEscape=function(f,m,y){this.raws||(this.raws={}),this[f]=m,this.raws[f]=y},c.setPropertyWithoutEscape=function(f,m){this[f]=m,this.raws&&delete this.raws[f]},c.isAtPosition=function(f,m){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>f||this.source.end.line<f||this.source.start.line===f&&this.source.start.column>m||this.source.end.line===f&&this.source.end.column<m)},c.stringifyProperty=function(f){return this.raws&&this.raws[f]||this[f]},c.valueToString=function(){return String(this.stringifyProperty("value"))},c.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},n(h,[{key:"rawSpaceBefore",get:function(){var f=this.raws&&this.raws.spaces&&this.raws.spaces.before;return f===void 0&&(f=this.spaces&&this.spaces.before),f||""},set:function(f){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=f}},{key:"rawSpaceAfter",get:function(){var f=this.raws&&this.raws.spaces&&this.raws.spaces.after;return f===void 0&&(f=this.spaces.after),f||""},set:function(f){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=f}}]),h}();e.default=o,t.exports=e.default}(ta,ta.exports)),ta.exports}var we={},q0;function tt(){if(q0)return we;q0=1,we.__esModule=!0,we.UNIVERSAL=we.TAG=we.STRING=we.SELECTOR=we.ROOT=we.PSEUDO=we.NESTING=we.ID=we.COMMENT=we.COMBINATOR=we.CLASS=we.ATTRIBUTE=void 0;var t="tag";we.TAG=t;var e="string";we.STRING=e;var r="selector";we.SELECTOR=r;var i="root";we.ROOT=i;var n="pseudo";we.PSEUDO=n;var a="nesting";we.NESTING=a;var o="id";we.ID=o;var h="comment";we.COMMENT=h;var c="combinator";we.COMBINATOR=c;var d="class";we.CLASS=d;var f="attribute";we.ATTRIBUTE=f;var m="universal";return we.UNIVERSAL=m,we}var j0;function Ml(){return j0||(j0=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=o(Sr()),i=a(tt());function n(v){if(typeof WeakMap!="function")return null;var g=new WeakMap,T=new WeakMap;return(n=function(C){return C?T:g})(v)}function a(v,g){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var T=n(g);if(T&&T.has(v))return T.get(v);var E={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v)if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var A=C?Object.getOwnPropertyDescriptor(v,N):null;A&&(A.get||A.set)?Object.defineProperty(E,N,A):E[N]=v[N]}return E.default=v,T&&T.set(v,E),E}function o(v){return v&&v.__esModule?v:{default:v}}function h(v,g){var T=typeof Symbol!="undefined"&&v[Symbol.iterator]||v["@@iterator"];if(T)return(T=T.call(v)).next.bind(T);if(Array.isArray(v)||(T=c(v))||g){T&&(v=T);var E=0;return function(){return E>=v.length?{done:!0}:{done:!1,value:v[E++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
112
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(v,g){if(v){if(typeof v=="string")return d(v,g);var T=Object.prototype.toString.call(v).slice(8,-1);if(T==="Object"&&v.constructor&&(T=v.constructor.name),T==="Map"||T==="Set")return Array.from(v);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return d(v,g)}}function d(v,g){(g==null||g>v.length)&&(g=v.length);for(var T=0,E=new Array(g);T<g;T++)E[T]=v[T];return E}function f(v,g){for(var T=0;T<g.length;T++){var E=g[T];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}function m(v,g,T){return g&&f(v.prototype,g),Object.defineProperty(v,"prototype",{writable:!1}),v}function y(v,g){v.prototype=Object.create(g.prototype),v.prototype.constructor=v,b(v,g)}function b(v,g){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,C){return E.__proto__=C,E},b(v,g)}var x=function(v){y(g,v);function g(E){var C;return C=v.call(this,E)||this,C.nodes||(C.nodes=[]),C}var T=g.prototype;return T.append=function(C){return C.parent=this,this.nodes.push(C),this},T.prepend=function(C){return C.parent=this,this.nodes.unshift(C),this},T.at=function(C){return this.nodes[C]},T.index=function(C){return typeof C=="number"?C:this.nodes.indexOf(C)},T.removeChild=function(C){C=this.index(C),this.at(C).parent=void 0,this.nodes.splice(C,1);var N;for(var A in this.indexes)N=this.indexes[A],N>=C&&(this.indexes[A]=N-1);return this},T.removeAll=function(){for(var C=h(this.nodes),N;!(N=C()).done;){var A=N.value;A.parent=void 0}return this.nodes=[],this},T.empty=function(){return this.removeAll()},T.insertAfter=function(C,N){N.parent=this;var A=this.index(C);this.nodes.splice(A+1,0,N),N.parent=this;var L;for(var R in this.indexes)L=this.indexes[R],A<=L&&(this.indexes[R]=L+1);return this},T.insertBefore=function(C,N){N.parent=this;var A=this.index(C);this.nodes.splice(A,0,N),N.parent=this;var L;for(var R in this.indexes)L=this.indexes[R],L<=A&&(this.indexes[R]=L+1);return this},T._findChildAtPosition=function(C,N){var A=void 0;return this.each(function(L){if(L.atPosition){var R=L.atPosition(C,N);if(R)return A=R,!1}else if(L.isAtPosition(C,N))return A=L,!1}),A},T.atPosition=function(C,N){if(this.isAtPosition(C,N))return this._findChildAtPosition(C,N)||this},T._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},T.each=function(C){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var N=this.lastEach;if(this.indexes[N]=0,!!this.length){for(var A,L;this.indexes[N]<this.length&&(A=this.indexes[N],L=C(this.at(A),A),L!==!1);)this.indexes[N]+=1;if(delete this.indexes[N],L===!1)return!1}},T.walk=function(C){return this.each(function(N,A){var L=C(N,A);if(L!==!1&&N.length&&(L=N.walk(C)),L===!1)return!1})},T.walkAttributes=function(C){var N=this;return this.walk(function(A){if(A.type===i.ATTRIBUTE)return C.call(N,A)})},T.walkClasses=function(C){var N=this;return this.walk(function(A){if(A.type===i.CLASS)return C.call(N,A)})},T.walkCombinators=function(C){var N=this;return this.walk(function(A){if(A.type===i.COMBINATOR)return C.call(N,A)})},T.walkComments=function(C){var N=this;return this.walk(function(A){if(A.type===i.COMMENT)return C.call(N,A)})},T.walkIds=function(C){var N=this;return this.walk(function(A){if(A.type===i.ID)return C.call(N,A)})},T.walkNesting=function(C){var N=this;return this.walk(function(A){if(A.type===i.NESTING)return C.call(N,A)})},T.walkPseudos=function(C){var N=this;return this.walk(function(A){if(A.type===i.PSEUDO)return C.call(N,A)})},T.walkTags=function(C){var N=this;return this.walk(function(A){if(A.type===i.TAG)return C.call(N,A)})},T.walkUniversals=function(C){var N=this;return this.walk(function(A){if(A.type===i.UNIVERSAL)return C.call(N,A)})},T.split=function(C){var N=this,A=[];return this.reduce(function(L,R,w){var I=C.call(N,R);return A.push(R),I?(L.push(A),A=[]):w===N.length-1&&L.push(A),L},[])},T.map=function(C){return this.nodes.map(C)},T.reduce=function(C,N){return this.nodes.reduce(C,N)},T.every=function(C){return this.nodes.every(C)},T.some=function(C){return this.nodes.some(C)},T.filter=function(C){return this.nodes.filter(C)},T.sort=function(C){return this.nodes.sort(C)},T.toString=function(){return this.map(String).join("")},m(g,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),g}(r.default);e.default=x,t.exports=e.default}(ea,ea.exports)),ea.exports}var V0;function G0(){return V0||(V0=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Ml()),i=tt();function n(f){return f&&f.__esModule?f:{default:f}}function a(f,m){for(var y=0;y<m.length;y++){var b=m[y];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(f,b.key,b)}}function o(f,m,y){return m&&a(f.prototype,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function h(f,m){f.prototype=Object.create(m.prototype),f.prototype.constructor=f,c(f,m)}function c(f,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,x){return b.__proto__=x,b},c(f,m)}var d=function(f){h(m,f);function m(b){var x;return x=f.call(this,b)||this,x.type=i.ROOT,x}var y=m.prototype;return y.toString=function(){var x=this.reduce(function(v,g){return v.push(String(g)),v},[]).join(",");return this.trailingComma?x+",":x},y.error=function(x,v){return this._error?this._error(x,v):new Error(x)},o(m,[{key:"errorGenerator",set:function(x){this._error=x}}]),m}(r.default);e.default=d,t.exports=e.default}(Zn,Zn.exports)),Zn.exports}var oa={exports:{}},z0;function W0(){return z0||(z0=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Ml()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.SELECTOR,m}return d}(r.default);e.default=h,t.exports=e.default}(oa,oa.exports)),oa.exports}var ua={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var Rl,H0;function Dl(){if(H0)return Rl;H0=1;var t={},e=t.hasOwnProperty,r=function(c,d){if(!c)return d;var f={};for(var m in d)f[m]=e.call(c,m)?c[m]:d[m];return f},i=/[ -,\.\/:-@\[-\^`\{-~]/,n=/[ -,\.\/:-@\[\]\^`\{-~]/,a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,o=function h(c,d){d=r(d,h.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var f=d.quotes=="double"?'"':"'",m=d.isIdentifier,y=c.charAt(0),b="",x=0,v=c.length;x<v;){var g=c.charAt(x++),T=g.charCodeAt(),E=void 0;if(T<32||T>126){if(T>=55296&&T<=56319&&x<v){var C=c.charCodeAt(x++);(C&64512)==56320?T=((T&1023)<<10)+(C&1023)+65536:x--}E="\\"+T.toString(16).toUpperCase()+" "}else d.escapeEverything?i.test(g)?E="\\"+g:E="\\"+T.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(g)?E="\\"+T.toString(16).toUpperCase()+" ":g=="\\"||!m&&(g=='"'&&f==g||g=="'"&&f==g)||m&&n.test(g)?E="\\"+g:E=g;b+=E}return m&&(/^-[-\d]/.test(b)?b="\\-"+b.slice(1):/\d/.test(y)&&(b="\\3"+y+" "+b.slice(1))),b=b.replace(a,function(N,A,L){return A&&A.length%2?N:(A||"")+L}),!m&&d.wrap?f+b+f:b};return o.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},o.version="3.0.0",Rl=o,Rl}var X0;function K0(){return X0||(X0=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=o(Dl()),i=aa(),n=o(Sr()),a=tt();function o(y){return y&&y.__esModule?y:{default:y}}function h(y,b){for(var x=0;x<b.length;x++){var v=b[x];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(y,v.key,v)}}function c(y,b,x){return b&&h(y.prototype,b),Object.defineProperty(y,"prototype",{writable:!1}),y}function d(y,b){y.prototype=Object.create(b.prototype),y.prototype.constructor=y,f(y,b)}function f(y,b){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,g){return v.__proto__=g,v},f(y,b)}var m=function(y){d(b,y);function b(v){var g;return g=y.call(this,v)||this,g.type=a.CLASS,g._constructed=!0,g}var x=b.prototype;return x.valueToString=function(){return"."+y.prototype.valueToString.call(this)},c(b,[{key:"value",get:function(){return this._value},set:function(g){if(this._constructed){var T=(0,r.default)(g,{isIdentifier:!0});T!==g?((0,i.ensureObject)(this,"raws"),this.raws.value=T):this.raws&&delete this.raws.value}this._value=g}}]),b}(n.default);e.default=m,t.exports=e.default}(ua,ua.exports)),ua.exports}var la={exports:{}},J0;function Y0(){return J0||(J0=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Sr()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.COMMENT,m}return d}(r.default);e.default=h,t.exports=e.default}(la,la.exports)),la.exports}var ca={exports:{}},Q0;function Z0(){return Q0||(Q0=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Sr()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(m){var y;return y=c.call(this,m)||this,y.type=i.ID,y}var f=d.prototype;return f.valueToString=function(){return"#"+c.prototype.valueToString.call(this)},d}(r.default);e.default=h,t.exports=e.default}(ca,ca.exports)),ca.exports}var ha={exports:{}},fa={exports:{}},em;function Fl(){return em||(em=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Dl()),i=aa(),n=a(Sr());function a(m){return m&&m.__esModule?m:{default:m}}function o(m,y){for(var b=0;b<y.length;b++){var x=y[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}function h(m,y,b){return y&&o(m.prototype,y),Object.defineProperty(m,"prototype",{writable:!1}),m}function c(m,y){m.prototype=Object.create(y.prototype),m.prototype.constructor=m,d(m,y)}function d(m,y){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,v){return x.__proto__=v,x},d(m,y)}var f=function(m){c(y,m);function y(){return m.apply(this,arguments)||this}var b=y.prototype;return b.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},b.valueToString=function(){return this.qualifiedName(m.prototype.valueToString.call(this))},h(y,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var g=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,g!==v?((0,i.ensureObject)(this,"raws"),this.raws.namespace=g):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),y}(n.default);e.default=f,t.exports=e.default}(fa,fa.exports)),fa.exports}var tm;function rm(){return tm||(tm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Fl()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.TAG,m}return d}(r.default);e.default=h,t.exports=e.default}(ha,ha.exports)),ha.exports}var pa={exports:{}},sm;function im(){return sm||(sm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Sr()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.STRING,m}return d}(r.default);e.default=h,t.exports=e.default}(pa,pa.exports)),pa.exports}var da={exports:{}},nm;function am(){return nm||(nm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Ml()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(m){var y;return y=c.call(this,m)||this,y.type=i.PSEUDO,y}var f=d.prototype;return f.toString=function(){var y=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),y,this.rawSpaceAfter].join("")},d}(r.default);e.default=h,t.exports=e.default}(da,da.exports)),da.exports}var Bl={},$l,om;function Yx(){return om||(om=1,$l=Ex.deprecate),$l}var um;function lm(){return um||(um=1,function(t){t.__esModule=!0,t.default=void 0,t.unescapeValue=g;var e=o(Dl()),r=o(R0()),i=o(Fl()),n=tt(),a;function o(A){return A&&A.__esModule?A:{default:A}}function h(A,L){for(var R=0;R<L.length;R++){var w=L[R];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(A,w.key,w)}}function c(A,L,R){return L&&h(A.prototype,L),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A,L){A.prototype=Object.create(L.prototype),A.prototype.constructor=A,f(A,L)}function f(A,L){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,I){return w.__proto__=I,w},f(A,L)}var m=Yx(),y=/^('|")([^]*)\1$/,b=m(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),x=m(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),v=m(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function g(A){var L=!1,R=null,w=A,I=w.match(y);return I&&(R=I[1],w=I[2]),w=(0,r.default)(w),w!==A&&(L=!0),{deprecatedUsage:L,unescaped:w,quoteMark:R}}function T(A){if(A.quoteMark!==void 0||A.value===void 0)return A;v();var L=g(A.value),R=L.quoteMark,w=L.unescaped;return A.raws||(A.raws={}),A.raws.value===void 0&&(A.raws.value=A.value),A.value=w,A.quoteMark=R,A}var E=function(A){d(L,A);function L(w){var I;return w===void 0&&(w={}),I=A.call(this,T(w))||this,I.type=n.ATTRIBUTE,I.raws=I.raws||{},Object.defineProperty(I.raws,"unquoted",{get:m(function(){return I.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:m(function(){return I.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),I._constructed=!0,I}var R=L.prototype;return R.getQuotedValue=function(I){I===void 0&&(I={});var k=this._determineQuoteMark(I),M=C[k],z=(0,e.default)(this._value,M);return z},R._determineQuoteMark=function(I){return I.smart?this.smartQuoteMark(I):this.preferredQuoteMark(I)},R.setValue=function(I,k){k===void 0&&(k={}),this._value=I,this._quoteMark=this._determineQuoteMark(k),this._syncRawValue()},R.smartQuoteMark=function(I){var k=this.value,M=k.replace(/[^']/g,"").length,z=k.replace(/[^"]/g,"").length;if(M+z===0){var X=(0,e.default)(k,{isIdentifier:!0});if(X===k)return L.NO_QUOTE;var Z=this.preferredQuoteMark(I);if(Z===L.NO_QUOTE){var U=this.quoteMark||I.quoteMark||L.DOUBLE_QUOTE,Q=C[U],re=(0,e.default)(k,Q);if(re.length<X.length)return U}return Z}else return z===M?this.preferredQuoteMark(I):z<M?L.DOUBLE_QUOTE:L.SINGLE_QUOTE},R.preferredQuoteMark=function(I){var k=I.preferCurrentQuoteMark?this.quoteMark:I.quoteMark;return k===void 0&&(k=I.preferCurrentQuoteMark?I.quoteMark:this.quoteMark),k===void 0&&(k=L.DOUBLE_QUOTE),k},R._syncRawValue=function(){var I=(0,e.default)(this._value,C[this.quoteMark]);I===this._value?this.raws&&delete this.raws.value:this.raws.value=I},R._handleEscapes=function(I,k){if(this._constructed){var M=(0,e.default)(k,{isIdentifier:!0});M!==k?this.raws[I]=M:delete this.raws[I]}},R._spacesFor=function(I){var k={before:"",after:""},M=this.spaces[I]||{},z=this.raws.spaces&&this.raws.spaces[I]||{};return Object.assign(k,M,z)},R._stringFor=function(I,k,M){k===void 0&&(k=I),M===void 0&&(M=N);var z=this._spacesFor(k);return M(this.stringifyProperty(I),z)},R.offsetOf=function(I){var k=1,M=this._spacesFor("attribute");if(k+=M.before.length,I==="namespace"||I==="ns")return this.namespace?k:-1;if(I==="attributeNS"||(k+=this.namespaceString.length,this.namespace&&(k+=1),I==="attribute"))return k;k+=this.stringifyProperty("attribute").length,k+=M.after.length;var z=this._spacesFor("operator");k+=z.before.length;var X=this.stringifyProperty("operator");if(I==="operator")return X?k:-1;k+=X.length,k+=z.after.length;var Z=this._spacesFor("value");k+=Z.before.length;var U=this.stringifyProperty("value");if(I==="value")return U?k:-1;k+=U.length,k+=Z.after.length;var Q=this._spacesFor("insensitive");return k+=Q.before.length,I==="insensitive"&&this.insensitive?k:-1},R.toString=function(){var I=this,k=[this.rawSpaceBefore,"["];return k.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(k.push(this._stringFor("operator")),k.push(this._stringFor("value")),k.push(this._stringFor("insensitiveFlag","insensitive",function(M,z){return M.length>0&&!I.quoted&&z.before.length===0&&!(I.spaces.value&&I.spaces.value.after)&&(z.before=" "),N(M,z)}))),k.push("]"),k.push(this.rawSpaceAfter),k.join("")},c(L,[{key:"quoted",get:function(){var I=this.quoteMark;return I==="'"||I==='"'},set:function(I){x()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(I){if(!this._constructed){this._quoteMark=I;return}this._quoteMark!==I&&(this._quoteMark=I,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(I){if(this._constructed){var k=g(I),M=k.deprecatedUsage,z=k.unescaped,X=k.quoteMark;if(M&&b(),z===this._value&&X===this._quoteMark)return;this._value=z,this._quoteMark=X,this._syncRawValue()}else this._value=I}},{key:"insensitive",get:function(){return this._insensitive},set:function(I){I||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=I}},{key:"attribute",get:function(){return this._attribute},set:function(I){this._handleEscapes("attribute",I),this._attribute=I}}]),L}(i.default);t.default=E,E.NO_QUOTE=null,E.SINGLE_QUOTE="'",E.DOUBLE_QUOTE='"';var C=(a={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},a[null]={isIdentifier:!0},a);function N(A,L){return""+L.before+A+L.after}}(Bl)),Bl}var ma={exports:{}},cm;function hm(){return cm||(cm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Fl()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.UNIVERSAL,m.value="*",m}return d}(r.default);e.default=h,t.exports=e.default}(ma,ma.exports)),ma.exports}var ga={exports:{}},fm;function pm(){return fm||(fm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Sr()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.COMBINATOR,m}return d}(r.default);e.default=h,t.exports=e.default}(ga,ga.exports)),ga.exports}var ya={exports:{}},dm;function mm(){return dm||(dm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Sr()),i=tt();function n(c){return c&&c.__esModule?c:{default:c}}function a(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,o(c,d)}function o(c,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},o(c,d)}var h=function(c){a(d,c);function d(f){var m;return m=c.call(this,f)||this,m.type=i.NESTING,m.value="&",m}return d}(r.default);e.default=h,t.exports=e.default}(ya,ya.exports)),ya.exports}var ba={exports:{}},gm;function Qx(){return gm||(gm=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){return i.sort(function(n,a){return n-a})}t.exports=e.default}(ba,ba.exports)),ba.exports}var Ul={},ie={},ym;function bm(){if(ym)return ie;ym=1,ie.__esModule=!0,ie.word=ie.tilde=ie.tab=ie.str=ie.space=ie.slash=ie.singleQuote=ie.semicolon=ie.plus=ie.pipe=ie.openSquare=ie.openParenthesis=ie.newline=ie.greaterThan=ie.feed=ie.equals=ie.doubleQuote=ie.dollar=ie.cr=ie.comment=ie.comma=ie.combinator=ie.colon=ie.closeSquare=ie.closeParenthesis=ie.caret=ie.bang=ie.backslash=ie.at=ie.asterisk=ie.ampersand=void 0;var t=38;ie.ampersand=t;var e=42;ie.asterisk=e;var r=64;ie.at=r;var i=44;ie.comma=i;var n=58;ie.colon=n;var a=59;ie.semicolon=a;var o=40;ie.openParenthesis=o;var h=41;ie.closeParenthesis=h;var c=91;ie.openSquare=c;var d=93;ie.closeSquare=d;var f=36;ie.dollar=f;var m=126;ie.tilde=m;var y=94;ie.caret=y;var b=43;ie.plus=b;var x=61;ie.equals=x;var v=124;ie.pipe=v;var g=62;ie.greaterThan=g;var T=32;ie.space=T;var E=39;ie.singleQuote=E;var C=34;ie.doubleQuote=C;var N=47;ie.slash=N;var A=33;ie.bang=A;var L=92;ie.backslash=L;var R=13;ie.cr=R;var w=12;ie.feed=w;var I=10;ie.newline=I;var k=9;ie.tab=k;var M=E;ie.str=M;var z=-1;ie.comment=z;var X=-2;ie.word=X;var Z=-3;return ie.combinator=Z,ie}var vm;function Zx(){return vm||(vm=1,function(t){t.__esModule=!0,t.FIELDS=void 0,t.default=x;var e=a(bm()),r,i;function n(v){if(typeof WeakMap!="function")return null;var g=new WeakMap,T=new WeakMap;return(n=function(C){return C?T:g})(v)}function a(v,g){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var T=n(g);if(T&&T.has(v))return T.get(v);var E={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v)if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var A=C?Object.getOwnPropertyDescriptor(v,N):null;A&&(A.get||A.set)?Object.defineProperty(E,N,A):E[N]=v[N]}return E.default=v,T&&T.set(v,E),E}for(var o=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),h=(i={},i[e.space]=!0,i[e.tab]=!0,i[e.newline]=!0,i[e.cr]=!0,i[e.feed]=!0,i[e.ampersand]=!0,i[e.asterisk]=!0,i[e.bang]=!0,i[e.comma]=!0,i[e.colon]=!0,i[e.semicolon]=!0,i[e.openParenthesis]=!0,i[e.closeParenthesis]=!0,i[e.openSquare]=!0,i[e.closeSquare]=!0,i[e.singleQuote]=!0,i[e.doubleQuote]=!0,i[e.plus]=!0,i[e.pipe]=!0,i[e.tilde]=!0,i[e.greaterThan]=!0,i[e.equals]=!0,i[e.dollar]=!0,i[e.caret]=!0,i[e.slash]=!0,i),c={},d="0123456789abcdefABCDEF",f=0;f<d.length;f++)c[d.charCodeAt(f)]=!0;function m(v,g){var T=g,E;do{if(E=v.charCodeAt(T),h[E])return T-1;E===e.backslash?T=y(v,T)+1:T++}while(T<v.length);return T-1}function y(v,g){var T=g,E=v.charCodeAt(T+1);if(!o[E])if(c[E]){var C=0;do T++,C++,E=v.charCodeAt(T+1);while(c[E]&&C<6);C<6&&E===e.space&&T++}else T++;return T}var b={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=b;function x(v){var g=[],T=v.css.valueOf(),E=T,C=E.length,N=-1,A=1,L=0,R=0,w,I,k,M,z,X,Z,U,Q,re,pe,Re,me;function ee(q,V){if(v.safe)T+=V,Q=T.length-1;else throw v.error("Unclosed "+q,A,L-N,L)}for(;L<C;){switch(w=T.charCodeAt(L),w===e.newline&&(N=L,A+=1),w){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:Q=L;do Q+=1,w=T.charCodeAt(Q),w===e.newline&&(N=Q,A+=1);while(w===e.space||w===e.newline||w===e.tab||w===e.cr||w===e.feed);me=e.space,M=A,k=Q-N-1,R=Q;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:Q=L;do Q+=1,w=T.charCodeAt(Q);while(w===e.plus||w===e.greaterThan||w===e.tilde||w===e.pipe);me=e.combinator,M=A,k=L-N,R=Q;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:Q=L,me=w,M=A,k=L-N,R=Q+1;break;case e.singleQuote:case e.doubleQuote:Re=w===e.singleQuote?"'":'"',Q=L;do for(z=!1,Q=T.indexOf(Re,Q+1),Q===-1&&ee("quote",Re),X=Q;T.charCodeAt(X-1)===e.backslash;)X-=1,z=!z;while(z);me=e.str,M=A,k=L-N,R=Q+1;break;default:w===e.slash&&T.charCodeAt(L+1)===e.asterisk?(Q=T.indexOf("*/",L+2)+1,Q===0&&ee("comment","*/"),I=T.slice(L,Q+1),U=I.split(`
|
|
113
|
+
`),Z=U.length-1,Z>0?(re=A+Z,pe=Q-U[Z].length):(re=A,pe=N),me=e.comment,A=re,M=re,k=Q-pe):w===e.slash?(Q=L,me=w,M=A,k=L-N,R=Q+1):(Q=m(T,L),me=e.word,M=A,k=Q-N),R=Q+1;break}g.push([me,A,L-N,M,k,L,R]),pe&&(N=pe,pe=null),L=R}return g}}(Ul)),Ul}var Sm;function eE(){return Sm||(Sm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=R(G0()),i=R(W0()),n=R(K0()),a=R(Y0()),o=R(Z0()),h=R(rm()),c=R(im()),d=R(am()),f=L(lm()),m=R(hm()),y=R(pm()),b=R(mm()),x=R(Qx()),v=L(Zx()),g=L(bm()),T=L(tt()),E=aa(),C,N;function A(ee){if(typeof WeakMap!="function")return null;var q=new WeakMap,V=new WeakMap;return(A=function(G){return G?V:q})(ee)}function L(ee,q){if(ee&&ee.__esModule)return ee;if(ee===null||typeof ee!="object"&&typeof ee!="function")return{default:ee};var V=A(q);if(V&&V.has(ee))return V.get(ee);var B={},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var te in ee)if(te!=="default"&&Object.prototype.hasOwnProperty.call(ee,te)){var j=G?Object.getOwnPropertyDescriptor(ee,te):null;j&&(j.get||j.set)?Object.defineProperty(B,te,j):B[te]=ee[te]}return B.default=ee,V&&V.set(ee,B),B}function R(ee){return ee&&ee.__esModule?ee:{default:ee}}function w(ee,q){for(var V=0;V<q.length;V++){var B=q[V];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(ee,B.key,B)}}function I(ee,q,V){return q&&w(ee.prototype,q),Object.defineProperty(ee,"prototype",{writable:!1}),ee}var k=(C={},C[g.space]=!0,C[g.cr]=!0,C[g.feed]=!0,C[g.newline]=!0,C[g.tab]=!0,C),M=Object.assign({},k,(N={},N[g.comment]=!0,N));function z(ee){return{line:ee[v.FIELDS.START_LINE],column:ee[v.FIELDS.START_COL]}}function X(ee){return{line:ee[v.FIELDS.END_LINE],column:ee[v.FIELDS.END_COL]}}function Z(ee,q,V,B){return{start:{line:ee,column:q},end:{line:V,column:B}}}function U(ee){return Z(ee[v.FIELDS.START_LINE],ee[v.FIELDS.START_COL],ee[v.FIELDS.END_LINE],ee[v.FIELDS.END_COL])}function Q(ee,q){if(ee)return Z(ee[v.FIELDS.START_LINE],ee[v.FIELDS.START_COL],q[v.FIELDS.END_LINE],q[v.FIELDS.END_COL])}function re(ee,q){var V=ee[q];if(typeof V=="string")return V.indexOf("\\")!==-1&&((0,E.ensureObject)(ee,"raws"),ee[q]=(0,E.unesc)(V),ee.raws[q]===void 0&&(ee.raws[q]=V)),ee}function pe(ee,q){for(var V=-1,B=[];(V=ee.indexOf(q,V+1))!==-1;)B.push(V);return B}function Re(){var ee=Array.prototype.concat.apply([],arguments);return ee.filter(function(q,V){return V===ee.indexOf(q)})}var me=function(){function ee(V,B){B===void 0&&(B={}),this.rule=V,this.options=Object.assign({lossy:!1,safe:!1},B),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,v.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var G=Q(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:G}),this.root.errorGenerator=this._errorGenerator();var te=new i.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(te),this.current=te,this.loop()}var q=ee.prototype;return q._errorGenerator=function(){var B=this;return function(G,te){return typeof B.rule=="string"?new Error(G):B.rule.error(G,te)}},q.attribute=function(){var B=[],G=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[v.FIELDS.TYPE]!==g.closeSquare;)B.push(this.currToken),this.position++;if(this.currToken[v.FIELDS.TYPE]!==g.closeSquare)return this.expected("closing square bracket",this.currToken[v.FIELDS.START_POS]);var te=B.length,j={source:Z(G[1],G[2],this.currToken[3],this.currToken[4]),sourceIndex:G[v.FIELDS.START_POS]};if(te===1&&!~[g.word].indexOf(B[0][v.FIELDS.TYPE]))return this.expected("attribute",B[0][v.FIELDS.START_POS]);for(var se=0,oe="",he="",ue=null,de=!1;se<te;){var Ae=B[se],fe=this.content(Ae),ke=B[se+1];switch(Ae[v.FIELDS.TYPE]){case g.space:if(de=!0,this.options.lossy)break;if(ue){(0,E.ensureObject)(j,"spaces",ue);var xt=j.spaces[ue].after||"";j.spaces[ue].after=xt+fe;var Pt=(0,E.getProp)(j,"raws","spaces",ue,"after")||null;Pt&&(j.raws.spaces[ue].after=Pt+fe)}else oe=oe+fe,he=he+fe;break;case g.asterisk:if(ke[v.FIELDS.TYPE]===g.equals)j.operator=fe,ue="operator";else if((!j.namespace||ue==="namespace"&&!de)&&ke){oe&&((0,E.ensureObject)(j,"spaces","attribute"),j.spaces.attribute.before=oe,oe=""),he&&((0,E.ensureObject)(j,"raws","spaces","attribute"),j.raws.spaces.attribute.before=oe,he=""),j.namespace=(j.namespace||"")+fe;var at=(0,E.getProp)(j,"raws","namespace")||null;at&&(j.raws.namespace+=fe),ue="namespace"}de=!1;break;case g.dollar:if(ue==="value"){var He=(0,E.getProp)(j,"raws","value");j.value+="$",He&&(j.raws.value=He+"$");break}case g.caret:ke[v.FIELDS.TYPE]===g.equals&&(j.operator=fe,ue="operator"),de=!1;break;case g.combinator:if(fe==="~"&&ke[v.FIELDS.TYPE]===g.equals&&(j.operator=fe,ue="operator"),fe!=="|"){de=!1;break}ke[v.FIELDS.TYPE]===g.equals?(j.operator=fe,ue="operator"):!j.namespace&&!j.attribute&&(j.namespace=!0),de=!1;break;case g.word:if(ke&&this.content(ke)==="|"&&B[se+2]&&B[se+2][v.FIELDS.TYPE]!==g.equals&&!j.operator&&!j.namespace)j.namespace=fe,ue="namespace";else if(!j.attribute||ue==="attribute"&&!de){oe&&((0,E.ensureObject)(j,"spaces","attribute"),j.spaces.attribute.before=oe,oe=""),he&&((0,E.ensureObject)(j,"raws","spaces","attribute"),j.raws.spaces.attribute.before=he,he=""),j.attribute=(j.attribute||"")+fe;var Et=(0,E.getProp)(j,"raws","attribute")||null;Et&&(j.raws.attribute+=fe),ue="attribute"}else if(!j.value&&j.value!==""||ue==="value"&&!(de||j.quoteMark)){var wt=(0,E.unesc)(fe),Ye=(0,E.getProp)(j,"raws","value")||"",nr=j.value||"";j.value=nr+wt,j.quoteMark=null,(wt!==fe||Ye)&&((0,E.ensureObject)(j,"raws"),j.raws.value=(Ye||nr)+fe),ue="value"}else{var bs=fe==="i"||fe==="I";(j.value||j.value==="")&&(j.quoteMark||de)?(j.insensitive=bs,(!bs||fe==="I")&&((0,E.ensureObject)(j,"raws"),j.raws.insensitiveFlag=fe),ue="insensitive",oe&&((0,E.ensureObject)(j,"spaces","insensitive"),j.spaces.insensitive.before=oe,oe=""),he&&((0,E.ensureObject)(j,"raws","spaces","insensitive"),j.raws.spaces.insensitive.before=he,he="")):(j.value||j.value==="")&&(ue="value",j.value+=fe,j.raws.value&&(j.raws.value+=fe))}de=!1;break;case g.str:if(!j.attribute||!j.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Ae[v.FIELDS.START_POS]});var Wt=(0,f.unescapeValue)(fe),kt=Wt.unescaped,di=Wt.quoteMark;j.value=kt,j.quoteMark=di,ue="value",(0,E.ensureObject)(j,"raws"),j.raws.value=fe,de=!1;break;case g.equals:if(!j.attribute)return this.expected("attribute",Ae[v.FIELDS.START_POS],fe);if(j.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Ae[v.FIELDS.START_POS]});j.operator=j.operator?j.operator+fe:fe,ue="operator",de=!1;break;case g.comment:if(ue)if(de||ke&&ke[v.FIELDS.TYPE]===g.space||ue==="insensitive"){var Oa=(0,E.getProp)(j,"spaces",ue,"after")||"",Ec=(0,E.getProp)(j,"raws","spaces",ue,"after")||Oa;(0,E.ensureObject)(j,"raws","spaces",ue),j.raws.spaces[ue].after=Ec+fe}else{var wc=j[ue]||"",ka=(0,E.getProp)(j,"raws",ue)||wc;(0,E.ensureObject)(j,"raws"),j.raws[ue]=ka+fe}else he=he+fe;break;default:return this.error('Unexpected "'+fe+'" found.',{index:Ae[v.FIELDS.START_POS]})}se++}re(j,"attribute"),re(j,"namespace"),this.newNode(new f.default(j)),this.position++},q.parseWhitespaceEquivalentTokens=function(B){B<0&&(B=this.tokens.length);var G=this.position,te=[],j="",se=void 0;do if(k[this.currToken[v.FIELDS.TYPE]])this.options.lossy||(j+=this.content());else if(this.currToken[v.FIELDS.TYPE]===g.comment){var oe={};j&&(oe.before=j,j=""),se=new a.default({value:this.content(),source:U(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS],spaces:oe}),te.push(se)}while(++this.position<B);if(j){if(se)se.spaces.after=j;else if(!this.options.lossy){var he=this.tokens[G],ue=this.tokens[this.position-1];te.push(new c.default({value:"",source:Z(he[v.FIELDS.START_LINE],he[v.FIELDS.START_COL],ue[v.FIELDS.END_LINE],ue[v.FIELDS.END_COL]),sourceIndex:he[v.FIELDS.START_POS],spaces:{before:j,after:""}}))}}return te},q.convertWhitespaceNodesToSpace=function(B,G){var te=this;G===void 0&&(G=!1);var j="",se="";B.forEach(function(he){var ue=te.lossySpace(he.spaces.before,G),de=te.lossySpace(he.rawSpaceBefore,G);j+=ue+te.lossySpace(he.spaces.after,G&&ue.length===0),se+=ue+he.value+te.lossySpace(he.rawSpaceAfter,G&&de.length===0)}),se===j&&(se=void 0);var oe={space:j,rawSpace:se};return oe},q.isNamedCombinator=function(B){return B===void 0&&(B=this.position),this.tokens[B+0]&&this.tokens[B+0][v.FIELDS.TYPE]===g.slash&&this.tokens[B+1]&&this.tokens[B+1][v.FIELDS.TYPE]===g.word&&this.tokens[B+2]&&this.tokens[B+2][v.FIELDS.TYPE]===g.slash},q.namedCombinator=function(){if(this.isNamedCombinator()){var B=this.content(this.tokens[this.position+1]),G=(0,E.unesc)(B).toLowerCase(),te={};G!==B&&(te.value="/"+B+"/");var j=new y.default({value:"/"+G+"/",source:Z(this.currToken[v.FIELDS.START_LINE],this.currToken[v.FIELDS.START_COL],this.tokens[this.position+2][v.FIELDS.END_LINE],this.tokens[this.position+2][v.FIELDS.END_COL]),sourceIndex:this.currToken[v.FIELDS.START_POS],raws:te});return this.position=this.position+3,j}else this.unexpected()},q.combinator=function(){var B=this;if(this.content()==="|")return this.namespace();var G=this.locateNextMeaningfulToken(this.position);if(G<0||this.tokens[G][v.FIELDS.TYPE]===g.comma||this.tokens[G][v.FIELDS.TYPE]===g.closeParenthesis){var te=this.parseWhitespaceEquivalentTokens(G);if(te.length>0){var j=this.current.last;if(j){var se=this.convertWhitespaceNodesToSpace(te),oe=se.space,he=se.rawSpace;he!==void 0&&(j.rawSpaceAfter+=he),j.spaces.after+=oe}else te.forEach(function(Ye){return B.newNode(Ye)})}return}var ue=this.currToken,de=void 0;G>this.position&&(de=this.parseWhitespaceEquivalentTokens(G));var Ae;if(this.isNamedCombinator()?Ae=this.namedCombinator():this.currToken[v.FIELDS.TYPE]===g.combinator?(Ae=new y.default({value:this.content(),source:U(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS]}),this.position++):k[this.currToken[v.FIELDS.TYPE]]||de||this.unexpected(),Ae){if(de){var fe=this.convertWhitespaceNodesToSpace(de),ke=fe.space,xt=fe.rawSpace;Ae.spaces.before=ke,Ae.rawSpaceBefore=xt}}else{var Pt=this.convertWhitespaceNodesToSpace(de,!0),at=Pt.space,He=Pt.rawSpace;He||(He=at);var Et={},wt={spaces:{}};at.endsWith(" ")&&He.endsWith(" ")?(Et.before=at.slice(0,at.length-1),wt.spaces.before=He.slice(0,He.length-1)):at.startsWith(" ")&&He.startsWith(" ")?(Et.after=at.slice(1),wt.spaces.after=He.slice(1)):wt.value=He,Ae=new y.default({value:" ",source:Q(ue,this.tokens[this.position-1]),sourceIndex:ue[v.FIELDS.START_POS],spaces:Et,raws:wt})}return this.currToken&&this.currToken[v.FIELDS.TYPE]===g.space&&(Ae.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Ae)},q.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var B=new i.default({source:{start:z(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][v.FIELDS.START_POS]});this.current.parent.append(B),this.current=B,this.position++},q.comment=function(){var B=this.currToken;this.newNode(new a.default({value:this.content(),source:U(B),sourceIndex:B[v.FIELDS.START_POS]})),this.position++},q.error=function(B,G){throw this.root.error(B,G)},q.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[v.FIELDS.START_POS]})},q.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[v.FIELDS.START_POS])},q.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[v.FIELDS.START_POS])},q.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[v.FIELDS.START_POS])},q.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[v.FIELDS.START_POS])},q.namespace=function(){var B=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[v.FIELDS.TYPE]===g.word)return this.position++,this.word(B);if(this.nextToken[v.FIELDS.TYPE]===g.asterisk)return this.position++,this.universal(B);this.unexpectedPipe()},q.nesting=function(){if(this.nextToken){var B=this.content(this.nextToken);if(B==="|"){this.position++;return}}var G=this.currToken;this.newNode(new b.default({value:this.content(),source:U(G),sourceIndex:G[v.FIELDS.START_POS]})),this.position++},q.parentheses=function(){var B=this.current.last,G=1;if(this.position++,B&&B.type===T.PSEUDO){var te=new i.default({source:{start:z(this.tokens[this.position])},sourceIndex:this.tokens[this.position][v.FIELDS.START_POS]}),j=this.current;for(B.append(te),this.current=te;this.position<this.tokens.length&&G;)this.currToken[v.FIELDS.TYPE]===g.openParenthesis&&G++,this.currToken[v.FIELDS.TYPE]===g.closeParenthesis&&G--,G?this.parse():(this.current.source.end=X(this.currToken),this.current.parent.source.end=X(this.currToken),this.position++);this.current=j}else{for(var se=this.currToken,oe="(",he;this.position<this.tokens.length&&G;)this.currToken[v.FIELDS.TYPE]===g.openParenthesis&&G++,this.currToken[v.FIELDS.TYPE]===g.closeParenthesis&&G--,he=this.currToken,oe+=this.parseParenthesisToken(this.currToken),this.position++;B?B.appendToPropertyAndEscape("value",oe,oe):this.newNode(new c.default({value:oe,source:Z(se[v.FIELDS.START_LINE],se[v.FIELDS.START_COL],he[v.FIELDS.END_LINE],he[v.FIELDS.END_COL]),sourceIndex:se[v.FIELDS.START_POS]}))}if(G)return this.expected("closing parenthesis",this.currToken[v.FIELDS.START_POS])},q.pseudo=function(){for(var B=this,G="",te=this.currToken;this.currToken&&this.currToken[v.FIELDS.TYPE]===g.colon;)G+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[v.FIELDS.TYPE]===g.word)this.splitWord(!1,function(j,se){G+=j,B.newNode(new d.default({value:G,source:Q(te,B.currToken),sourceIndex:te[v.FIELDS.START_POS]})),se>1&&B.nextToken&&B.nextToken[v.FIELDS.TYPE]===g.openParenthesis&&B.error("Misplaced parenthesis.",{index:B.nextToken[v.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[v.FIELDS.START_POS])},q.space=function(){var B=this.content();this.position===0||this.prevToken[v.FIELDS.TYPE]===g.comma||this.prevToken[v.FIELDS.TYPE]===g.openParenthesis||this.current.nodes.every(function(G){return G.type==="comment"})?(this.spaces=this.optionalSpace(B),this.position++):this.position===this.tokens.length-1||this.nextToken[v.FIELDS.TYPE]===g.comma||this.nextToken[v.FIELDS.TYPE]===g.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(B),this.position++):this.combinator()},q.string=function(){var B=this.currToken;this.newNode(new c.default({value:this.content(),source:U(B),sourceIndex:B[v.FIELDS.START_POS]})),this.position++},q.universal=function(B){var G=this.nextToken;if(G&&this.content(G)==="|")return this.position++,this.namespace();var te=this.currToken;this.newNode(new m.default({value:this.content(),source:U(te),sourceIndex:te[v.FIELDS.START_POS]}),B),this.position++},q.splitWord=function(B,G){for(var te=this,j=this.nextToken,se=this.content();j&&~[g.dollar,g.caret,g.equals,g.word].indexOf(j[v.FIELDS.TYPE]);){this.position++;var oe=this.content();if(se+=oe,oe.lastIndexOf("\\")===oe.length-1){var he=this.nextToken;he&&he[v.FIELDS.TYPE]===g.space&&(se+=this.requiredSpace(this.content(he)),this.position++)}j=this.nextToken}var ue=pe(se,".").filter(function(ke){var xt=se[ke-1]==="\\",Pt=/^\d+\.\d+%$/.test(se);return!xt&&!Pt}),de=pe(se,"#").filter(function(ke){return se[ke-1]!=="\\"}),Ae=pe(se,"#{");Ae.length&&(de=de.filter(function(ke){return!~Ae.indexOf(ke)}));var fe=(0,x.default)(Re([0].concat(ue,de)));fe.forEach(function(ke,xt){var Pt=fe[xt+1]||se.length,at=se.slice(ke,Pt);if(xt===0&&G)return G.call(te,at,fe.length);var He,Et=te.currToken,wt=Et[v.FIELDS.START_POS]+fe[xt],Ye=Z(Et[1],Et[2]+ke,Et[3],Et[2]+(Pt-1));if(~ue.indexOf(ke)){var nr={value:at.slice(1),source:Ye,sourceIndex:wt};He=new n.default(re(nr,"value"))}else if(~de.indexOf(ke)){var bs={value:at.slice(1),source:Ye,sourceIndex:wt};He=new o.default(re(bs,"value"))}else{var Wt={value:at,source:Ye,sourceIndex:wt};re(Wt,"value"),He=new h.default(Wt)}te.newNode(He,B),B=null}),this.position++},q.word=function(B){var G=this.nextToken;return G&&this.content(G)==="|"?(this.position++,this.namespace()):this.splitWord(B)},q.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},q.parse=function(B){switch(this.currToken[v.FIELDS.TYPE]){case g.space:this.space();break;case g.comment:this.comment();break;case g.openParenthesis:this.parentheses();break;case g.closeParenthesis:B&&this.missingParenthesis();break;case g.openSquare:this.attribute();break;case g.dollar:case g.caret:case g.equals:case g.word:this.word();break;case g.colon:this.pseudo();break;case g.comma:this.comma();break;case g.asterisk:this.universal();break;case g.ampersand:this.nesting();break;case g.slash:case g.combinator:this.combinator();break;case g.str:this.string();break;case g.closeSquare:this.missingSquareBracket();case g.semicolon:this.missingBackslash();default:this.unexpected()}},q.expected=function(B,G,te){if(Array.isArray(B)){var j=B.pop();B=B.join(", ")+" or "+j}var se=/^[aeiou]/.test(B[0])?"an":"a";return te?this.error("Expected "+se+" "+B+', found "'+te+'" instead.',{index:G}):this.error("Expected "+se+" "+B+".",{index:G})},q.requiredSpace=function(B){return this.options.lossy?" ":B},q.optionalSpace=function(B){return this.options.lossy?"":B},q.lossySpace=function(B,G){return this.options.lossy?G?" ":"":B},q.parseParenthesisToken=function(B){var G=this.content(B);return B[v.FIELDS.TYPE]===g.space?this.requiredSpace(G):G},q.newNode=function(B,G){return G&&(/^ +$/.test(G)&&(this.options.lossy||(this.spaces=(this.spaces||"")+G),G=!0),B.namespace=G,re(B,"namespace")),this.spaces&&(B.spaces.before=this.spaces,this.spaces=""),this.current.append(B)},q.content=function(B){return B===void 0&&(B=this.currToken),this.css.slice(B[v.FIELDS.START_POS],B[v.FIELDS.END_POS])},q.locateNextMeaningfulToken=function(B){B===void 0&&(B=this.position+1);for(var G=B;G<this.tokens.length;)if(M[this.tokens[G][v.FIELDS.TYPE]]){G++;continue}else return G;return-1},I(ee,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),ee}();e.default=me,t.exports=e.default}(Qn,Qn.exports)),Qn.exports}var xm;function tE(){return xm||(xm=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=i(eE());function i(a){return a&&a.__esModule?a:{default:a}}var n=function(){function a(h,c){this.func=h||function(){},this.funcRes=null,this.options=c}var o=a.prototype;return o._shouldUpdateSelector=function(c,d){d===void 0&&(d={});var f=Object.assign({},this.options,d);return f.updateSelector===!1?!1:typeof c!="string"},o._isLossy=function(c){c===void 0&&(c={});var d=Object.assign({},this.options,c);return d.lossless===!1},o._root=function(c,d){d===void 0&&(d={});var f=new r.default(c,this._parseOptions(d));return f.root},o._parseOptions=function(c){return{lossy:this._isLossy(c)}},o._run=function(c,d){var f=this;return d===void 0&&(d={}),new Promise(function(m,y){try{var b=f._root(c,d);Promise.resolve(f.func(b)).then(function(x){var v=void 0;return f._shouldUpdateSelector(c,d)&&(v=b.toString(),c.selector=v),{transform:x,root:b,string:v}}).then(m,y)}catch(x){y(x);return}})},o._runSync=function(c,d){d===void 0&&(d={});var f=this._root(c,d),m=this.func(f);if(m&&typeof m.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var y=void 0;return d.updateSelector&&typeof c!="string"&&(y=f.toString(),c.selector=y),{transform:m,root:f,string:y}},o.ast=function(c,d){return this._run(c,d).then(function(f){return f.root})},o.astSync=function(c,d){return this._runSync(c,d).root},o.transform=function(c,d){return this._run(c,d).then(function(f){return f.transform})},o.transformSync=function(c,d){return this._runSync(c,d).transform},o.process=function(c,d){return this._run(c,d).then(function(f){return f.string||f.root.toString()})},o.processSync=function(c,d){var f=this._runSync(c,d);return f.string||f.root.toString()},a}();e.default=n,t.exports=e.default}(Yn,Yn.exports)),Yn.exports}var ql={},Te={},Em;function rE(){if(Em)return Te;Em=1,Te.__esModule=!0,Te.universal=Te.tag=Te.string=Te.selector=Te.root=Te.pseudo=Te.nesting=Te.id=Te.comment=Te.combinator=Te.className=Te.attribute=void 0;var t=y(lm()),e=y(K0()),r=y(pm()),i=y(Y0()),n=y(Z0()),a=y(mm()),o=y(am()),h=y(G0()),c=y(W0()),d=y(im()),f=y(rm()),m=y(hm());function y(I){return I&&I.__esModule?I:{default:I}}var b=function(k){return new t.default(k)};Te.attribute=b;var x=function(k){return new e.default(k)};Te.className=x;var v=function(k){return new r.default(k)};Te.combinator=v;var g=function(k){return new i.default(k)};Te.comment=g;var T=function(k){return new n.default(k)};Te.id=T;var E=function(k){return new a.default(k)};Te.nesting=E;var C=function(k){return new o.default(k)};Te.pseudo=C;var N=function(k){return new h.default(k)};Te.root=N;var A=function(k){return new c.default(k)};Te.selector=A;var L=function(k){return new d.default(k)};Te.string=L;var R=function(k){return new f.default(k)};Te.tag=R;var w=function(k){return new m.default(k)};return Te.universal=w,Te}var ve={},wm;function sE(){if(wm)return ve;wm=1,ve.__esModule=!0,ve.isComment=ve.isCombinator=ve.isClassName=ve.isAttribute=void 0,ve.isContainer=C,ve.isIdentifier=void 0,ve.isNamespace=N,ve.isNesting=void 0,ve.isNode=i,ve.isPseudo=void 0,ve.isPseudoClass=E,ve.isPseudoElement=T,ve.isUniversal=ve.isTag=ve.isString=ve.isSelector=ve.isRoot=void 0;var t=tt(),e,r=(e={},e[t.ATTRIBUTE]=!0,e[t.CLASS]=!0,e[t.COMBINATOR]=!0,e[t.COMMENT]=!0,e[t.ID]=!0,e[t.NESTING]=!0,e[t.PSEUDO]=!0,e[t.ROOT]=!0,e[t.SELECTOR]=!0,e[t.STRING]=!0,e[t.TAG]=!0,e[t.UNIVERSAL]=!0,e);function i(A){return typeof A=="object"&&r[A.type]}function n(A,L){return i(L)&&L.type===A}var a=n.bind(null,t.ATTRIBUTE);ve.isAttribute=a;var o=n.bind(null,t.CLASS);ve.isClassName=o;var h=n.bind(null,t.COMBINATOR);ve.isCombinator=h;var c=n.bind(null,t.COMMENT);ve.isComment=c;var d=n.bind(null,t.ID);ve.isIdentifier=d;var f=n.bind(null,t.NESTING);ve.isNesting=f;var m=n.bind(null,t.PSEUDO);ve.isPseudo=m;var y=n.bind(null,t.ROOT);ve.isRoot=y;var b=n.bind(null,t.SELECTOR);ve.isSelector=b;var x=n.bind(null,t.STRING);ve.isString=x;var v=n.bind(null,t.TAG);ve.isTag=v;var g=n.bind(null,t.UNIVERSAL);ve.isUniversal=g;function T(A){return m(A)&&A.value&&(A.value.startsWith("::")||A.value.toLowerCase()===":before"||A.value.toLowerCase()===":after"||A.value.toLowerCase()===":first-letter"||A.value.toLowerCase()===":first-line")}function E(A){return m(A)&&!T(A)}function C(A){return!!(i(A)&&A.walk)}function N(A){return a(A)||v(A)}return ve}var Tm;function iE(){return Tm||(Tm=1,function(t){t.__esModule=!0;var e=tt();Object.keys(e).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===e[n]||(t[n]=e[n])});var r=rE();Object.keys(r).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===r[n]||(t[n]=r[n])});var i=sE();Object.keys(i).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===i[n]||(t[n]=i[n])})}(ql)),ql}var _m;function nE(){return _m||(_m=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=o(tE()),i=a(iE());function n(d){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:f})(d)}function a(d,f){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=n(f);if(m&&m.has(d))return m.get(d);var y={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in d)if(x!=="default"&&Object.prototype.hasOwnProperty.call(d,x)){var v=b?Object.getOwnPropertyDescriptor(d,x):null;v&&(v.get||v.set)?Object.defineProperty(y,x,v):y[x]=d[x]}return y.default=d,m&&m.set(d,y),y}function o(d){return d&&d.__esModule?d:{default:d}}var h=function(f){return new r.default(f)};Object.assign(h,i),delete h.__esModule;var c=h;e.default=c,t.exports=e.default}(Jn,Jn.exports)),Jn.exports}var aE=nE(),va=Vi(aE);const oE=/^(-\w+-)?animation-name$/,uE=/^(-\w+-)?animation$/,Pm=(t="")=>{const e=Object.create(null),r=t.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(i){lE(t,i)},AtRule(i){/-?keyframes$/.test(i.name)&&!i.params.endsWith(`-${r}`)&&(e[i.params]=i.params=i.params+"-"+r)},OnceExit(i){Object.keys(e).length&&i.walkDecls(n=>{oE.test(n.prop)&&(n.value=n.value.split(",").map(a=>e[a.trim()]||a.trim()).join(",")),uE.test(n.prop)&&(n.value=n.value.split(",").map(a=>{const o=a.trim().split(/\s+/),h=o.findIndex(c=>e[c]);return h!==-1?(o.splice(h,1,e[o[h]]),o.join(" ")):a}).join(","))})}}},Am=new WeakSet;function lE(t,e){if(Am.has(e)||e.parent&&e.parent.type==="atrule"&&/-?keyframes$/.test(e.parent.name))return;Am.add(e);let r=!1,i=e.parent;for(;i&&i.type!=="root";){if(i.__deep){r=!0;break}i=i.parent}e.selector=va(n=>{n.each(a=>{jl(t,e,a,n,r)})}).processSync(e.selector)}function jl(t,e,r,i,n,a=!1){let o=null,h=!n;if(r.each(c=>{if(c.type==="combinator"&&(c.value===">>>"||c.value==="/deep/"))return c.value=" ",c.spaces.before=c.spaces.after="",$n("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(c.type==="pseudo"){const{value:d}=c;if(d===":deep"||d==="::v-deep"){if(e.__deep=!0,c.nodes.length){let f=c;c.nodes[0].each(y=>{r.insertAfter(f,y),f=y});const m=r.at(r.index(c)-1);(!m||!Cm(m))&&r.insertAfter(c,va.combinator({value:" "})),r.removeChild(c)}else{$n(`${d} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${d} <inner-selector>.`);const f=r.at(r.index(c)-1);f&&Cm(f)&&r.removeChild(f),r.removeChild(c)}return!1}if(d===":slotted"||d==="::v-slotted"){jl(t,e,c.nodes[0],i,n,!0);let f=c;return c.nodes[0].each(m=>{r.insertAfter(f,m),f=m}),r.removeChild(c),h=!1,!1}if(d===":global"||d==="::v-global")return i.insertAfter(r,c.nodes[0]),i.removeChild(r),!1}if(c.type==="universal"){const d=r.at(r.index(c)-1),f=r.at(r.index(c)+1);if(!d)if(f){f.type==="combinator"&&f.value===" "&&r.removeChild(f),r.removeChild(c);return}else return o=va.combinator({value:""}),r.insertBefore(c,o),r.removeChild(c),!1;if(o)return}(c.type!=="pseudo"&&c.type!=="combinator"||c.type==="pseudo"&&(c.value===":is"||c.value===":where")&&!o)&&(o=c)}),e.nodes.some(c=>c.type==="rule")){const c=e.__deep;if(!c){Im(e);const d=e.nodes.filter(f=>f.type==="atrule");for(const f of d)Im(f)}h=c}if(o){const{type:c,value:d}=o;c==="pseudo"&&(d===":is"||d===":where")&&(o.nodes.forEach(f=>jl(t,e,f,i,n,a)),h=!1)}if(o?o.spaces.after="":r.first.spaces.before="",h){const c=a?t+"-s":t;r.insertAfter(o,va.attribute({attribute:c,value:c,raws:{},quoteMark:'"'}))}}function Cm(t){return t.type==="combinator"&&/^\s+$/.test(t.value)}function Im(t){if(!t.nodes)return;const e=t.nodes.filter(r=>r.type==="decl"||r.type==="comment");if(e.length){for(const i of e)t.removeChild(i);const r=new Hx({nodes:e,selector:"&"});t.prepend(r)}}Pm.postcss=!0;var ni={},Vl={},Sa={},xa={},Nm;function cE(){if(Nm)return xa;Nm=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return xa.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},xa.decode=function(e){var r=65,i=90,n=97,a=122,o=48,h=57,c=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=a?e-n+f:o<=e&&e<=h?e-o+m:e==c?62:e==d?63:-1},xa}var Om;function km(){if(Om)return Sa;Om=1;var t=cE(),e=5,r=1<<e,i=r-1,n=r;function a(h){return h<0?(-h<<1)+1:(h<<1)+0}function o(h){var c=(h&1)===1,d=h>>1;return c?-d:d}return Sa.encode=function(c){var d="",f,m=a(c);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},Sa.decode=function(c,d,f){var m=c.length,y=0,b=0,x,v;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(v=t.decode(c.charCodeAt(d++)),v===-1)throw new Error("Invalid base64 digit: "+c.charAt(d-1));x=!!(v&n),v&=i,y=y+(v<<b),b+=e}while(x);f.value=o(y),f.rest=d},Sa}var Gl={},Lm;function ai(){return Lm||(Lm=1,function(t){function e(N,A,L){if(A in N)return N[A];if(arguments.length===3)return L;throw new Error('"'+A+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(N){var A=N.match(r);return A?{scheme:A[1],auth:A[2],host:A[3],port:A[4],path:A[5]}:null}t.urlParse=n;function a(N){var A="";return N.scheme&&(A+=N.scheme+":"),A+="//",N.auth&&(A+=N.auth+"@"),N.host&&(A+=N.host),N.port&&(A+=":"+N.port),N.path&&(A+=N.path),A}t.urlGenerate=a;function o(N){var A=N,L=n(N);if(L){if(!L.path)return N;A=L.path}for(var R=t.isAbsolute(A),w=A.split(/\/+/),I,k=0,M=w.length-1;M>=0;M--)I=w[M],I==="."?w.splice(M,1):I===".."?k++:k>0&&(I===""?(w.splice(M+1,k),k=0):(w.splice(M,2),k--));return A=w.join("/"),A===""&&(A=R?"/":"."),L?(L.path=A,a(L)):A}t.normalize=o;function h(N,A){N===""&&(N="."),A===""&&(A=".");var L=n(A),R=n(N);if(R&&(N=R.path||"/"),L&&!L.scheme)return R&&(L.scheme=R.scheme),a(L);if(L||A.match(i))return A;if(R&&!R.host&&!R.path)return R.host=A,a(R);var w=A.charAt(0)==="/"?A:o(N.replace(/\/+$/,"")+"/"+A);return R?(R.path=w,a(R)):w}t.join=h,t.isAbsolute=function(N){return N.charAt(0)==="/"||r.test(N)};function c(N,A){N===""&&(N="."),N=N.replace(/\/$/,"");for(var L=0;A.indexOf(N+"/")!==0;){var R=N.lastIndexOf("/");if(R<0||(N=N.slice(0,R),N.match(/^([^\/]+:\/)?\/*$/)))return A;++L}return Array(L+1).join("../")+A.substr(N.length+1)}t.relative=c;var d=function(){var N=Object.create(null);return!("__proto__"in N)}();function f(N){return N}function m(N){return b(N)?"$"+N:N}t.toSetString=d?f:m;function y(N){return b(N)?N.slice(1):N}t.fromSetString=d?f:y;function b(N){if(!N)return!1;var A=N.length;if(A<9||N.charCodeAt(A-1)!==95||N.charCodeAt(A-2)!==95||N.charCodeAt(A-3)!==111||N.charCodeAt(A-4)!==116||N.charCodeAt(A-5)!==111||N.charCodeAt(A-6)!==114||N.charCodeAt(A-7)!==112||N.charCodeAt(A-8)!==95||N.charCodeAt(A-9)!==95)return!1;for(var L=A-10;L>=0;L--)if(N.charCodeAt(L)!==36)return!1;return!0}function x(N,A,L){var R=g(N.source,A.source);return R!==0||(R=N.originalLine-A.originalLine,R!==0)||(R=N.originalColumn-A.originalColumn,R!==0||L)||(R=N.generatedColumn-A.generatedColumn,R!==0)||(R=N.generatedLine-A.generatedLine,R!==0)?R:g(N.name,A.name)}t.compareByOriginalPositions=x;function v(N,A,L){var R=N.generatedLine-A.generatedLine;return R!==0||(R=N.generatedColumn-A.generatedColumn,R!==0||L)||(R=g(N.source,A.source),R!==0)||(R=N.originalLine-A.originalLine,R!==0)||(R=N.originalColumn-A.originalColumn,R!==0)?R:g(N.name,A.name)}t.compareByGeneratedPositionsDeflated=v;function g(N,A){return N===A?0:N===null?1:A===null?-1:N>A?1:-1}function T(N,A){var L=N.generatedLine-A.generatedLine;return L!==0||(L=N.generatedColumn-A.generatedColumn,L!==0)||(L=g(N.source,A.source),L!==0)||(L=N.originalLine-A.originalLine,L!==0)||(L=N.originalColumn-A.originalColumn,L!==0)?L:g(N.name,A.name)}t.compareByGeneratedPositionsInflated=T;function E(N){return JSON.parse(N.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=E;function C(N,A,L){if(A=A||"",N&&(N[N.length-1]!=="/"&&A[0]!=="/"&&(N+="/"),A=N+A),L){var R=n(L);if(!R)throw new Error("sourceMapURL could not be parsed");if(R.path){var w=R.path.lastIndexOf("/");w>=0&&(R.path=R.path.substring(0,w+1))}A=h(a(R),A)}return o(A)}t.computeSourceURL=C}(Gl)),Gl}var zl={},Mm;function Rm(){if(Mm)return zl;Mm=1;var t=ai(),e=Object.prototype.hasOwnProperty,r=typeof Map!="undefined";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,o){for(var h=new i,c=0,d=a.length;c<d;c++)h.add(a[c],o);return h},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,o){var h=r?a:t.toSetString(a),c=r?this.has(a):e.call(this._set,h),d=this._array.length;(!c||o)&&this._array.push(a),c||(r?this._set.set(a,d):this._set[h]=d)},i.prototype.has=function(a){if(r)return this._set.has(a);var o=t.toSetString(a);return e.call(this._set,o)},i.prototype.indexOf=function(a){if(r){var o=this._set.get(a);if(o>=0)return o}else{var h=t.toSetString(a);if(e.call(this._set,h))return this._set[h]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},zl.ArraySet=i,zl}var Wl={},Dm;function hE(){if(Dm)return Wl;Dm=1;var t=ai();function e(i,n){var a=i.generatedLine,o=n.generatedLine,h=i.generatedColumn,c=n.generatedColumn;return o>a||o==a&&c>=h||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,a){this._array.forEach(n,a)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Wl.MappingList=r,Wl}var Fm;function Bm(){if(Fm)return Vl;Fm=1;var t=km(),e=ai(),r=Rm().ArraySet,i=hE().MappingList;function n(a){a||(a={}),this._file=e.getArg(a,"file",null),this._sourceRoot=e.getArg(a,"sourceRoot",null),this._skipValidation=e.getArg(a,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(o){var h=o.sourceRoot,c=new n({file:o.file,sourceRoot:h});return o.eachMapping(function(d){var f={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(f.source=d.source,h!=null&&(f.source=e.relative(h,f.source)),f.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(f.name=d.name)),c.addMapping(f)}),o.sources.forEach(function(d){var f=d;h!==null&&(f=e.relative(h,d)),c._sources.has(f)||c._sources.add(f);var m=o.sourceContentFor(d);m!=null&&c.setSourceContent(d,m)}),c},n.prototype.addMapping=function(o){var h=e.getArg(o,"generated"),c=e.getArg(o,"original",null),d=e.getArg(o,"source",null),f=e.getArg(o,"name",null);this._skipValidation||this._validateMapping(h,c,d,f),d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:d,name:f})},n.prototype.setSourceContent=function(o,h){var c=o;this._sourceRoot!=null&&(c=e.relative(this._sourceRoot,c)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(c)]=h):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(o,h,c){var d=h;if(h==null){if(o.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=o.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,y=new r;this._mappings.unsortedForEach(function(b){if(b.source===d&&b.originalLine!=null){var x=o.originalPositionFor({line:b.originalLine,column:b.originalColumn});x.source!=null&&(b.source=x.source,c!=null&&(b.source=e.join(c,b.source)),f!=null&&(b.source=e.relative(f,b.source)),b.originalLine=x.line,b.originalColumn=x.column,x.name!=null&&(b.name=x.name))}var v=b.source;v!=null&&!m.has(v)&&m.add(v);var g=b.name;g!=null&&!y.has(g)&&y.add(g)},this),this._sources=m,this._names=y,o.sources.forEach(function(b){var x=o.sourceContentFor(b);x!=null&&(c!=null&&(b=e.join(c,b)),f!=null&&(b=e.relative(f,b)),this.setSourceContent(b,x))},this)},n.prototype._validateMapping=function(o,h,c,d){if(h&&typeof h.line!="number"&&typeof h.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!h&&!c&&!d)){if(o&&"line"in o&&"column"in o&&h&&"line"in h&&"column"in h&&o.line>0&&o.column>=0&&h.line>0&&h.column>=0&&c)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:c,original:h,name:d}))}},n.prototype._serializeMappings=function(){for(var o=0,h=1,c=0,d=0,f=0,m=0,y="",b,x,v,g,T=this._mappings.toArray(),E=0,C=T.length;E<C;E++){if(x=T[E],b="",x.generatedLine!==h)for(o=0;x.generatedLine!==h;)b+=";",h++;else if(E>0){if(!e.compareByGeneratedPositionsInflated(x,T[E-1]))continue;b+=","}b+=t.encode(x.generatedColumn-o),o=x.generatedColumn,x.source!=null&&(g=this._sources.indexOf(x.source),b+=t.encode(g-m),m=g,b+=t.encode(x.originalLine-1-d),d=x.originalLine-1,b+=t.encode(x.originalColumn-c),c=x.originalColumn,x.name!=null&&(v=this._names.indexOf(x.name),b+=t.encode(v-f),f=v)),y+=b}return y},n.prototype._generateSourcesContent=function(o,h){return o.map(function(c){if(!this._sourcesContents)return null;h!=null&&(c=e.relative(h,c));var d=e.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},Vl.SourceMapGenerator=n,Vl}var oi={},Hl={},$m;function fE(){return $m||($m=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,a,o,h){var c=Math.floor((i-r)/2)+r,d=o(n,a[c],!0);return d===0?c:d>0?i-c>1?e(c,i,n,a,o,h):h==t.LEAST_UPPER_BOUND?i<a.length?i:-1:c:c-r>1?e(r,c,n,a,o,h):h==t.LEAST_UPPER_BOUND?c:r<0?-1:r}t.search=function(i,n,a,o){if(n.length===0)return-1;var h=e(-1,n.length,i,n,a,o||t.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&a(n[h],n[h-1],!0)===0;)--h;return h}}(Hl)),Hl}var Xl={},Um;function pE(){if(Um)return Xl;Um=1;function t(i,n,a){var o=i[n];i[n]=i[a],i[a]=o}function e(i,n){return Math.round(i+Math.random()*(n-i))}function r(i,n,a,o){if(a<o){var h=e(a,o),c=a-1;t(i,h,o);for(var d=i[o],f=a;f<o;f++)n(i[f],d)<=0&&(c+=1,t(i,c,f));t(i,c+1,f);var m=c+1;r(i,n,a,m-1),r(i,n,m+1,o)}}return Xl.quickSort=function(i,n){r(i,n,0,i.length-1)},Xl}var qm;function dE(){if(qm)return oi;qm=1;var t=ai(),e=fE(),r=Rm().ArraySet,i=km(),n=pE().quickSort;function a(d,f){var m=d;return typeof d=="string"&&(m=t.parseSourceMapInput(d)),m.sections!=null?new c(m,f):new o(m,f)}a.fromSourceMap=function(d,f){return o.fromSourceMap(d,f)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(f,m){var y=f.charAt(m);return y===";"||y===","},a.prototype._parseMappings=function(f,m){throw new Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(f,m,y){var b=m||null,x=y||a.GENERATED_ORDER,v;switch(x){case a.GENERATED_ORDER:v=this._generatedMappings;break;case a.ORIGINAL_ORDER:v=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var g=this.sourceRoot;v.map(function(T){var E=T.source===null?null:this._sources.at(T.source);return E=t.computeSourceURL(g,E,this._sourceMapURL),{source:E,generatedLine:T.generatedLine,generatedColumn:T.generatedColumn,originalLine:T.originalLine,originalColumn:T.originalColumn,name:T.name===null?null:this._names.at(T.name)}},this).forEach(f,b)},a.prototype.allGeneratedPositionsFor=function(f){var m=t.getArg(f,"line"),y={source:t.getArg(f,"source"),originalLine:m,originalColumn:t.getArg(f,"column",0)};if(y.source=this._findSourceIndex(y.source),y.source<0)return[];var b=[],x=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(x>=0){var v=this._originalMappings[x];if(f.column===void 0)for(var g=v.originalLine;v&&v.originalLine===g;)b.push({line:t.getArg(v,"generatedLine",null),column:t.getArg(v,"generatedColumn",null),lastColumn:t.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++x];else for(var T=v.originalColumn;v&&v.originalLine===m&&v.originalColumn==T;)b.push({line:t.getArg(v,"generatedLine",null),column:t.getArg(v,"generatedColumn",null),lastColumn:t.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++x]}return b},oi.SourceMapConsumer=a;function o(d,f){var m=d;typeof d=="string"&&(m=t.parseSourceMapInput(d));var y=t.getArg(m,"version"),b=t.getArg(m,"sources"),x=t.getArg(m,"names",[]),v=t.getArg(m,"sourceRoot",null),g=t.getArg(m,"sourcesContent",null),T=t.getArg(m,"mappings"),E=t.getArg(m,"file",null);if(y!=this._version)throw new Error("Unsupported version: "+y);v&&(v=t.normalize(v)),b=b.map(String).map(t.normalize).map(function(C){return v&&t.isAbsolute(v)&&t.isAbsolute(C)?t.relative(v,C):C}),this._names=r.fromArray(x.map(String),!0),this._sources=r.fromArray(b,!0),this._absoluteSources=this._sources.toArray().map(function(C){return t.computeSourceURL(v,C,f)}),this.sourceRoot=v,this.sourcesContent=g,this._mappings=T,this._sourceMapURL=f,this.file=E}o.prototype=Object.create(a.prototype),o.prototype.consumer=a,o.prototype._findSourceIndex=function(d){var f=d;if(this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f)),this._sources.has(f))return this._sources.indexOf(f);var m;for(m=0;m<this._absoluteSources.length;++m)if(this._absoluteSources[m]==d)return m;return-1},o.fromSourceMap=function(f,m){var y=Object.create(o.prototype),b=y._names=r.fromArray(f._names.toArray(),!0),x=y._sources=r.fromArray(f._sources.toArray(),!0);y.sourceRoot=f._sourceRoot,y.sourcesContent=f._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=f._file,y._sourceMapURL=m,y._absoluteSources=y._sources.toArray().map(function(L){return t.computeSourceURL(y.sourceRoot,L,m)});for(var v=f._mappings.toArray().slice(),g=y.__generatedMappings=[],T=y.__originalMappings=[],E=0,C=v.length;E<C;E++){var N=v[E],A=new h;A.generatedLine=N.generatedLine,A.generatedColumn=N.generatedColumn,N.source&&(A.source=x.indexOf(N.source),A.originalLine=N.originalLine,A.originalColumn=N.originalColumn,N.name&&(A.name=b.indexOf(N.name)),T.push(A)),g.push(A)}return n(y.__originalMappings,t.compareByOriginalPositions),y},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(f,m){for(var y=1,b=0,x=0,v=0,g=0,T=0,E=f.length,C=0,N={},A={},L=[],R=[],w,I,k,M,z;C<E;)if(f.charAt(C)===";")y++,C++,b=0;else if(f.charAt(C)===",")C++;else{for(w=new h,w.generatedLine=y,M=C;M<E&&!this._charIsMappingSeparator(f,M);M++);if(I=f.slice(C,M),k=N[I],k)C+=I.length;else{for(k=[];C<M;)i.decode(f,C,A),z=A.value,C=A.rest,k.push(z);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");N[I]=k}w.generatedColumn=b+k[0],b=w.generatedColumn,k.length>1&&(w.source=g+k[1],g+=k[1],w.originalLine=x+k[2],x=w.originalLine,w.originalLine+=1,w.originalColumn=v+k[3],v=w.originalColumn,k.length>4&&(w.name=T+k[4],T+=k[4])),R.push(w),typeof w.originalLine=="number"&&L.push(w)}n(R,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=R,n(L,t.compareByOriginalPositions),this.__originalMappings=L},o.prototype._findMapping=function(f,m,y,b,x,v){if(f[y]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+f[y]);if(f[b]<0)throw new TypeError("Column must be greater than or equal to 0, got "+f[b]);return e.search(f,m,x,v)},o.prototype.computeColumnSpans=function(){for(var f=0;f<this._generatedMappings.length;++f){var m=this._generatedMappings[f];if(f+1<this._generatedMappings.length){var y=this._generatedMappings[f+1];if(m.generatedLine===y.generatedLine){m.lastGeneratedColumn=y.generatedColumn-1;continue}}m.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(f){var m={generatedLine:t.getArg(f,"line"),generatedColumn:t.getArg(f,"column")},y=this._findMapping(m,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(f,"bias",a.GREATEST_LOWER_BOUND));if(y>=0){var b=this._generatedMappings[y];if(b.generatedLine===m.generatedLine){var x=t.getArg(b,"source",null);x!==null&&(x=this._sources.at(x),x=t.computeSourceURL(this.sourceRoot,x,this._sourceMapURL));var v=t.getArg(b,"name",null);return v!==null&&(v=this._names.at(v)),{source:x,line:t.getArg(b,"originalLine",null),column:t.getArg(b,"originalColumn",null),name:v}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(f){return f==null}):!1},o.prototype.sourceContentFor=function(f,m){if(!this.sourcesContent)return null;var y=this._findSourceIndex(f);if(y>=0)return this.sourcesContent[y];var b=f;this.sourceRoot!=null&&(b=t.relative(this.sourceRoot,b));var x;if(this.sourceRoot!=null&&(x=t.urlParse(this.sourceRoot))){var v=b.replace(/^file:\/\//,"");if(x.scheme=="file"&&this._sources.has(v))return this.sourcesContent[this._sources.indexOf(v)];if((!x.path||x.path=="/")&&this._sources.has("/"+b))return this.sourcesContent[this._sources.indexOf("/"+b)]}if(m)return null;throw new Error('"'+b+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(f){var m=t.getArg(f,"source");if(m=this._findSourceIndex(m),m<0)return{line:null,column:null,lastColumn:null};var y={source:m,originalLine:t.getArg(f,"line"),originalColumn:t.getArg(f,"column")},b=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(f,"bias",a.GREATEST_LOWER_BOUND));if(b>=0){var x=this._originalMappings[b];if(x.source===y.source)return{line:t.getArg(x,"generatedLine",null),column:t.getArg(x,"generatedColumn",null),lastColumn:t.getArg(x,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},oi.BasicSourceMapConsumer=o;function c(d,f){var m=d;typeof d=="string"&&(m=t.parseSourceMapInput(d));var y=t.getArg(m,"version"),b=t.getArg(m,"sections");if(y!=this._version)throw new Error("Unsupported version: "+y);this._sources=new r,this._names=new r;var x={line:-1,column:0};this._sections=b.map(function(v){if(v.url)throw new Error("Support for url field in sections not implemented.");var g=t.getArg(v,"offset"),T=t.getArg(g,"line"),E=t.getArg(g,"column");if(T<x.line||T===x.line&&E<x.column)throw new Error("Section offsets must be ordered and non-overlapping.");return x=g,{generatedOffset:{generatedLine:T+1,generatedColumn:E+1},consumer:new a(t.getArg(v,"map"),f)}})}return c.prototype=Object.create(a.prototype),c.prototype.constructor=a,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var d=[],f=0;f<this._sections.length;f++)for(var m=0;m<this._sections[f].consumer.sources.length;m++)d.push(this._sections[f].consumer.sources[m]);return d}}),c.prototype.originalPositionFor=function(f){var m={generatedLine:t.getArg(f,"line"),generatedColumn:t.getArg(f,"column")},y=e.search(m,this._sections,function(x,v){var g=x.generatedLine-v.generatedOffset.generatedLine;return g||x.generatedColumn-v.generatedOffset.generatedColumn}),b=this._sections[y];return b?b.consumer.originalPositionFor({line:m.generatedLine-(b.generatedOffset.generatedLine-1),column:m.generatedColumn-(b.generatedOffset.generatedLine===m.generatedLine?b.generatedOffset.generatedColumn-1:0),bias:f.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(f){return f.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(f,m){for(var y=0;y<this._sections.length;y++){var b=this._sections[y],x=b.consumer.sourceContentFor(f,!0);if(x)return x}if(m)return null;throw new Error('"'+f+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(f){for(var m=0;m<this._sections.length;m++){var y=this._sections[m];if(y.consumer._findSourceIndex(t.getArg(f,"source"))!==-1){var b=y.consumer.generatedPositionFor(f);if(b){var x={line:b.line+(y.generatedOffset.generatedLine-1),column:b.column+(y.generatedOffset.generatedLine===b.line?y.generatedOffset.generatedColumn-1:0)};return x}}}return{line:null,column:null}},c.prototype._parseMappings=function(f,m){this.__generatedMappings=[],this.__originalMappings=[];for(var y=0;y<this._sections.length;y++)for(var b=this._sections[y],x=b.consumer._generatedMappings,v=0;v<x.length;v++){var g=x[v],T=b.consumer._sources.at(g.source);T=t.computeSourceURL(b.consumer.sourceRoot,T,this._sourceMapURL),this._sources.add(T),T=this._sources.indexOf(T);var E=null;g.name&&(E=b.consumer._names.at(g.name),this._names.add(E),E=this._names.indexOf(E));var C={source:T,generatedLine:g.generatedLine+(b.generatedOffset.generatedLine-1),generatedColumn:g.generatedColumn+(b.generatedOffset.generatedLine===g.generatedLine?b.generatedOffset.generatedColumn-1:0),originalLine:g.originalLine,originalColumn:g.originalColumn,name:E};this.__generatedMappings.push(C),typeof C.originalLine=="number"&&this.__originalMappings.push(C)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},oi.IndexedSourceMapConsumer=c,oi}var Kl={},jm;function mE(){if(jm)return Kl;jm=1;var t=Bm().SourceMapGenerator,e=ai(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function a(o,h,c,d,f){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=h==null?null:h,this.source=c==null?null:c,this.name=f==null?null:f,this[n]=!0,d!=null&&this.add(d)}return a.fromStringWithSourceMap=function(h,c,d){var f=new a,m=h.split(r),y=0,b=function(){var E=N(),C=N()||"";return E+C;function N(){return y<m.length?m[y++]:void 0}},x=1,v=0,g=null;return c.eachMapping(function(E){if(g!==null)if(x<E.generatedLine)T(g,b()),x++,v=0;else{var C=m[y]||"",N=C.substr(0,E.generatedColumn-v);m[y]=C.substr(E.generatedColumn-v),v=E.generatedColumn,T(g,N),g=E;return}for(;x<E.generatedLine;)f.add(b()),x++;if(v<E.generatedColumn){var C=m[y]||"";f.add(C.substr(0,E.generatedColumn)),m[y]=C.substr(E.generatedColumn),v=E.generatedColumn}g=E},this),y<m.length&&(g&&T(g,b()),f.add(m.splice(y).join(""))),c.sources.forEach(function(E){var C=c.sourceContentFor(E);C!=null&&(d!=null&&(E=e.join(d,E)),f.setSourceContent(E,C))}),f;function T(E,C){if(E===null||E.source===void 0)f.add(C);else{var N=d?e.join(d,E.source):E.source;f.add(new a(E.originalLine,E.originalColumn,N,C,E.name))}}},a.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(c){this.add(c)},this);else if(h[n]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.prepend=function(h){if(Array.isArray(h))for(var c=h.length-1;c>=0;c--)this.prepend(h[c]);else if(h[n]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},a.prototype.walk=function(h){for(var c,d=0,f=this.children.length;d<f;d++)c=this.children[d],c[n]?c.walk(h):c!==""&&h(c,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(h){var c,d,f=this.children.length;if(f>0){for(c=[],d=0;d<f-1;d++)c.push(this.children[d]),c.push(h);c.push(this.children[d]),this.children=c}return this},a.prototype.replaceRight=function(h,c){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(h,c):typeof d=="string"?this.children[this.children.length-1]=d.replace(h,c):this.children.push("".replace(h,c)),this},a.prototype.setSourceContent=function(h,c){this.sourceContents[e.toSetString(h)]=c},a.prototype.walkSourceContents=function(h){for(var c=0,d=this.children.length;c<d;c++)this.children[c][n]&&this.children[c].walkSourceContents(h);for(var f=Object.keys(this.sourceContents),c=0,d=f.length;c<d;c++)h(e.fromSetString(f[c]),this.sourceContents[f[c]])},a.prototype.toString=function(){var h="";return this.walk(function(c){h+=c}),h},a.prototype.toStringWithSourceMap=function(h){var c={code:"",line:1,column:0},d=new t(h),f=!1,m=null,y=null,b=null,x=null;return this.walk(function(v,g){c.code+=v,g.source!==null&&g.line!==null&&g.column!==null?((m!==g.source||y!==g.line||b!==g.column||x!==g.name)&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:c.line,column:c.column},name:g.name}),m=g.source,y=g.line,b=g.column,x=g.name,f=!0):f&&(d.addMapping({generated:{line:c.line,column:c.column}}),m=null,f=!1);for(var T=0,E=v.length;T<E;T++)v.charCodeAt(T)===i?(c.line++,c.column=0,T+1===E?(m=null,f=!1):f&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:c.line,column:c.column},name:g.name})):c.column++}),this.walkSourceContents(function(v,g){d.setSourceContent(v,g)}),{code:c.code,map:d}},Kl.SourceNode=a,Kl}var Vm;function gE(){return Vm||(Vm=1,ni.SourceMapGenerator=Bm().SourceMapGenerator,ni.SourceMapConsumer=dE().SourceMapConsumer,ni.SourceNode=mE().SourceNode),ni}var Jl,Gm;function yE(){if(Gm)return Jl;Gm=1;var t=gE(),e=t.SourceMapConsumer,r=t.SourceMapGenerator;Jl=i;function i(n,a){if(!n)return a;if(!a)return n;var o=new e(n),h=new e(a),c=new r;h.eachMapping(function(f){if(f.originalLine!=null){var m=o.originalPositionFor({line:f.originalLine,column:f.originalColumn});m.source!=null&&c.addMapping({original:{line:m.line,column:m.column},generated:{line:f.generatedLine,column:f.generatedColumn},source:m.source,name:m.name})}});var d=[o,h];return d.forEach(function(f){f.sources.forEach(function(m){c._sources.add(m);var y=f.sourceContentFor(m);y!=null&&c.setSourceContent(m,y)})}),c._sourceRoot=n.sourceRoot,c._file=n.file,JSON.parse(c.toString())}return Jl}var bE=yE(),Yl=Vi(bE),vE=Object.defineProperty,SE=Object.defineProperties,xE=Object.getOwnPropertyDescriptors,zm=Object.getOwnPropertySymbols,EE=Object.prototype.hasOwnProperty,wE=Object.prototype.propertyIsEnumerable,Wm=(t,e,r)=>e in t?vE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ea=(t,e)=>{for(var r in e||(e={}))EE.call(e,r)&&Wm(t,r,e[r]);if(zm)for(var r of zm(e))wE.call(e,r)&&Wm(t,r,e[r]);return t},wa=(t,e)=>SE(t,xE(e));const Hm=(t,e,r,i=require)=>{const n=i("sass"),{compileString:a,renderSync:o}=n,h=Km(t,r.filename,r.additionalData);let c,d,f;try{if(a){const{pathToFileURL:m,fileURLToPath:y}=i("url"),b=a(h,wa(Ea({},r),{url:m(r.filename),sourceMap:!!e}));c=b.css,d=b.loadedUrls.map(x=>y(x)),f=e?b.sourceMap:void 0}else{const m=o(wa(Ea({},r),{data:h,file:r.filename,outFile:r.filename,sourceMap:!!e}));c=m.css.toString(),d=m.stats.includedFiles,f=e?JSON.parse(m.map.toString()):void 0}return e?{code:c,errors:[],dependencies:d,map:Yl(e,f)}:{code:c,errors:[],dependencies:d}}catch(m){return{code:"",errors:[m],dependencies:[]}}},TE=(t,e,r,i)=>Hm(t,e,wa(Ea({},r),{indentedSyntax:!0}),i),_E=(t,e,r,i=require)=>{const n=i("less");let a,o=null;if(n.render(Km(t,r.filename,r.additionalData),wa(Ea({},r),{syncImport:!0}),(c,d)=>{o=c,a=d}),o)return{code:"",errors:[o],dependencies:[]};const h=a.imports;return e?{code:a.css.toString(),map:Yl(e,a.map),errors:[],dependencies:h}:{code:a.css.toString(),errors:[],dependencies:h}},Xm=(t,e,r,i=require)=>{const n=i("stylus");try{const a=n(t,r);e&&a.set("sourcemap",{inline:!1,comment:!1});const o=a.render(),h=a.deps();return e?{code:o,map:Yl(e,a.sourcemap),errors:[],dependencies:h}:{code:o,errors:[],dependencies:h}}catch(a){return{code:"",errors:[a],dependencies:[]}}};function Km(t,e,r){return r?$c(r)?r(t,e):r+t:t}const PE={less:_E,sass:TE,scss:Hm,styl:Xm,stylus:Xm};var AE=Object.defineProperty,CE=Object.defineProperties,IE=Object.getOwnPropertyDescriptors,Jm=Object.getOwnPropertySymbols,NE=Object.prototype.hasOwnProperty,OE=Object.prototype.propertyIsEnumerable,Ym=(t,e,r)=>e in t?AE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ql=(t,e)=>{for(var r in e||(e={}))NE.call(e,r)&&Ym(t,r,e[r]);if(Jm)for(var r of Jm(e))OE.call(e,r)&&Ym(t,r,e[r]);return t},Qm=(t,e)=>CE(t,IE(e));function kE(t){return LE(Qm(Ql({},t),{isAsync:!1}))}function LE(t){const{filename:e,id:r,scoped:i=!1,trim:n=!0,isProd:a=!1,modules:o=!1,modulesOptions:h={},preprocessLang:c,postcssOptions:d,postcssPlugins:f}=t,m=c&&PE[c],y=m&&ME(t,m),b=y?y.map:t.inMap||t.map,x=y?y.code:t.source,v=r.replace(/^data-v-/,""),g=`data-v-${v}`,T=(f||[]).slice();T.unshift(Nf({id:v,isProd:a})),n&&T.push(L0()),i&&T.push(Pm(g));let E;if(o)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const C=Qm(Ql({},d),{to:e,from:e});b&&(C.map={inline:!1,annotation:!1,prev:b});let N,A,L;const R=new Set(y?y.dependencies:[]);R.delete(e);const w=[];y&&y.errors.length&&w.push(...y.errors);const I=k=>(k.forEach(M=>{M.type==="dependency"&&R.add(M.file)}),R);try{if(N=Ie(T).process(x,C),t.isAsync)return N.then(k=>({code:k.css||"",map:k.map&&k.map.toJSON(),errors:w,modules:E,rawResult:k,dependencies:I(k.messages)})).catch(k=>({code:"",map:void 0,errors:[...w,k],rawResult:void 0,dependencies:R}));I(N.messages),A=N.css,L=N.map}catch(k){w.push(k)}return{code:A||"",map:L&&L.toJSON(),errors:w,rawResult:N,dependencies:R}}function ME(t,e){if(!t.preprocessCustomRequire)throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return e(t.source,t.inMap||t.map,Ql({filename:t.filename},t.preprocessOptions),t.preprocessCustomRequire)}const jt="Unknown";function Zl(t,e){switch(t.type){case"StringLiteral":case"NumericLiteral":return String(t.value);case"Identifier":if(!e)return t.name}}function Zm(t){return t.filter(e=>!!e).join(", ")}function e1(t){return t.type.endsWith("Literal")}function nt(t,e){return!!(t&&e&&t.type==="CallExpression"&&t.callee.type==="Identifier"&&(typeof e=="string"?t.callee.name===e:e(t.callee.name)))}function fs(t){return t.length>1?`[${t.join(", ")}]`:t[0]}function ec(t){return t.type==="ImportSpecifier"?t.imported.type==="Identifier"?t.imported.name:t.imported.value:t.type==="ImportNamespaceSpecifier"?"*":"default"}function $r(t){return t.type==="Identifier"?t.name:t.type==="StringLiteral"?t.value:null}const RE=(er.posix||er).normalize,DE=/\\/g;function t1(t){return RE(t.replace(DE,"/"))}const ui=(er.posix||er).join,FE=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function r1(t){return FE.test(t)?JSON.stringify(t):t}function s1(t){for(const e of t)if(e.type==="ExportDefaultDeclaration"&&e.declaration.type==="ObjectExpression")return BE(e.declaration);return{}}function BE(t){const e={};Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!1});for(const r of t.properties)if(r.type==="ObjectProperty"&&!r.computed&&r.key.type==="Identifier"){if(r.key.name==="props")for(const i of rc(r.value))e[i]="props";else if(r.key.name==="inject")for(const i of rc(r.value))e[i]="options";else if(r.value.type==="ObjectExpression"&&(r.key.name==="computed"||r.key.name==="methods"))for(const i of tc(r.value))e[i]="options"}else if(r.type==="ObjectMethod"&&r.key.type==="Identifier"&&(r.key.name==="setup"||r.key.name==="data")){for(const i of r.body.body)if(i.type==="ReturnStatement"&&i.argument&&i.argument.type==="ObjectExpression")for(const n of tc(i.argument))e[n]=r.key.name==="setup"?"setup-maybe-ref":"data"}return e}function tc(t){const e=[];for(const r of t.properties){if(r.type==="SpreadElement")continue;const i=Zl(r.key,r.computed);i&&e.push(String(i))}return e}function $E(t){const e=[];for(const r of t.elements)r&&r.type==="StringLiteral"&&e.push(r.value);return e}function rc(t){return t.type==="ArrayExpression"?$E(t):t.type==="ObjectExpression"?tc(t):[]}const UE=44,qE=59,i1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n1=new Uint8Array(64),jE=new Uint8Array(128);for(let t=0;t<i1.length;t++){const e=i1.charCodeAt(t);n1[t]=e,jE[e]=t}function li(t,e,r){let i=e-r;i=i<0?-i<<1|1:i<<1;do{let n=i&31;i>>>=5,i>0&&(n|=32),t.write(n1[n])}while(i>0);return e}const a1=1024*16,o1=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}};class VE{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(a1)}write(e){const{buffer:r}=this;r[this.pos++]=e,this.pos===a1&&(this.out+=o1.decode(r),this.pos=0)}flush(){const{buffer:e,out:r,pos:i}=this;return i>0?r+o1.decode(e.subarray(0,i)):r}}function GE(t){const e=new VE;let r=0,i=0,n=0,a=0;for(let o=0;o<t.length;o++){const h=t[o];if(o>0&&e.write(qE),h.length===0)continue;let c=0;for(let d=0;d<h.length;d++){const f=h[d];d>0&&e.write(UE),c=li(e,f[0],c),f.length!==1&&(r=li(e,f[1],r),i=li(e,f[2],i),n=li(e,f[3],n),f.length!==4&&(a=li(e,f[4],a)))}}return e.flush()}class Ta{constructor(e){this.bits=e instanceof Ta?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class ci{constructor(e,r,i){this.start=e,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new ci(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const r=e-this.start,i=this.original.slice(0,r),n=this.original.slice(r);this.original=i;const a=new ci(e,this.end,n);return a.outro=this.outro,this.outro="",this.end=e,this.edited?(a.edit("",!1),this.content=""):this.content=i,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const r=this.content.replace(e,"");if(r.length){if(r!==this.content){const i=this.split(this.end-r.length);this.edited&&i.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function zE(){return typeof globalThis!="undefined"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const WE=zE();class HE{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=GE(e.mappings),typeof e.x_google_ignoreList!="undefined"&&(this.x_google_ignoreList=e.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+WE(this.toString())}}function XE(t){const e=t.split(`
|
|
114
|
+
`),r=e.filter(a=>/^\t+/.test(a)),i=e.filter(a=>/^ {2,}/.test(a));if(r.length===0&&i.length===0)return null;if(r.length>=i.length)return" ";const n=i.reduce((a,o)=>{const h=/^ +/.exec(o)[0].length;return Math.min(h,a)},1/0);return new Array(n+1).join(" ")}function KE(t,e){const r=t.split(/[/\\]/),i=e.split(/[/\\]/);for(r.pop();r[0]===i[0];)r.shift(),i.shift();if(r.length){let n=r.length;for(;n--;)r[n]=".."}return r.concat(i).join("/")}const JE=Object.prototype.toString;function YE(t){return JE.call(t)==="[object Object]"}function u1(t){const e=t.split(`
|
|
115
|
+
`),r=[];for(let i=0,n=0;i<e.length;i++)r.push(n),n+=e[i].length+1;return function(n){let a=0,o=r.length;for(;a<o;){const d=a+o>>1;n<r[d]?o=d:a=d+1}const h=a-1,c=n-r[h];return{line:h,column:c}}}const QE=/\w/;class ZE{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,i,n){if(r.length){const a=r.length-1;let o=r.indexOf(`
|
|
116
|
+
`,0),h=-1;for(;o>=0&&a>o;){const d=[this.generatedCodeColumn,e,i.line,i.column];n>=0&&d.push(n),this.rawSegments.push(d),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,h=o,o=r.indexOf(`
|
|
117
|
+
`,o+1)}const c=[this.generatedCodeColumn,e,i.line,i.column];n>=0&&c.push(n),this.rawSegments.push(c),this.advance(r.slice(h+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,i,n,a){let o=r.start,h=!0,c=!1;for(;o<r.end;){if(this.hires||h||a.has(o)){const d=[this.generatedCodeColumn,e,n.line,n.column];this.hires==="boundary"?QE.test(i[o])?c||(this.rawSegments.push(d),c=!0):(this.rawSegments.push(d),c=!1):this.rawSegments.push(d)}i[o]===`
|
|
118
|
+
`?(n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,h=!0):(n.column+=1,this.generatedCodeColumn+=1,h=!1),o+=1}this.pending=null}advance(e){if(!e)return;const r=e.split(`
|
|
119
|
+
`);if(r.length>1){for(let i=0;i<r.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}}const hi=`
|
|
120
|
+
`,ps={insertLeft:!1,insertRight:!1,storeName:!1};class ds{constructor(e,r={}){const i=new ci(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Ta},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList}}),this.byStart[0]=i,this.byEnd[e.length]=i}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.appendRight(r):this.outro+=r,this}clone(){const e=new ds(this.original,{filename:this.filename});let r=this.firstChunk,i=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[i.start]=i,e.byEnd[i.end]=i;const n=r.next,a=n&&n.clone();a&&(i.next=a,a.previous=i,i=a),r=n}return e.lastChunk=i,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Ta(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const r=0,i=Object.keys(this.storedNames),n=new ZE(e.hires),a=u1(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(o=>{const h=a(o.start);o.intro.length&&n.advance(o.intro),o.edited?n.addEdit(r,o.content,h,o.storeName?i.indexOf(o.original):-1):n.addUneditedChunk(r,o,this.original,h,this.sourcemapLocations),o.outro.length&&n.advance(o.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?KE(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:i,mappings:n.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new HE(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=XE(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){const i=/^[^\r\n]/gm;if(YE(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};const n={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let m=f[0];m<f[1];m+=1)n[m]=!0});let a=r.indentStart!==!1;const o=d=>a?`${e}${d}`:(a=!0,d);this.intro=this.intro.replace(i,o);let h=0,c=this.firstChunk;for(;c;){const d=c.end;if(c.edited)n[h]||(c.content=c.content.replace(i,o),c.content.length&&(a=c.content[c.content.length-1]===`
|
|
121
|
+
`));else for(h=c.start;h<d;){if(!n[h]){const f=this.original[h];f===`
|
|
122
|
+
`?a=!0:f!=="\r"&&a&&(a=!1,h===c.start||(this._splitChunk(c,h),c=c.next),c.prependRight(e))}h+=1}h=c.end,c=c.next}return this.outro=this.outro.replace(i,o),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return ps.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ps.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return ps.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ps.insertRight=!0),this.prependRight(e,r)}move(e,r,i){if(i>=e&&i<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(i);const n=this.byStart[e],a=this.byEnd[r],o=n.previous,h=a.next,c=this.byStart[i];if(!c&&a===this.lastChunk)return this;const d=c?c.previous:this.lastChunk;return o&&(o.next=h),h&&(h.previous=o),d&&(d.next=n),c&&(c.previous=a),n.previous||(this.firstChunk=a.next),a.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=d,a.next=c||null,d||(this.firstChunk=n),c||(this.lastChunk=a),this}overwrite(e,r,i,n){return n=n||{},this.update(e,r,i,Es(Ht({},n),{overwrite:!n.contentOnly}))}update(e,r,i,n){if(typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),n===!0&&(ps.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ps.storeName=!0),n={storeName:!0});const a=n!==void 0?n.storeName:!1,o=n!==void 0?n.overwrite:!1;if(a){const d=this.original.slice(e,r);Object.defineProperty(this.storedNames,d,{writable:!0,value:!0,enumerable:!0})}const h=this.byStart[e],c=this.byEnd[r];if(h){let d=h;for(;d!==c;){if(d.next!==this.byStart[d.end])throw new Error("Cannot overwrite across a split point");d=d.next,d.edit("",!1)}h.edit(i,a,!o)}else{const d=new ci(e,r,"").edit(i,a);c.next=d,d.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let i=this.byStart[e];for(;i;)i.intro="",i.outro="",i.edit(""),i=r>i.end?this.byStart[i.end]:null;return this}reset(e,r){if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let i=this.byStart[e];for(;i;)i.reset(),i=r>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(hi);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(e=i.outro.lastIndexOf(hi),e!==-1)return i.outro.substr(e+1)+r;r=i.outro+r}if(i.content.length>0){if(e=i.content.lastIndexOf(hi),e!==-1)return i.content.substr(e+1)+r;r=i.content+r}if(i.intro.length>0){if(e=i.intro.lastIndexOf(hi),e!==-1)return i.intro.substr(e+1)+r;r=i.intro+r}}while(i=i.previous);return e=this.intro.lastIndexOf(hi),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length){if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let i="",n=this.firstChunk;for(;n&&(n.start>e||n.end<=e);){if(n.start<r&&n.end>=r)return i;n=n.next}if(n&&n.edited&&n.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const a=n;for(;n;){n.intro&&(a!==n||n.start===e)&&(i+=n.intro);const o=n.start<r&&n.end>=r;if(o&&n.edited&&n.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const h=a===n?e-n.start:0,c=o?n.content.length+r-n.end:n.content.length;if(i+=n.content.slice(h,c),n.outro&&(!o||n.end===r)&&(i+=n.outro),o)break;n=n.next}return i}snip(e,r){const i=this.clone();return i.remove(0,e),i.remove(r,i.original.length),i}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk;const i=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);r=i?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(e,r){if(e.edited&&e.content.length){const n=u1(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} \u2013 "${e.original}")`)}const i=e.split(r);return this.byEnd[r]=e,this.byStart[r]=i,this.byEnd[i.end]=i,e===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let i=this.lastChunk;do{const n=i.end,a=i.trimEnd(r);if(i.end!==n&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),a)return!0;i=i.previous}while(i);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let i=this.firstChunk;do{const n=i.end,a=i.trimStart(r);if(i.end!==n&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),a)return!0;i=i.next}while(i);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function i(a,o){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(h,c)=>c==="$"?"$":c==="&"?a[0]:+c<a.length?a[+c]:`$${c}`):r(...a,a.index,o,a.groups)}function n(a,o){let h;const c=[];for(;h=a.exec(o);)c.push(h);return c}if(e.global)n(e,this.original).forEach(o=>{if(o.index!=null){const h=i(o,this.original);h!==o[0]&&this.overwrite(o.index,o.index+o[0].length,h)}});else{const a=this.original.match(e);if(a&&a.index!=null){const o=i(a,this.original);o!==a[0]&&this.overwrite(a.index,a.index+a[0].length,o)}}return this}_replaceString(e,r){const{original:i}=this,n=i.indexOf(e);return n!==-1&&this.overwrite(n,n+e.length,r),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){const{original:i}=this,n=e.length;for(let a=i.indexOf(e);a!==-1;a=i.indexOf(e,a+n))i.slice(a,a+n)!==r&&this.overwrite(a,a+n,r);return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}}var l1,c1;class ew{constructor(e,r){this.descriptor=e,this.options=r,this.isCE=!1,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new ds(this.source),this.startOffset=(l1=this.descriptor.scriptSetup)==null?void 0:l1.loc.start.offset,this.endOffset=(c1=this.descriptor.scriptSetup)==null?void 0:c1.loc.end.offset,this.userImports=Object.create(null),this.hasDefinePropsCall=!1,this.hasDefineEmitCall=!1,this.hasDefineExposeCall=!1,this.hasDefaultExportName=!1,this.hasDefaultExportRender=!1,this.hasDefineOptionsCall=!1,this.hasDefineSlotsCall=!1,this.hasDefineModelCall=!1,this.propsDestructuredBindings=Object.create(null),this.modelDecls=Object.create(null),this.bindingMetadata={},this.helperImports=new Set;const{script:i,scriptSetup:n}=e,a=i&&i.lang,o=n&&n.lang;this.isJS=a==="js"||a==="jsx"||o==="js"||o==="jsx",this.isTS=a==="ts"||a==="tsx"||o==="ts"||o==="tsx";const h=r.customElement,c=this.descriptor.filename;h&&(this.isCE=typeof h=="boolean"?h:h(c));const d=sc(a||o,r.babelParserPlugins);function f(m,y){try{return Dt.parse(m,{plugins:d,sourceType:"module"}).program}catch(b){throw b.message=`[vue/compiler-sfc] ${b.message}
|
|
123
|
+
|
|
124
|
+
${e.filename}
|
|
125
|
+
${Ts(e.source,b.pos+y,b.pos+y+1)}`,b}}this.scriptAst=e.script&&f(e.script.content,e.script.loc.start.offset),this.scriptSetupAst=e.scriptSetup&&f(e.scriptSetup.content,this.startOffset)}helper(e){return this.helperImports.add(e),`_${e}`}getString(e,r=!0){return(r?this.descriptor.scriptSetup:this.descriptor.script).content.slice(e.start,e.end)}warn(e,r,i){$n(h1(e,r,this,i))}error(e,r,i){throw new Error(`[@vue/compiler-sfc] ${h1(e,r,this,i)}`)}}function h1(t,e,r,i){const n=i?i.offset:r.startOffset;return`${t}
|
|
126
|
+
|
|
127
|
+
${(i||r.descriptor).filename}
|
|
128
|
+
${Ts((i||r.descriptor).source,e.start+n,e.end+n)}`}function sc(t,e,r=!1){const i=[];return(!e||!e.some(n=>n==="importAssertions"||n==="importAttributes"||qe(n)&&n[0]==="importAttributes"))&&i.push("importAttributes"),t==="jsx"||t==="tsx"||t==="mtsx"?i.push("jsx"):e&&(e=e.filter(n=>n!=="jsx")),(t==="ts"||t==="mts"||t==="tsx"||t==="mtsx")&&(i.push(["typescript",{dts:r}],"explicitResourceManagement"),(!e||!e.includes("decorators"))&&i.push("decorators-legacy")),e&&i.push(...e),i}function tw(t,e,r){if(!rw(t)){e.append(`
|
|
129
|
+
const ${r} = {}`);return}t.forEach(i=>{if(i.type==="ExportDefaultDeclaration")if(i.declaration.type==="ClassDeclaration"&&i.declaration.id){let n=i.declaration.decorators&&i.declaration.decorators.length>0?i.declaration.decorators[i.declaration.decorators.length-1].end:i.start;e.overwrite(n,i.declaration.id.start," class "),e.append(`
|
|
130
|
+
const ${r} = ${i.declaration.id.name}`)}else e.overwrite(i.start,i.declaration.start,`const ${r} = `);else if(i.type==="ExportNamedDeclaration"){for(const n of i.specifiers)if(n.type==="ExportSpecifier"&&n.exported.type==="Identifier"&&n.exported.name==="default"){if(i.source)if(n.local.name==="default"){e.prepend(`import { default as __VUE_DEFAULT__ } from '${i.source.value}'
|
|
131
|
+
`);const o=ic(e,n.local.end,i.end);e.remove(n.start,o),e.append(`
|
|
132
|
+
const ${r} = __VUE_DEFAULT__`);continue}else{e.prepend(`import { ${e.slice(n.local.start,n.local.end)} as __VUE_DEFAULT__ } from '${i.source.value}'
|
|
133
|
+
`);const o=ic(e,n.exported.end,i.end);e.remove(n.start,o),e.append(`
|
|
134
|
+
const ${r} = __VUE_DEFAULT__`);continue}const a=ic(e,n.end,i.end);e.remove(n.start,a),e.append(`
|
|
135
|
+
const ${r} = ${n.local.name}`)}}})}function rw(t){for(const e of t){if(e.type==="ExportDefaultDeclaration")return!0;if(e.type==="ExportNamedDeclaration"&&e.specifiers.some(r=>r.exported.name==="default"))return!0}return!1}function ic(t,e,r){let i=!1,n=e;for(;e<r;)if(/\s/.test(t.slice(e,e+1)))e++;else if(t.slice(e,e+1)===","){e++,i=!0;break}else if(t.slice(e,e+1)==="}")break;return i?e:n}var sw=Object.defineProperty,iw=Object.defineProperties,nw=Object.getOwnPropertyDescriptors,f1=Object.getOwnPropertySymbols,aw=Object.prototype.hasOwnProperty,ow=Object.prototype.propertyIsEnumerable,p1=(t,e,r)=>e in t?sw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,uw=(t,e)=>{for(var r in e||(e={}))aw.call(e,r)&&p1(t,r,e[r]);if(f1)for(var r of f1(e))ow.call(e,r)&&p1(t,r,e[r]);return t},lw=(t,e)=>iw(t,nw(e));const ms="__default__";function cw(t,e){var r;const i=t.descriptor.script;if(i.lang&&!t.isJS&&!t.isTS)return i;try{let n=i.content,a=i.map;const o=t.scriptAst,h=s1(o.body),{cssVars:c}=t.descriptor,{genDefaultAs:d,isProd:f}=t.options;if(c.length||d){const m=d||ms,y=new ds(n);tw(o.body,y,m),n=y.toString(),c.length&&!((r=t.options.templateOptions)!=null&&r.ssr)&&(n+=rv(c,h,e,!!f,m)),d||(n+=`
|
|
136
|
+
export default ${m}`)}return lw(uw({},i),{content:n,map:a,bindings:h,scriptAst:o.body})}catch(n){return i}}var hw=Object.defineProperty,fw=Object.defineProperties,pw=Object.getOwnPropertyDescriptors,d1=Object.getOwnPropertySymbols,dw=Object.prototype.hasOwnProperty,mw=Object.prototype.propertyIsEnumerable,m1=(t,e,r)=>e in t?hw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_a=(t,e)=>{for(var r in e||(e={}))dw.call(e,r)&&m1(t,r,e[r]);if(d1)for(var r of d1(e))mw.call(e,r)&&m1(t,r,e[r]);return t},Pa=(t,e)=>fw(t,pw(e));class nc{constructor(e,r,i=0,n=Object.create(null),a=Object.create(null),o=Object.create(null)){this.filename=e,this.source=r,this.offset=i,this.imports=n,this.types=a,this.declares=o,this.isGenericScope=!1,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}}function rt(t,e,r,i){const n=!i;if(n&&e._resolvedElements)return e._resolvedElements;const a=gw(t,e,e._ownerScope||r||Ca(t),i);return n?e._resolvedElements=a:a}function gw(t,e,r,i){var n,a;if(e.leadingComments&&e.leadingComments.some(o=>o.value.includes("@vue-ignore")))return{props:{}};switch(e.type){case"TSTypeLiteral":return g1(t,e.members,r,i);case"TSInterfaceDeclaration":return yw(t,e,r,i);case"TSTypeAliasDeclaration":case"TSTypeAnnotation":case"TSParenthesizedType":return rt(t,e.typeAnnotation,r,i);case"TSFunctionType":return{props:{},calls:[e]};case"TSUnionType":case"TSIntersectionType":return y1(e.types.map(o=>rt(t,o,r,i)),e.type);case"TSMappedType":return bw(t,e,r,i);case"TSIndexedAccessType":{const o=b1(t,e,r);return y1(o.map(h=>rt(t,h,h._ownerScope)),"TSUnionType")}case"TSExpressionWithTypeArguments":case"TSTypeReference":{const o=uc(e);if((o==="ExtractPropTypes"||o==="ExtractPublicPropTypes")&&e.typeParameters&&((n=r.imports[o])==null?void 0:n.source)==="vue")return P1(rt(t,e.typeParameters.params[0],r,i),r);const h=Gt(t,e,r);if(h){let c;return(h.type==="TSTypeAliasDeclaration"||h.type==="TSInterfaceDeclaration")&&h.typeParameters&&e.typeParameters&&(c=Object.create(null),h.typeParameters.params.forEach((d,f)=>{let m=i&&i[d.name];m||(m=e.typeParameters.params[f]),c[d.name]=m})),rt(t,h,h._ownerScope,c)}else{if(typeof o=="string"){if(i&&i[o])return rt(t,i[o],r,i);if(vw.has(o))return Sw(t,e,o,r,i);if(o==="ReturnType"&&e.typeParameters){const c=Iw(t,e.typeParameters.params[0],r);if(c)return rt(t,c,r)}}return t.error("Unresolvable type reference or unsupported built-in utility type",e,r)}}case"TSImportType":{if($r(e.argument)==="vue"&&((a=e.qualifier)==null?void 0:a.type)==="Identifier"&&e.qualifier.name==="ExtractPropTypes"&&e.typeParameters)return P1(rt(t,e.typeParameters.params[0],r),r);const o=Aa(t,e.argument,r,e.argument.value),h=Gt(t,e,o);if(h)return rt(t,h,h._ownerScope);break}case"TSTypeQuery":{const o=Gt(t,e,r);if(o)return rt(t,o,o._ownerScope)}break}return t.error(`Unresolvable type: ${e.type}`,e,r)}function g1(t,e,r=Ca(t),i){const n={props:{}};for(const a of e)if(a.type==="TSPropertySignature"||a.type==="TSMethodSignature"){i&&(r=cc(r),r.isGenericScope=!0,Object.assign(r.types,i)),a._ownerScope=r;const o=$r(a.key);if(o&&!a.computed)n.props[o]=a;else if(a.key.type==="TemplateLiteral")for(const h of ac(t,a.key,r))n.props[h]=a;else t.error("Unsupported computed key in type referenced by a macro",a.key,r)}else a.type==="TSCallSignatureDeclaration"&&(n.calls||(n.calls=[])).push(a);return n}function y1(t,e){if(t.length===1)return t[0];const r={props:{}},{props:i}=r;for(const{props:n,calls:a}of t){for(const o in n)ja(i,o)?i[o]=fi(i[o].key,{type:e,types:[i[o],n[o]]},i[o]._ownerScope,i[o].optional||n[o].optional):i[o]=n[o];a&&(r.calls||(r.calls=[])).push(...a)}return r}function fi(t,e,r,i){return{type:"TSPropertySignature",key:t,kind:"get",optional:i,typeAnnotation:{type:"TSTypeAnnotation",typeAnnotation:e},_ownerScope:r}}function yw(t,e,r,i){const n=g1(t,e.body.body,e._ownerScope,i);if(e.extends)for(const a of e.extends)try{const{props:o,calls:h}=rt(t,a,r);for(const c in o)ja(n.props,c)||(n.props[c]=o[c]);h&&(n.calls||(n.calls=[])).push(...h)}catch(o){t.error(`Failed to resolve extends base type.
|
|
137
|
+
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
|
|
138
|
+
|
|
139
|
+
interface Props extends /* @vue-ignore */ Base {}
|
|
140
|
+
|
|
141
|
+
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,a,r)}return n}function bw(t,e,r,i){const n={props:{}};let a;if(e.nameType){const{name:o,constraint:h}=e.typeParameter;r=cc(r),Object.assign(r.types,Pa(_a({},i),{[o]:h})),a=Vt(t,e.nameType,r)}else a=Vt(t,e.typeParameter.constraint,r);for(const o of a)n.props[o]=fi({type:"Identifier",name:o},e.typeAnnotation,r,!!e.optional);return n}function b1(t,e,r){var i,n;if(e.indexType.type==="TSNumberKeyword")return v1(t,e.objectType,r);const{indexType:a,objectType:o}=e,h=[];let c,d;a.type==="TSStringKeyword"?(d=rt(t,o,r),c=Object.keys(d.props)):(c=Vt(t,a,r),d=rt(t,o,r));for(const f of c){const m=(n=(i=d.props[f])==null?void 0:i.typeAnnotation)==null?void 0:n.typeAnnotation;m&&(m._ownerScope=d.props[f]._ownerScope,h.push(m))}return h}function v1(t,e,r){if(e.type==="TSArrayType")return[e.elementType];if(e.type==="TSTupleType")return e.elementTypes.map(i=>i.type==="TSNamedTupleMember"?i.elementType:i);if(e.type==="TSTypeReference"){if(uc(e)==="Array"&&e.typeParameters)return e.typeParameters.params;{const i=Gt(t,e,r);if(i)return v1(t,i,r)}}return t.error("Failed to resolve element type from target type",e,r)}function Vt(t,e,r){switch(e.type){case"StringLiteral":return[e.value];case"TSLiteralType":return Vt(t,e.literal,r);case"TSUnionType":return e.types.map(i=>Vt(t,i,r)).flat();case"TemplateLiteral":return ac(t,e,r);case"TSTypeReference":{const i=Gt(t,e,r);if(i)return Vt(t,i,r);if(e.typeName.type==="Identifier"){const n=(a=0)=>Vt(t,e.typeParameters.params[a],r);switch(e.typeName.name){case"Extract":return n(1);case"Exclude":{const a=n(1);return n().filter(o=>!a.includes(o))}case"Uppercase":return n().map(a=>a.toUpperCase());case"Lowercase":return n().map(a=>a.toLowerCase());case"Capitalize":return n().map(cr);case"Uncapitalize":return n().map(a=>a[0].toLowerCase()+a.slice(1));default:t.error("Unsupported type when resolving index type",e.typeName,r)}}}}return t.error("Failed to resolve index type into finite keys",e,r)}function ac(t,e,r){if(!e.expressions.length)return[e.quasis[0].value.raw];const i=[],n=e.expressions[0],a=e.quasis[0],o=a?a.value.raw:"",h=Vt(t,n,r),c=ac(t,Pa(_a({},e),{expressions:e.expressions.slice(1),quasis:a?e.quasis.slice(1):e.quasis}),r);for(const d of h)for(const f of c)i.push(o+d+f);return i}const vw=new Set(["Partial","Required","Readonly","Pick","Omit"]);function Sw(t,e,r,i,n){const a=rt(t,e.typeParameters.params[0],i,n);switch(r){case"Partial":{const c={props:{},calls:a.calls};return Object.keys(a.props).forEach(d=>{c.props[d]=Pa(_a({},a.props[d]),{optional:!0})}),c}case"Required":{const c={props:{},calls:a.calls};return Object.keys(a.props).forEach(d=>{c.props[d]=Pa(_a({},a.props[d]),{optional:!1})}),c}case"Readonly":return a;case"Pick":{const c=Vt(t,e.typeParameters.params[1],i),d={props:{},calls:a.calls};for(const f of c)d.props[f]=a.props[f];return d}case"Omit":const o=Vt(t,e.typeParameters.params[1],i),h={props:{},calls:a.calls};for(const c in a.props)o.includes(c)||(h.props[c]=a.props[c]);return h}}function Gt(t,e,r,i,n=!1){const a=!(r!=null&&r.isGenericScope);if(a&&e._resolvedReference)return e._resolvedReference;const o=oc(t,r||Ca(t),i||uc(e),e,n);return a?e._resolvedReference=o:o}function oc(t,e,r,i,n){if(typeof r=="string"){if(e.imports[r])return Ew(t,i,r,e);{const a=i.type==="TSTypeQuery"?n?e.exportedDeclares:e.declares:n?e.exportedTypes:e.types;if(a[r])return a[r];{const o=xw(t);if(o)for(const h of o){const c=i.type==="TSTypeQuery"?h.declares:h.types;if(c[r])return(t.deps||(t.deps=new Set)).add(h.filename),c[r]}}}}else{let a=oc(t,e,r[0],i,n);if(a&&(a.type!=="TSModuleDeclaration"&&(a=a._ns),a)){const o=Tw(t,a,a._ownerScope||e);return oc(t,o,r.length>2?r.slice(1):r[r.length-1],i,!a.declare)}}}function uc(t){const e=t.type==="TSTypeReference"?t.typeName:t.type==="TSExpressionWithTypeArguments"?t.expression:t.type==="TSImportType"?t.qualifier:t.exprName;return(e==null?void 0:e.type)==="Identifier"?e.name:(e==null?void 0:e.type)==="TSQualifiedName"?S1(e):"default"}function S1(t){return t.type==="Identifier"?[t.name]:[...S1(t.left),t.right.name]}function xw(t){if(t.options.globalTypeFiles){if(!lc(t))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return t.options.globalTypeFiles.map(r=>w1(t,t1(r),!0))}}function lc(t){if(t.fs)return t.fs;const e=t.options.fs||void 0;if(e)return t.fs={fileExists(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),e.fileExists(r)},readFile(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),e.readFile(r)},realpath:e.realpath}}function Ew(t,e,r,i){const{source:n,imported:a}=i.imports[r],o=Aa(t,e,i,n);return Gt(t,e,o,a,!0)}function Aa(t,e,r,i){let n;try{n=lc(t)}catch(o){return t.error(o.message,e,r)}if(!n)return t.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",e,r);let a=r.resolvedImportSources[i];if(!a){if(i.startsWith("..")){const h=ui(En(r.filename),i);a=x1(h,n)}else if(i[0]==="."){const o=ui(En(r.filename),i);a=x1(o,n)}else return t.error("Type import from non-relative sources is not supported in the browser build.",e,r);a&&(a=r.resolvedImportSources[i]=t1(a))}return a?((t.deps||(t.deps=new Set)).add(a),w1(t,a)):t.error(`Failed to resolve import source ${JSON.stringify(i)}.`,e,r)}function x1(t,e){t=t.replace(/\.js$/,"");const r=i=>{if(e.fileExists(i))return i};return r(t)||r(t+".ts")||r(t+".tsx")||r(t+".d.ts")||r(ui(t,"index.ts"))||r(ui(t,"index.tsx"))||r(ui(t,"index.d.ts"))}const E1=ru();function w1(t,e,r=!1){const i=E1.get(e);if(i)return i;const a=lc(t).readFile(e)||"",o=ww(e,a,t.options.babelParserPlugins),h=new nc(e,a,0,_1(o));return hc(t,o,h,r),E1.set(e,h),h}function ww(t,e,r){const i=au(t);if(i===".ts"||i===".mts"||i===".tsx"||i===".mtsx")return Dt.parse(e,{plugins:sc(i.slice(1),r,/\.d\.m?ts$/.test(t)),sourceType:"module"}).program.body;if(i===".vue"){const{descriptor:{script:n,scriptSetup:a}}=zf(e);if(!n&&!a)return[];const o=n?n.loc.start.offset:1/0,h=a?a.loc.start.offset:1/0,c=o<h?n:a,d=o<h?a:n;let f=" ".repeat(Math.min(o,h))+c.content;d&&(f+=" ".repeat(d.loc.start.offset-n.loc.end.offset)+d.content);const m=(n==null?void 0:n.lang)||(a==null?void 0:a.lang);return Dt.parse(f,{plugins:sc(m,r),sourceType:"module"}).program.body}return[]}function Ca(t){if(t.scope)return t.scope;const e="ast"in t?t.ast:t.scriptAst?[...t.scriptAst.body,...t.scriptSetupAst.body]:t.scriptSetupAst.body,r=new nc(t.filename,t.source,"startOffset"in t?t.startOffset:0,"userImports"in t?Object.create(t.userImports):_1(e));return hc(t,e,r),t.scope=r}function Tw(t,e,r){if(e._resolvedChildScope)return e._resolvedChildScope;const i=cc(r);if(e.body.type==="TSModuleDeclaration"){const n=e.body;n._ownerScope=i;const a=$r(n.id);i.types[a]=i.exportedTypes[a]=n}else hc(t,e.body.body,i);return e._resolvedChildScope=i}function cc(t){return new nc(t.filename,t.source,t.offset,Object.create(t.imports),Object.create(t.types),Object.create(t.declares))}const _w=/^Import|^Export/;function hc(t,e,r,i=!1){const{types:n,declares:a,exportedTypes:o,exportedDeclares:h,imports:c}=r,d=i?!e.some(f=>_w.test(f.type)):!1;for(const f of e)if(i){if(d)f.declare&&Ur(f,n,a);else if(f.type==="TSModuleDeclaration"&&f.global)for(const m of f.body.body)Ur(m,n,a)}else Ur(f,n,a);if(!i)for(const f of e)if(f.type==="ExportNamedDeclaration"){if(f.declaration)Ur(f.declaration,n,a),Ur(f.declaration,o,h);else for(const m of f.specifiers)if(m.type==="ExportSpecifier"){const y=m.local.name,b=$r(m.exported);f.source?(c[b]={source:f.source.value,imported:y},o[b]={type:"TSTypeReference",typeName:{type:"Identifier",name:y},_ownerScope:r}):n[y]&&(o[b]=n[y])}}else if(f.type==="ExportAllDeclaration"){const m=Aa(t,f.source,r,f.source.value);Object.assign(r.exportedTypes,m.exportedTypes)}else f.type==="ExportDefaultDeclaration"&&f.declaration&&(f.declaration.type!=="Identifier"?(Ur(f.declaration,n,a,"default"),Ur(f.declaration,o,h,"default")):n[f.declaration.name]&&(o.default=n[f.declaration.name]));for(const f of Object.keys(n)){const m=n[f];m._ownerScope=r,m._ns&&(m._ns._ownerScope=r)}for(const f of Object.keys(a))a[f]._ownerScope=r}function Ur(t,e,r,i){switch(t.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{const n=i||$r(t.id);let a=e[n];if(a){if(t.type==="TSModuleDeclaration"){a.type==="TSModuleDeclaration"?fc(a,t):T1(a,t);break}if(a.type==="TSModuleDeclaration"){e[n]=t,T1(t,a);break}if(a.type!==t.type)break;t.type==="TSInterfaceDeclaration"?a.body.body.push(...t.body.body):a.members.push(...t.members)}else e[n]=t;break}case"ClassDeclaration":(i||t.id)&&(e[i||$r(t.id)]=t);break;case"TSTypeAliasDeclaration":e[t.id.name]=t.typeParameters?t:t.typeAnnotation;break;case"TSDeclareFunction":t.id&&(r[t.id.name]=t);break;case"VariableDeclaration":{if(t.declare)for(const n of t.declarations)n.id.type==="Identifier"&&n.id.typeAnnotation&&(r[n.id.name]=n.id.typeAnnotation.typeAnnotation);break}}}function fc(t,e){const r=t.body,i=e.body;r.type==="TSModuleDeclaration"?i.type==="TSModuleDeclaration"?fc(r,i):i.body.push({type:"ExportNamedDeclaration",declaration:r,exportKind:"type",specifiers:[]}):i.type==="TSModuleDeclaration"?r.body.push({type:"ExportNamedDeclaration",declaration:i,exportKind:"type",specifiers:[]}):r.body.push(...i.body)}function T1(t,e){t._ns?fc(t._ns,e):t._ns=e}function _1(t){const e=Object.create(null);for(const r of t)Pw(r,e);return e}function Pw(t,e){if(t.type==="ImportDeclaration")for(const r of t.specifiers)e[r.local.name]={imported:ec(r),source:t.source.value}}function st(t,e,r=e._ownerScope||Ca(t),i=!1){try{switch(e.type){case"TSStringKeyword":return["String"];case"TSNumberKeyword":return["Number"];case"TSBooleanKeyword":return["Boolean"];case"TSObjectKeyword":return["Object"];case"TSNullKeyword":return["null"];case"TSTypeLiteral":case"TSInterfaceDeclaration":{const n=new Set,a=e.type==="TSTypeLiteral"?e.members:e.body.body;for(const o of a)if(i)if(o.type==="TSPropertySignature"&&o.key.type==="NumericLiteral")n.add("Number");else if(o.type==="TSIndexSignature"){const h=o.parameters[0].typeAnnotation;if(h&&h.type!=="Noop"){const c=st(t,h.typeAnnotation,r)[0];if(c===jt)return[jt];n.add(c)}}else n.add("String");else o.type==="TSCallSignatureDeclaration"||o.type==="TSConstructSignatureDeclaration"?n.add("Function"):n.add("Object");return n.size?Array.from(n):[i?jt:"Object"]}case"TSPropertySignature":if(e.typeAnnotation)return st(t,e.typeAnnotation.typeAnnotation,r);break;case"TSMethodSignature":case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(e.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return[jt]}case"TSTypeReference":{const n=Gt(t,e,r);if(n)return st(t,n,n._ownerScope,i);if(e.typeName.type==="Identifier")if(i)switch(e.typeName.name){case"String":case"Array":case"ArrayLike":case"Parameters":case"ConstructorParameters":case"ReadonlyArray":return["String","Number"];case"Record":case"Partial":case"Required":case"Readonly":if(e.typeParameters&&e.typeParameters.params[0])return st(t,e.typeParameters.params[0],r,!0);break;case"Pick":case"Extract":if(e.typeParameters&&e.typeParameters.params[1])return st(t,e.typeParameters.params[1],r);break;case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":case"Uppercase":case"Lowercase":case"Capitalize":case"Uncapitalize":case"ReadonlyMap":case"ReadonlySet":return["String"]}else switch(e.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":return[e.typeName.name];case"Partial":case"Required":case"Readonly":case"Record":case"Pick":case"Omit":case"InstanceType":return["Object"];case"Uppercase":case"Lowercase":case"Capitalize":case"Uncapitalize":return["String"];case"Parameters":case"ConstructorParameters":case"ReadonlyArray":return["Array"];case"ReadonlyMap":return["Map"];case"ReadonlySet":return["Set"];case"NonNullable":if(e.typeParameters&&e.typeParameters.params[0])return st(t,e.typeParameters.params[0],r).filter(a=>a!=="null");break;case"Extract":if(e.typeParameters&&e.typeParameters.params[1])return st(t,e.typeParameters.params[1],r);break;case"Exclude":case"OmitThisParameter":if(e.typeParameters&&e.typeParameters.params[0])return st(t,e.typeParameters.params[0],r);break}break}case"TSParenthesizedType":return st(t,e.typeAnnotation,r);case"TSUnionType":return pc(t,e.types,r,i);case"TSIntersectionType":return pc(t,e.types,r,i).filter(n=>n!==jt);case"TSEnumDeclaration":return Aw(e);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":{const n=b1(t,e,r);return pc(t,n,r,i)}case"ClassDeclaration":return["Object"];case"TSImportType":{const n=Aa(t,e.argument,r,e.argument.value),a=Gt(t,e,n);if(a)return st(t,a,a._ownerScope);break}case"TSTypeQuery":{const n=e.exprName;if(n.type==="Identifier"){const a=r.declares[n.name];if(a)return st(t,a,a._ownerScope,i)}break}case"TSTypeOperator":return st(t,e.typeAnnotation,r,e.operator==="keyof");case"TSAnyKeyword":{if(i)return["String","Number","Symbol"];break}}}catch(n){}return[jt]}function pc(t,e,r,i=!1){return e.length===1?st(t,e[0],r,i):[...new Set([].concat(...e.map(n=>st(t,n,r,i))))]}function Aw(t){const e=new Set;for(const r of t.members)if(r.initializer)switch(r.initializer.type){case"StringLiteral":e.add("String");break;case"NumericLiteral":e.add("Number");break}return e.size?[...e]:["Number"]}function P1({props:t},e){const r={props:{}};for(const i in t){const n=t[i];r.props[i]=dc(n.key,n.typeAnnotation.typeAnnotation,e)}return r}function dc(t,e,r,i=!0,n=!0){if(n&&e.type==="TSTypeLiteral"){const a=A1(e,"type");if(a){const o=A1(e,"required"),h=o&&o.type==="TSLiteralType"&&o.literal.type==="BooleanLiteral"?!o.literal.value:!0;return dc(t,a,r,h,!1)}}else if(e.type==="TSTypeReference"&&e.typeName.type==="Identifier"){if(e.typeName.name.endsWith("Constructor"))return fi(t,Cw(e.typeName.name),r,i);if(e.typeName.name==="PropType"&&e.typeParameters)return fi(t,e.typeParameters.params[0],r,i)}if((e.type==="TSTypeReference"||e.type==="TSImportType")&&e.typeParameters)for(const a of e.typeParameters.params){const o=dc(t,a,r,i);if(o)return o}return fi(t,{type:"TSNullKeyword"},r,i)}function Cw(t){const e=t.slice(0,-11);switch(e){case"String":case"Number":case"Boolean":return{type:`TS${e}Keyword`};case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":return{type:"TSTypeReference",typeName:{type:"Identifier",name:e}}}return{type:"TSNullKeyword"}}function A1(t,e){const r=t.members.find(i=>i.type==="TSPropertySignature"&&!i.computed&&$r(i.key)===e&&i.typeAnnotation);return r&&r.typeAnnotation.typeAnnotation}function Iw(t,e,r){var i;let n=e;if((e.type==="TSTypeReference"||e.type==="TSTypeQuery"||e.type==="TSImportType")&&(n=Gt(t,e,r)),!!n){if(n.type==="TSFunctionType")return(i=n.typeAnnotation)==null?void 0:i.typeAnnotation;if(n.type==="TSDeclareFunction")return n.returnType}}function C1(t,e,r){if(e.type==="TSTypeReference"){const n=Gt(t,e,r);n&&(e=n)}let i;return e.type==="TSUnionType"?i=e.types.flatMap(n=>C1(t,n,r)):i=[e],i}const Ia="defineModel";function I1(t,e,r){if(!nt(e,Ia))return!1;t.hasDefineModelCall=!0;const i=e.typeParameters&&e.typeParameters.params[0]||void 0;let n,a;const o=e.arguments[0]&&vt(e.arguments[0]),h=o&&o.type==="StringLiteral";h?(n=o.value,a=e.arguments[1]):(n="modelValue",a=o),t.modelDecls[n]&&t.error(`duplicate model name ${JSON.stringify(n)}`,e);let c=a&&t.getString(a),d=!a;const f=[];if(a&&a.type==="ObjectExpression"&&!a.properties.some(m=>m.type==="SpreadElement"||m.computed)){let m=0;for(let y=a.properties.length-1;y>=0;y--){const b=a.properties[y],x=a.properties[y+1],v=b.start,g=x?x.start:a.end-1;(b.type==="ObjectProperty"||b.type==="ObjectMethod")&&(b.key.type==="Identifier"&&(b.key.name==="get"||b.key.name==="set")||b.key.type==="StringLiteral"&&(b.key.value==="get"||b.key.value==="set"))?c=c.slice(0,v-a.start)+c.slice(g-a.start):(m++,t.s.remove(t.startOffset+v,t.startOffset+g),f.push(b))}m===a.properties.length&&(d=!0,t.s.remove(t.startOffset+(h?o.end:a.start),t.startOffset+a.end))}return t.modelDecls[n]={type:i,options:c,runtimeOptionNodes:f,identifier:r&&r.type==="Identifier"?r.name:void 0},t.bindingMetadata[n]="props",t.s.overwrite(t.startOffset+e.callee.start,t.startOffset+e.callee.end,t.helper("useModel")),t.s.appendLeft(t.startOffset+(e.arguments.length?e.arguments[0].start:e.end-1),"__props, "+(h?"":`${JSON.stringify(n)}${d?"":", "}`)),!0}function Nw(t){if(!t.hasDefineModelCall)return;const e=!!t.options.isProd;let r="";for(const[i,{type:n,options:a}]of Object.entries(t.modelDecls)){let o=!1,h="",c=n&&st(t,n);if(c){const m=c.includes("Boolean"),y=c.includes("Function");c.includes(jt)&&(m||y?(c=c.filter(x=>x!==jt),o=!0):c=["null"]),e?(m||a&&y)&&(h=`type: ${fs(c)}`):h=`type: ${fs(c)}`+(o?", skipCheck: true":"")}let d;h&&a?d=t.isTS?`{ ${h}, ...${a} }`:`Object.assign({ ${h} }, ${a})`:h?d=`{ ${h} }`:a?d=a:d="{}",r+=`
|
|
142
|
+
${JSON.stringify(i)}: ${d},`;const f=JSON.stringify(i==="modelValue"?"modelModifiers":`${i}Modifiers`);r+=`
|
|
143
|
+
${f}: {},`}return`{${r}
|
|
144
|
+
}`}const Je="defineProps",qr="withDefaults";function mc(t,e,r,i=!1){if(!nt(e,Je))return Ow(t,e,r);if(t.hasDefinePropsCall&&t.error(`duplicate ${Je}() call`,e),t.hasDefinePropsCall=!0,t.propsRuntimeDecl=e.arguments[0],t.propsRuntimeDecl)for(const n of rc(t.propsRuntimeDecl))n in t.bindingMetadata||(t.bindingMetadata[n]="props");return e.typeParameters&&(t.propsRuntimeDecl&&t.error(`${Je}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,e),t.propsTypeDecl=e.typeParameters.params[0]),!i&&r&&r.type==="ObjectPattern"&&Bw(t,r),t.propsCall=e,t.propsDecl=r,!0}function Ow(t,e,r){return nt(e,qr)?(mc(t,e.arguments[0],r,!0)||t.error(`${qr}' first argument must be a ${Je} call.`,e.arguments[0]||e),t.propsRuntimeDecl&&t.error(`${qr} can only be used with type-based ${Je} declaration.`,e),r&&r.type==="ObjectPattern"&&t.warn(`${qr}() is unnecessary when using destructure with ${Je}().
|
|
145
|
+
Reactive destructure will be disabled when using withDefaults().
|
|
146
|
+
Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...). `,e.callee),t.propsRuntimeDefaults=e.arguments[1],t.propsRuntimeDefaults||t.error(`The 2nd argument of ${qr} is required.`,e),t.propsCall=e,!0):!1}function kw(t){let e;if(t.propsRuntimeDecl){if(e=t.getString(t.propsRuntimeDecl).trim(),t.propsDestructureDecl){const i=[];for(const n in t.propsDestructuredBindings){const a=N1(t,n),o=r1(n);a&&i.push(`${o}: ${a.valueString}${a.needSkipFactory?`, __skip_${o}: true`:""}`)}i.length&&(e=`/*@__PURE__*/${t.helper("mergeDefaults")}(${e}, {
|
|
147
|
+
${i.join(`,
|
|
148
|
+
`)}
|
|
149
|
+
})`)}}else t.propsTypeDecl&&(e=Lw(t));const r=Nw(t);return e&&r?`/*@__PURE__*/${t.helper("mergeModels")}(${e}, ${r})`:r||e}function Lw(t){const e=Mw(t,t.propsTypeDecl);if(!e.length)return;const r=[],i=Dw(t);for(const a of e)r.push(Rw(t,a,i)),"bindingMetadata"in t&&!(a.key in t.bindingMetadata)&&(t.bindingMetadata[a.key]="props");let n=`{
|
|
150
|
+
${r.join(`,
|
|
151
|
+
`)}
|
|
152
|
+
}`;return t.propsRuntimeDefaults&&!i&&(n=`/*@__PURE__*/${t.helper("mergeDefaults")}(${n}, ${t.getString(t.propsRuntimeDefaults)})`),n}function Mw(t,e){const r=[],i=rt(t,e);for(const n in i.props){const a=i.props[n];let o=st(t,a),h=!1;o.includes(jt)&&(o.includes("Boolean")||o.includes("Function")?(o=o.filter(c=>c!==jt),h=!0):o=["null"]),r.push({key:n,required:!a.optional,type:o||["null"],skipCheck:h})}return r}function Rw(t,{key:e,required:r,type:i,skipCheck:n},a){let o;const h=N1(t,e,i);if(h)o=`default: ${h.valueString}${h.needSkipFactory?", skipFactory: true":""}`;else if(a){const d=t.propsRuntimeDefaults.properties.find(f=>f.type==="SpreadElement"?!1:Zl(f.key,f.computed)===e);d&&(d.type==="ObjectProperty"?o=`default: ${t.getString(d.value)}`:o=`${d.async?"async ":""}${d.kind!=="method"?`${d.kind} `:""}default() ${t.getString(d.body)}`)}const c=r1(e);return t.options.isProd?i.some(d=>d==="Boolean"||(!a||o)&&d==="Function")?`${c}: { ${Zm([`type: ${fs(i)}`,o])} }`:t.isCE?o?`${c}: ${`{ ${o}, type: ${fs(i)} }`}`:`${c}: {type: ${fs(i)}}`:`${c}: ${o?`{ ${o} }`:"{}"}`:`${c}: { ${Zm([`type: ${fs(i)}`,`required: ${r}`,n&&"skipCheck: true",o])} }`}function Dw(t){return!!(t.propsRuntimeDefaults&&t.propsRuntimeDefaults.type==="ObjectExpression"&&t.propsRuntimeDefaults.properties.every(e=>e.type!=="SpreadElement"&&(!e.computed||e.key.type.endsWith("Literal"))))}function N1(t,e,r){const i=t.propsDestructuredBindings[e],n=i&&i.default;if(n){const a=t.getString(n),o=vt(n);if(r&&r.length&&!r.includes("null")){const d=Fw(o);d&&!r.includes(d)&&t.error(`Default value of prop "${e}" does not match declared type.`,o)}const h=!r&&(dr(o)||o.type==="Identifier");return{valueString:!h&&!e1(o)&&!(r!=null&&r.includes("Function"))?`() => (${a})`:a,needSkipFactory:h}}}function Fw(t){switch(t.type){case"StringLiteral":return"String";case"NumericLiteral":return"Number";case"BooleanLiteral":return"Boolean";case"ObjectExpression":return"Object";case"ArrayExpression":return"Array";case"FunctionExpression":case"ArrowFunctionExpression":return"Function"}}function Bw(t,e){if(t.options.propsDestructure==="error")t.error("Props destructure is explicitly prohibited via config.",e);else if(t.options.propsDestructure===!1)return;t.propsDestructureDecl=e;const r=(i,n,a)=>{t.propsDestructuredBindings[i]={local:n,default:a},n!==i&&(t.bindingMetadata[n]="props-aliased",(t.bindingMetadata.__propsAliases||(t.bindingMetadata.__propsAliases={}))[n]=i)};for(const i of e.properties)if(i.type==="ObjectProperty"){const n=Zl(i.key,i.computed);if(n||t.error(`${Je}() destructure cannot use computed key.`,i.key),i.value.type==="AssignmentPattern"){const{left:a,right:o}=i.value;a.type!=="Identifier"&&t.error(`${Je}() destructure does not support nested patterns.`,a),r(n,a.name,o)}else i.value.type==="Identifier"?r(n,i.value.name):t.error(`${Je}() destructure does not support nested patterns.`,i.value)}else t.propsDestructureRestId=i.argument.name,t.bindingMetadata[t.propsDestructureRestId]="setup-reactive-const"}function $w(t,e){if(t.options.propsDestructure===!1)return;const r=Object.create(null),i=[r];let n=r;const a=new WeakSet,o=[],h=Object.create(null);for(const g in t.propsDestructuredBindings){const{local:T}=t.propsDestructuredBindings[g];r[T]=!0,h[T]=g}function c(){i.push(n=Object.create(n))}function d(){i.pop(),n=i[i.length-1]||null}function f(g){a.add(g),n?n[g.name]=!1:t.error("registerBinding called without active scope, something is wrong.",g)}function m(g,T=!1){for(const E of g.body)if(E.type==="VariableDeclaration")y(E,T);else if(E.type==="FunctionDeclaration"||E.type==="ClassDeclaration"){if(E.declare||!E.id)continue;f(E.id)}else(E.type==="ForOfStatement"||E.type==="ForInStatement")&&E.left.type==="VariableDeclaration"?y(E.left):E.type==="ExportNamedDeclaration"&&E.declaration&&E.declaration.type==="VariableDeclaration"?y(E.declaration,T):E.type==="LabeledStatement"&&E.body.type==="VariableDeclaration"&&y(E.body,T)}function y(g,T=!1){if(!g.declare)for(const E of g.declarations){const C=T&&E.init&&nt(vt(E.init),"defineProps");for(const N of It(E.id))C?a.add(N):f(N)}}function b(g,T,E){(T.type==="AssignmentExpression"&&g===T.left||T.type==="UpdateExpression")&&t.error("Cannot assign to destructured props as they are readonly.",g),Hi(T)&&T.shorthand?(!T.inPattern||zi(T,E))&&t.s.appendLeft(g.end+t.startOffset,`: ${Ei(h[g.name])}`):t.s.overwrite(g.start+t.startOffset,g.end+t.startOffset,Ei(h[g.name]))}function x(g,T,E=T){if(nt(g,E)){const C=vt(g.arguments[0]);C.type==="Identifier"&&n[C.name]&&t.error(`"${C.name}" is a destructured prop and should not be passed directly to ${T}(). Pass a getter () => ${C.name} instead.`,C)}}const v=t.scriptSetupAst;m(v,!0),oo(v,{enter(g,T){if(T&&o.push(T),T&&T.type.startsWith("TS")&&!Xi.includes(T.type))return this.skip();if(x(g,"watch",e.watch),x(g,"toRef",e.toRef),dr(g)){c(),lo(g,f),g.body.type==="BlockStatement"&&m(g.body);return}if(g.type==="CatchClause"){c(),g.param&&g.param.type==="Identifier"&&f(g.param),m(g.body);return}if(g.type==="BlockStatement"&&!dr(T)){c(),m(g);return}g.type==="Identifier"&&uo(g,T,o)&&!a.has(g)&&n[g.name]&&b(g,T,o)},leave(g,T){T&&o.pop(),(g.type==="BlockStatement"&&!dr(T)||dr(g))&&d()}})}const jr="defineEmits";function O1(t,e,r){return nt(e,jr)?(t.hasDefineEmitCall&&t.error(`duplicate ${jr}() call`,e),t.hasDefineEmitCall=!0,t.emitsRuntimeDecl=e.arguments[0],e.typeParameters&&(t.emitsRuntimeDecl&&t.error(`${jr}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,e),t.emitsTypeDecl=e.typeParameters.params[0]),t.emitDecl=r,!0):!1}function Uw(t){let e="";if(t.emitsRuntimeDecl)e=t.getString(t.emitsRuntimeDecl).trim();else if(t.emitsTypeDecl){const r=qw(t);e=r.size?`[${Array.from(r).map(i=>JSON.stringify(i)).join(", ")}]`:""}if(t.hasDefineModelCall){let r=`[${Object.keys(t.modelDecls).map(i=>JSON.stringify(`update:${i}`)).join(", ")}]`;e=e?`/*@__PURE__*/${t.helper("mergeModels")}(${e}, ${r})`:r}return e}function qw(t){const e=new Set,r=t.emitsTypeDecl;if(r.type==="TSFunctionType")return k1(t,r.parameters[0],e),e;const{props:i,calls:n}=rt(t,r);let a=!1;for(const o in i)e.add(o),a=!0;if(n){a&&t.error("defineEmits() type cannot mixed call signature and property syntax.",r);for(const o of n)k1(t,o.parameters[0],e)}return e}function k1(t,e,r){if(e.type==="Identifier"&&e.typeAnnotation&&e.typeAnnotation.type==="TSTypeAnnotation"){const i=C1(t,e.typeAnnotation.typeAnnotation);for(const n of i)n.type==="TSLiteralType"&&n.literal.type!=="UnaryExpression"&&n.literal.type!=="TemplateLiteral"&&r.add(String(n.literal.value))}}const Na="defineExpose";function jw(t,e){return nt(e,Na)?(t.hasDefineExposeCall&&t.error(`duplicate ${Na}() call`,e),t.hasDefineExposeCall=!0,!0):!1}const gs="defineSlots";function L1(t,e,r){return nt(e,gs)?(t.hasDefineSlotsCall&&t.error(`duplicate ${gs}() call`,e),t.hasDefineSlotsCall=!0,e.arguments.length>0&&t.error(`${gs}() cannot accept arguments`,e),r&&t.s.overwrite(t.startOffset+e.start,t.startOffset+e.end,`${t.helper("useSlots")}()`),!0):!1}const zt="defineOptions";function M1(t,e){if(!nt(e,zt))return!1;if(t.hasDefineOptionsCall&&t.error(`duplicate ${zt}() call`,e),e.typeParameters&&t.error(`${zt}() cannot accept type arguments`,e),!e.arguments[0])return!0;t.hasDefineOptionsCall=!0,t.optionsRuntimeDecl=vt(e.arguments[0]);let r,i,n,a;if(t.optionsRuntimeDecl.type==="ObjectExpression"){for(const o of t.optionsRuntimeDecl.properties)if((o.type==="ObjectProperty"||o.type==="ObjectMethod")&&o.key.type==="Identifier")switch(o.key.name){case"props":r=o;break;case"emits":i=o;break;case"expose":n=o;break;case"slots":a=o;break}}return r&&t.error(`${zt}() cannot be used to declare props. Use ${Je}() instead.`,r),i&&t.error(`${zt}() cannot be used to declare emits. Use ${jr}() instead.`,i),n&&t.error(`${zt}() cannot be used to declare expose. Use ${Na}() instead.`,n),a&&t.error(`${zt}() cannot be used to declare slots. Use ${gs}() instead.`,a),!0}function Vw(t,e,r,i){const n=e.argument.extra&&e.argument.extra.parenthesized?e.argument.extra.parenStart:e.argument.start,a=t.startOffset,o=t.descriptor.source.slice(n+a,e.argument.end+a),h=/\bawait\b/.test(o);t.s.overwrite(e.start+a,n+a,`${r?";":""}(
|
|
153
|
+
([__temp,__restore] = ${t.helper("withAsyncContext")}(${h?"async ":""}() => `),t.s.appendLeft(e.end+a,`)),
|
|
154
|
+
${i?"":"__temp = "}await __temp,
|
|
155
|
+
__restore()${i?"":`,
|
|
156
|
+
__temp`}
|
|
157
|
+
)`)}var Gw=Object.defineProperty,zw=Object.defineProperties,Ww=Object.getOwnPropertyDescriptors,R1=Object.getOwnPropertySymbols,Hw=Object.prototype.hasOwnProperty,Xw=Object.prototype.propertyIsEnumerable,D1=(t,e,r)=>e in t?Gw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,pi=(t,e)=>{for(var r in e||(e={}))Hw.call(e,r)&&D1(t,r,e[r]);if(R1)for(var r of R1(e))Xw.call(e,r)&&D1(t,r,e[r]);return t},gc=(t,e)=>zw(t,Ww(e));const Kw=[Je,jr,Na,zt,gs,Ia,qr];function Jw(t,e){var r,i,n;e.id||ei("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");const a=new ew(t,e),{script:o,scriptSetup:h,source:c,filename:d}=t,f=e.hoistStatic!==!1&&!o,m=e.id?e.id.replace(/^data-v-/,""):"",y=o&&o.lang,b=h&&h.lang;if(!h){if(!o)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");return cw(a,m)}if(o&&y!==b)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(b&&!a.isJS&&!a.isTS)return h;const x=Object.create(null),v=Object.create(null);let g,T=!1,E=!1;const C=a.startOffset,N=a.endOffset,A=o&&o.loc.start.offset,L=o&&o.loc.end.offset;function R(q){const V=q.start+C;let B=q.end+C;for(q.trailingComments&&q.trailingComments.length>0&&(B=q.trailingComments[q.trailingComments.length-1].end+C);B<=c.length&&/\s/.test(c.charAt(B));)B++;a.s.move(V,B,0)}function w(q,V,B,G,te,j){let se=j;j&&a.isTS&&t.template&&!t.template.src&&!t.template.lang&&(se=Ff(V,t)),a.userImports[V]={isType:G,imported:B,local:V,source:q,isFromSetup:te,isUsedInTemplate:se}}function I(q,V){q&&Gi(q,B=>{const G=v[B.name];G&&G!=="literal-const"&&a.error(`\`${V}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`,B)})}const k=a.scriptAst,M=a.scriptSetupAst;if(k){for(const q of k.body)if(q.type==="ImportDeclaration")for(const V of q.specifiers){const B=ec(V);w(q.source.value,V.local.name,B,q.importKind==="type"||V.type==="ImportSpecifier"&&V.importKind==="type",!1,!e.inlineTemplate)}}for(const q of M.body)if(q.type==="ImportDeclaration"){R(q);let V=0;const B=G=>{const te=G>V;V++;const j=q.specifiers[G],se=q.specifiers[G+1];a.s.remove(te?q.specifiers[G-1].end+C:j.start+C,se&&!te?se.start+C:j.end+C)};for(let G=0;G<q.specifiers.length;G++){const te=q.specifiers[G],j=te.local.name,se=ec(te),oe=q.source.value,he=a.userImports[j];oe==="vue"&&Kw.includes(se)?(j===se?ei(`\`${se}\` is a compiler macro and no longer needs to be imported.`):a.error(`\`${se}\` is a compiler macro and cannot be aliased to a different name.`,te),B(G)):he?he.source===oe&&he.imported===se?B(G):a.error("different imports aliased to same local name.",te):w(oe,j,se,q.importKind==="type"||te.type==="ImportSpecifier"&&te.importKind==="type",!0,!e.inlineTemplate)}q.specifiers.length&&V===q.specifiers.length&&a.s.remove(q.start+C,q.end+C)}const z={};for(const q in a.userImports){const{source:V,imported:B,local:G}=a.userImports[q];V==="vue"&&(z[B]=G)}if(o&&k){for(const q of k.body)if(q.type==="ExportDefaultDeclaration"){g=q;let V;if(g.declaration.type==="ObjectExpression"?V=g.declaration.properties:g.declaration.type==="CallExpression"&&g.declaration.arguments[0]&&g.declaration.arguments[0].type==="ObjectExpression"&&(V=g.declaration.arguments[0].properties),V)for(const te of V)te.type==="ObjectProperty"&&te.key.type==="Identifier"&&te.key.name==="name"&&(a.hasDefaultExportName=!0),(te.type==="ObjectMethod"||te.type==="ObjectProperty")&&te.key.type==="Identifier"&&te.key.name==="render"&&(a.hasDefaultExportRender=!0);const B=q.start+A,G=q.declaration.start+A;a.s.overwrite(B,G,`const ${ms} = `)}else if(q.type==="ExportNamedDeclaration"){const V=q.specifiers.find(B=>B.exported.type==="Identifier"&&B.exported.name==="default");V&&(g=q,q.specifiers.length>1?a.s.remove(V.start+A,V.end+A):a.s.remove(q.start+A,q.end+A),q.source?a.s.prepend(`import { ${V.local.name} as ${ms} } from '${q.source.value}'
|
|
158
|
+
`):a.s.appendLeft(L,`
|
|
159
|
+
const ${ms} = ${V.local.name}
|
|
160
|
+
`)),q.declaration&&yc("script",q.declaration,x,z,f)}else(q.type==="VariableDeclaration"||q.type==="FunctionDeclaration"||q.type==="ClassDeclaration"||q.type==="TSEnumDeclaration")&&!q.declare&&yc("script",q,x,z,f);A>C&&(/\n$/.test(o.content.trim())||a.s.appendLeft(L,`
|
|
161
|
+
`),a.s.move(A,L,0))}for(const q of M.body){if(q.type==="ExpressionStatement"){const B=vt(q.expression);if(mc(a,B)||O1(a,B)||M1(a,B)||L1(a,B))a.s.remove(q.start+C,q.end+C);else if(jw(a,B)){const G=B.callee;a.s.overwrite(G.start+C,G.end+C,"__expose")}else I1(a,B)}if(q.type==="VariableDeclaration"&&!q.declare){const B=q.declarations.length;let G=B,te;for(let j=0;j<B;j++){const se=q.declarations[j],oe=se.init&&vt(se.init);if(oe){M1(a,oe)&&a.error(`${zt}() has no returning value, it cannot be assigned.`,q);const he=mc(a,oe,se.id);a.propsDestructureRestId&&(v[a.propsDestructureRestId]="setup-reactive-const");const ue=!he&&O1(a,oe,se.id);if(!ue&&(L1(a,oe,se.id)||I1(a,oe,se.id)),he&&!a.propsDestructureRestId&&a.propsDestructureDecl)if(G===1)a.s.remove(q.start+C,q.end+C);else{let de=se.start+C,Ae=se.end+C;j===B-1?de=q.declarations[te].end+C:Ae=q.declarations[j+1].start+C,a.s.remove(de,Ae),G--}else ue?a.s.overwrite(C+oe.start,C+oe.end,"__emit"):te=j}}}let V=!1;if((q.type==="VariableDeclaration"||q.type==="FunctionDeclaration"||q.type==="ClassDeclaration"||q.type==="TSEnumDeclaration")&&!q.declare&&(V=yc("scriptSetup",q,v,z,f,!!a.propsDestructureDecl)),f&&V&&R(q),q.type==="VariableDeclaration"&&!q.declare||q.type.endsWith("Statement")){const B=[M.body];oo(q,{enter(G,te){if(dr(G)&&this.skip(),G.type==="BlockStatement"&&B.push(G.body),G.type==="AwaitExpression"){T=!0;const se=B[B.length-1].some((oe,he)=>(B.length===1||he>0)&&oe.type==="ExpressionStatement"&&oe.start===G.start);Vw(a,G,se,te.type==="ExpressionStatement")}},exit(G){G.type==="BlockStatement"&&B.pop()}})}(q.type==="ExportNamedDeclaration"&&q.exportKind!=="type"||q.type==="ExportAllDeclaration"||q.type==="ExportDefaultDeclaration")&&a.error("<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.",q),a.isTS&&(q.type.startsWith("TS")||q.type==="ExportNamedDeclaration"&&q.exportKind==="type"||q.type==="VariableDeclaration"&&q.declare)&&q.type!=="TSEnumDeclaration"&&R(q)}a.propsDestructureDecl&&$w(a,z),I(a.propsRuntimeDecl,Je),I(a.propsRuntimeDefaults,Je),I(a.propsDestructureDecl,Je),I(a.emitsRuntimeDecl,jr),I(a.optionsRuntimeDecl,zt);for(const{runtimeOptionNodes:q}of Object.values(a.modelDecls))for(const V of q)I(V,Ia);o?C<A?(a.s.remove(0,C),a.s.remove(N,A),a.s.remove(L,c.length)):(a.s.remove(0,A),a.s.remove(L,C),a.s.remove(N,c.length)):(a.s.remove(0,C),a.s.remove(N,c.length)),k&&Object.assign(a.bindingMetadata,s1(k.body));for(const[q,{isType:V,imported:B,source:G}]of Object.entries(a.userImports))V||(a.bindingMetadata[q]=B==="*"||B==="default"&&G.endsWith(".vue")||G==="vue"?"setup-const":"setup-maybe-ref");for(const q in x)a.bindingMetadata[q]=x[q];for(const q in v)a.bindingMetadata[q]=v[q];t.cssVars.length&&!((r=e.templateOptions)!=null&&r.ssr)&&(a.helperImports.add(gn),a.helperImports.add("unref"),a.s.prependLeft(C,`
|
|
162
|
+
${Of(t.cssVars,a.bindingMetadata,m,!!e.isProd)}
|
|
163
|
+
`));let X="__props";if(a.propsTypeDecl&&(X+=": any"),a.propsDecl&&(a.propsDestructureRestId?(a.s.overwrite(C+a.propsCall.start,C+a.propsCall.end,`${a.helper("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(a.propsDestructuredBindings))})`),a.s.overwrite(C+a.propsDestructureDecl.start,C+a.propsDestructureDecl.end,a.propsDestructureRestId)):a.propsDestructureDecl||a.s.overwrite(C+a.propsCall.start,C+a.propsCall.end,"__props")),T){const q=a.isTS?": any":"";a.s.prependLeft(C,`
|
|
164
|
+
let __temp${q}, __restore${q}
|
|
165
|
+
`)}const Z=a.hasDefineExposeCall||!e.inlineTemplate?["expose: __expose"]:[];a.emitDecl&&Z.push("emit: __emit"),Z.length&&(X+=`, { ${Z.join(", ")} }`);let U;if(!e.inlineTemplate||!t.template&&a.hasDefaultExportRender){const q=pi(pi({},x),v);for(const V in a.userImports)!a.userImports[V].isType&&a.userImports[V].isUsedInTemplate&&(q[V]=!0);U="{ ";for(const V in q)if(q[V]===!0&&a.userImports[V].source!=="vue"&&!a.userImports[V].source.endsWith(".vue"))U+=`get ${V}() { return ${V} }, `;else if(a.bindingMetadata[V]==="setup-let"){const B=V==="v"?"_v":"v";U+=`get ${V}() { return ${V} }, set ${V}(${B}) { ${V} = ${B} }, `}else U+=`${V}, `;U=U.replace(/, $/,"")+" }"}else if(t.template&&!t.template.src){e.templateOptions&&e.templateOptions.ssr&&(E=!0);const{code:q,ast:V,preamble:B,tips:G,errors:te}=Ad(gc(pi({filename:d,ast:t.template.ast,source:t.template.content,inMap:t.template.map},e.templateOptions),{id:m,scoped:t.styles.some(se=>se.scoped),isProd:e.isProd,ssrCssVars:t.cssVars,compilerOptions:gc(pi({},e.templateOptions&&e.templateOptions.compilerOptions),{inline:!0,isTS:a.isTS,bindingMetadata:a.bindingMetadata})}));G.length&&G.forEach(ei);const j=te[0];if(typeof j=="string")throw new Error(j);if(j)throw j.loc&&(j.message+=`
|
|
166
|
+
|
|
167
|
+
`+t.filename+`
|
|
168
|
+
`+Ts(c,j.loc.start.offset,j.loc.end.offset)+`
|
|
169
|
+
`),j;B&&a.s.prepend(B),V&&V.helpers.has(Kr)&&a.helperImports.delete("unref"),U=q}else U="() => {}";e.inlineTemplate?a.s.appendRight(N,`
|
|
170
|
+
return ${U}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
`):a.s.appendRight(N,`
|
|
174
|
+
const __returned__ = ${U}
|
|
175
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
|
|
176
|
+
return __returned__
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
`);const Q=e.genDefaultAs?`const ${e.genDefaultAs} =`:"export default";let re="";if(!a.hasDefaultExportName&&d&&d!==Vf){const q=d.match(/([^/\\]+)\.\w+$/);q&&(re+=`
|
|
180
|
+
__name: '${q[1]}',`)}E&&(re+=`
|
|
181
|
+
__ssrInlineRender: true,`);const pe=kw(a);pe&&(re+=`
|
|
182
|
+
props: ${pe},`);const Re=Uw(a);Re&&(re+=`
|
|
183
|
+
emits: ${Re},`);let me="";a.optionsRuntimeDecl&&(me=h.content.slice(a.optionsRuntimeDecl.start,a.optionsRuntimeDecl.end).trim());const ee=a.hasDefineExposeCall||e.inlineTemplate?"":` __expose();
|
|
184
|
+
`;if(a.isTS){const q=(g?`
|
|
185
|
+
...${ms},`:"")+(me?`
|
|
186
|
+
...${me},`:"");a.s.prependLeft(C,`
|
|
187
|
+
${Q} /*@__PURE__*/${a.helper("defineComponent")}({${q}${re}
|
|
188
|
+
${T?"async ":""}setup(${X}) {
|
|
189
|
+
${ee}`),a.s.appendRight(N,"})")}else g||me?(a.s.prependLeft(C,`
|
|
190
|
+
${Q} /*@__PURE__*/Object.assign(${g?`${ms}, `:""}${me?`${me}, `:""}{${re}
|
|
191
|
+
${T?"async ":""}setup(${X}) {
|
|
192
|
+
${ee}`),a.s.appendRight(N,"})")):(a.s.prependLeft(C,`
|
|
193
|
+
${Q} {${re}
|
|
194
|
+
${T?"async ":""}setup(${X}) {
|
|
195
|
+
${ee}`),a.s.appendRight(N,"}"));if(a.helperImports.size>0){const q=(n=(i=e.templateOptions)==null?void 0:i.compilerOptions)==null?void 0:n.runtimeModuleName,V=q?JSON.stringify(q):"'vue'";a.s.prepend(`import { ${[...a.helperImports].map(B=>`${B} as _${B}`).join(", ")} } from ${V}
|
|
196
|
+
`)}return gc(pi({},h),{bindings:a.bindingMetadata,imports:a.userImports,content:a.s.toString(),map:e.sourceMap!==!1?a.s.generateMap({source:d,hires:!0,includeContent:!0}):void 0,scriptAst:k==null?void 0:k.body,scriptSetupAst:M==null?void 0:M.body,deps:a.deps?[...a.deps]:void 0})}function ys(t,e,r){t[e.name]=r}function yc(t,e,r,i,n,a=!1){let o=!1;if(e.type==="VariableDeclaration"){const h=e.kind==="const";o=h&&e.declarations.every(c=>c.id.type==="Identifier"&&Ot(c.init));for(const{id:c,init:d}of e.declarations){const f=d&&vt(d),m=h&&nt(f,y=>y===Je||y===jr||y===qr||y===gs);if(c.type==="Identifier"){let y;const b=i.reactive;(n||t==="script")&&(o||h&&Ot(f))?y="literal-const":nt(f,b)?y=h?"setup-reactive-const":"setup-let":m||h&&$1(f,b)?y=nt(f,Je)?"setup-reactive-const":"setup-const":h?nt(f,x=>x===i.ref||x===i.computed||x===i.shallowRef||x===i.customRef||x===i.toRef||x===Ia)?y="setup-ref":y="setup-maybe-ref":y="setup-let",ys(r,c,y)}else{if(nt(f,Je)&&a)continue;c.type==="ObjectPattern"?F1(c,r,h,m):c.type==="ArrayPattern"&&B1(c,r,h,m)}}}else e.type==="TSEnumDeclaration"?(o=e.members.every(h=>!h.initializer||Ot(h.initializer)),r[e.id.name]=o?"literal-const":"setup-const"):(e.type==="FunctionDeclaration"||e.type==="ClassDeclaration")&&(r[e.id.name]="setup-const");return o}function F1(t,e,r,i=!1){for(const n of t.properties)if(n.type==="ObjectProperty")if(n.key.type==="Identifier"&&n.key===n.value){const a=i?"setup-const":r?"setup-maybe-ref":"setup-let";ys(e,n.key,a)}else bc(n.value,e,r,i);else{const a=r?"setup-const":"setup-let";ys(e,n.argument,a)}}function B1(t,e,r,i=!1){for(const n of t.elements)n&&bc(n,e,r,i)}function bc(t,e,r,i=!1){if(t.type==="Identifier")ys(e,t,i?"setup-const":r?"setup-maybe-ref":"setup-let");else if(t.type==="RestElement"){const n=r?"setup-const":"setup-let";ys(e,t.argument,n)}else if(t.type==="ObjectPattern")F1(t,e,r);else if(t.type==="ArrayPattern")B1(t,e,r);else if(t.type==="AssignmentPattern")if(t.left.type==="Identifier"){const n=i?"setup-const":r?"setup-maybe-ref":"setup-let";ys(e,t.left,n)}else bc(t.left,e,r)}function $1(t,e){if(nt(t,e))return!0;switch(t.type){case"UnaryExpression":case"BinaryExpression":case"ArrayExpression":case"ObjectExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"UpdateExpression":case"ClassExpression":case"TaggedTemplateExpression":return!0;case"SequenceExpression":return $1(t.expressions[t.expressions.length-1],e);default:return!!e1(t)}}function Ot(t){switch(t=vt(t),t.type){case"UnaryExpression":return Ot(t.argument);case"LogicalExpression":case"BinaryExpression":return Ot(t.left)&&Ot(t.right);case"ConditionalExpression":return Ot(t.test)&&Ot(t.consequent)&&Ot(t.alternate);case"SequenceExpression":case"TemplateLiteral":return t.expressions.every(e=>Ot(e));case"ParenthesizedExpression":return Ot(t.expression);case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"BigIntLiteral":return!0}return!1}var Yw=Object.defineProperty,U1=Object.getOwnPropertySymbols,Qw=Object.prototype.hasOwnProperty,Zw=Object.prototype.propertyIsEnumerable,q1=(t,e,r)=>e in t?Yw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,j1=(t,e)=>{for(var r in e||(e={}))Qw.call(e,r)&&q1(t,r,e[r]);if(U1)for(var r of U1(e))Zw.call(e,r)&&q1(t,r,e[r]);return t};j1(j1({},ao),Jo),Dt.parse;const vc=`${Me}.vue`,Sc=Me;function eT(t){var a,o;const e=zf(gt+t,{filename:vc});e.errors.forEach(h=>{console.warn(h)});const r=Jw(e.descriptor,{id:Sc}),i=Ad({id:Sc,filename:vc,source:(o=(a=e.descriptor.template)==null?void 0:a.content)!=null?o:""}),n=e.descriptor.styles.map(h=>kE({id:Sc,filename:vc,source:h.content,scoped:h.scoped}));return{sfcScriptBlock:r,sfcTemplateCompileResults:i,sfcStyleCompileResultsList:n}}function tT(t,e){var a;const r=document.createElement("div");r.insertAdjacentHTML("afterbegin",t);const i=r.firstElementChild,n=document.createElement(i.tagName);n.innerHTML=e!=null?e:i.innerHTML;for(const o of i.getAttributeNames())n.setAttribute(o,(a=i.getAttribute(o))!=null?a:"");return{mount(o){o.appendChild(n)}}}function rT(t){const e=[];return new Promise(r=>{const i=new MutationObserver(n=>{for(const a of n)a.addedNodes.forEach(o=>{o instanceof HTMLElement&&t(o,e)})});i.observe(document.head,{childList:!0}),document.addEventListener("DOMContentLoaded",()=>{r(e),i.disconnect()})})}function sT(t){return Fc(this,null,function*(){const e=yield rT((a,o)=>{/^(?:script|template|style)$/.test(a.localName)&&(o.push(a.outerHTML),a.localName==="style"?a.onload=a.remove:a.remove())}),{sfcScriptBlock:r,sfcTemplateCompileResults:i,sfcStyleCompileResultsList:n}=eT(e.join(`
|
|
197
|
+
`));t(n,r,i)})}function iT(t){return t.map(e=>e.code).join(`
|
|
198
|
+
`)}function nT(t,e){return`
|
|
199
|
+
${aT(t)}
|
|
200
|
+
${oT(e)}
|
|
201
|
+
if(String(${_e}.setup).startsWith('async')){${qa}}
|
|
202
|
+
else{${Si}}
|
|
203
|
+
`}function aT(t){const e=new ds(t.content);return e.replace("export default",`${_e} =`),e.replace("Object.defineProperty(__returned__,","// "),e.toString()}function oT(t){const e=new ds(t.code);return e.replace("export function render",`${_e}.render = function`),e.toString()}sT((t,...e)=>{xc(`<script ${Me} type="importmap">${De}<\/script>`),xc(`<script ${Me} type="module">`,nT(...e)),xc(`<style ${Me}>`,iT(t))});function xc(...t){tT(...t).mount(document.head)}})();
|